|
-
Jun 9th, 2004, 10:18 AM
#1
Thread Starter
Lively Member
launch other application from my application [RESOLVED]
Someone has written a utility that converts a file from fixed length to variable length and vice versa(If you don't know what that means, no big deal, it's pretty much irrelavent to my question). When calling it from the command line, it takes two parameters, the source file and the destination file. E.g.
Code:
fileconvert test.fix test.var
In this case, test.fix exists and test.var is created by fileconvert.
How do I do this in my code? I've tried
VB Code:
Process.Start("fileconvert " & TextBox1.Text & " test.var")
but it bombs out on me with an exception, "The system cannot find the file specified."
Last edited by shadowfyre; Jun 9th, 2004 at 11:25 AM.
-
Jun 9th, 2004, 11:24 AM
#2
Thread Starter
Lively Member
Figured it out. I needed to set the working directory using Process.StartInfo.
-
Jun 9th, 2004, 06:44 PM
#3
you could also pass the full path as the parameter for Start() instead of just specifiying the EXE's name
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
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
|