Click here to Skip to main content
16,007,277 members
Home / Discussions / C#
   

C#

 
QuestionWindows Service + ASP.NET, HOW? Pin
Johnny_B15-Mar-04 23:18
Johnny_B15-Mar-04 23:18 
AnswerRe: Windows Service + ASP.NET, HOW? Pin
Heath Stewart16-Mar-04 3:35
protectorHeath Stewart16-Mar-04 3:35 
GeneralRe: Windows Service + ASP.NET, HOW? Pin
Werdna16-Mar-04 4:02
Werdna16-Mar-04 4:02 
GeneralRe: Windows Service + ASP.NET, HOW? Pin
Heath Stewart16-Mar-04 4:15
protectorHeath Stewart16-Mar-04 4:15 
GeneralRe: Windows Service + ASP.NET, HOW? Pin
Johnny_B16-Mar-04 13:11
Johnny_B16-Mar-04 13:11 
GeneralRe: Windows Service + ASP.NET, HOW? Pin
Heath Stewart17-Mar-04 4:58
protectorHeath Stewart17-Mar-04 4:58 
QuestionHow to read records of a file of dbf in c# ? Pin
Solaer15-Mar-04 23:06
Solaer15-Mar-04 23:06 
Generalmain []args parameter to run another instance Pin
hazzem elrefai15-Mar-04 22:57
hazzem elrefai15-Mar-04 22:57 
i have application that open word document when the user open the applicatoin and try to open another document from the application, the application starts new instance by shell command and passes the file name as parameter.
the problem is i always get the message "can not find the file specified"
but when i deguged the application and copyed the command string and tryed to ru it from the prompet it worked well.

here is my code:::
/////////////////////////////////////////////////////////////////////////////////////
string action="";
System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.EnableRaisingEvents=false;
string path = Environment.CurrentDirectory;
int pos=ienum.Current.ToString().IndexOf("bin");//get the first parameter
action=path+"\\Almogahed.exe "+ienum.Current.ToString().Substring pos+12);
ienum.MoveNext();
action+=" "+ienum.Current.ToString().Substring(pos+12);//get second parameter
proc.StartInfo.FileName=action;
proc.Start(); // file can not found why!!!!!!!!!!!!!
/////////////////////////////////////////////////////////////////////////////////////
GeneralRe: main []args parameter to run another instance Pin
hazzem elrefai16-Mar-04 1:41
hazzem elrefai16-Mar-04 1:41 
GeneralDrag and Drop feature in TreeView Pin
viru15-Mar-04 21:04
viru15-Mar-04 21:04 
GeneralRe: Drag and Drop feature in TreeView Pin
Heath Stewart16-Mar-04 3:23
protectorHeath Stewart16-Mar-04 3:23 
GeneralWeb control questions Pin
Den2Fly15-Mar-04 19:55
Den2Fly15-Mar-04 19:55 
GeneralRe: Web control questions Pin
Heath Stewart16-Mar-04 3:19
protectorHeath Stewart16-Mar-04 3:19 
GeneralRe: Web control questions Pin
Den2Fly16-Mar-04 3:44
Den2Fly16-Mar-04 3:44 
GeneralRe: Web control questions Pin
Heath Stewart16-Mar-04 3:53
protectorHeath Stewart16-Mar-04 3:53 
GeneralThank you so much -nt Pin
Den2Fly16-Mar-04 4:53
Den2Fly16-Mar-04 4:53 
GeneralDoubleBuffer Exception Pin
Amberite0015-Mar-04 16:40
Amberite0015-Mar-04 16:40 
GeneralRe: DoubleBuffer Exception Pin
John Fisher15-Mar-04 17:08
John Fisher15-Mar-04 17:08 
GeneralRe: DoubleBuffer Exception Pin
Amberite0015-Mar-04 17:32
Amberite0015-Mar-04 17:32 
GeneralRe: DoubleBuffer Exception Pin
John Fisher16-Mar-04 12:49
John Fisher16-Mar-04 12:49 
GeneralRe: DoubleBuffer Exception Pin
Heath Stewart16-Mar-04 3:15
protectorHeath Stewart16-Mar-04 3:15 
GeneralRe: DoubleBuffer Exception Pin
John Fisher16-Mar-04 12:48
John Fisher16-Mar-04 12:48 
GeneralRe: DoubleBuffer Exception Pin
Heath Stewart16-Mar-04 3:18
protectorHeath Stewart16-Mar-04 3:18 
QuestionInsert new Array ? Pin
azusakt15-Mar-04 16:24
azusakt15-Mar-04 16:24 
AnswerRe: Insert new Array ? Pin
John Fisher15-Mar-04 17:03
John Fisher15-Mar-04 17:03 

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.