I'm trying to draw a red rectangle around a persons face in VB.NET, I've tried Luxand FaceSDK but, I need somethign free, I don't want info on the person or anything really, I just want it to draw a rectangle
If TextBox1.Text.StartsWith("http://") Or TextBox1.Text.StartsWith("https://") Then
PictureBox1.Image = Image.FromStream(Net.HttpWebRequest.Create(TextBox1.Text).GetResponse.GetResponseStream)
How can I share something on Facebook, using my vb.net code.I donot want human intervention, I just want to supply my credentials to my application and it should automatically begin to share pictures etc. with my intervention.
im decide to develop Vb .net Application With Sql server Express 2008 ,but microsoft says they limit 4 GB Sze for per DB! So im developing my app for Single user Desktop pc , so what i do when the DB reached to the Maximum size? when the db size reached to maximum size , is it Good thing to create new DB and allow my vb.net application to work with both DB s ?
catalsyt control center can not be open im monitor display, the warning says command line intrface has stoped working already try to downlowload new dr
I need to get the DataGridView to perform the way it should perform. I'm new to the .NET environment, but I learn fairly quickly. However, I find it difficult to decipher themassive black box of the DataGridView control enough to make it do anything other than what it already does--Draw very slowly.
I have a form that uses a button to draw a line and a second button to draw a rectangle. I have a third button to clear the form but can't find a code example to code the Clear button.
I have to draw a bar graph in my vb.net program. I used AxMSChart to create a graph. Everything has gone fine but when i published this and run on Vista PC, all form was good except my form includes MSChart. It says class not registered.So i have to draw a graph except MSChart tool.
Alright, im trying to make a map editor for a game engine. I already have the whole form planned out but I just can't figure out on how to draw a grid. I dont mean a data grid. I mean like tiles. X and Y positions and stuff like that. I have looked all over the internet for tutorials. There are very few and most are out-dated. Can anyone help?
I have a VB app which draws primitive shapes (lines, filled rectangles etc.) into a picturebox control (from its paint event). I've since found out that a picturebox is probably the worst control to use for this. I've also found out that it's better to draw directly onto the form but I don't really want to do this as a control gives clipping for 'free'.
What would be the best control for this? The panel control looks like a good candidate but the experiment I tried actually performed worse
I'm creating a movable scenary with, like 100 different flights. I want to create for every type of flight a triangle...so it's moves around and you have an idea how the airspace looksq like at what moment.Now my question is, what's the best way to draw these rectangles? I created a class 'Flight' and it has a Graphicspath in it. Now I want to update the triangle, which represents the aircraft, with the speed and heading...so it moves around well.
I have got a noughts and crosses game and its all finished appart from the checkdraw sub routine i forgott to write in, so I wrote it out as below:[code...]
Now ScoreX and ScoreO are two variables declaired at form level, I use a very simaler routine for CheckWin and that works a treat.
My problem is that when a draw is detected the message box comes up ok but no scores are added to the label control.
Private Sub PictureBox1_Paint(ByVal sender As System.Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles PictureBox1.Paint e.Graphics.DrawEllipse(Pens.AliceBlue, New Rectangle(New Point(0, 0), New Size(PictureBox1.Width, PictureBox1.Height))) End Sub
I am trying to draw a circle in VB.Net, .Net version 4.Nothing shows up in the paintbox.
how to draw a dendrogram in Visual Basic? For example, I have 5 objects o1,o5 and I've calculated distances between them and the result is o1o5o2o4o3 (objects o1 and o5 are most alike, then o2 is most alike to 04 and so on, as you can see in the attachement).Should I use Treeview or Charts or should I just draw lines myself?
For class, I am creating a Tic Tac Toe game. When there is a win I would like to draw a line over the 3-in-a-row. Not sure if this is possible because I used an array of buttons to represent the X's and O's. If this is not possible I would like to highlight the winning buttons.
I downloaded mschart20.ocx manually and register it with regsvr32.exe bu it gives an error ven I tried to launch my program. link to set up mschart property to my visual studio 2008 prof.edt. I need to draw a x/y graph with visaul basic.
I want to draw borders around rtb. I am using this code but it draws border at top and left side of rtb only and also I cant type anything i rtb after drawing border. Is there another way of doing this?
Running VB/Studio? 2010 on XP. I draw on full screen resolution of 1920 wide x 1080 hi.I have set FormBorderStyle to NONE & WindowState to Maximize which seems to be the only way to get rid of the task bar.but w or wout this setting, My graphics draws a full screen twice - mostly repeatably.When I have [code] parameters set to use 9/16th of screen horizontally, the pattern is drawn once the first time I run it and usually once if I hit F5 quickly enough after hitting Alt-F4. But if I wait long enough [a second or 2] after 'Ready' appears at teh lower left of the IDE screen, then it draws the pattern 3 times.for wider patterns, 10/16th, 11/16 up to 16/16, which is 1920 pixels wide, it usually draws the pattern once after I make this parameter change and twice from there on. The 'twice' is repeatable; it 'doing it once' the first time is not a sure thing.
There are more peculiaraities than this, but if we can find causes for what I"ve given you, it might get them all wout making it seem more complicated than it is.I don't think it's in my code; it works - it draws the right thing the right number of times w no compiler errors. But here is the guts of it:
Public Class Form1 Private Sub Form1_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles MyBase.Paint e.Graphics.SmoothingMode = Drawing2D.SmoothingMode.HighQuality
I have a small project where I need to draw graphics over a WEB page.
To do this, I create a "ghost" form with a WebBrowser at the same location and size of my main form that is always displayed behind my main form.
When I set the TransparencyKey of my form's Panel to the main form's TransparencyKey, the panel shows the WEB page that sits behind the form. Yet, because this is a panel, I can draw anything over the WEB page
The only problem that I have is when my program needs to open child non-modal forms. When the user sets the focus back to the main form, the child form goes behind me main form, but it is still in from of "ghost" form.
Is there a way to "bind" the main form and the "ghost" form together, so that any other forms may only be completely on the back, or comletely on the front (never in between)?[code]...
I have a problem with my project. (attached file).When I click on the "computer", I get a computer on the screen. Suppose on the screen, i have 2 computers. (they can be moved) Now I want that:
1. When I click on the "Connection" button and choose the 2 computers, the connection is drawing. If still want to draw a connection, I have to click on the "Connection", choose the 2 computers again.
2. When I move the computer's location, "connection" will not be lost.
How would i draw a grid on a form in the forms paint event?Say start at coordinate (50,50 then 50,me.height) and then draw as line every 50 pixels. once that is done then draw the same grid horizontal to get a result similar to this
I am doing a bar chart project. my project should looks like this:
The problem i have right now is that i don't know how to draw the rectangle in the right way. my rectangle start to draw at the left top, how do i fix my code to make the rectangle draw start from the bottom? Also, i know how to draw string of my each input value, but i don't know how to print data values inside each bar, centered horizontally and vertically. This is what i have done so far
Here is my code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim Blue As Brush = Brushes.Blue Dim Red As Brush = Brushes.Red
I want to develop a graph application in VB.Net (VS2008). I have many point with (x,y) values. There I have calculated angel and radius by Pythagoras theorem. How to draw line with X,Y co-ordinate with scaling and put the point into this graph.......