Results 1 to 5 of 5

Thread: client server

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2006
    Posts
    146

    client server

    i am using vb 6.0 . and going to design a new project . the database of the project is to be kept on server machine and the application needs to run on various machines.so plz tell me should i develop a standard exe project or a data project

    some one has told me that i should keep both database and the exe on the server and distributes the shortcuts of that exe to various client systems . Will this technique work . I mean can i modify the database on server thru the shorcut of exe kept on client
    if not plz tell me some other way out
    Using VB.NET 2003/.NET 1.1

    If you found a post useful then please Rate it!
    Please mark you thread resolved using the Thread Tools above

  2. #2
    Giants World Champs!!!! Mark Gambo's Avatar
    Join Date
    Sep 2003
    Location
    Colorado
    Posts
    2,965

    Re: client server

    Quote Originally Posted by elixir_5000
    i am using vb 6.0 . and going to design a new project . the database of the project is to be kept on server machine and the application needs to run on various machines.so plz tell me should i develop a standard exe project or a data project

    some one has told me that i should keep both database and the exe on the server and distributes the shortcuts of that exe to various client systems . Will this technique work . I mean can i modify the database on server thru the shorcut of exe kept on client
    if not plz tell me some other way out
    I normally use the Standard EXE Project for most of my DB Apps. As for distributing the app to the users, I have Wise installer script that I use to keep the app on the users machines updated via FTP. Because if a the program hangs on a users machine you may not be able to put an updated version of the program on the server.
    Regards,

    Mark

    Please remember to rate posts! Rate any post you find helpful. Use the link to the left - "Rate this Post". Please use [highlight='vb'] your code goes in here [/highlight] tags when posting code. When a question you asked has been resolved, please go to the top of the original post and click "Thread Tools" then select "Mark Thread Resolved."


  3. #3
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: client server

    We keep the .EXE's on servers (in each building) - and have shortcuts to those.

    And yes, it's a nightmare to redistribute if users leave the app open (the .EXE file get's locked).

    How many machines - users? How often will the .EXE change?

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  4. #4
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: client server

    Quote Originally Posted by szlamany
    And yes, it's a nightmare to redistribute if users leave the app open (the .EXE file get's locked).
    I found that it is possible to re-name the .exe while it is in this state, so you can still copy the new version (with the original name) to the server.

    The user who is 'locking' it continues using the old version until they close it, but anyone who clicks the shortcut will get the new version.

  5. #5
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: client server

    Quote Originally Posted by si_the_geek
    I found that it is possible to re-name the .exe while it is in this state, so you can still copy the new version (with the original name) to the server.

    The user who is 'locking' it continues using the old version until they close it, but anyone who clicks the shortcut will get the new version.
    I've found that to be true at some of my clients - I think it's based on permissions to shares and folders. I've never gotten to the bottom of it unfortunately.

    I've got one client that if I rename the .EXE while someone is in it, the shortcut on the ALL USERS desktop gets all fouled up (seems like it's cached or something).

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

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