Solved

VB computer Requirements

Posted on 1998-09-29
5
141 Views
Last Modified: 2010-04-30
I am trying to find out what my computer should have in order to run VB quickly.  I have 300mh, 4 Gig and 64 Megs of RAM yet my computer runs very slow at times and sometimes locks up.  It only happens when VB is run.    The program is not that complex so it isn't the program.  What else could it be.  Thank You.
0
Comment
Question by:newyorker
  • 3
5 Comments
 
LVL 1

Expert Comment

by:jforbes
ID: 1437227
Do you have a lot of controls on your form such as picture boxes, Text boxes, frames, etc.
0
 
LVL 3

Accepted Solution

by:
a111a111a111 earned 50 total points
ID: 1437228
Hi,
1. Use Norton utilities, the speed up peature is very helpful.
2. defrag our drive ASAP.
3. Time your program and run a second VB program that you can download from the internet asn see the time differences.

Run this small code to compare:

my time was 1.148 sec.

Private Sub Form_Load()
Dim I
Dim Start, Finish, TotalTime
Start = Timer   ' Set start time.
    DoEvents    ' Yield to other processes.
For I = 1 To 10000000
Next I
Finish = Timer  ' Set end time.
TotalTime = Finish - Start  ' Calculate total time.
MsgBox TotalTime
Unload Me
End Sub

I am running PII 266 64 MB sdram.

I hope it helps.
if
0
 
LVL 1

Expert Comment

by:toys032498
ID: 1437229
Are you running an AMD or Pentium? & What version of VB are you running? & Is it a Licensed Version?

Does VB run slow and lock up on the Program created with VB or does the VB Interface itself run slow?

Anthony
0
 
LVL 3

Expert Comment

by:a111a111a111
ID: 1437230
Ha, Well PII is an Intel Pentium 2 (266 MHZ).
VB 5.0 licensed about 6 month.

My VB programs running fast and do not lock up when the code is free of bugs.

As a rule VB is one of the slowest IDE and applications EXE product on the PC for today.

The VB 6.0 is faster than the VB 5.0.

C++ is much faster and more complex to code and maintained.

So if speed is the need go C or C++.
You get something for something because nothing is free.

VB is "User" friendly Programming language and for some applications, it is slow.

C++ is NOT "User" friendly but it is much faster and more powerful than VB.

That is why in a project you can see some of the component is in VB and some are in C++.

You can find many programs that use in one project  "Software" VB as EXE and C++ as DLL.

I hope it answer your question.
If you need more information go to my WEB Site and check the articles about Visual Basic.

http://www.hili.com/~shay/vbcorner.htm

Shay.
0
 
LVL 3

Expert Comment

by:a111a111a111
ID: 1437231
@@@@@@@@@

CORRECTION, The WEB site is  http://www.hili.com/~shay/link/vbcorner.htm

@@@@@@@@@
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library 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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

919 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

14 Experts available now in Live!

Get 1:1 Help Now