Click here to Skip to main content
15,891,184 members
Home / Discussions / C#
   

C#

 
Questiondevelop mp3 player in c# for pocket pc Pin
mohdmeraj17-Jul-06 4:06
mohdmeraj17-Jul-06 4:06 
QuestionAlternative to database Pin
Ramith Sivanarain17-Jul-06 3:24
Ramith Sivanarain17-Jul-06 3:24 
AnswerRe: Alternative to database Pin
Ennis Ray Lynch, Jr.17-Jul-06 3:34
Ennis Ray Lynch, Jr.17-Jul-06 3:34 
Questionmultithreading is the problem again. Pin
Mystic_17-Jul-06 2:32
Mystic_17-Jul-06 2:32 
AnswerRe: multithreading is the problem again. Pin
Gavin Roberts17-Jul-06 3:08
Gavin Roberts17-Jul-06 3:08 
AnswerRe: multithreading is the problem again. Pin
S. Senthil Kumar17-Jul-06 7:23
S. Senthil Kumar17-Jul-06 7:23 
AnswerRe: multithreading is the problem again. Pin
Judah Gabriel Himango17-Jul-06 9:00
sponsorJudah Gabriel Himango17-Jul-06 9:00 
Answerhere is sample code. [modified] Pin
Mystic_17-Jul-06 10:40
Mystic_17-Jul-06 10:40 
to give u idea of what iam saying.
this is just a picture of what iam trying to imply
i have a class
public class Form1 : System.Windows.Forms.Form
{
public struct Data
{
public int data;
public Element_tg element;
}
public class Element_tg
{
public string elementstr;
public int count;
public bool last;
public int set_ele;
public Element_tg child;
public Element_tg parent;
}
pubic class ThreadProp
{
public static Data info1,info2;
public static string file1,file2;
public static string origin;
public static string filename;
public static bool nav;
public static NameValueCollection nvcol;
public static string url;
public static Uri uri;
public static string result;
public void Ext_Text()// uses string file1, Data info1,
bool nav
{
//uses a com component and rest all is simple programming
/ /its a lengthy code
}
public void Test_Download()// uses string file2, Data
info2,string origin,string filename
{
//call another function which interacts with internet for
downloads
}
public void WebInteract()//uses string url, (this ones not
necessary) string type,NameValueCollection nvcol
{
//this one also interacts with internet
}
}


[STAThread]
static void Main()
{
Application.Run(new Form1());
}
private void bt_load_Click(object sender, System.EventArgs e)
{
ThreadProp tr=new ThreadProp();
switch()
{
case 1:
Thread thrr=new Thread(new ThreadStart(tr.Ext_Text));
thrr.Start();
break;
case 2:
Thread thrr=new Thread(new ThreadStart(tr.Test_Download));
thrr.Start();
break;
case 3:
Thread thrr=new Thread(new ThreadStart(tr. WebInteract));
thrr.Start();
break;
}
}




}




-- modified at 19:02 Monday 17th July, 2006
AnswerRe: multithreading is the problem again. Pin
Mystic_17-Jul-06 10:45
Mystic_17-Jul-06 10:45 
GeneralRe: multithreading is the problem again. Pin
Ennis Ray Lynch, Jr.17-Jul-06 12:18
Ennis Ray Lynch, Jr.17-Jul-06 12:18 
GeneralRe: multithreading is the problem again. Pin
Mystic_17-Jul-06 13:09
Mystic_17-Jul-06 13:09 
GeneralRe: multithreading is the problem again. Pin
Alexander Wiseman17-Jul-06 15:53
Alexander Wiseman17-Jul-06 15:53 
GeneralRe: multithreading is the problem again. Pin
Mystic_19-Jul-06 12:39
Mystic_19-Jul-06 12:39 
GeneralRe: multithreading is the problem again. Pin
Alexander Wiseman19-Jul-06 12:48
Alexander Wiseman19-Jul-06 12:48 
GeneralRe: multithreading is the problem again. Pin
Mystic_20-Jul-06 3:25
Mystic_20-Jul-06 3:25 
AnswerRe: multithreading is the problem again. Pin
Alexander Wiseman20-Jul-06 4:44
Alexander Wiseman20-Jul-06 4:44 
Generalhere is the response of Trace Pin
Mystic_20-Jul-06 13:53
Mystic_20-Jul-06 13:53 
Generalexplanation Pin
Mystic_20-Jul-06 13:55
Mystic_20-Jul-06 13:55 
GeneralRe: explanation Pin
Alexander Wiseman20-Jul-06 14:30
Alexander Wiseman20-Jul-06 14:30 
GeneralRe: explanation Pin
Mystic_20-Jul-06 22:16
Mystic_20-Jul-06 22:16 
GeneralRe: explanation Pin
Alexander Wiseman21-Jul-06 4:48
Alexander Wiseman21-Jul-06 4:48 
GeneralRe: explanation Pin
Mystic_21-Jul-06 13:21
Mystic_21-Jul-06 13:21 
Questiontreeview question Pin
_tasleem17-Jul-06 2:20
_tasleem17-Jul-06 2:20 
AnswerYes you can Pin
Ennis Ray Lynch, Jr.17-Jul-06 3:35
Ennis Ray Lynch, Jr.17-Jul-06 3:35 
GeneralRe: Yes you can Pin
_tasleem17-Jul-06 20:41
_tasleem17-Jul-06 20:41 

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.