sykotex
asked on
Writing file to directory executable is running in
Hi
I would like to save a file i am creating using vb studio 2010 to the same path the application is running from, code below
I would like to save a file i am creating using vb studio 2010 to the same path the application is running from, code below
Using writer As StreamWriter = New StreamWriter(Log & ".txt", True)
System.IO.Path.GetDirector y(System.R eflection. Assembly.G etExecutin gAssembly. Location() )
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
otherwise, try application.startuppath