Click here to Skip to main content
11,437,978 members (52,274 online)

.NET Framework

 
AnswerRe: estoy tratando de compilar un archivo.mex a .net Pin
Bernhard Hiller19-Nov-12 23:35
memberBernhard Hiller19-Nov-12 23:35 
GeneralRe: estoy tratando de compilar un archivo.mex a .net Pin
yeyomax20-Nov-12 6:25
memberyeyomax20-Nov-12 6:25 
GeneralRe: estoy tratando de compilar un archivo.mex a .net Pin
Dave Kreskowiak20-Nov-12 7:11
mvpDave Kreskowiak20-Nov-12 7:11 
Question[VB.NET 2008] Change form from separate thread (Windows CE) Pin
Member 949661319-Nov-12 3:51
memberMember 949661319-Nov-12 3:51 
AnswerRe: [VB.NET 2008] Change form from separate thread (Windows CE) Pin
Simon_Whale19-Nov-12 4:04
memberSimon_Whale19-Nov-12 4:04 
GeneralRe: [VB.NET 2008] Change form from separate thread (Windows CE) Pin
steve_949661319-Nov-12 5:37
membersteve_949661319-Nov-12 5:37 
AnswerRe: [VB.NET 2008] Change form from separate thread (Windows CE) Pin
Eddy Vluggen19-Nov-12 6:04
memberEddy Vluggen19-Nov-12 6:04 
GeneralRe: [VB.NET 2008] Change form from separate thread (Windows CE) Pin
steve_949661319-Nov-12 23:54
membersteve_949661319-Nov-12 23:54 
Thanks for your answer.

Your example works if i create a project for a desktop pc, but my project has to run in a Windows CE 5.0 environment (Compact Framework 3.5) and it doesn't work.
I get two errors:

1) MyNewThread.Start(Me): "too many arguments for 'Public Sub Start()'"
2) Method 'Public Shared Sub MyThreadExecute(Origin As Object)' does not have a signature compatible with delegate 'Delegate Sub ThreadStart()'

1) the method Start(Object) is not supported in Compact Framework so I have to call MyNewThread.Start()

For the second error, I'm searching through MSDN... but I don't understand well, I think I have to modify MyThreadExecute(...) because I can't modify ThreadStart()... now I try, but if you already know the answer...

About the use of global variables, is it such a bad thing?
The real application is more complex of this example, the function executed by the thread will communicate with a PLC via ethernet and will read a lot of data (and write some) and then, at the end of each loop, it will call a function to visualize new data in different "pages" (I use UserControl objects) in the application. My idea is to use a class in order to collect all of these data and make them available inside and outside the thread. What do you think about this?
GeneralRe: [VB.NET 2008] Change form from separate thread (Windows CE) Pin
Eddy Vluggen20-Nov-12 1:53
memberEddy Vluggen20-Nov-12 1:53 
GeneralRe: [VB.NET 2008] Change form from separate thread (Windows CE) Pin
steve_949661320-Nov-12 4:36
membersteve_949661320-Nov-12 4:36 
GeneralRe: [VB.NET 2008] Change form from separate thread (Windows CE) Pin
Eddy Vluggen20-Nov-12 5:33
memberEddy Vluggen20-Nov-12 5:33 
GeneralRe: [VB.NET 2008] Change form from separate thread (Windows CE) Pin
steve_949661320-Nov-12 6:23
membersteve_949661320-Nov-12 6:23 
GeneralRe: [VB.NET 2008] Change form from separate thread (Windows CE) Pin
Eddy Vluggen20-Nov-12 10:21
memberEddy Vluggen20-Nov-12 10:21 
GeneralRe: [VB.NET 2008] Change form from separate thread (Windows CE) Pin
steve_949661320-Nov-12 22:25
membersteve_949661320-Nov-12 22:25 
GeneralRe: [VB.NET 2008] Change form from separate thread (Windows CE) Pin
Eddy Vluggen21-Nov-12 6:07
memberEddy Vluggen21-Nov-12 6:07 
QuestionBinding gridview from webservice using jquery Pin
saravanan2509218-Nov-12 21:41
membersaravanan2509218-Nov-12 21:41 
AnswerRe: Binding gridview from webservice using jquery Pin
Phanindra26119-Nov-12 7:05
memberPhanindra26119-Nov-12 7:05 
QuestionNlog for .Net compact Pin
TalSt17-Nov-12 20:24
memberTalSt17-Nov-12 20:24 
AnswerRe: Nlog for .Net compact Pin
Richard MacCutchan17-Nov-12 22:43
mvpRichard MacCutchan17-Nov-12 22:43 
GeneralRe: Nlog for .Net compact Pin
TalSt18-Nov-12 2:15
memberTalSt18-Nov-12 2:15 
GeneralRe: Nlog for .Net compact Pin
Richard MacCutchan18-Nov-12 2:36
mvpRichard MacCutchan18-Nov-12 2:36 
GeneralRe: Nlog for .Net compact Pin
TalSt18-Nov-12 2:55
memberTalSt18-Nov-12 2:55 
GeneralRe: Nlog for .Net compact Pin
Richard MacCutchan18-Nov-12 3:06
mvpRichard MacCutchan18-Nov-12 3:06 
AnswerRe: Nlog for .Net compact Pin
jschell19-Nov-12 10:11
memberjschell19-Nov-12 10:11 
GeneralRe: Nlog for .Net compact Pin
TalSt28-Jan-15 20:02
memberTalSt28-Jan-15 20:02 

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

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


Advertise | Privacy | Mobile
Web01 | 2.8.150506.1 | Last Updated 5 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid