Click here to Skip to main content
15,922,533 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralDates from a given week Pin
Alsvha29-Dec-04 4:06
Alsvha29-Dec-04 4:06 
Questionhow can i use Overture and Adwords in Vb.net Pin
Hammad Umar28-Dec-04 23:23
sussHammad Umar28-Dec-04 23:23 
QuestionSilent install? Pin
charleslau285528-Dec-04 15:54
charleslau285528-Dec-04 15:54 
QuestionHow to write and display chemical formula or mathematical formula in VB.NET Pin
bangzozo28-Dec-04 15:32
bangzozo28-Dec-04 15:32 
GeneralSQL Statement in vb.net Pin
Mekong River28-Dec-04 13:33
Mekong River28-Dec-04 13:33 
GeneralRe: SQL Statement in vb.net Pin
Mekong River28-Dec-04 14:53
Mekong River28-Dec-04 14:53 
QuestionHow to select a RadioButton? Pin
Matrix100028-Dec-04 13:29
Matrix100028-Dec-04 13:29 
GeneralDisappointed with Graphics Speed Pin
nagajim28-Dec-04 12:05
nagajim28-Dec-04 12:05 
I am writing a routine which will display part of a jpeg image (say 3500x2000 pixels) in a PictureBox (size 1000x700 pixels) and then allow the user to scroll around the image by using the mouse (image scrolls whenever the right mouse button is pressed and the mouse is moved).
I am using Graphics.DrawImage to redraw the scrolled image.

gphpicbox.DrawImage(picturebox1.Image, New Rectangle(0,0, _
picturebox1.Width, _
picturebox1.Height), _
New Rectangle(intrelmoveX, intRelMoveY, _
picturebox1.Width, _
picturebox1.Height), graphicsunit.Pixel)

My problem is it is just so slow and not at all smooth.

Is there anything I can do to improve performance?

Thanks

NagaJim
GeneralRe: Disappointed with Graphics Speed Pin
Robert Rohde29-Dec-04 1:26
Robert Rohde29-Dec-04 1:26 
GeneralVB.NET & ADO - Update & Insert Problems Pin
tinomclaren28-Dec-04 12:01
tinomclaren28-Dec-04 12:01 
GeneralRe: VB.NET & ADO - Update & Insert Problems Pin
Mekong River28-Dec-04 13:46
Mekong River28-Dec-04 13:46 
GeneralZip and Unzip from VB.Net Pin
CharlotteF28-Dec-04 6:19
CharlotteF28-Dec-04 6:19 
GeneralRe: Zip and Unzip from VB.Net Pin
Robert Rohde29-Dec-04 1:32
Robert Rohde29-Dec-04 1:32 
GeneralRe: Zip and Unzip from VB.Net Pin
Dennis C. Dietrich29-Dec-04 9:35
Dennis C. Dietrich29-Dec-04 9:35 
QuestionHow to Call Visual C++ .NET from Visual Basic .NET Pin
Member 161742528-Dec-04 6:05
Member 161742528-Dec-04 6:05 
AnswerRe: How to Call Visual C++ .NET from Visual Basic .NET Pin
Colin Angus Mackay28-Dec-04 13:59
Colin Angus Mackay28-Dec-04 13:59 
GeneralMDI non-child forms Pin
GeneralDisorder28-Dec-04 5:28
GeneralDisorder28-Dec-04 5:28 
Generalvolume and pitch Pin
azam31628-Dec-04 1:47
azam31628-Dec-04 1:47 
GeneralMake graphik with data shape Pin
widhie_prihatna28-Dec-04 1:44
widhie_prihatna28-Dec-04 1:44 
Generaltouch screen (point-of-sales) user interface Pin
StenH28-Dec-04 1:00
StenH28-Dec-04 1:00 
Generalinserting images to imagelist Pin
SelvaRavi28-Dec-04 0:34
SelvaRavi28-Dec-04 0:34 
GeneralImport text files Pin
G-Viking27-Dec-04 23:36
G-Viking27-Dec-04 23:36 
GeneralPopulating Listview with DB information Pin
kobezt0827-Dec-04 18:36
kobezt0827-Dec-04 18:36 
GeneralRe: Populating Listview with DB information Pin
Mekong River27-Dec-04 20:24
Mekong River27-Dec-04 20:24 
General[VB.NET] Paint MainMenu Pin
thesleeper27-Dec-04 15:40
thesleeper27-Dec-04 15:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.