473,378 Members | 1,377 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,378 software developers and data experts.

Drawing Tools In Vb 2005

7
Hi!

I've got a question,

In VB6 there are drawing tools available, circle, line, ellipse etcetera that one can use to draw while designing a program....
....in vb 2005 although I am able to see these drawing tools, they're always unavailable, all the time!

Do I need to do something, add a container or something to activate them?

Please help!!!!

Thank you very much!!!

Roldan
Aug 9 '07 #1
4 1638
If I understand your situation...

Imports System.Drawing

etc.

If that is not sufficient, you might need to do Add Reference.

HTH
Aug 10 '07 #2
Roldan
7
Uhmm...what I meant is, the drawing tools that in VB6 can be used just like any other object in the toolbox (in fact, in VB6 the circle, square and line items) can be found in the toolbox. So anyway, these drawing items's properties can be modified just like a label, textbox or any other item can while in designing mode or at runtime.

But anyway, I did some more research and it seems as if this feature is no longer available in VB 2005, so now the drawing tools can only be used while editing a Bitmap component (Project...Add Componet...Bitmap File) This sucks, but that's the way it is so......unless this info is wrong in which case I would greatly appreciate somebody showing me how to accomplish this simple task (without actually importing a picture of a circle, square, etc) into a picturebox though!

Thansk,

Roldan
Aug 10 '07 #3
I have been stuck with same problem in my application, and I am waiting for any bit of light
Aug 14 '07 #4
Amendment:
Imports System.Drawing.Graphics

then you can use:
DrawEllipse

Pass it a pen and a bounding rectangle. If the bounding rectangle is a square, then your ellipse is a circle.
Aug 24 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: TheDD | last post by:
Hi all, i have a question: is there any librairy for drawing graphs with PHP? Not graphs like histogram or alike, but like a set of shapes linked together in a certain way (like a flow chart...
3
by: F. S | last post by:
Would somebody please compare different C# development tools, such as MS Visual Studio and Delphi 2005, C# and Delphi.net?
4
by: funcSter | last post by:
Hey, got a prob which is driving me nuts! I'm trying to resize the resolution of an image as well as it's pyhsical byte size. I've got: byte bytImage = null; System.Drawing.Image imgImage =...
1
by: Niels Jensen | last post by:
Hi guys, I have the following code which is supposed to draw a grid in a panel consisting of a specified number of squares. I can get it to draw the grid and activate the autoscroll feature,...
1
by: Brian Henry | last post by:
Anyone have any good examples of owner listview drawing in .NET 2.0? Websites, code examples, etc? thanks! just interested in seeing what people are doing with this
0
by: Kevin G. Anderson | last post by:
What: CAUG Meeting - Visual Studio 2005 Tools for Office When: Thursday, April 27, 2006, 6PM Who: Jacob Cynamon, Microsoft Where: The Information Management Group 200 W. Monroe St. Suite...
4
by: Billy Bob | last post by:
Hi, Is it possible like Visual Basic that when you are in Design mode so you can add controls etc to a windows form that you can draw on it? like draw a line or a shape? Bob *** Sent via...
2
by: mattc66 via AccessMonster.com | last post by:
Does anyone know of some simple line drawing add-on apps. I just need to be able to do some simple line drawing with dims. 4 walls and a door and allow the user to type the dims for the walls. All...
2
by: Nathan Sokalski | last post by:
I am attempting to create icons for controls I have created using VB.NET by using the System.Drawing.ToolboxBitmap attribute. I have managed to do this in C# by specifying the path to the *.ico...
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
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...

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.