Solved

Strange VB Bug

Posted on 2002-03-05
4
123 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
[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
  • 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: 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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…

707 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