dirx.bat is a simple batch file with only the "dir" dos command.
Try
Dim myProcess As System.Diagnostics.Process = _
New System.Diagnostics.Process()
myProcess.StartInfo.FileName = "c:\dirx.bat"
myProcess.StartInfo.Arguments = "...
No problem, happy to help. The get and savesetting() really don't intefere with the registry that much, so don't be afraid to use them. Still, it's always a great idea to back it up anyway. Have fun with VB!
Be an idiot:
http://www.freakingidiot.com
When you say config files, what's in them? I think using app.path & "\settings\file.txt is fine for the most part, but you have may have to write some code that reproduces those file(s) if they are some how deleted.
For configuration settings (user and otherwise), I usually use the registry...
I see, the "ressources\fileInput.txt" part is getting messed up. While telling you that using file names like this isn't good coding in the long run, I'll also tell you how to remain with the same path.
Try something like this:
strPath = App.path & "\ressources\fileInput.txt"
open strPath for...
Here's the part I don't get:
"The problem I have is after I select a file using the Common Control and close the form and open it again (it's the 2nd form the first one just open the 2nd form), I get a "Path not Found" in FillComboBox...I assume it can't find the path ...
It reads the a which to originally was ASCII and writes it as Unicode, using two bytes. In order not to have the space, you need to use writeBytes().
Be an idiot:
http://www.freakingidiot.com
That's ok. This was actually the first database I made with FileMaker, so I'm sure I left a switch off somewhere or something. I did watch the movie and really appreciated it, thanks again.
Be an idiot:
http://www.freakingidiot.com
Here's a star for all the work you tried to do to help lebisol, but still nothing. It really doesn't matter anyway, as long as the data can be used.
Be an idiot:
http://www.freakingidiot.com
Here's a picture of what I mean:
http://www.drscripting.com/filemaker.jpg
The 'salutation' field is new, and as you can see, is it a light grey color. The database won't let me turn it black.
Be an idiot:
http://www.freakingidiot.com
Hi, I searched for this but couldn't find it anywhere. I used the "contact management" template to enter in names and addresses. I added a new field, however, that field is a light grey while all the other fields are in black in the Browse Mode | Table view. I tried changing the color...
Hi, I have a datagrid with 3 columns and 6 rows. I would like to add all six rows of one column together. Here's what I have so far:
For x = 1 To DataGrid1.ApproxCount
total = total + DataGrid1.Columns(2).Text
Next x
This code however will only add the first row in the column 6...
I can usually tell if a project was written in Java right away. The buttons are flatter and the load time is a little slower. Visual basic programs can sometimes look like programs written in other languages (for example you can make a visual basic project look like word, but word was not...
vbdrk: I have at least 10 books on VB, but whenever I have a problem or question I end up searching for it in newsgroups. The books do make me look smart though.
Be an idiot:
http://www.freakingidiot.com
You are absolutely right vbdrk, "Private" means it cannot be accessed from outside of the class. In order for that function to work, it had to be changed to "Public".
Be an idiot:
http://www.freakingidiot.com
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.