Click here to Skip to main content
15,885,672 members
Home / Discussions / C#
   

C#

 
QuestionWhat is MyProjectName.vshost.exe.config ? Pin
Nadia Monalisa19-Oct-06 13:36
Nadia Monalisa19-Oct-06 13:36 
AnswerRe: What is MyProjectName.vshost.exe.config ? Pin
Ed.Poore19-Oct-06 13:42
Ed.Poore19-Oct-06 13:42 
GeneralRe: What is MyProjectName.vshost.exe.config ? Pin
Nadia Monalisa19-Oct-06 14:20
Nadia Monalisa19-Oct-06 14:20 
AnswerRe: What is MyProjectName.vshost.exe.config ? Pin
Anthony Mushrow19-Oct-06 13:42
professionalAnthony Mushrow19-Oct-06 13:42 
GeneralRe: What is MyProjectName.vshost.exe.config ? Pin
Nadia Monalisa19-Oct-06 14:20
Nadia Monalisa19-Oct-06 14:20 
Questionhow to send email with .net2003 [modified] Pin
Ah_Mohsen_aly19-Oct-06 12:20
Ah_Mohsen_aly19-Oct-06 12:20 
AnswerRe: how to send email with .net2003 Pin
Christian Graus19-Oct-06 13:24
protectorChristian Graus19-Oct-06 13:24 
QuestionC# & mswinsock.ocx Pin
Shahin7719-Oct-06 11:52
Shahin7719-Oct-06 11:52 
Hi guys,

This activex control has optionals parameters for GetData method:

this.axWinsock1.GetData(ref object data,object type,object maxlen)

i tried these:

object rec= string.Empty;
object type = 0;
object maxlen = 0;
this.winsock.GetData(ref rec, type, maxlen);

or

object rec= string.Empty;
object type = string.Empty;
object maxlen = string.Empty;
this.winsock.GetData(ref rec, type, maxlen);

but all i get is "Unsupported variant types" error message, do you know how to call this getdata method in c#? i know if you call it in vb.net you dont need to pas optional parameteres.

Please helpConfused | :confused:
AnswerRe: C# & mswinsock.ocx Pin
Ed.Poore19-Oct-06 13:44
Ed.Poore19-Oct-06 13:44 
GeneralRe: C# & mswinsock.ocx Pin
Shahin7720-Oct-06 4:29
Shahin7720-Oct-06 4:29 
GeneralRe: C# & mswinsock.ocx Pin
Ed.Poore21-Oct-06 8:00
Ed.Poore21-Oct-06 8:00 
Questionmember hiding question Pin
likefood19-Oct-06 10:11
likefood19-Oct-06 10:11 
AnswerRe: member hiding question Pin
Christian Graus19-Oct-06 10:19
protectorChristian Graus19-Oct-06 10:19 
GeneralRe: member hiding question Pin
likefood19-Oct-06 10:27
likefood19-Oct-06 10:27 
GeneralRe: member hiding question Pin
Christian Graus19-Oct-06 10:42
protectorChristian Graus19-Oct-06 10:42 
GeneralRe: member hiding question Pin
likefood19-Oct-06 10:50
likefood19-Oct-06 10:50 
GeneralRe: member hiding question Pin
Christian Graus19-Oct-06 10:58
protectorChristian Graus19-Oct-06 10:58 
GeneralRe: member hiding question Pin
likefood19-Oct-06 11:07
likefood19-Oct-06 11:07 
GeneralRe: member hiding question Pin
Christian Graus19-Oct-06 11:17
protectorChristian Graus19-Oct-06 11:17 
GeneralRe: member hiding question Pin
likefood19-Oct-06 11:19
likefood19-Oct-06 11:19 
GeneralRe: member hiding question Pin
likefood19-Oct-06 11:18
likefood19-Oct-06 11:18 
GeneralRe: member hiding question Pin
Christian Graus19-Oct-06 11:24
protectorChristian Graus19-Oct-06 11:24 
AnswerRe: member hiding question Pin
jjansen19-Oct-06 20:44
jjansen19-Oct-06 20:44 
GeneralRe: member hiding question Pin
likefood20-Oct-06 4:13
likefood20-Oct-06 4:13 
GeneralRe: member hiding question Pin
jjansen19-Oct-06 21:08
jjansen19-Oct-06 21:08 

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.