Getting heaps (105) of redefine & syntax errors when trying to compile my VS2008 c++ project with <winsock2.h> included. Running Windows 7 64bit.
I have googled and searched and the answer seems pretty uniform but it doesn't seem to work for me.
Tried putting #include <winsock2.h> before #include <windows.h>. Also tried not including <w...
In visual studio 2008, when I use something akin to the following snippet:
Dim myVar
.... ' all sorts of stuff that might initialise myVar '
if not isNothing(myVar) then
myVar = new Object()
end if
myVar.ToString()
visual studio warns me on the last statement that myVar might be uninitialised, and a nullreference exception could oc...
While debugging a postback problem with a DropDownList within a Repeater I discovered that even though everything looked like it was set up correctly the selections from the user on the DropDownList were not being restored from the view state.
My DropDownList was defined as
<asp:DropDownList ID="EmployeeColumnDropDownList" runat="serve...
how can i remove a visual studio and its file and its registry entry to remove visual studio completely from my computer? do you know software in this case?
...
Hi,
I'm trying to play L1.wav which is in my resources folder. Previously I have pulled images from the resources file using the line btc.Properties.Resources.noImg which worked perfectly but if I try and do the same for the wav file I get a '...does not contain a definition for L1. Its there, works fine if I double click it. How do ...
Hi,
I am (after some strangeness with my resources file) able to play a .wav file in my project:
SoundPlayer player = new SoundPlayer();
player.Stream = Sounds.L1;
Player.Play();
This works fine but what I want to do is be able to concatenate a string together and then call the file. The .wav filename would be of the form "L" + int,...