Click here to Skip to main content
15,895,746 members
Home / Discussions / C#
   

C#

 
QuestionIBasicVideo GetCurrentImage displaced Pin
Marcus Vatterott18-Feb-11 3:15
Marcus Vatterott18-Feb-11 3:15 
AnswerRe: IBasicVideo GetCurrentImage displaced Pin
Luc Pattyn18-Feb-11 5:53
sitebuilderLuc Pattyn18-Feb-11 5:53 
AnswerRe: IBasicVideo GetCurrentImage displaced Pin
Sammy6615-Oct-21 0:45
Sammy6615-Oct-21 0:45 
QuestionConvert VB code snippet to C# Pin
Mc_Topaz18-Feb-11 2:28
Mc_Topaz18-Feb-11 2:28 
AnswerRe: Convert VB code snippet to C# Pin
#realJSOP18-Feb-11 2:44
mve#realJSOP18-Feb-11 2:44 
GeneralRe: Convert VB code snippet to C# Pin
Mc_Topaz18-Feb-11 3:06
Mc_Topaz18-Feb-11 3:06 
AnswerRe: Convert VB code snippet to C# Pin
Not Active18-Feb-11 2:45
mentorNot Active18-Feb-11 2:45 
AnswerRe: Convert VB code snippet to C# Pin
OriginalGriff18-Feb-11 5:55
mveOriginalGriff18-Feb-11 5:55 
The technically proper translation is:
Winsock_Search.SendData(Strings.Chr(0) + Strings.Chr(0) + Strings.Chr(0) + Strings.Chr(0xf6));
But you will have to add a reference to Microsoft.VisualBasic.dll to use it.

I would go with JSOP's solution, with a minor change:
Winsock_Search.SendData("\0\0\0" + ((char)0xF6).ToString());
or
Winsock_Search.SendData("\0\0\0\xF6");


If you have difficulties with translation VB <=> C#, there is a good online converter here[^] - I use it to answer VB questions.
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.

Digital man: "You are, in short, an idiot with the IQ of an ant and the intellectual capacity of a hose pipe."

QuestionLoading configuration file Pin
nitin_ion18-Feb-11 1:41
nitin_ion18-Feb-11 1:41 
AnswerRe: Loading configuration file Pin
#realJSOP18-Feb-11 2:52
mve#realJSOP18-Feb-11 2:52 
GeneralRe: Loading configuration file Pin
nitin_ion18-Feb-11 2:54
nitin_ion18-Feb-11 2:54 
QuestionStop all threads in Threading.Timer in Callback method? Pin
xkrja18-Feb-11 0:42
xkrja18-Feb-11 0:42 
AnswerRe: Stop all threads in Threading.Timer in Callback method? Pin
Alan N18-Feb-11 1:52
Alan N18-Feb-11 1:52 
JokeRe: Stop all threads in Threading.Timer in Callback method? Pin
#realJSOP18-Feb-11 2:53
mve#realJSOP18-Feb-11 2:53 
GeneralRe: Stop all threads in Threading.Timer in Callback method? Pin
xkrja18-Feb-11 3:26
xkrja18-Feb-11 3:26 
GeneralRe: Stop all threads in Threading.Timer in Callback method? Pin
#realJSOP18-Feb-11 3:47
mve#realJSOP18-Feb-11 3:47 
Questionhttp webrequest Pin
TAREQ F ABUZUHRI18-Feb-11 0:39
TAREQ F ABUZUHRI18-Feb-11 0:39 
AnswerRe: http webrequest Pin
#realJSOP18-Feb-11 2:55
mve#realJSOP18-Feb-11 2:55 
QuestionError: No value given for one or more required parameters Pin
benams17-Feb-11 23:36
benams17-Feb-11 23:36 
AnswerRe: Error: No value given for one or more required parameters Pin
Wendelius18-Feb-11 0:29
mentorWendelius18-Feb-11 0:29 
GeneralRe: Error: No value given for one or more required parameters Pin
benams18-Feb-11 0:32
benams18-Feb-11 0:32 
AnswerRe: Error: No value given for one or more required parameters Pin
Luc Pattyn18-Feb-11 0:44
sitebuilderLuc Pattyn18-Feb-11 0:44 
AnswerRe: Error: No value given for one or more required parameters Pin
J4amieC18-Feb-11 1:20
J4amieC18-Feb-11 1:20 
QuestionHow can i read utf-8 type from ms-sql 2005? Pin
buffering8317-Feb-11 23:10
buffering8317-Feb-11 23:10 
AnswerRe: How can i read utf-8 type from ms-sql 2005? Pin
jschell18-Feb-11 9:06
jschell18-Feb-11 9:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.