Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 2005 > Visual Basic 2005 Basics
|
Visual Basic 2005 Basics If you are new to Visual Basic programming with version 2005, this is the place to start your questions. For questions about the book: Beginning Visual Basic 2005 by Thearon Willis and Bryan Newsome, ISBN: 0-7645-7401-9 please, use this forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Basic 2005 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 13th, 2006, 01:42 PM
Registered User
 
Join Date: Mar 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Anyone know how to draw and save a pic ?

I need a really tiny simple short code example, that I can build and run without editing, that

1) draws 2 black lines and a 1/4" in black dot on a white
square inside a vb form

2) this image should be scaleable

3) saves the image to a printable and webable image file ( bmp ? jpn ? jpeg ?)

Once I have this I can play with the co-ords and sizes to generate
some simple diagrams programmatically.

The examples I have seen so far are too complicated or get
compile errors I don't have the knowledge to fix.

Can anyone oblige ?

Thanks !




 
Old March 13th, 2006, 08:16 PM
Wrox Technical Editor
 
Join Date: Dec 2005
Posts: 271
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I see we have a cross poster:

http://p2p.wrox.com/topic.asp?TOPIC_ID=41337
http://p2p.wrox.com/topic.asp?TOPIC_ID=41335

I understand that you are trying to maximize your exposure in an attempt to expedite a result, but try to keep posts to a single thread.

Anyhow; you've posted in a VB 6 and a VB 2005 form. What language do you really want to use?

It is much easier to manipulate graphics in VB 2005 (GDI+) than VB 6 (GDI).

Here are a couple helpful links:

GDI+ in VB.NET Tutorial for Beginners: http://www.vbdotnetheaven.com/Upload...a-9331b64749ac
System.Drawing Namespace: http://msdn2.microsoft.com/en-us/lib...m.drawing.aspx

- A.Kahtava





Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking to overlay a pic on a web page Concept Javascript How-To 0 May 17th, 2008 04:21 AM
ANYONE KNOW HOW TO DRAW SHAPE AND SAVE AS PIC ? vbadatvb Beginning VB 6 2 March 13th, 2006 08:05 PM
How to draw pic and save as .bmp, .jpn, .jpeg vbadatvb VB How-To 0 March 13th, 2006 01:47 PM
what is best way to determine pixels of pic audi Dreamweaver (all versions) 4 January 1st, 2006 09:20 AM
help with my program (displaying a pic on screen) bcmaverik C# 6 July 9th, 2004 05:23 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.