Editing a .bas file

umair434

Registered User.
Local time
Today, 07:16
Joined
Jul 8, 2011
Messages
186
Hi guys,

I want to edit a .bas file, but I don't have VB6 or any visual basic editor. I read it somewhere that I could import it to notebad etc but I cannot change the code.

I just have to make a slight modification by putting a different path of the database. - any suggestions??
 
You should be able to just open it with notepad. I do it all of the time. Make sure the file doesn't have the READ-ONLY flag set.
 
Hi bob,

You are right. I can open the files wit notepad. I change the directory folder (wanted to open a different .ini file), but my .exe file still refers to the old one :S
 
An exe file is compiled. You would need to change it to open a different one, otherwise you can only use the same file but modify it.
 
I must be wrong with this but could you not move the new ini file to the directory which the exe file currently uses?
 
I have successfully edited paths in an executable using a Hex Editor.
 
thanks for the reply guys.

I do not have hex editor and I cannot download it (need Administrative permissions) -

basically, this is the story:

I have a front end and a back end. Everynow and then I would make changes to the front end, but then I would have to go to every employee's workstation and copy the database again on their desktop. To avoid this, my colleague gave me this setup file folder - For an easy fix, he told me to change the applications directory in the .ini file, and change the directory in the .bas file -

I do not have VB editor or anything. Everytime I run the .exe file it downloads (his) application on my desktop - not the one i want.

I see Bob mentioned compiling the new .exe file - how would i do that? sorry for the long read - thank you so much!
 

Users who are viewing this thread

Back
Top Bottom