Search found 5 matches

by beauto
Thu Feb 20, 2014 10:30 am
Forum: Application Development
Topic: thread STA (Single Thread Apartment) after copy CTRL-C
Replies: 2
Views: 7151

Re: thread STA (Single Thread Apartment) after copy CTRL-C

it's not a real problem because it's only on simulation and not on panel ( not possible to select a line and copy)

perhaps that's come by another scriptcyclique which run ever 300ms and the application become multithread ....

thank for your interest
by beauto
Thu Feb 20, 2014 3:43 am
Forum: Application Development
Topic: FTP and application
Replies: 1
Views: 5008

Re: FTP and application

try
{
TextWriter tw = new StreamWriter(@"\FlashDrive\Project\Project files\savefile.txt");

tw.WriteLine(TextBox1.Text);

//Close the stream
tw.Close();

}
catch(Exception ex)
{
MessageBox.Show(ex.Message);
}
by beauto
Thu Feb 20, 2014 3:27 am
Forum: Application Development
Topic: FTP and application
Replies: 1
Views: 5008

FTP and application

hi,

i stock data on a file for parametere and i must share this accros the network.

what is the correct path for ix record a file on FTP area on T15B ? windows CE

thank
by beauto
Wed Feb 19, 2014 2:53 am
Forum: Application Development
Topic: thread STA (Single Thread Apartment) after copy CTRL-C
Replies: 2
Views: 7151

thread STA (Single Thread Apartment) after copy CTRL-C

hi,

i have a bug when i try to copy (after select a line from a datagrid) :

The current thread must be STA (Single Thread Apartment) before OLE calls can be made.

i don't find where or what i can do for resolution of this exception !

thank
by beauto
Wed Feb 12, 2014 3:47 am
Forum: Application Development
Topic: try catch not operational loadrecipe
Replies: 2
Views: 9011

try catch not operational loadrecipe

hello,

when i use :
try
{
Globals.TYPE_0.LoadRecipe("TYPE0");
}
catch(Exception ex)
{
MessageBox.Show(ex.Message);
}
the load recipe not run
but without try it's work fine !
but why ?