Click here to Skip to main content
15,917,645 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How To Create a Instance of the System.Threading.TimerCallback using Reflection???? .NET Pin
klausporff15-Nov-09 11:07
klausporff15-Nov-09 11:07 
GeneralRe: How To Create a Instance of the System.Threading.TimerCallback using Reflection???? .NET Pin
Luc Pattyn15-Nov-09 11:15
sitebuilderLuc Pattyn15-Nov-09 11:15 
GeneralRe: How To Create a Instance of the System.Threading.TimerCallback using Reflection???? .NET Pin
klausporff15-Nov-09 11:37
klausporff15-Nov-09 11:37 
QuestionHow can I define Excel as a reference com object for the project.? Pin
JUNEYT15-Nov-09 6:54
JUNEYT15-Nov-09 6:54 
AnswerRe: How can I define Excel as a reference com object for the project.? Pin
DaveAuld15-Nov-09 8:03
professionalDaveAuld15-Nov-09 8:03 
AnswerRe: How can I define Excel as a reference com object for the project.? Pin
The Man from U.N.C.L.E.15-Nov-09 22:33
The Man from U.N.C.L.E.15-Nov-09 22:33 
QuestionSending console commands to a game(Counter-Strike: Source) Pin
iZeR14-Nov-09 15:09
iZeR14-Nov-09 15:09 
AnswerRe: Sending console commands to a game(Counter-Strike: Source) Pin
EliottA14-Nov-09 15:49
EliottA14-Nov-09 15:49 
AnswerRe: Sending console commands to a game(Counter-Strike: Source) Pin
Dave Kreskowiak14-Nov-09 18:09
mveDave Kreskowiak14-Nov-09 18:09 
JokeRe: Sending console commands to a game(Counter-Strike: Source) Pin
Christian Graus15-Nov-09 8:57
protectorChristian Graus15-Nov-09 8:57 
GeneralRe: Sending console commands to a game(Counter-Strike: Source) Pin
Dave Kreskowiak16-Nov-09 5:16
mveDave Kreskowiak16-Nov-09 5:16 
QuestionAdding class libary Pin
cstrader23214-Nov-09 3:15
cstrader23214-Nov-09 3:15 
AnswerRe: Adding class libary Pin
The Man from U.N.C.L.E.14-Nov-09 4:03
The Man from U.N.C.L.E.14-Nov-09 4:03 
AnswerRe: Adding class libary Pin
Abhishek Sur14-Nov-09 12:05
professionalAbhishek Sur14-Nov-09 12:05 
GeneralRe: Adding class libary Pin
Shameel16-Nov-09 5:22
professionalShameel16-Nov-09 5:22 
GeneralRe: Adding class libary Pin
cstrader23216-Nov-09 6:28
cstrader23216-Nov-09 6:28 
Questioncontrolling and invoking a MATLAB program through vb code. Pin
csetopper_bhanu13-Nov-09 17:32
csetopper_bhanu13-Nov-09 17:32 
AnswerRe: controlling and invoking a MATLAB program through vb code. Pin
Richard MacCutchan13-Nov-09 23:34
mveRichard MacCutchan13-Nov-09 23:34 
QuestionWebBrowser Control Print method won't Print Pin
rm302913-Nov-09 17:12
rm302913-Nov-09 17:12 
AnswerRe: WebBrowser Control Print method won't Print Pin
waddahattar13-Nov-09 22:00
waddahattar13-Nov-09 22:00 
AnswerRe: WebBrowser Control Print method won't Print Pin
Dave Kreskowiak14-Nov-09 1:21
mveDave Kreskowiak14-Nov-09 1:21 
QuestionHelp in code in visual basic for a new vb student Pin
Scamperdoodle13-Nov-09 9:37
Scamperdoodle13-Nov-09 9:37 
AnswerRe: Help in code in visual basic for a new vb student Pin
The Man from U.N.C.L.E.13-Nov-09 11:34
The Man from U.N.C.L.E.13-Nov-09 11:34 
AnswerRe: Help in code in visual basic for a new vb student Pin
Steven J Jowett14-Nov-09 0:17
Steven J Jowett14-Nov-09 0:17 
QuestionC# code snippet need help converting to VB Pin
bubk13-Nov-09 9:28
bubk13-Nov-09 9:28 
I am trying to convert this C# code to vb and am having some trouble, it is from a WCF project located here http://www.codeproject.com/KB/webservices/wcftransfer.aspx?msg=3269789

I did try a online C# to VB translator but what it spit out as code the VS IDE didn't like

Here is the piece of code:
ThreadStart start = delegate
{
    form = new TProgress(null, port);
    form.sport = sport;
    form.Show();
    form.GetThread = new Thread(new ParameterizedThreadStart(form.GetInvoke));
    form.GetThread.Start(transfer);
};
HelpClass.Form.BeginInvoke(start);


this is as far as I have gotten
'Dim start As New ThreadStart(AddressOf ) <--Not sure what this delegate is, AddressOf "what"?
Dim form As New TProgress(DBNull.Value, port)
form.sport = sport
form.Show()
form.GetThread = New Thread(New ParameterizedThreadStart(AddressOf form.GetInvoke))
form.GetThread.Start(Transfer)
'HelpClass.Form.BeginInvoke(start)


Thanks in advance...

Worked on my Machine!

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.