Results 1 to 5 of 5

Thread: Deploying in VB2005? Whooah

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2005
    Posts
    90

    Deploying in VB2005? Whooah

    Hello - I have made an application in VB.NET 2005 which uses a DNS less connection to SQL Server. I now need the best way to deploy this for multi users.

    In the past on VB6, I could create a .EXE file and copy this to a server share.
    I could then package and deploy the project and install on a client.
    I could then point a shortcut from the client PC to the .EXE on the server and the program would run fine...If I ever changed the code, I create a new .EXE and replace the one on the server (instantly updating ALL clients)

    ...Now how to do this in VB.NET 2005 ?
    (Any advice here would be much appreciated)

    There seems to be no option to create an EXE file?
    I do see one in the projects BIN folder...Is this it ?

    If I copy this .exe to a server share and run it from my own PC where the app was made it seems to error with security (I think at the SQL connection part)

  2. #2
    VB Addict Pradeep1210's Avatar
    Join Date
    Apr 2004
    Location
    Inside the CPU...
    Posts
    6,614

    Re: Deploying in VB2005? Whooah

    Create a Deployment project in .NET
    Pradeep, Microsoft MVP (Visual Basic)
    Please appreciate posts that have helped you by clicking icon on the left of the post.
    "A problem well stated is a problem half solved." — Charles F. Kettering

    Read articles on My Blog101 LINQ SamplesJSON ValidatorXML Schema Validator"How Do I" videos on MSDNVB.NET and C# ComparisonGood Coding PracticesVBForums Reputation SaverString EnumSuper Simple Tetris Game


    (2010-2013)
    NB: I do not answer coding questions via PM. If you want my help, then make a post and PM me it's link. If I can help, trust me I will...

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Oct 2005
    Posts
    90

    Re: Deploying in VB2005? Whooah

    I did find a wizard to create a deployment package...I see it askes for a folder where it will create the Deploment but where do I tell it which app I want it to use?

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Deploying in VB2005? Whooah

    Its just asking for the location of where you want to locate the package, not where it will be installed.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Oct 2005
    Posts
    90

    Re: Deploying in VB2005? Whooah

    I dont want to get taken down a road if its not going to get me where I need to go. In my first post I did ask 'a few' questions -
    I was hoping for a slightly more in depth answer/confirmation to these than "Create a Deployment project in .NET"
    I'm greatfull for any help - but if I knew HOW to do this and if it will recreate what I used to do In VB6 then I would not need to have asked.

    Before going along this road -
    Can anyone please check my original post and provide help on my questions?




    Further explanation on my last post:
    If I created an application within the folder.
    c:\myapp

    I now open Visual Studio and select new Setup & Deployment package and choose Wizard.

    The name is 'myapp installer'
    The location ? ...I thought this is where It will create the folder where it will put the installer, that is where I can browse to to find the setup/msi file to install myapp.

    My last post was querying where I tell it that I want to package up the application I made stored at c:\myapp and not d:\SomeOtherApp?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width