Click here to Skip to main content
       

.NET Framework

 
AnswerRe: String compression Pinmembern.podbielski19-Nov-12 21:15 
GeneralRe: String compression PinmemberBlikkies19-Nov-12 21:19 
JokeRe: String compression Pinmembern.podbielski19-Nov-12 21:22 
Questionestoy tratando de compilar un archivo.mex a .net [modified] Pinmemberyeyomax19-Nov-12 9:33 
AnswerRe: estoy tratando de compilar un archivo.mex a .net PinmemberEddy Vluggen19-Nov-12 11:09 
GeneralRe: estoy tratando de compilar un archivo.mex a .net PinmemberIdeasPravinh23-Nov-12 23:47 
AnswerRe: estoy tratando de compilar un archivo.mex a .net PinmemberBernhard Hiller19-Nov-12 22:35 
GeneralRe: estoy tratando de compilar un archivo.mex a .net Pinmemberyeyomax20-Nov-12 5:25 
GeneralRe: estoy tratando de compilar un archivo.mex a .net PinmvpDave Kreskowiak20-Nov-12 6:11 
Question[VB.NET 2008] Change form from separate thread (Windows CE) PinmemberMember 949661319-Nov-12 2:51 
AnswerRe: [VB.NET 2008] Change form from separate thread (Windows CE) PinmemberSimon_Whale19-Nov-12 3:04 
GeneralRe: [VB.NET 2008] Change form from separate thread (Windows CE) Pinmembersteve_949661319-Nov-12 4:37 
AnswerRe: [VB.NET 2008] Change form from separate thread (Windows CE) PinmemberEddy Vluggen19-Nov-12 5:04 
GeneralRe: [VB.NET 2008] Change form from separate thread (Windows CE) Pinmembersteve_949661319-Nov-12 22: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) PinmemberEddy Vluggen20-Nov-12 0:53 
GeneralRe: [VB.NET 2008] Change form from separate thread (Windows CE) Pinmembersteve_949661320-Nov-12 3:36 
GeneralRe: [VB.NET 2008] Change form from separate thread (Windows CE) PinmemberEddy Vluggen20-Nov-12 4:33 
GeneralRe: [VB.NET 2008] Change form from separate thread (Windows CE) Pinmembersteve_949661320-Nov-12 5:23 
GeneralRe: [VB.NET 2008] Change form from separate thread (Windows CE) PinmemberEddy Vluggen20-Nov-12 9:21 
GeneralRe: [VB.NET 2008] Change form from separate thread (Windows CE) Pinmembersteve_949661320-Nov-12 21:25 
GeneralRe: [VB.NET 2008] Change form from separate thread (Windows CE) PinmemberEddy Vluggen21-Nov-12 5:07 
QuestionBinding gridview from webservice using jquery Pinmembersaravanan2509218-Nov-12 20:41 
AnswerRe: Binding gridview from webservice using jquery PinmemberPhanindra26119-Nov-12 6:05 
QuestionNlog for .Net compact PinmemberTalSt17-Nov-12 19:24 
AnswerRe: Nlog for .Net compact PinmvpRichard MacCutchan17-Nov-12 21:43 
GeneralRe: Nlog for .Net compact PinmemberTalSt18-Nov-12 1:15 
GeneralRe: Nlog for .Net compact PinmvpRichard MacCutchan18-Nov-12 1:36 
GeneralRe: Nlog for .Net compact PinmemberTalSt18-Nov-12 1:55 
GeneralRe: Nlog for .Net compact PinmvpRichard MacCutchan18-Nov-12 2:06 
AnswerRe: Nlog for .Net compact Pinmemberjschell19-Nov-12 9:11 
News.NET projects in koramangala,bangalore Pinmemberraji.1138716-Nov-12 22:24 
News2013 final year IEEE projects Pinmemberraji.1138716-Nov-12 22:20 
QuestionWebsite Developemnt Pinmemberradha123 from Hyderabad15-Nov-12 1:39 
AnswerRe: Website Developemnt PinmvpRichard MacCutchan15-Nov-12 2:41 
GeneralRe: Website Developemnt PinprotectorPete O'Hanlon15-Nov-12 3:00 
GeneralRe: Website Developemnt PinmvpRichard MacCutchan15-Nov-12 4:12 
GeneralRe: Website Developemnt PinmemberPaul Conrad15-Nov-12 10:37 
AnswerRe: Website Developemnt Pinmemberjschell15-Nov-12 8:07 
GeneralRe: Website Developemnt Pinmemberdojohansen20-Nov-12 6:02 
AnswerRe: Website Developemnt PinmemberZaf Khan19-Nov-12 17:24 
Questionis Windows-8 can run Webservice that work with FrameWork3.5? Pinmembergoldsoft11-Nov-12 9:08 
AnswerRe: is Windows-8 can run Webservice that work with FrameWork3.5? Pinmembern.podbielski13-Nov-12 21:08 
QuestionSpeech Recognition (System.speech) Pinmembersaurabh orange vyas10-Nov-12 0:10 
AnswerRe: Speech Recognition (System.speech) PinmemberEddy Vluggen10-Nov-12 7:19 
GeneralRe: Speech Recognition (System.speech) Pinmembersaurabh orange vyas10-Nov-12 21:15 
GeneralRe: Speech Recognition (System.speech) PinmvpRichard MacCutchan10-Nov-12 21:31 
GeneralRe: Speech Recognition (System.speech) Pinmembersaurabh orange vyas10-Nov-12 21:49 
GeneralRe: Speech Recognition (System.speech) PinmvpRichard MacCutchan10-Nov-12 22:11 
GeneralRe: Speech Recognition (System.speech) Pinmembersaurabh orange vyas10-Nov-12 22:15 
GeneralRe: Speech Recognition (System.speech) PinmvpRichard MacCutchan10-Nov-12 22:29 

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
Web02 | 2.8.140916.1 | Last Updated 20 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid