Solved

VB computer Requirements

Posted on 1998-09-29
5
144 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

ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
to transfer string from C lanaguage to VBA 4 66
Add a task in Outlook from access 11 40
vb6 connector to mongodb 2 85
Formula problem with Excel attachment 6 27
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…

832 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