Go Back  Xtreme Visual Basic Talk > General Discussion > Tech Discussions > Can we make dll or open an existing .vbp file without install the VB6?


Reply
 
Thread Tools Display Modes
  #1  
Old 05-17-2006, 02:36 AM
xiaojun11 xiaojun11 is offline
Newcomer
 
Join Date: Mar 2005
Location: Singapore
Posts: 22
Unhappy Can we make dll or open an existing .vbp file without install the VB6?


I'm currently developing a program that will need VB6.exe to make dll and open the .vbp projects for a customer.To make this program work, I will need to install the VB6 in customer's pc

The problem I'm facing now is I'm not able to get a VB6 copy from any retailer in my country. I called the microsoft dealer and he suggested I can just use the VB6.exe, and I should able to use it without install VB6 as there are alot of his clients doing that. I've tried but failed to open the VB6. Then I copy the whole folder over, VB6 is able to be opened up but I cant use the make dll/make exe function....and some load errors if I open a vbp project that having Class modules..

Anybody know how to solve this? Thank you in advance....
Reply With Quote
  #2  
Old 05-17-2006, 07:50 AM
reboot's Avatar
reboot reboot is offline
Keeper of foo

Retired Moderator
* Guru *
 
Join Date: Nov 2001
Location: Graceland
Posts: 15,612
Default

a) You can't open .vbps or compile them without VB6. Period.

b) There is not now, nor has there ever been, a license available from Microsoft that allows you to distribute VB6 like you describe. Unless you intend to buy a copy of VB6 for every customer.
__________________
~ Quod non mortiferum, fortiorem me facit ~

Avatar by lebb
Reply With Quote
  #3  
Old 05-17-2006, 08:51 AM
Bolek's Avatar
Bolek Bolek is offline
Contributor
 
Join Date: Feb 2003
Location: Prague, Czech Republic
Posts: 596
Default

Why do your customers need the compiler? It's not a good idea, I think, unless they are really experts and perfectly know what they are doing.

Quote:
Originally Posted by xiaojun11
I'm currently developing a program that will need VB6.exe to make dll and open the .vbp projects for a customer.To make this program work, I will need to install the VB6 in customer's pc

The problem I'm facing now is I'm not able to get a VB6 copy from any retailer in my country. I called the microsoft dealer and he suggested I can just use the VB6.exe, and I should able to use it without install VB6 as there are alot of his clients doing that. I've tried but failed to open the VB6. Then I copy the whole folder over, VB6 is able to be opened up but I cant use the make dll/make exe function....and some load errors if I open a vbp project that having Class modules..

Anybody know how to solve this? Thank you in advance....
__________________
Really good programmers write code this way:
COPY CON PROGRAM.ARJ
Reply With Quote
  #4  
Old 05-17-2006, 09:15 AM
Val's Avatar
Val Val is offline
Senior Contributor
 
Join Date: May 2003
Location: Vancouver, WA
Posts: 1,268
Default

If you want the flexibility of changable code, you may want to look at VB Scripting (Microsoft Script Control). With VBScript, you can make classes in your project to be accessible to the script, and then the script can use them. The only disadvantages of that is the slower execution speed (1), no variable types except for Variant (2), and the need to do file access and the like through some outside class (3). But unless you are doing something extremely critical that has to run real-time, this probably shouldn't worry you.

Distributing vb compiler with your app is illegal as reboot mentioned.
Reply With Quote
  #5  
Old 05-17-2006, 09:32 AM
loquin's Avatar
loquin loquin is offline
Google Hound

Retired Moderator
* Guru *
 
Join Date: Nov 2001
Location: Arizona, USA
Posts: 12,378
Default

As others have implied, why do you think you NEED to distribute a compiler?
__________________
Lou
"I have my standards. They may be low, but I have them!" ~ Bette Middler
"It's a book about a Spanish guy called Manual. You should read it." ~ Dilbert
"To understand recursion, you must first understand recursion." ~ unknown
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->