Directories , paths and files problem
From: PEtrescu Alexandru (freontrading_at_hotmail.com)
Date: 11/27/03
- Next message: Eric Holmes: "Re: Debugging components"
- Previous message: PEtrescu Alexandru: "Re: Problem with sorting listbox items"
- Next in thread: PEtrescu Alexandru: "Re: Directories , paths and files problem"
- Reply: PEtrescu Alexandru: "Re: Directories , paths and files problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 27 Nov 2003 09:58:15 -0800
Last night when i was working with my application i have discovered a bug (a
minor one but i don't know how to solve it) .
I have 3 forms : 1. It's my database editor
2. It's my print preview for the project
3. It's my user interface for project building
All theese forms are childrens .
I swich them with Setfocus .
And now to explain my bug :
When i show the PROJECT INTERFACE , the form load in a combobox the
content of a file wich contains the databases names of my app wich it is
placed on a subfolder of the .exe file folder . ------- Databases\
This time happends every time when i show my form . (I wanted that for
updating the databases list everytime) .
I build some lines on my project and i save it in other location than
the folder of my databases .
I switch to other form (let's say preview) .
And when i switch again to my interface for the project the programm
gives me an error cause he did not find the file with databases names
.(That's beacouse i saved a file in other folder than the database folder ,
and the elative path has been modified - i suppose) .
That's my bug .
For the file with the contents of the databases names i use a
traditional way to load it , by reading every line in the file and addit to
the combobox .
For loading and saving the project file i use a savedialog and an
opendialog .
The help will be very usefull .
Thank's .
- Next message: Eric Holmes: "Re: Debugging components"
- Previous message: PEtrescu Alexandru: "Re: Problem with sorting listbox items"
- Next in thread: PEtrescu Alexandru: "Re: Directories , paths and files problem"
- Reply: PEtrescu Alexandru: "Re: Directories , paths and files problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|