Run time error '380'

I have a VB6 system that runs OK in my computer, but causes a  runtime error in the user's machine.  

The system displays this message "Run time error '380' Invalid propoerty value" whenever this particular form is opened.

Help! Pls. tell me what causes this error.
babetteAsked:
Who is Participating?
 
CraigLazarConnect With a Mentor Commented:
Ok
goto to this site www.sysinternals.com
download the tool filemon it is for free and very small. It is a great toll for these type of problems. Run filemon in the background on the problem pc. In filemon there is a filter, pplace the name of the exe.file in the filter so it only shows u what files, dll,d and drivers your exe file is using or trying to use. Then run your app till you get the error. Alt tab to file mon and go file save as a txt file. Then open the txt file and go thru it carefully and u will probably find a dll or file that the exe is looking for but cannot find on the target pc. I have had allot of problems with the vb setup wizard because i found it leaves out a few files and then you run into problems trying to distribute your application. Also do they same process on your development pc and compare the 2 files. Then you chould find the file it is trying to access and is not there. Recompile your install script and add the offending file and reinstall, that should fix your problem


:)

Craig
0
 
deepakgCommented:
Hi babette,
Have you incorporated error handlers in your code? Set the project option to 'Break on All Errors' and then run the project. You may get this error on your machine..
Also, just ellaborate some more on the actual problem...
Deepak.
0
 
CraigLazarCommented:
Hi
is the problem comming up on the target pc?
What are u using to create your install script ?
are you connecting to a database.
Are all the target pc's doing this or just this one ?


:)

Craig
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
babetteAuthor Commented:
I'm developing the system in VB6 on a standalone pc.  The system is being run on a Windows workgroup environment.  Each user connects to an Access database located in a database server.  So far, it is only being tested on one workstation.  I used the VB6 facility to create the system installation. (I only have service pack 2 which came with my VB6 Professional.)
0
 
babetteAuthor Commented:
For Deepak:
I did as you suggested and still couldn't replicate the error.
0
 
babetteAuthor Commented:
Thanks, Craig. I was able to download filemon, but I won't be able to use it on my user's PC until after Christmas.

Any additional pointers on what to watch out for and on use of this utility will be greatly appreciated.

Babette
0
 
CraigLazarCommented:
Hi there
well i think it is one of the best tools i have come across. It is accurate. In the past before i found it sometimes i spent days trying to fix install problems. And it is a chain reaction, spend enough time trying to figure out the problem then u start wondering if you should rename your project, and form files and all that kind of stuff. The one project i spent 2 weeks redesigning 4 screens etc to try and fix the problem. Anyway just remeber when you run filemon it goes crazy cause it lists all the files all the processes on a machine is using. So then goto to the filter on the menu and tyoe in the name of your exe file of the process or project u ar watching. It then calms down allot. Once u hit your error quickly alt+ tab to file mon and go file save as and save the response to a text file as it is much easier to go thru as you will see :)

Please let me know how it goes and have a good xmas and new year
:)

Craig
0
 
VRGultomCommented:
Hi,

Run time error 380 occurs under the following circumstances:

The Visible property of the Mask Edit or sstab control is set to False at design-time. Then you want to access part.
You have to set visible properti to true first.

I do it to sstab control, an run succesfully.
Hope it can help.
0
All Courses

From novice to tech pro — start learning today.