|
-
Sep 17th, 2005, 07:40 AM
#1
Thread Starter
PowerPoster
hmm interesting args[] issue [resolved]
Hi
I've decided to include an automation process in my app. It will run as a standard app (double click on file) or it will accept parameters and the app sets the values or whatever to start a service.
It works great but having a wierd issue.
if I manually selected a directory within my app it shows the files, great! The client app can request this and the server app will send the file names (of the files found in the directory).
If i specify a parameter which has the path name, the app finds the path and its all good
This time when the client requests these file names, the server seems to send them fine, as it would do without specifying the parameter.
however it seems that the client app displays the filename with 2 \'s at the start instead of just the 1!
I dont know where this comes from. I don't even know if im explaining it properly!
There really isnt any code to show, its just a normal standard code to send the list of files in a listbox:
Code:
foreach (string curFile in this.lstFiles.items)
{
MySend(curFile);
}
MySend just simply sends the filename given using a networkstream.
Last edited by Techno; Sep 17th, 2005 at 03:45 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|