Tariq
Don't know why this should happen but I'd ask 1) why you don't just have the tables in your DE, so they're thus auto. opened and 2) if you have already done this, did you get the same error?
Terry
>Dear Experts
>
>In my project there is a form entitld "GATE".
>That has following codes on the LOAD event.
>
>CLOSE ALL
>CLOSE DATABASES
>OPEN DATABASE d:\fac0405\TABLES\weight EXCLUSIVE
>USE PCODES IN 0
>USE BACKUP IN 0
>USE EDIT IN 0
>USE LOGIN IN 0
>USE OUT2 IN 0
>
>
>This Form and all other Forms open and work fine without EXE but when I run my exe and try to open this form then following error message appears and computer hangs.
>
>
>WINDOWS
>A fatal exception OD error has occured at 0028:C00595BC in VXD VMCPD (01) AT 00000360. The current application will be terminated.
>
>
>I sure all dbf's are correct reffered in above codes because the form opens without any hesitatioan without exe.
>
>I contacted my Networking Administrator, he says there is problem in your software not in hardware.
>
>What should I do to open that form, GATE, in my exe.
>
>Please help
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.