Click here to Skip to main content
16,005,473 members
Home / Discussions / C#
   

C#

 
Generalcaptuting mouse position. Pin
Member 13857636-Oct-04 23:59
Member 13857636-Oct-04 23:59 
GeneralRe: captuting mouse position. Pin
Jon G7-Oct-04 0:58
Jon G7-Oct-04 0:58 
GeneralRe: captuting mouse position. Pin
Stefan Troschuetz7-Oct-04 1:10
Stefan Troschuetz7-Oct-04 1:10 
QuestionCan't get retral rows? Pin
ting6686-Oct-04 23:43
ting6686-Oct-04 23:43 
Generalthread and progress bar Pin
Popoxinhxan6-Oct-04 23:32
Popoxinhxan6-Oct-04 23:32 
GeneralRe: thread and progress bar Pin
Dave Kreskowiak7-Oct-04 0:34
mveDave Kreskowiak7-Oct-04 0:34 
GeneralRe: thread and progress bar Pin
sreejith ss nair7-Oct-04 1:01
sreejith ss nair7-Oct-04 1:01 
GeneralRe: thread and progress bar Pin
Popoxinhxan7-Oct-04 15:34
Popoxinhxan7-Oct-04 15:34 
Here is my code but i don't know how to make this work

private void btnUpdate_Click(object sender, System.EventArgs e)
{
timer1.Start();
Thread t = new Thread(new ThreadStart(GetWebServices));
t.Start();
}

//Update the progressBarFormAction this will be put in tick event of timer1
private void UpdateProgressBar()
{
if(prgBar.Value!=prgBar.Maximum)
prgBar.PerformStep();
}

//Long run method
public void GetWebServices()
{
//int noWs =0;
com.strikeiron.www.StrikeIronDirectoryService service = new com.strikeiron.www.StrikeIronDirectoryService();
com.strikeiron.www.LicStatus lic = new com.strikeiron.www.LicStatus();
com.strikeiron.www.RespStatus res = new com.strikeiron.www.RespStatus();
com.strikeiron.www.WebServiceInfo [] list =null;

try
{
list = service.GetAllPublicServices(this.siLicense,out res,out lic);

}
catch (System.Net.WebException)
{
MessageBox.Show(this,"Internet connection error");
}

System.Threading.Thread.Sleep(100000);
}

Popoxinhxan
GeneralRe: thread and progress bar Pin
Dave Kreskowiak8-Oct-04 4:39
mveDave Kreskowiak8-Oct-04 4:39 
GeneralRe: thread and progress bar Pin
sreejith ss nair7-Oct-04 1:29
sreejith ss nair7-Oct-04 1:29 
QuestionHow to conjoin C# code with VC++6.0 code? Pin
momer6-Oct-04 19:42
momer6-Oct-04 19:42 
AnswerRe: How to conjoin C# code with VC++6.0 code? Pin
Heath Stewart6-Oct-04 19:50
protectorHeath Stewart6-Oct-04 19:50 
GeneralThanks! Pin
momer7-Oct-04 15:31
momer7-Oct-04 15:31 
Questionhow to stream video files via web application(asp.net) Pin
walpork6-Oct-04 18:57
walpork6-Oct-04 18:57 
AnswerRe: how to stream video files via web application(asp.net) Pin
Heath Stewart6-Oct-04 19:48
protectorHeath Stewart6-Oct-04 19:48 
Generalmy drawing disappear Pin
xiaowenjie6-Oct-04 17:14
xiaowenjie6-Oct-04 17:14 
GeneralRe: my drawing disappear Pin
Heath Stewart6-Oct-04 19:47
protectorHeath Stewart6-Oct-04 19:47 
GeneralRe: my drawing disappear Pin
xiaowenjie7-Oct-04 3:47
xiaowenjie7-Oct-04 3:47 
GeneralRe: my drawing disappear Pin
Heath Stewart7-Oct-04 7:28
protectorHeath Stewart7-Oct-04 7:28 
GeneralRe: my drawing disappear Pin
xiaowenjie20-Oct-04 20:14
xiaowenjie20-Oct-04 20:14 
GeneralRe: my drawing disappear Pin
Heath Stewart20-Oct-04 21:46
protectorHeath Stewart20-Oct-04 21:46 
GeneralAccessing an object created by another class Pin
NietzscheDisciple6-Oct-04 15:59
NietzscheDisciple6-Oct-04 15:59 
GeneralRe: Accessing an object created by another class Pin
Christian Graus6-Oct-04 16:27
protectorChristian Graus6-Oct-04 16:27 
GeneralRe: Accessing an object created by another class Pin
NietzscheDisciple6-Oct-04 17:21
NietzscheDisciple6-Oct-04 17:21 
GeneralRe: Accessing an object created by another class Pin
Tom Clement6-Oct-04 17:59
professionalTom Clement6-Oct-04 17:59 

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.