Solved

Strange VB Bug

Posted on 2002-03-05
4
120 Views
Last Modified: 2010-05-02
This sounds crazy but here goes.

I have a multi threaded project that I work in through a project group.

I open my project group by double clicking Group1.vbg.

Ran my app. I created a new class module. I named the module and saved it. After saving it popped up another window asking me to save group1.vbg. I hit NO and closed down the app (totally confused as to why it would do that). I looked in my app folder (which contatins all of my apps source files) and Group1.vbg no longer exists.

How do you spose this could have happened? Even if I wanted to physically delete the thing while the app was open I wouldn't be able to. I have the latest PC Cillin patch and thus don't believe it is a virus.
0
Comment
Question by:billy21
  • 3
4 Comments
 
LVL 9

Accepted Solution

by:
Valliappan AN earned 0 total points
ID: 6843519
Just a suggestion, try disabling Scripting in Windows, and do the same, and that if you get this problem. As I have come across, that scripting cause some virus(?) to act upon applications.

To disable, you could remove Windows Scription Host in Control Panel - Add/Remove Programs - Windows Setup - Accessories - Windows Scription Host.

WARNING: Before doing this, make sure that you can again add the Windows Scripting Host, say with the O/S (Win'98 or whatever), CD or the Internet Explorer installation.

Also, hope, you do have the latest SERVICE PACK for VB, i.e. SP5. If not, you can get it from MS site.

Cheers.
0
 
LVL 9

Expert Comment

by:Valliappan AN
ID: 6843521
Also, FYI, Windows Scripting Host is needed for VB, if you use FSO.

Hope it helps.
0
 
LVL 6

Expert Comment

by:anthony_glenwright
ID: 6848642
I've (very occasionally) had problems like this before with the SourceSafe add-in..?

And, of course, running in MTS or with subclassed forms.
0
 
LVL 9

Expert Comment

by:Valliappan AN
ID: 6887808
Hi billy21,

Thanks. Did it solve your problem?

Out of curiosity, could I know, if it was accidental or the originally itself, this q. points was 0?

Cheers.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

776 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