Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Visual Basic creates huge temp files

Posted on 2005-03-28
Medium Priority
Last Modified: 2013-11-25
I have a vb project which I work on using several different computers, depending on where I happen to be. The source code is in source-safe on the server, which I check out to the local computer I happen to be using at the time.  The computers are all configured basically the same.
The problem is, on one of the computers, when I try to run/compile the app from the VB IDE, it just kind of stops for about 5 mins before it finishes compiling and runs.
Now I know it is not the size of the app, as it compiles in just a few seconds on the other computers (they are all similar spec, o/s etc).
What I have noticed is that VB writes about 5GB (yes Gigabytes!) worth of temp files in c:\documents and settings\[user profile]\local settings\temp before it will start the app. This is what seems to be taking the time, but I don't understand why it needs to wrtie such huge temp files. This does not happen on the other computers.
Any suggestions? Thanx :)
Question by:positronic
  • 3
  • 2
LVL 29

Expert Comment

ID: 13647363
I'm not sure what the problem is but these are a few things I would do,

Reboot  computer
Then I would try it again, If it doesn't work I would do this:

Run My Anti Virus Software :: mcafee.com
Run Microsofts RegCleaner :: http://www.download.com/RegClean/3000-2094_4-881470.html?tag=lst-0-1
Then I would double check with :: STINGER :: http://vil.nai.com/vil/stinger/
Then I would Run LavaSoft Adware to remove spyware.

Then I would remove all my applications from the registry in the folders /RUN


Then if I did'nt have Visual Basic Service Pack 6 I would update visual basics with SP6 and re-compile my application

Then I would reboot my computer, and try to run it on the computer.
LVL 29

Expert Comment

ID: 13647397
If that doesn't work the only other alternative would be, that is if you do have visual basic installed on each different computer. I would reboot into safe mode and un-install that particular installation of visual basic, then I would reboot into normal mode and do a complete install of visual basic, then update to SP6.

Author Comment

ID: 13647436
Hi, thanks for the suggestions. I have already tried all the virus and spyware scans i can think of, however I have not tried regcleaner so I'll give that a go. Unfortunately rebooting makes no difference, and other vb projects work fine on this same computer, which makes me think there's something up with the project itself (maybe). I have sp6 installed too, but I have not tried reinstalling vb completely.
A couple of things you suggest I hadn't thought of so I will try those.
Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

LVL 29

Expert Comment

ID: 13647635
You probrably have corrupted one or more of the compiling files used to compile your application in vb such as the C2.exe and LINK.exe..they are probrably corrupted. Thats all I can think of since this never happened to me before.

Author Comment

ID: 13657323
Hi, thanks again for your suggestions.. unfortunately none of that has helped. I believe I have found the answer though - my project uses active reports and I didn't have the latest service pack installed on the problem machine. I am not sure why this caused the huge temp files, but installing the service pack seems to have solved the problem.

Accepted Solution

modulo earned 0 total points
ID: 14395910
PAQed with points refunded (500)

Community Support Moderator

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

581 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