Click here to Skip to main content
15,898,222 members
Home / Discussions / C#
   

C#

 
AnswerRe: My porgram doesn't work in other computer Pin
peshkunta8-Feb-07 19:58
peshkunta8-Feb-07 19:58 
AnswerRe: My porgram doesn't work in other computer Pin
phantanagu8-Feb-07 22:48
phantanagu8-Feb-07 22:48 
QuestionLink button disappears when click on it. Pin
babutkchn8-Feb-07 18:04
babutkchn8-Feb-07 18:04 
AnswerRe: Link button disappears when click on it. Pin
gauthee8-Feb-07 19:29
gauthee8-Feb-07 19:29 
QuestionOpen Excel File Stored in Access Database Pin
Shaurya_Rastogi8-Feb-07 17:18
Shaurya_Rastogi8-Feb-07 17:18 
Questionsprogress Pin
picasso28-Feb-07 17:12
picasso28-Feb-07 17:12 
AnswerRe: sprogress Pin
peshkunta8-Feb-07 20:04
peshkunta8-Feb-07 20:04 
GeneralRe: sprogress Pin
picasso29-Feb-07 16:04
picasso29-Feb-07 16:04 
Here is a snip of the code.
I keep running basic stuff like this

///////////////////////////////////////////////////////////////
string source="c:\\documents and settings\\all users\\Application Data\\Microsoft\\Dr Watson";
string destination="c:\\temp\\info\\";
//check if directory exist
if(!Directory.Exists("c:\\documents and settings\\all users\\Application Data\\Microsoft\\Dr Watson"))
{
//do tnothing
}
else
{
DirectoryInfo di = new DirectoryInfo(source);
FileInfo[] files = di.GetFiles();

foreach (FileInfo f in files)
{
string sourceFile = f.FullName;
string destFile = Path.Combine(destination, f.Name);

File.Copy(sourceFile, destFile);
}
}
//update the listBox
listBox1.Items.Add(">Getting DR. Watsons logs\t\tDone");
//*******************************************************************************************

string arg1="C:\\Program Files\\Common Files\\Microsoft Shared\\MSInfo\\MSInfo32.exe";
string arg2="/nfo c:\\temp\\info\\SysReport.nfo";
Process nfo = Process.Start(arg1,arg2);
nfo.WaitForExit();
//update the listBox

listBox1.Items.Add(">Getting system information\t\tDone");

////////////////////////////////////////////////////////////////////////////////////////
the process perfroms all of teh functions but the listBox1 gets updated at the end

thanX
Questionthe left/right key will affect the ComboBox field, cause ComboBox value changed , how could I solve this Pin
cchmark8-Feb-07 15:53
cchmark8-Feb-07 15:53 
AnswerRe: the left/right key will affect the ComboBox field, cause ComboBox value changed , how could I solve this Pin
Christian Graus8-Feb-07 16:41
protectorChristian Graus8-Feb-07 16:41 
GeneralRe: the left/right key will affect the ComboBox field, cause ComboBox value changed , how could I solve this Pin
cchmark8-Feb-07 18:14
cchmark8-Feb-07 18:14 
QuestionMulticast Delegate Pin
TheCatsPajamas8-Feb-07 15:48
TheCatsPajamas8-Feb-07 15:48 
AnswerRe: Multicast Delegate Pin
Luc Pattyn8-Feb-07 15:54
sitebuilderLuc Pattyn8-Feb-07 15:54 
GeneralRe: Multicast Delegate Pin
TheCatsPajamas8-Feb-07 17:59
TheCatsPajamas8-Feb-07 17:59 
GeneralRe: Multicast Delegate Pin
TheCatsPajamas8-Feb-07 18:05
TheCatsPajamas8-Feb-07 18:05 
GeneralRe: Multicast Delegate Pin
Luc Pattyn8-Feb-07 23:38
sitebuilderLuc Pattyn8-Feb-07 23:38 
QuestionTif Image Create Pin
smarttom998-Feb-07 15:19
smarttom998-Feb-07 15:19 
AnswerRe: Tif Image Create Pin
Luc Pattyn8-Feb-07 15:46
sitebuilderLuc Pattyn8-Feb-07 15:46 
QuestionHow to work with TAPI to get caller id Pin
samar naguib8-Feb-07 13:41
samar naguib8-Feb-07 13:41 
QuestionTimer CallBack function Pin
aruna_koride8-Feb-07 13:14
aruna_koride8-Feb-07 13:14 
AnswerRe: Timer CallBack function Pin
Christian Graus8-Feb-07 14:12
protectorChristian Graus8-Feb-07 14:12 
AnswerRe: Timer CallBack function Pin
Guffa8-Feb-07 14:48
Guffa8-Feb-07 14:48 
GeneralRe: Timer CallBack function Pin
aruna_koride8-Feb-07 15:05
aruna_koride8-Feb-07 15:05 
GeneralRe: Timer CallBack function Pin
aruna_koride10-Feb-07 1:33
aruna_koride10-Feb-07 1:33 
AnswerRe: Timer CallBack function Pin
Guffa10-Feb-07 3:53
Guffa10-Feb-07 3:53 

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.