VS 2008 Saving Branches Of Moves / Captures
Nov 5, 2010
As can be seen in the image, the X has 2 branches of moves (arrows), it can capture the Os by leaping on them (marked yellow), and I am not sure how to store such branches of moves/captures.
View 9 Replies
ADVERTISEMENT
Oct 10, 2010
i would like to create a private chat for our office branches.for sending simple message for the designated employee.and have a list of online employees.
View 1 Replies
Oct 14, 2009
How do i script a button that moves when ever i put my mouse over it? onMouseover? P.S I'm a beginner, I don't know anything :P
View 1 Replies
Dec 5, 2010
I have quite an annoying problem and I don't know how to fix it. See I have several panels in one of my forms, all with background images. On the start of the application, the form slides down, and when the form reaches a set value, all my panels slide out.The problem is, when the panels are sliding, they flicker furiously! It's really annoying and I'm not sure how to fix the problem. When the panel reaches it's set value and stops moving, the flickering stops. I can only assume it's because of the background image
View 4 Replies
Dec 5, 2009
I get no compile/debug errors. When I opened it, and tested it on this site, it doesnt move the mouse to 255, 0, 0 (red). it moves it to 128-128-0.
Try
Dim dc As IntPtr
Dim screencolor As Integer
If myHandle <> IntPtr.Zero Then
dc = GetDC(myHandle)
Dim XPos As Integer = Cursor.Position.X
Dim YPos As Integer = Cursor.Position.Y
[Code] .....
View 25 Replies
Apr 23, 2010
I get no compile/debug errors. When I opened it, and tested it on this site, it doesnt move the mouse to 255, 0, 0 (red). it moves it to 128-128-0.
Try
Dim dc As IntPtr
Dim screencolor As Integer
If myHandle <> IntPtr.Zero Then
[code]....
View 2 Replies
Aug 10, 2010
I created a custom control that uses a PictureBox and made that PictureBox movable.
I create the control during runtime and the code works just fine. I can move the picturebox, except it can only move within the bounds of the control, which is the same size as the picturebox.
I have a panel that has a label and a picturebox inside of it and I handle the pictureboxes event like so:
[code].....
View 1 Replies
Jan 26, 2010
I have a splash screen made and a timer on my form how do i get it to wait 10 seconds before it moves on to frmmail form.?
View 5 Replies
Jul 27, 2009
This sub moves a rectangle to the center of the form and when it gets there it moves back to its original location. But something weird has happened and the rectangle still moves, but the boolean values dont change. I tested to see if that part of the code was executed by putting a messagebox where the boolean values are supposed to change and the messagebox didnt appear.
Here is the sub:
Public Sub Start()
Dim Energy As New PictureBox
_IsMoving = True 'here is the boolean values along with some other variables
[CODE]...
View 3 Replies
Mar 7, 2010
How do I make the form captures the keyboard events when it is inactive or was in the background in Visual Basic 2008
View 2 Replies
Aug 6, 2009
I am running a oracle package's procedure which raises raise_application_error (). i.e Oracle sends the application error to Visual Basic 6.0 . After executing procedure, When I try to display the value of Err.description in immediate window it prints only 532 characters.. rest of the characters are truncated. Is there any limitation that Err.description would capture only 532 characters? When I run that procedure in SQLPLUS, it gives entire string without truncation.
Please guide me to display entire string in VB using Err.description when error description posts to VB by Oracle PL/SQL raise_application_error.
View 1 Replies
May 22, 2009
I'm working on a project, and one thing it's supposed to do is make itself (the form) invisible, take a screenshot of the current screen, and the make itself visible again.[code]I made the 'FinishScreenshot function to call the 'TakeScreenShot' function, courtesy of AdamSpeight2008 and save that result as a specified image file in a specified location. the problem is, the screenshot ends up usually showing the form that was supposed to be invisible, but sometimes not (usually on the first form). I'm guessing this is because the FinishScreenshot and Take ScreenShot functions aren't finished working until after the form becomes visible again, but I'm not sure.
View 4 Replies
Jun 10, 2011
using VB 2010 ,I would like to write an application that captures snapshots from my laptop webcam ,and save it.
View 2 Replies
Jun 17, 2011
How to captures(keystrokes) instant messages of msn live messenger.How to captures(keystrokes)form live conversion of msn in vb.net.how to create the txtfile of that capture keystrokes of that instant messeges og live messenger of MSN.
View 2 Replies
Jun 4, 2011
How to captures instant messages of msn live messenger.How to captures(keystrokes)form live conversion of msn in vb.net.how to create the txtfile of that capture keystrokes of that instant messeges og live messenger of MSN.
View 1 Replies
Oct 2, 2010
I'm a computer science student and I have a project to do where I need to have VB connected to a webcam to take captures of items and then save them according to the item name that stores them into either a dbase or access database. I have knowledge of oledb using vb to retrieve and modify access databse so it might be better to head in that direction, but I have no clue how to get the webcam talking to vb and see the live feed from the cam until you take a picture and save.
View 1 Replies
Mar 9, 2009
rewriting a class I use for saving Treeview data to a XML file for use of saving ListView data I can't really figure out the rewrite, I'm stucked, unfortunately Listviews seems to be a big problem for me in general.
Option Strict On
''' <summary>
''' The TreeViewDataAccess class allows the nodes within a TreeView to be
''' persisted to xml for later retrevial.
''' </summary>
[Code]....
View 9 Replies
Dec 17, 2009
I understand this is possible but I am not sure where to start. I want to either buy or create an application that captures a resource from another application so that I can fire off another application. In other words, I want to start an application (which I did not write) that is database driven so the form has a number of text boxes. When someone keys something into that field I want to be able to validate the value, outside of the original application. For instance, if the program asks for a zipcode and it doesn't validate the zipcode, I'd like to trap for that and write something that would validate it. At this point I don't think I'd have to send anything back to the textbox/resource.
View 1 Replies
Jan 18, 2012
how to, if you have two mouses connected and then decect which mouse moves and execute the code. Like:
If Mouse1_Move Then
'code
End If
If Mouse2_Move Then
[code]....
I tried with multiple cursors - but only option is Multipoint SDK - but it can't work on external app and modificating CPNMouse, but i don't know C++?
View 1 Replies
Jan 20, 2011
How do I make a picture box follow a designated pathway. I have made a game where I have several picture boxes that follow each other. and want on of the trails to be able to do its own course. I have noticed that picturebox.left = picturebox.left + 10 works only for going left but picturebox.right = picturebox.right + 10 it saids read only. so I tried doing minus 10, though i don't know a condition how to do it. like how do it make it turn around when it's 10 from the boarder?
View 13 Replies
Oct 15, 2011
I want to make a game where the playing pieces can move around. When I click on a playing piece it shows all available moves were I can go like this:
Red represents legal moves and dark gray represents a wall.
I have created a grid and buttons in it. When I click on a button, I subtract or add the available step count to the button index in the grid. For example if my piece can move 3 places, I subtract 3 from the index of the button and get the available position to the left of the piece. Then I do the same for all other directions. It looks something like this:
For each i as button in grid
Select case grid.indexof(i)
Case grid.getindex(currentPlayingPiece) - 3 'Left
[Code]...
Using this method it is very slow and cumbersome to get all available moves and not intuitive to get top and bottom moves. Also if there is a wall in the way and behind there's a available spot it shows that I can move to it.
View 2 Replies
Apr 23, 2010
I am trying to insert a character at the end of a textbox string. The character gets inserted ok but the cursor moves to the beginning at the text. Is there someting I am doing to cause this.
Public
Sub insert_french_char(ByVal
_char As
[Code].....
View 3 Replies
Jan 25, 2009
How do you make a program that moves your cursor to a selected color? So you start the program and then the cursor will auto move to the color red (if that is signified).
View 1 Replies
Apr 2, 2011
I want to make an application that moves all files from 1 zip to another and deletes a folder.
It is a Minecraft mod manager, so i wanna move all files from one zip containing the mod, to the minecraft.jar (which is a zip with another extension) overwriting all files. Also, it should delete the META-INF folder in minecraft.jar to prevent black-screening.
View 3 Replies
May 28, 2011
How do i make a program that moves to a certain co-ordinate, clicks then moves to another co-ordinate and clicks and repeats 5 times?
View 1 Replies
May 28, 2009
In my keydown event handler, I am trapping when an ENTER is pressed and i want to advance to the next tab stop as is it was a TAB presses.I am currently using "SendKeys("{TAB"})" and this works but it is a sloppy way to do buisness, as there may be some typeahead keystrokes in the keyboard buffer.
I have also tried going through the controls collection off the form object, but it is too complicated as i am using containers within containers.Another consideration that TAB processing must be taking into consideration is "what if the tabindex is equal to the current tab stop? what if the next tab stop has tabstop=FALSE or is not enabled or not visible.The sendkeys approach handles all these issues but is a dirty approach and has keyboard buffer event processing quirks.There must be a method off some object somewhere that simply moves the focus to the next tabstop candidate.
View 5 Replies
Oct 14, 2009
I'm trying to make this game, where the button moves to a random location everytime your mouse gets near it.How would i do it?
View 3 Replies
May 19, 2012
I'm new to VB. I'm trying to make some kind of traffic simulation for the school assignment. The problem I have is, that all cars show up as one moving car instead of array of cars moving separately.
[Code]....
View 5 Replies
Sep 29, 2009
I'm creating an app where I don't want to allow the cursor to leave the form, even when the mouse moves.Would it be something to type into pongMain_MouseLeave ? Something like Cursor.Stop () is all I
View 2 Replies
Jun 21, 2010
I'm really a novice and I'm trying to draw a thermometer that moves up or down with temp change. I created a second form on my project for the thermometer and access it using Thermometer.Showdialog((). Then on the thermometer form, I'm using this code:
Private Sub ThermometerForm_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles Me.Paint
Dim g As Graphics = e.Graphics
[Code].....
It works great and shows the red moving up though the rectangle. Problem is that when it's finished the loop (33 seconds) and I click anywhere on the form it apparently enters the loop again, then hangs so I have to manually close it from Windows.
View 2 Replies