dcsimg


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 14 of 14

Thread: How to Create .exe file

  1. #1
    Join Date
    May 2007
    Posts
    14

    How to Create .exe file

    Hi everybody,

    I am creating a database software with visual basic 6 and oracle database at the back end , my question is how to create one .exe file with all VB file and oracle database to be able to carry it on a CD??!!

    Thanks in advance

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    Will Oracle be installed on the PC on which you run the app? If not, I don't think it's possible.

    You can probably use a product like Virtual PC to create a virtual machine (.vhd file) with Windows, Oracle and your app. You could then carry the virtual machine on a DVD, but any PC on which you run it would need Virtual PC (free, but requires an install).
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  3. #3
    Join Date
    Mar 2005
    Location
    Los Angeles, Calif. AKA: Gangsta Yoda™
    Posts
    455
    You can use the P&D Wizard and just select the additional files like the Oracle client and any other misc files. A better installer is Inno Setup but its not quite as easy to package as the P&D Wiz but Inno can createa single setup file.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer code questions via PMs.
    Microsoft MVP 2006-2009
    Office Development FAQ (VBA, VB6, VB.NET, C#)
    Software Engineer MCP (VB6 & .NET)
    Reps & Rating PostsVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6Outlook Global Address List

  4. #4
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    Hi, Rob: I got the impression that original poster wants to make his program self-contained so that he run it directly from the CD on any computer. I don't think that's possible unless Oracle offers a "portable" version, which I don't think it does.
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  5. #5
    Join Date
    Mar 2005
    Location
    Los Angeles, Calif. AKA: Gangsta Yoda™
    Posts
    455
    You may be right. I didnt read the question that way but it sounds more likely that it is

    If thats the case then its definately not possible as the CD will have all files as read only and not writeable as its a CD so the database files would not be able to be modified for even allowing connections to it let alone db records added to it.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer code questions via PMs.
    Microsoft MVP 2006-2009
    Office Development FAQ (VBA, VB6, VB.NET, C#)
    Software Engineer MCP (VB6 & .NET)
    Reps & Rating PostsVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6Outlook Global Address List

  6. #6
    Join Date
    Aug 2004
    Location
    Orange, California
    Posts
    1,263
    I think he just wants it installable from the CD not runable from the CD. But still, unless Oracle hase a portable version that you can include as part of your application then the user will have to have Oracle installed before his app will work.

  7. #7
    Join Date
    May 2007
    Posts
    14
    Hi all,
    thanks alot Phil Weber,RobDog888 and Ron Weller...

    I'm a beginner to VB and don't have much knowledge in it, so i really don't understand your suggestions !!
    well , I'll tell what I want clearly. It is my graduation project and i have to submit a softcopy to the university, the program allows the user to add,update and delete records on the database.
    The database is created using Oracle (not VB) and is installed as home database in standalone computer.

    So what are your ideas??
    thanks
    Last edited by usr12; 06-24-2007 at 04:10 AM.

  8. #8
    Join Date
    Mar 2005
    Location
    Los Angeles, Calif. AKA: Gangsta Yoda™
    Posts
    455
    You will need to create an installation package and burn that to your CD. Then the professor can install your program and test it out.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer code questions via PMs.
    Microsoft MVP 2006-2009
    Office Development FAQ (VBA, VB6, VB.NET, C#)
    Software Engineer MCP (VB6 & .NET)
    Reps & Rating PostsVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6Outlook Global Address List

  9. #9
    Join Date
    Aug 2004
    Location
    Orange, California
    Posts
    1,263
    If you have VB6 you don't have to use the PDW (Package and Deployment Wizard). Microsoft released Visual Studio Installer later on. It is a free download and is much better than PDW. There are also Third Party Installers that you can purchase, but so far Visual Studio Installer has been working just fine for me and besides I am too cheap to pay for one. Here is the link to download Visual Studio Installer:
    http://msdn2.microsoft.com/en-us/vstudio/aa718352.aspx

  10. #10
    Join Date
    May 2007
    Posts
    14
    Quote Originally Posted by Ron Weller
    If you have VB6 you don't have to use the PDW (Package and Deployment Wizard). Microsoft released Visual Studio Installer later on. It is a free download and is much better than PDW. There are also Third Party Installers that you can purchase, but so far Visual Studio Installer has been working just fine for me and besides I am too cheap to pay for one. Here is the link to download Visual Studio Installer:
    http://msdn2.microsoft.com/en-us/vstudio/aa718352.aspx

    Thanks very much .....I'll try it and let you know what happened

    Thanks RobDog888 for your cooperation.

  11. #11
    Join Date
    May 2007
    Posts
    14
    Quote Originally Posted by usr12
    Thanks very much .....I'll try it and let you know what happened

    Thanks RobDog888 for your cooperation.
    Hi
    i promised to let you know what happened with me.

    I completed the steps successfully but when i tried to run my program to test it , the installation failed !!

    it gave this error:
    'c:\Docume~1\One\Locals~1\Temp\msftqws.pdw\$(DLLSelfRegisteryEx) could be registered because it was not found.

    and the installation aborted !!

    pleeeeeeeeeeeeeeeeeeeeeeeeeease help me i'm in critical situation !!

    please if some knows anything can help don't ignore this message

  12. #12
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  13. #13
    Join Date
    Jul 2007
    Posts
    1
    Just remove the "EX" from DLLSelfRegisterEX from your setup.lst file.

  14. #14
    Join Date
    May 2007
    Posts
    14
    OK ... fixed thanks alot

    but as Ron weller suggested "Visual Studio Installer " is better .

    In my case I tried Package and Deployment Wizard first for some reasons ,and I faced the earlier mentioned problem .
    However ,later I used Visual Studio Installer it is really better and gives you good options for your setup files. I advice anyone wants to create his installation package to use it , and below is a nice link of how to use it :
    http://www.developerfusion.co.uk/show/64/

    Thanks again all those who helped me in this step
    Last edited by usr12; 07-05-2007 at 09:12 AM.

Similar Threads

  1. Create help file
    By helme_syahiemie in forum VB Classic
    Replies: 2
    Last Post: 04-03-2006, 03:10 PM
  2. Replies: 0
    Last Post: 12-27-2005, 06:43 AM
  3. Replies: 0
    Last Post: 12-03-2002, 09:57 PM
  4. Can't create a PARADOX file and insert records using ODBC
    By Steve Oliver in forum VB Classic
    Replies: 0
    Last Post: 07-26-2002, 12:30 PM
  5. How to create a new dbf file using ADO in VB6 ?
    By Keith Lee in forum VB Classic
    Replies: 1
    Last Post: 01-30-2001, 03:42 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center