Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Making an EXE out of a Module - Unique situation - Not an FAQ - F1 pl. 1

Status
Not open for further replies.

Deadline

Programmer
Feb 28, 2001
367
US
Hi,
I have two VBP(VB Projects), both of them nothing but a single class module, intended to be converted as an EXE and run in Windows TaskScheduler every night.

I opened the first VBP, let us call it One.vbp, did some work in the Module and then "Made an EXE". So far fine, I have One.EXE in my hand.

But, when I opened the second VBP, let us call it Two.vbp, Attempted to Make an EXE, the
Code:
Make EXE
option in the File Menu, always shows "
Code:
Make one.exe
" instead of "
Code:
Make Two.exe
" . This is weird, and I don't know why it does like this and I don't know how to make a work-around for this.

I use Enterprise Edition of Visual Studio, version 6, SP5 on Windows 2000 with SQL Server as the back end.

Situation a little desperate here, Kindly help.

Thank you...
RR

 
Correction - They aren't class modules, but just
Code:
.BAS
Modules Thank you...
RR

 
It's because VB is remembering what the last .EXE name was. You need to either close & reopen VB to reset it, or simply override it. I recommend the latter, as the value you enter gets stored in the .VBP file for the next time you build. You can use Notepad to view this file and verify this.

Chip H.
 
Thanks Chip, You know what ?

Actually the program had a bug "Path not found", which it reported via a error dialog and remained so as there will rarely be anyone checking the server.

I went to the server, dismissed it and also fixed that bug and tried again, surprisingly I saw two.exe there in the File Menu...

Since the earlier program was active until I dismissed the error dialog, it happened like this. Thank you. Thank you...
RR

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top