Re: [SLUG] More Wine VB questions

From: Levi Bard (taktaktaktaktaktaktaktaktaktak@gmail.com)
Date: Fri Dec 08 2006 - 11:56:08 EST


> I think I am talkng to the serial port now. But I have another question. The
> VB app comes up specifying two locations for two files. One is the file the
> program reads from to load data and the second is the file the program stores
> data to.
>
> The defaults are
> C:\EEWrite.txt and C:\EERead.txt
>
> Of course I do not have this in a C: drive and I am not sure how the handling
> of the '\' to '/' done. The programs reside under the following directory:
> /home/xpondr/ms. I need to enter into the window where the two files above
> are specified the new location, of course if it was XP I would just replace the
> C:\ with say C:\Program Files\FA2\EEWrite.txt, but not sure how to handle
> this with the VB app in wine. I know that what I am doing is not correct since
> it barfs when it tries to find the files to open and read/write.

Wine maps the drives to virtual locations in your FS. Here's what
mine look like:
Venus:~> ls -lh .wine/dosdevices
total 0
lrwxrwxrwx 1 levi levi 10 2006-07-15 20:17 c: -> ../drive_c
lrwxrwxrwx 1 levi levi 11 2006-07-19 20:51 d: -> /mnt/cdrom1
lrwxrwxrwx 1 levi levi 11 2006-07-24 18:32 e: -> /mnt/cdrom2
lrwxrwxrwx 1 levi levi 1 2006-07-15 20:17 z: -> /

So, in your case, it looks like you could use "Z:\home\xpondr\ms\EEWrite.txt"

You could also map another drive to /home/xpondr/ms or wherever.

-- 
Tcsh: Now with higher FPS!
http://www.gnu.org/philosophy/shouldbefree.html
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS).  Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:04:40 EDT