Results 1 to 2 of 2

Thread: connection works just once after running VB+Access

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2003
    Posts
    12

    Unhappy connection works just once after running VB+Access

    Hi,

    Maybe somebody can give a clue

    I have 4 computers: 1 server and 3 clients.

    Every client can run VB program that connects to DataBase on server - Access (.MDB)

    I wrote this programm. There is a very simple connection to DB, using basic function

    of VB.

    When I run it first time, everything works great.

    (The same thing happens when I open VB code on client and try to ,ake file .EXE)

    If I close the program and run it second time, I loose connection with the server completly,

    including maping!!! So every time I want to run this program I have to do restart.


    Thank you

  2. #2
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385
    kzalex


    First make sure you are closing your connections properly for Access will not unless you reboot.

    Pssst: look at signature at bottom of post.

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