Solved

Strange VB Bug

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

Title # Comments Views Activity
VB 6.0 printer how to align 6 67
Hide vba in gp 7 106
Modifying Conditional Format from VBA code 3 60
How to hault or freeze parent form when a 2d form is open in vb6 3 40
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
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…

821 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