Create Something Similar To The Paint Bucket Tool?
Mar 23, 2011
I am trying to create something similar to the paint bucket tool in microsoft's paint, but using the code I created I get an infinate loop.
Imports System.Drawing.Imaging
Imports System.Drawing.Drawing2D
Imports System.Runtime.InteropServices
[Code]....
View 6 Replies
ADVERTISEMENT
Jun 5, 2011
I'm trying to create a small paint component( similar to MSpaint but not the same thing) in vb.net.I have a panel that holds the background image and a picturebox over the panel that I draw on. I'm using graphics to draw shapes and I have my own custom double buffer, meaning that I draw on the picturebox while the mouse ismoving and on mouse up I draw the final image on the buffer image and on paint event the buffer image replaces the picturebox image.also, i have set the form properties to enable double buffering
Me.SetStyle(ControlStyles.ResizeRedraw, True)
Me.SetStyle(ControlStyles.DoubleBuffer, True)
Me.SetStyle(ControlStyles.AllPaintingInWmPaint, True)
Me.UpdateStyles()
my problem is that no matter what i've tried the picture box keeps flickering. as long as the mouse is moving, the paint event keeps getting called and the image flickers like crazy what i need is more ideas(or pseudocode) on how to avoid flickering.
View 3 Replies
Feb 15, 2010
A scribble tool in VB paint app?
View 3 Replies
Mar 9, 2010
What I need to do is be able to enumerate pretty much all hWnds and locate any TextBox (outside of my program) and get information about it (eg: Name if any, text in it, etc).
[Code]...
View 1 Replies
Sep 20, 2009
How to create a Paint program with all the functions of Microsoft Paint?
View 5 Replies
May 28, 2010
I'm trying to create an enumerable class, similar to System.Drawing.Color - My goal is to have places in the code where I can define a variable as the type of my structure, then be presented a list of static values to pick from.I'd also like to use this for a property of a UserControl.I don't know if I'm using the right setup here with the class, structure, etc.I'm just trying to mimic the Drawing.Color class.I'm creating a Public Class called Person.Inside it, I have two Public ReadOnly Properties for Name and Age, their corresponding Members, and a Constructor to create a new Person.Second, I have a Structure called Persons and it has two ReadOnly Properties: Billy and Sally.[code]In my attempt, I get the full freaking .net class library in my intellisense list. Using Drawing.Color, I get a nice pre-defined list of values to pick from.No extra methods.No constructors.Just values.
View 16 Replies
May 19, 2012
I want to create a track bar using paint event, but the problem is on mouse move event<Me.Invalidate()> is very slow since the graphic become unvisible for milli seconds and then return back, is there a way to make it faster?(doesn't become invisible)
View 2 Replies
Jul 24, 2010
how to create a software for paint mostly used in windows XP
View 3 Replies
Jun 9, 2010
I am looking for some thing to create a line similar to the <HR> tag in HTML.
View 1 Replies
Dec 22, 2010
I would like to create a vertical slider similar to ones you would find designed in AJAX but I need to do it in a VB.NET Windows Form. I'm hoping that someone has seen this done.
View 5 Replies
Jun 22, 2009
Create a paint application in VB Express 2008?
View 16 Replies
Jun 21, 2010
I have a form in VB2008 with 3 panels, each containing panels. How can I copy the formatting to create similar forms to it?
View 1 Replies
Dec 6, 2010
This is for a WindowsCE project,
Windows WM6 does not allow you to hook in WndProc easily as this has been hidden, I've built a class that inherits from MesageWindow, which allows me to receive Messages as intended.
What I'm trying to do is create an event that will return a value Boolean bypassing base.WndProc(ref m);
basically saying I've handled the event it does not have to, similar to how the Form_closing event would work e.g e.Cancel will cancel he closing off the form.
I've not finished my WndProc function as of yet but you should get the picture.
Code:
public delegate void WndProcEventHander(object sender, WndProcEventArgs e);
public event WndProcEventHander OnWndProc;
protected override void WndProc(ref Message m)
[Code].....
View 2 Replies
Sep 28, 2011
create a calendar program very similer to Outlook's Calender.But only on its own, i want it to be able to have multiple user access so several people can check eachothers calender obviously.But i have no clue where to start, doesnt have to be the exact same as outlook just have the same functionality.
View 1 Replies
Aug 11, 2009
I have gradient on a form set as follows in Example 1 below. I also have a custom panel which has its colour set as in Example 2. I want to get the same colour from Example 2 into Example 1. However I am not sure how to do this within example 1.
[Code]...
View 7 Replies
Feb 9, 2011
How can microsoft paint(or any other painting software) be included in a VB.net project? I need to used its functionalities to maipulate jpg and movie file. Is there any ways this can be done on VB.net (or Visual Studio).
View 2 Replies
Mar 8, 2010
In my company we are planning to develop a GUI for an existing vb.net application which is the best tool to create vb.net skins ?
View 2 Replies
Jan 30, 2010
how to create antivirus tool using vb.net
View 14 Replies
Jun 21, 2010
How will create an array of checkbox, I dont know to create it on vb.net but as far as i know in vb6 you're just going to create a toolbox then if you copy and paste it,it will automatically ask if you want to create an array of it but I really nid it in vb.net, I want to create 5 checkboxes,for example the name of the checkbox would be checkbox then they're indexes would be checkbox(1),checkbox(2),checkbox(3),checkbox(4),checkbox(5). I tried it to write in codes but something is wrong,the program can't understand what just I did,here's my code.
[Code]...
View 2 Replies
May 21, 2008
I downloaded and installed the xml to schema tool for VS 2008. No problems. But no template in Vsiaul Studio.
View 3 Replies
Jun 14, 2009
I'm writing a tool that will have -at some point- to create a torrent. Now the tool is big and 'creating the torrent' is only a small part of it so I thought I can use a command-line utility that creates torrents but sadly it seems that there are no such tools available for windows ( found some for linux ). What are my options here? Should I just write a tool that creates torrents out of directories (I don't even know how a torrent file should be structured)? Or is there a way to control a GUI-Based application using my VB.NET program? ( Guess only C can do that, right? )
View 6 Replies
Mar 31, 2011
I have used IsHighlighter property of InkCanvas to create highlighter tool In real life when we use highlighter it highlights on the top of our notebooks or books writing but in InkCanvas i am not able to highlight on the top of Ink which i have previously drawn I am creating application which have pen as well highlighter tool now if i have to highlight some thing which i have drawin onto InkCanvas using pen highliter goes down to Ink .
View 1 Replies
Sep 5, 2011
i would like to create a small tool that filters new and old facebook groups, i am almost finished, but one part isnt working the filtering here is the source code, grabbing groups works but checking if they are old or new doesn't, even though it should. There is one more feature not working where it filters the members size it is not grabbing the text it should (instead of grabbing the amount of members its just grabbing something from the beginning of the source code) [code]
View 1 Replies
Apr 12, 2009
first wanna say, awesome forum here wish i'd found it sooner so basically im trying to create a tool for my group (6 people) that tracks tickets they work, basically we work jobs by ticket request and im trying to create a tool/program where they can enter:the ticket number if they completed,pending etc and notes of the job i figured it was gonna be easy, do a simple GUI that saves the info to a excel sheet or a access DB file.
that is basically how it looks. what im trying to figure out and hoping to get some help on is what is the best way to go about this? would a access DB work out better? (since i am hoping to expand it later like add a auto date/time function etc)how do i get it so when i hit the "submit" button it copies the fields and puts them into the DB file?
View 7 Replies
Jan 5, 2010
I want to make a Tool Bar in my task bar such as windows media player tool bar.
I'm using VS2005.net Windows xp Professional Edition.
View 5 Replies
Oct 17, 2010
how to put the tool tip text in status bar label this in form load event
View 14 Replies
Aug 20, 2011
I am wanting to create a logon similar to the Windows Live logon, so in other words. user has frmLogon and is located in Australia. The user enters his/her details and then the program connects to a server in the United States and checks the Username and Password to make sure it is correct if it is correct it allows the user to logon and move to the next stage, if it is wrong it will give him an error message. I am wondering if anyone has a tutorial or source code laying around that I can rip apart and see how it works. I want to put the database on my server and connect to it from my desktop using the logon form.
View 3 Replies
May 20, 2010
I know how to check whether an item exists in a list using (MyList.Contains), But I do not know how to check the whole list. For example (use one button and one richtextbox):
[Code]...
View 14 Replies
Oct 15, 2010
Also, if they are so similar then why do they exist separately?
View 3 Replies
Dec 15, 2011
Not sure how to do this, eveytime I try to load the the file, it says it won't read wav files.
View 2 Replies