Solved

Unexplained disappearance of controls...

Posted on 1997-11-04
9
141 Views
Last Modified: 2006-11-17
Hi all.
Here's one for the books:
I've got a 32 bit, Win 95, VB4 application. The client has installed it on his machine. All is well.

Just recently, however, the client has taken a print screen shot of one particular screen. Ever since then, most controls (labels, edit boxes, combo boxes) have disappeared. These controls reside on a tab of a tabbed control. Additional controls on other tabs appears fine.

As anyone heard of such a thing? I've heard that there might be a bug with VB4 or with the Sheriday 3D controls or a combination of both. Can anyone verify this for me?

Willing to raise points...

Thanks.
0
Comment
Question by:vorlon
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 2

Author Comment

by:vorlon
ID: 1439772
Also, forgot to mention, the client has re-installed the application several times to no avail. Therefore, it's not that the exe file is corrupt because the install was from a set of diskettes...
0
 
LVL 4

Accepted Solution

by:
rantanen earned 160 total points
ID: 1439773
It is a known bug in Tab control. Goto

http://www.shersoft.com/download/miscfile.htm

and download

TABCTL32.ZIP

HTH
0
 
LVL 2

Author Comment

by:vorlon
ID: 1439774
Rantanen,
Ok. Done that. Now what do I do with it. Just replace the old copy with the new tabctl32.ocx? What about the project? Do I have to go to the form in question, and re-create it using the correc control? What about registering it?

I'm assuming that because it's already registered, all I have to do is replace the files. Also, I know that I have to recompile my VB project but am not sure if I have to re-create the form.

Once again, thanks.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 4

Expert Comment

by:rantanen
ID: 1439775
Yes,
you can just replace the ocx file and if Sheridan has followed suggestions about keeping new versions backward compatible, everything should work - but I haven't really checked this control  - sorry.
0
 
LVL 2

Author Comment

by:vorlon
ID: 1439776
Ok. I've replaced the above OCX, re-created a new setup file, re-created a set of installation disks and gave that to the client.

Now everytime he access the screen where the tab control is, he gets a "Run time error 31037 Error loading from file". He clicks the ok to the message and the program crashes. (NOT GOOD).

Additional help would be appreciated...
0
 
LVL 2

Author Comment

by:vorlon
ID: 1439777
Adjusted points to 160
0
 
LVL 4

Expert Comment

by:rantanen
ID: 1439778
vorlon,

there seems to be different bugs in different versions of this control. After some inquiries I found out that

Windows 95 / NT 4.0 users who have TABCTL32.OCX version 4.02 installed may encounter Visual Basic error 31037. Replacing version 4.02 with  version 4.01 should fix the problem.

In addition,  Windows NT 4.0 users having TABCTL32.OCX version 4.0 may experience display problems and General Protection Faults (GPFs). Replacing version 4.0 with version 4.01 should fix the problem.

So, it seems that version 4.01 is the one to be used. I didn't know that when supplying my initial answer and I'm sorry for any inconvenience that might have caused to you.

If you have difficulties locating this particular version of this control, give me a note and I mail it to you.

My address is Lasse.Rantanen@sci.fi
0
 
LVL 4

Expert Comment

by:rantanen
ID: 1439779
vorlon,

another thing I forgot to mention is that usually error 31037 is caused by an OCX not registered properly.

To find out if this the case, run regsrv32 manually on each OCX your program uses and check after each one if it helps. Nuisance, I know.
0
 
LVL 2

Author Comment

by:vorlon
ID: 1439780
Rantanen's,

This doesn't solve my immediat problem. However, thanks for your effort...

Vorlon
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question