Make A Program That Can Draw On A Form?

May 18, 2012

I was able to make a program that can draw on a form but if I draw very fast, the lines are cut. Check image below :

Another is I want to make my form be able to load a power point presentation. Is it possible? Also, I was wondering if it is possible to save the form as image file like what we do in screenshot?

View 3 Replies


ADVERTISEMENT

Make A Program That Will Draw 700 Random Lines On It Initially?

Oct 17, 2010

I am currently using Visual Basic 2008 Express Edition.I want to make a program that will draw 700 random lines on it initially. I tried my code but the lines only appear in the same way such as straight line and diagonal line. Here's my code:

Public Class Form1
Private Sub Form1_Paint(ByVal sender As System.Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles MyBase.Paint

[Code].....

View 3 Replies

Make A Form Draw A Cursor?

Apr 23, 2010

I need a code that when put in a timer will create a cursor were your cursor is and then leave it there. So its like a place marker to let you know were you were when you clicked.

View 2 Replies

Make A Form That Would Activate The Program?

Apr 2, 2011

On my program I am trying to make a form that would activate the program.I have the activation codes but when the user enters the activation code in a text box, is it possible that it would erase that activation code or wont accept that activation code again after being used once. Then if the program accepts the activation code can it open the main form (form1) and if the user closes the program and the re-opens the program, is it possible that the activation form doesn't open again and instead, going to the main form. I have this password code:

Private Sub textbox4_KeyDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles MaskedTextBox1.KeyDown
Static WrongCount As Integer = 0[code].....

Then can there be slashes every 4 characters in the text box?

View 1 Replies

Make A Glass Form In Program?

Jun 12, 2009

How do you make a glass form in VB.NET? Like the vista/win7 effect, but extended into the form. I saw a tutorial for C#, but can't find one for VB.NET

View 6 Replies

Make A Program That Has A Main Form

Jun 22, 2010

Im trying to make a program that has a main form(menu form) and when i click on the buttons another separate form will appear.

View 1 Replies

Make Exe Form Open Only Once In Program?

Oct 13, 2009

I have a vb.net form which has a button in it. The button will call A.exe (it's a vb.net exe) using the command Shell("A.exe ", AppWinStyle.NormalFocus).

How can I make sure that everytime I press on the button, A.exe will only open once, and does not open a new form each time?

View 4 Replies

Make Form Title Like Name Of Program

Aug 17, 2009

i would like to be able to make my form title to be something like (document title) - (name of program). The document title is the title of rtb document. how would i do this? i sorta have start.

Me.Text = String.Format("iPad - {0}", rtbeditor.Name.ToString)

View 12 Replies

Make An Application Filling Form With Program Using Ado.net?

Aug 25, 2009

I have a table inside my database, and i wish to insert/update/delete entries in a FormView Manner (I mean no datagrid) but a set of textbox/combobox/listbox/checkbox for one record. Before modifying/adding data i have to perform some extra checks to enter correct values to my database. How will i be best off doing it? I am currently using a datatableadapter to perform datatableadpter.insert, and also datatableadpater.update. How can i make use of datasets here and what is the best way for it?

View 2 Replies

Make My Form In Program Staying Top Of Other Windows?

Jun 26, 2010

I have a form in vb.net with a checkbox and I want it to stay in top of other windows if the user checks the checkbox and not to stay in top of other windows when the checkbox is not checked

View 2 Replies

Make My Form Look Like Microsoft's Series Of Program?

Feb 11, 2010

How can make my form look like microsoft's series of program like word

View 34 Replies

Make A List Of Recent Files In Form In Program?

Jul 24, 2011

I am just wondering on how can i make a list of recent file opened on my program in vb.net. The recent files filenames must be in a linklabel in a form and in the menustrip.

View 5 Replies

Make A Program That Can Get Information Form A Magnetic Card?

Jul 16, 2011

i am trying to make a program that can get information form a magnetic card reader to fill in a text box like an id and/or password. or make a new account. i am using a MagTek SureSwipe Card Reader 21040140?

View 1 Replies

Make A Program With VB2010 That Does Not Use The Actual Form But Instead Only Uses Other Components?

Sep 19, 2011

Is it possible to make a program with visual basic 2010 that does not use the actual form but instead only uses other components (e.g. Message Box) to form a complete program?

View 2 Replies

Draw Rectangles To Make A Map File?

Dec 11, 2009

I have an automated electrical tester, I want to create a type of map file so that way the user can select a subset of devices to test. So basically I want to create a type of grid that the user will be able to highlight specific rectangles in the grid so that way the tester knows to test only those specific locations. To start I want to create a 4X4 grid and each individual rectangle in the grid will contain some coordinate information. Does anyone have a tiny example of how I can draw a 4X4 grid, or any thoughts on the best way to do this? The real final map I will be making will have over 50K devices.

View 1 Replies

Make A Raffle Draw System?

Oct 20, 2010

I am about to make a simple Raffle Draw System.I can display the random ID's of participants, but what I really wanted to achieve is that the names are the ones to be displayed randomly..

Say when a user click the button, using a timer a certain label will randomly display names of participants from the database and by such time that he stop the timer, the name of the winner will eventually shown.[code]...

View 3 Replies

Make An Easy Program Which Repeat Some Things And Paste Into The Form?

Aug 23, 2009

I want to make a pretty easy program which repeat some easy things for me

STEP 1: on the first picture I want it will wrote a URL in the form + example [url].....

STEP2: thenI want then the program press on the link Get video

STEP3: and after that will the program "Right click here to download the video"and copy link location

STEP4: finally I want the program will paste paste URL into a new form? is this hard to made?

STEP5: if its possible I want also have a button example name "generate" which add a number of the URL from [url]...10000 to [url]....10001 and the repeat the things and paste into the form>is this hard to wrote a program which made this steps?

View 2 Replies

Make Program To Find Numbers On Form And Do That Without Making So Many 'Same' Codes?

Dec 18, 2011

[code]How i can make The Program to find Numbers On Form and Do That without making So Many "Same" Codes?Its Pretty Annoying To Make Big Program nad only Copying and Pasting Text.

View 3 Replies

VS 2010 : Close And Open A Form - Make A Login For A Program?

Jul 16, 2010

How do I Close a Form and then open a new one straight away? Im trying to make a Login for a Program, but I want the Login Box to open first, then disappear when the credentials are correct and a new Form to load.

View 3 Replies

Draw Septagon In Program?

Mar 28, 2011

Does anyone have any code that can draw an equilateral septagon in vb.net?

All sides and angles need to be equal.

View 2 Replies

VB 2010 Make A Portable Program Which Has A Form With A Few Different Pictures Like A Photo Gallery?

Oct 23, 2010

Im make a portable program which has a form with a few different pictures like a photo gallery.when you hover the mouse over a picture it will appear enlarged in a floating box infront of the form. Then when the the mouse is taken away from this floating box the box will disapear and leave you with the picture gallery again?

View 3 Replies

Draw Simple Graphics In Program?

Oct 11, 2009

I'm a unviversity student and for an assignment we have to make a simple project where the user specifies a shape and a color, and then the shape is drawn in some kind of space. So like they choose circle, green, and in this blank space on the form a green circle appears, pretty simple. Anyways we have some kind of msdn alliance thing where we can download Visual Studio for academic purposes, so I downloaded Visual Studio 2008. I spent about an hour going through the tool box trying to figure out what could possibly allow me to draw stuff in it, and I'm really not sure what it could be. On some online tutorials it said something about a function on picture boxes like picturebox.Circle(100,100), 100, vbgreen or something similar, and when I tried making a picturebox and writing this code nothing worked. My friend told me to use a 'canvas' but neither of use know how to actually find such a control (its not in the toolbox).[urls]....

View 14 Replies

Make Multi Selection (draw Shape) On The Picturebox?

Jun 12, 2009

Currently I'm trying to make multi selection (draw shape) on the picturebox but no matter how i edit my code, it jus dn draw any square or circle when I click on my button (either circle or square).

Below are the codes that i'm currently working on:

Public Class Page_2
Public blnCircleClicked As Boolean 'Is The Circle Tool Clicked?
Public blnSquareClicked As Boolean 'Is The Square Tool Clicked?

[Code]......

View 5 Replies

Make A Simple Image Editor Were You Can Draw And Edit Images

May 27, 2011

Is it possible to make a simple Image Editor were you can draw and edit images in vb.net? If so how would you do that? (Its would also have to compile the image as well into an image format)

View 4 Replies

Program Run Out Of Memory - Draw Segment Of The Spline To The Bitmap

May 31, 2009

I am building an app that builds a bunch of cardinal splines by storing their PointF structures in arrays. As the program runs, new points are added to the arrays, and the graphics are drawn to a bitmap. I can let it run for ages and the splines just keep growing like they should with no problems. The amount of points in each spline can grow into the thousands. To speed up execution as time progresses, I don't completely redraw the splines after each pass, I simply draw the last segment of the spline to the bitmap, having let the bitmap 'record' the earlier part of the splines.

But if I pan across the scene or zoom in/out of it, then I DO have to completely redraw the splines, since the size and resolution of the display is limited to its dimensions. Panning works, no problem. But if I zoom in and out of the bitmap with the mouse wheel, after about 14 wheel clicks, I get an "Out of Memory" error. BUT...I have it set up so that whenever the mouse wheel turns, the graphics and the bitmap are disposed so that new ones can be built for the new zoom setting. So why would the program run out of memory when as far as I can tell, I am disposing of all my unused, unmanaged resources on a regular basis?

View 3 Replies

Make A Table At The Right Side Or Draw Lines Without Affecting Details Section?

Apr 24, 2009

i am newbie in constructing layouts in crystal report.i have details section in left side of the page

Subject A |_______|________|________ | Subject B |_______|_________________| Subject C |_______|________|________ | Subject D |_______|_________________| Subject E |_______|____Total__|________ |

there can be different number of rows at the left side,meaning it depends on output of the query.And heres the problem, i need to make another table at the right side. how to make a table at the right side or draw lines without affecting details section? this is just purely table without fields on it.

View 1 Replies

VS 2008 Woodcutting Program / Draw Image & Save Cuts

Jan 27, 2010

I'm currently working on a VB 2008 course of Michael Halverson, and I'm stuck at an assignment where I'll have to expand a previous wood order program so customers can add woodcuts to their orderIn the newer program a customer can define 4 coordinates (x & y for startpoint and x & y for endingpoint), after clicking on the button 'Next cut' a line will be drawn on screen (in PanelCuts) with a maximum of ten lines. After finishing, the coordinates must be saved in the order.txt, and when the client re-select the order in the main order program, they can review and adjust / remove the already specified cuts.Right now I'm at the point that the you can enter the coordinates, and the line will be drawn.

- What's the best way to store the submitted cuts, in a Label? array? or something else?

- When the form reloads, how to displays all previous made cuts? Can i count the numer of cuts and with For i = 1 to combined with SelectedItem. Split() ? [code]

View 3 Replies

VS 2010 Making A Screenshot Program But Unable To Draw The Rectangle?

Nov 22, 2011

I'm currently working on a screenshot program, much like Gyazo and I've come across a problem.

[code]...

Now, it draws perfectly when I drag left to down (vice versa), but when I try and drag the opposite way (this is when I get negative x and y values), it doesn't seem to draw the rectangle.I've tried fixing it but with no luck at all, it just messes it up :c

View 2 Replies

.net - Draw Image To Form?

Nov 11, 2011

I'm trying to draw a 400x400 px image to a 400x400 form that I made. What I'm doing is:

Graphics.DrawImage Method (Image, 0, 0, 400, 400) 0, 0, 400, 400, ...

But when I run the form, the image seems to stretch slightly upon the y-axis, the x-axis seems to be working correctly.

This was what I was doing before (stretching the old smaller images to fit the size)

... (Image, 0, 0, 264, 231) 0, 0, 400, 400, ...

or something like that. Now that I'm trying to do it the correct way, I can't seem to get it to work properly.

Edit: I wonder if using a simpler verson of Graphics.DrawImage would work?

View 1 Replies

Cannot Draw On A Form Past 291, 266?

Feb 14, 2011

I have an "application" that consists of a form Form1, with the following code behind it:

Public Class Form1
Dim xDown As Integer, yDown As Integer
Dim g As Graphics = Me.CreateGraphics
Dim p As Pen = New Pen(Color.Black, 1)
Dim r As New Rectangle

[Code]...

View 7 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved