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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Project Company Name

Status
Not open for further replies.

BobRaney

Programmer
Nov 22, 2001
59
US
Hello,

I have set the Project Company Name to "My Company" in all of my project templates.

When I create a project using the template I get "My Company" in the Company Name as expected.

If I change the Company Name in the new project to "Another Company" all is well.
When I open the this project again it has "Another Company" as the Company Name.

If I delete the text in the Company Name all is well until I save project.
When I open this project again the Company Name has gone back to "My Company".

Where is "My Company" coming from after I save the project.

Thanks

Raney

 
I've never tried what you're doing, but it sounds like when you delete the company name it goes back to the default for that template. Sounds like the "behavior is by design." Assuming I'm correct, workarounds would be to copy the template and delete the company name, and use that, to not use a template and fill everything in by hand, and so on.
 

BobRodes,

This was my first line of thought also.
This is easier said than done.

Here are some of the things that I have found.
The problem is happening in the Open Project and not the Save Project.

This is a look at the XEXE.vpb after blanking out the Company Name with VB.

Type=OleExe
Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#..\..\..\WINDOWS\System32\stdole2.tlb#OLE Automation
Reference=*\G{EF404E00-EDA6-101A-8DAF-00DD010F7EBB}#5.3#0#..\..\..\Program Files\Microsoft Visual Studio\VB98\VB6EXT.OLB#Microsoft Visual Basic 6.0 Extensibility
Form=..\Common\MDInterface.frm
Module=System; ..\Common\System.bas
Class=XEXEClass; ..\Common\XEXE.cls
Startup="Sub Main"
HelpFile=""
Title="Application"
ExeName32="XEXE.exe"
Command32=""
Name="XEXE"
HelpContextID="0"
CompatibleMode="0"
CompatibleEXE32="XEXEApplication.exe"
MajorVer=1
MinorVer=0
RevisionVer=0
AutoIncrementVer=0
ServerSupportFiles=0
CompilationType=0
OptimizationType=0
FavorPentiumPro(tm)=0
CodeViewDebugInfo=0
NoAliasing=0
BoundsCheck=0
OverflowCheck=0
FlPointCheck=0
FDIVCheck=0
UnroundedFP=0
StartMode=0
Unattended=0
Retained=0
ThreadPerObject=0
MaxNumberOfThreads=1
DebugStartupOption=0
[MS Transaction Server]
AutoRefresh=1

When I open this project the Company Name is “My Company”.

If I change the Company Name to “Another Company” using VB the following line is added to the XEXE.vbp.
VersionCompanyName=”Another Company”

To get the project to open with a blank Company Name the project must have the following line.
VersionCompanyName=””

I am sure that this is the result of a great idea that I had years ago to save time.
I wonder if I have actually saved more time in the past than it’s taking to undo.

Must be getting old, I can’t remember half of the things that I have forgotten.

Thanks,
Raney
 
Ok, I found it. This has to do with what got put in as the company name when you installed VB6. When I copy this program to my machine, it puts in my company's name. I don't remember for sure, but I think the default when you install is "My Company."

I don't know how to change this, short of reinstalling VB. Maybe one of the other contributors knows.

Bob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top