Wireless peer to peer name resolution
Thu, 4 Sep 2008 12:39:33 +1000
I am working on Windows Mobile 6 with VS2005.
I want my mobile devices to connect to a shared folder on a PC in an
isolated network environment. I don't have a server or router in the
network, so don't have a DNS server.
I can ping the PC using its IP address, but not its hostname.
I have written a pin ...
|
How to shift a byte-array?
Wed, 3 Sep 2008 19:16:22 -0700
Hi C# Experts:
I have a byte-array:
byte [] byte_array = new byte[5];
byte_array[0] = 0;
byte_array[1] = 1;
byte_array[2] = 2;
byte_array[3] = 3;
byte_array[4] = 4;
Is there a way to shift the contents of the array to left by 2 byte? The end
result should be:
byte_array[0] = 2;
byte_array[1] = 3 ...
|
Re: obj.ToString(); vs obj + "";
Thu, 4 Sep 2008 02:17:37 +0000 (UTC)
Convert.ToString(obj). Clear. Safe.
Otherwise, if you good in checking of nulls use your first one. It's much
obvious.
Regards, Alex Meleta
mailto:ameleta@gmail.com; blog:devkids.blogspot.com
> Ray Proffitt wrote:
>
>> obj.ToString();
>>
>> or
>>
>> obj + "";
>>
>> Which is more efficient and ...
|
Create linkbutton to activate hyperlink in C#.net
Wed, 03 Sep 2008 19:04:19 -0700
I want to create a linkButton to activate my hyperlink which will open a new page in a new window. I would like to know how to code the code of activate the hyperlink which I wish to place it in the 'onclick' event of the linkButton. ...
|
Calculation using LINQ
Wed, 3 Sep 2008 17:28:43 -0700 (PDT)
Hello,
I have a List<MyObject> where MyObject has two properties: N (int) and
Weight (int).
In this list only the N is defined for each tag.
I want to calculate the Weight for each MyObject in the list, as
follows:
Weight of MyObject = N of Tag / Maximum N of all MyObject in list
How can I do this u ...
|
Vista like listview
Wed, 3 Sep 2008 15:50:59 -0700 (PDT)
Dear All,
I am writing an application where i want to show file icons clear like
vista at all sizes. When i get the icon associated with a file the
max size it has is 32x32 and it's not clear, Vista icons are clear
upto 256x256, i feel it's pixelized. I am loading the icons into an
imageList so i could disp ...
|
Breakpoints in anonymous methods
Wed, 3 Sep 2008 23:42:46 +0100
I'm using VS 2005.
If I put a breakpoint in an anonymous method, the IDE automatically adds a
second breakpoint at the start of that method block, which can't be removed
without deleting my original breakpoint.
I suppose I can dream up one or two workarounds, and I don't use a whole lot
of anonymous meth ...
|
|
|
PrintPreview is very slow and finally Preview-Sheets are empty,...
Thu, 4 Sep 2008 00:26:37 +0200
Hi,
i use the code from this code sample on MSDN:
for printing a 5 and sometimes 70 page text-only
data: http://msdn.microsoft.com/en-us/library/ms404294.aspx
The point is, that this is terribly slow and the preview is
unbelievable slow, especially when you have a 70 page
data you want to print. I use a PD ...
|
How to close this XML file after reading?
Thu, 4 Sep 2008 00:23:25 +0200
I'm using
XDocument document = XDocument.Load (XmlReader.Create (file));
to load in contents of a XML-file for parsing.
However, i noticed that the file seems to be
locked by the process and i can't save changes
made to it in VS until it ends.
How can i close the file?
--
Regards
Konrad Viltersten
- ...
|
Serializing PageSettings
Wed, 3 Sep 2008 14:16:50 -0700 (PDT)
Good day...
I'm part of a group that is developing an app and my current task is
to set and store PageSettings for our documents. I am hoping to
utilize our architecture in storing PageSettings information in our
model schema. Our schema heavily utilizes the serialization of
the .Net framework.
In my dev ...
|