473,385 Members | 1,492 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

autoredraw in .net?

hi,

what is the change over from vb6 to vb.net in the case of
picturebox1.autoredraw = true ?

thanks,

Gary
Jul 21 '05 #1
1 2859
Hi Gary,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need to know where the AutoRedraw
property has gone in .NET's PictureBox. If there is any misunderstanding,
please feel free to let me know.

As far as I know, Visual Basic .NET has a new forms package, Windows Forms.
Windows Forms is largely compatible with the forms package found in Visual
Basic 6; however, there are some key differences. Windows Forms has a new
set of graphics commands that replace the Form methods Circle, CLS, PSet,
Line, and Point. Because the new object model is quite different from
Visual Basic 6.0, these methods cannot be upgraded. In .NET, PictureBox
using another kind of skill to persist shapes. You can handle the Paint
event to achieve this. It is much more similar to Win32 SDK in .NET than in
VB6.

For more information, please check the following links:

http://msdn.microsoft.com/library/de...us/dnvb600/htm
l/vb6tovbdotnet.asp

http://msdn.microsoft.com/library/de...us/vb98/html/v
bproAutoRedraw.asp

HTH.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Chris Coho, Jr. | last post by:
Ok, I'll explain the whole problem because there may be several ways to solve this and hopefully someone knows one. What I'm doing is creating a specialty template editor, similar to say a corel...
0
by: Gary | last post by:
Hi, Ok i take it auto-redraw in a picture box is not supported :-( So what do we have to do to get around this? can someone help with a sample? Thanks, Gary
0
by: Derek Tremblay | last post by:
Hello every body !! i need your help in GDI+ can you help me ? (PS : sorry for my poor english) Probleme : i want simulate AutoRedraw in .NET PictureBox control (in VB6 the property...
1
by: XY | last post by:
I've noticed that neither forms nor picture boxes have the autoredraw property anymore in VB .NET. What substitute is there for it? What lines of code should i write to grant the form or the...
1
by: Gary | last post by:
hi, what is the change over from vb6 to vb.net in the case of picturebox1.autoredraw = true ? thanks, Gary
8
by: Doug Marquardt | last post by:
Hi All: I want to simulate VB6 Autoredraw in VB.Net I figure I would probably have to create a memory dc, paint to that, and then create a bitmap based on the dc and copy that image into a...
0
by: =?Utf-8?B?LnBhdWwu?= | last post by:
i've got some code that runs via a background worker on another thread. the code draws a graph to a picturebox. vb.net hasn't got an autoredraw feature, so i'm trying to draw the picturebox image...
2
by: Jerry West | last post by:
Is there a comparable .NET function for the VB6 Form's .AutoRedraw function? JW
1
by: =?Utf-8?B?QWxleCBLLg==?= | last post by:
Hi all I set a panel's backgroundimage at design time. I have few textboxes on the panel. Every time I use right mouse click to copy/paste into these textboxes, the pieces of system popup menu...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.