Click here to Skip to main content
15,923,087 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Syntax error in INSERT INTO statement. Pin
Manik Nath1-Jun-05 3:07
Manik Nath1-Jun-05 3:07 
GeneralRe: Syntax error in INSERT INTO statement. Pin
Dave Kreskowiak1-Jun-05 11:07
mveDave Kreskowiak1-Jun-05 11:07 
GeneralRe: Syntax error in INSERT INTO statement. Pin
Manik Nath2-Jun-05 1:13
Manik Nath2-Jun-05 1:13 
GeneralRe: Syntax error in INSERT INTO statement. Pin
Dave Kreskowiak2-Jun-05 2:49
mveDave Kreskowiak2-Jun-05 2:49 
GeneralRe: Syntax error in INSERT INTO statement. Pin
Manik Nath2-Jun-05 20:24
Manik Nath2-Jun-05 20:24 
GeneralRe: Syntax error in INSERT INTO statement. Pin
Dave Kreskowiak3-Jun-05 5:23
mveDave Kreskowiak3-Jun-05 5:23 
GeneralVB.NET creating a drawing area for users Pin
zoethomas200529-May-05 20:09
zoethomas200529-May-05 20:09 
GeneralRe: VB.NET creating a drawing area for users Pin
Christian Graus30-May-05 12:22
protectorChristian Graus30-May-05 12:22 
If you're using predefined shapes, then you should certainly use an OO structure to define them. If you're using tools to draw freely, the same applies.

Basically, the way I'd do this is to have a base tool class, and have your application always use an instance of it ( the currently selected tool ). Make a collection of drawing events, generated by these tools, and iterate through it to draw your image. This makes undo/redo really easy to impliment as well.


Christian Graus - Microsoft MVP - C++
Generalbarcode generation in VB6 Pin
RupeshSunkara29-May-05 19:07
RupeshSunkara29-May-05 19:07 
GeneralRe: barcode generation in VB6 Pin
toxcct29-May-05 23:38
toxcct29-May-05 23:38 
QuestionHow to add ToolStripDropDownItem by code? Pin
rushing29-May-05 17:51
rushing29-May-05 17:51 
Generalsearching personal folder in outlook Pin
dw192829-May-05 15:03
dw192829-May-05 15:03 
GeneralC# to VB.NET Solution converter Pin
Dr_Lomax29-May-05 4:15
Dr_Lomax29-May-05 4:15 
GeneralRe: C# to VB.NET Solution converter Pin
Christian Graus29-May-05 12:35
protectorChristian Graus29-May-05 12:35 
GeneralRe: C# to VB.NET Solution converter Pin
Dave Doknjas29-May-05 14:02
Dave Doknjas29-May-05 14:02 
GeneralRe: C# to VB.NET Solution converter Pin
Christian Graus29-May-05 14:33
protectorChristian Graus29-May-05 14:33 
GeneralRe: C# to VB.NET Solution converter Pin
albCode30-May-05 23:06
albCode30-May-05 23:06 
GeneralRe: C# to VB.NET Solution converter Pin
Dave Kreskowiak31-May-05 6:28
mveDave Kreskowiak31-May-05 6:28 
GeneralRe: C# to VB.NET Solution converter Pin
albCode31-May-05 7:51
albCode31-May-05 7:51 
GeneralRe: C# to VB.NET Solution converter Pin
Christian Graus31-May-05 11:02
protectorChristian Graus31-May-05 11:02 
GeneralPorting macros written for VC6 to VC++ .NET Pin
Raghunandan S29-May-05 3:44
Raghunandan S29-May-05 3:44 
GeneralRe: Porting macros written for VC6 to VC++ .NET Pin
Kevin McFarlane30-May-05 6:11
Kevin McFarlane30-May-05 6:11 
Generalproblem in sending mail Pin
Murtuza Husain Miyan Patel28-May-05 20:47
professionalMurtuza Husain Miyan Patel28-May-05 20:47 
GeneralSave file on Server Pin
Anonymous28-May-05 18:34
Anonymous28-May-05 18:34 
GeneralRe: Save file on Server Pin
Mekong River28-May-05 19:48
Mekong River28-May-05 19:48 

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.