Solved

Strange VB Bug

Posted on 2002-03-05
4
118 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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 Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

746 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now