Type: Posts; User: Jose_VB
Search took 0.02 seconds.
I'm trying to write a code to produce a sound tone where we can select the desired frequency.
In one picturebox I want to show the sine wave of that tone.
In the second picturebox I...
I've a webcam and I want to use the video input to get 3d points of an object, for example like this:
There is any vb code or api that I can...
I want to know if it's possible to increase the compilation (and how) number of a vb.net 2010 program each time I press F5.
I think it could also be done reading the data of the internet active connection, right?
I thought it can be possible from there to obtain the websites that are being visited.
I've no idea that I can use Google analytics.
No, I'm not creating an asp.net project, I just want to create an application to notify new posts, new threads, etc... on a forum. For that reason I...
The program has to check if a website have been visited.
The main doubt is that today there are tons of navigators (firefox, chrome, explorer...) and I don't know how can I start.
I'm having the same doubt as you. I want to create a desktop application on Vb.net 2010 to check if the user's post have been replied, if there are new messages, etc...
I want to know where can I...
Ok, thanks. I cannot find any other solution on the net. So I will keep using the panel control.
FormBorderStyle -> Fixed3D
SizeGripStyle -> Show
And I cannot see the arrows to resize the form..
Exactly. Thanks for the information.
One more question... once the rectangle has been drawn in the form and it works correctly, I want to ask about drawing it in a panel1 control. I add a panel...
It works as required. When I introduce Me.DoubleBuffered = True in Form_Load it work much more better than in all the other cases. I've also tried to see the improvements when I introduce the...
It works right now in both cases, when I increase the size of the form and when I decrease the size of the form.
The only detail is that it still flicks. But I'm trying a solution.
1. Breakpoint MyBase.OnPaint(e) only
- The program loads but just after the form loads the program is interrupted in that point (breakpoint) so I cannot access to the form
2. Breakpoint in...
Protected Overrides Sub OnPaint(e As System.Windows.Forms.PaintEventArgs)
e.Graphics.DrawRectangle(MyPencil, 15, 15, Me.Width - 100, Me.Height - 100)
I don't fully understand the solution you're explaining. I think you want to say
Protected Overrides Sub OnResize(e As System.EventArgs)
I'm working with that method and it works much better.
Yes, it worked but I was working with different options and I've introduced new code in the program. At the moment the best way is the way...
Thanks it works, but it doesn't update the graphics while resizing. I forgot to mention that the graphics need be updated while the form is resized.
I've been reading more documentation and some...
I've a form where I add a panel1 control to add 3D borderstyle
In that panel I add a RectangleShape1 control.
The problem is when resizing the form the RectangleShape flicks a lot. Even if the...
Ok, tried this and it works:
Add Panel control to the form
Set its Dock to fill all the form
Set its border to 3D
I want to get a 3D effect in the border of the form like when you set the formborderstyle to Fixed3D, but it needs to be sizable.
How can I accomplish that?
I've found that...
Canvas.Shapes.Clear () works
I don't know if this is correct or not. If you've other ways you can reply to the post. :)
I do the next:
Private Sub CreateRectangles(CleanRectangles as Boolean)
Dim Canvas As New Microsoft.VisualBasic.PowerPacks.ShapeContainer
Dim Rectangle1 As New...
I want to create a matrix similar to...
Private Type ClientNumber (0 to 6) as integer
Adress as String
Age as String
then, if I want to access to the information:...
Yes, I tried to do with the Paint event also. The problem here is that it works fine, but I don't know why it doesn't pass over the zoom level 4. I'm modifying the code.
I'm writting a program where I use rectangle or lines to represent the data.
I've 6 zoom levels: from 0 (the minimum zoom, the smaller) to 5 (the maximum zoom, the bigger).
Depending what zoom...
I've created a line in the form using the next code:
Dim MyPencil as Pen
MyPencil = New Pen (Color.Black, 1)
Me.CreateGraphics.DrawLine (MyPencil, 50, 100, 150, 200)
Then I want to click...
Me.Controls("Label" & Number).Location = New Point (X,Y)
Me.Controls("Label1").Location = New Point (100,500)
I create some labels as follows:
When I resize the form I don't know how to change the position of the labels that I have been already created. Well, the new position will be......
It works, thank you. Even it doesn't need the picturebox control because I draw the shapes directly on the form.
I will tell you the results in a couple of days. Thanks.
Are you refering to change the size of the shape control?
Rectangle1.Height = Rectangle1.Height * ZoomOutValue
I think you're refering to that.
I've accomplished the zoom in using images. And I've used this:
Public Sub ZoomImage(ByRef ZoomValue As Int32)
Dim original As Image
'Get our original image
Yes, I tried 14 to 1 without step -1.
I was in doubt because it didn't shown any error, but it didn't work as required. I wasn't sure if 14 to 1 was right, but was the only method I knew.
It works as required.
But I didn't have seen the solution in this way. So, you go from the highest value (Imagine that MatrixA = 15) to the lowest value, in this case 1, and when you add "Step -1"...
The thing that is doesn't performs it to move the colors one place at right. It replicates the colors over and over.
Before posting this thread I've experimented with different combinations,...
The letters are introduced in a textbox from a different form. In the form you can see in the picture the program only changes the .backcolor of the label.
And the last change corresponds to the...
I've created 10 labels in runtime. They're ordered in horizontal, so when one finishes the other starts.
In the program I introduce random letters. Some letters have a black value, other letters...
Yes, I was looking before and I ended knowing that you need to rewrite the whole file. I thought it was possible to edit specific parts of the text file. So I will use other method.
It really works pretty good. I will rate your post after rating another user (because the last one I rated was you some time ago).
The question at the moment is how can I replace the rate, because...
Click Here to Expand Forum to Full Width
Survey posted by VBForums.