Solved

graphic software screen does not refresh fast

Posted on 2001-07-29
5
149 Views
Last Modified: 2010-05-02

Hello there

I am developing a VB application which involve a scrollable screen and user can place objects in that worksheet. its a very big worksheet. now the problem i am facing is that the screen refresh is not very fast that is when for example the user moves a object on the screen with the help of mouse draging, the screen does not refesh so quickely because i have to refresh the whole screen with every mouse move with the object. i want to know is there any routine or techniques that i can refresh the screen quickly.My application is like the visio and i am amazed the screen refresh in visio and other softwares. are those guys using some low level routine or some special techinques. I am using pixles and lines to draw objects on the screen.



Shahzad
0
Comment
Question by:shahzad73
  • 3
  • 2
5 Comments
 
LVL 3

Expert Comment

by:andysalih
Comment Utility
0
 
LVL 3

Accepted Solution

by:
andysalih earned 50 total points
Comment Utility
you could so download this source code,its do a scrolling space defender game, im thinking that the method for scrolling the screen and redrawing the ojjects would be handy.

not sure it will be as good as the others, not tried it. as im stuck at work and shouldnt be on ere anyway :o)

http://www.freevbcode.com/code/spacedef.zip

hope it helps
good luck
Andy


0
 
LVL 1

Author Comment

by:shahzad73
Comment Utility

thanks andy for the links i will visit them when i get out of this bloody routines. i looks to me that i have to take a good look at them.  okey lets wait for some one else for  some more comments

Shahzad
0
 
LVL 1

Author Comment

by:shahzad73
Comment Utility

That space defender is a hell of coding, it will take some time to figure out what's really going on. any way some its very good source to begin


thanks andy
Shahzad
0
 
LVL 3

Expert Comment

by:andysalih
Comment Utility
hope they will help you , glad to of helped

andy
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

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…
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…
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…

728 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

9 Experts available now in Live!

Get 1:1 Help Now