Results 1 to 8 of 8

Thread: How to share and run VB.NET windows form Application Exe Server

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2007
    Posts
    10

    How to share and run VB.NET windows form Application Exe Server

    Hi,

    We developed a windows form application using VB.NET 2005. We want to put the application exe in server and share the folder throught LAN so that all user can access the exe.

    We installed applicaition setup in all client PCs. and copy the application folder which contains required dlls, and exe into server and share the folder.

    While click on EXE at client place, it does not open at all.

    How to run the application exe for a shared folder?

    We want to run through shared folder to avoid multiple version of exe running and easy to update EXE.


    Regards
    S. Muhilan

  2. #2
    PowerPoster Deepak Sakpal's Avatar
    Join Date
    Mar 2002
    Location
    Mumbai, India
    Posts
    2,424

    Re: How to share and run VB.NET windows form Application Exe Server

    If you want to run the application exe from the Shared folder of Server then why did you installed the application setup at client PCs?

    Just install the application at server and then create a shortcut of it on client PC. Also you need to assign privileges to the application through Code Access Security as you are trying to run a network program on local machine.

  3. #3
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: How to share and run VB.NET windows form Application Exe Server

    and make sure the client PCs all have the correct version of the FrameWork.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  4. #4

    Thread Starter
    New Member
    Join Date
    Jul 2007
    Posts
    10

    Re: How to share and run VB.NET windows form Application Exe Server

    Quote Originally Posted by Deepak Sakpal
    If you want to run the application exe from the Shared folder of Server then why did you installed the application setup at client PCs?

    Just install the application at server and then create a shortcut of it on client PC. Also you need to assign privileges to the application through Code Access Security as you are trying to run a network program on local machine.
    I am not understand. what are you saying?

    In a typical Visual Baisc 6 application , we installed application setup on client PC and put exe on server in a shared folder. Thereafter we created shortcut from shared folder of server to client. The exe run on client PC use client PC resources and not server resource.

    How can I do the same kind of envirnment in VB.NET 2005?

    Regarding assign privileages to the application through Code acces security: From where I need to config this? in Client PC .NET config tool or in server PC .NET config tool?


    My VB.NET 2005 application also using Visual basic 6 dll. What about this DLL?

    From where I have to register?

    Shall Use Click Once Depolyment for my application? I need to create shortcuts in desktop which contains command line arguments also?

    Please advise me a best solution.

  5. #5
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: How to share and run VB.NET windows form Application Exe Server

    If you are installing the app on the client PC, what's the point of running it off the server?


    And no, .NET doesn't work quite the same way... because it's going to look for the assemblies in the folder where you ran the app from - on the server, that means it has to constantly shuffle resources back and forth between the server and client... highly inefficient. It works with VB6 because the DLLs were registered on the client system, so it looked there first, and finding the references on the local PC, never went any further.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  6. #6
    New Member
    Join Date
    Oct 2008
    Posts
    4

    Re: How to share and run VB.NET windows form Application Exe Server

    Hi all,

    I also got an application that run on the client side, but when i install my application at client side its take around 20sec to retrieve the data from database! How can i speed up my data retrieve time at client side, as i run at my onw pc, the time for retrieve data only take around 2-3sec to show all the data.

  7. #7
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: How to share and run VB.NET windows form Application Exe Server

    Quote Originally Posted by mistyfy
    Hi all,

    I also got an application that run on the client side, but when i install my application at client side its take around 20sec to retrieve the data from database! How can i speed up my data retrieve time at client side, as i run at my onw pc, the time for retrieve data only take around 2-3sec to show all the data.
    This question has nothing to do with the topic of this thread so it doesn't belong here. You should have started your own thread for this question. I've asked a moderator to do it for you.

    As for the question, we'd have to know far more about what the application actually does.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  8. #8
    Hyperactive Member
    Join Date
    Sep 2004
    Location
    Kolkata, India
    Posts
    290

    Re: How to share and run VB.NET windows form Application Exe Server

    I have the same problem... Developed a HR Application in vb.net 2005 using sql server.
    But now i want to setup the application on server. and all client pc can access the server and run the application.
    but frame work error is given..

    On server application is running properly.

    Pls guide to how share the application

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