VS 2008 Moving 2D Map Using VB2008?
Jun 15, 2009
I am coding a program and I want to add an option of moving 2D map (using the mouse to move the map left, right, up and down). when I say to move a map is not moving a window. I want actually to move the map itself, for example "google maps".
View 6 Replies
ADVERTISEMENT
Jul 27, 2009
So far i have tried to animate the pictures and it works but could not move with keydown event. I also then tried a different way and managed to move the first picture by using drawimage but could not animate it in frames.
View 10 Replies
Oct 5, 2008
I have this:
Private m_PerformanceCounter As New _
System.Diagnostics.PerformanceCounter( _
"Processor", "% Processor Time", "_Total")
[code]......
View 4 Replies
Jan 9, 2012
I am using VB 2008 Stanard. (Windows 7, 64 bit) I wrote a program using the 'Any Cpu' setting. I now want to rebuild the same application to word on x86 machine, but the program does not word, keeps on givin me an internal exepcetion.
I changed the Platform to x86, but it does not work. It compiles, but does not run on the Windows XP sistem, I does however work on Vista and Windows 7 How can 'n rebuild this to work on Windows XP?
View 4 Replies
Mar 9, 2010
I'm trying to create a combobox with lists of radio stations in it so when user selects lets say "rap" it will play rap radio station which I have put in the code ( I did something liek this for VB6 long time a go just wanted to knwo if any one can make this code work for VB2008 ) .
[code....]
View 6 Replies
Nov 18, 2010
I install (vb 2008 professional edition -90days trial)but I ONLY NEED part of Visual Basic,
when setup installed:
microsoft .net framework 3.5
microsoft .net framework 3.5LP
[code].....
View 1 Replies
Mar 18, 2010
I'm using VB2008 Express and trying to read the serial number from a HID device. I'm trying to use the HidD_GetSerialNumberString API. For some unexplained reason, I'm not getting any errors or warnings but it's also not working. Here is how I'm declaring the API:
<DllImport("hid.dll", SetLastError:=True)> _
Shared Function HidD_GetSerialNumberString _
(ByVal HidDeviceObject As SafeFileHandle, _
[code].....
View 1 Replies
Apr 10, 2010
Okay so I have decided to upgrade my game from vb5 to vb2008 express edition. When I opened it I was told it needed to be converted so I said ok. However, there are some things in the language syntax that have changed.Obviously. Well here is one of them:
[Code]...
Setting controls to objects allowed me to cut down on typing but it seems you are not allowed to reference things without the "full path". I understand that you now have to set the full path of the object but doesn't setting something to an object already do that? Do I have to just delete the object references on the top and instead of using objCmbGraveU2 I now need to replace it with frmMain.cmbGraveU2?
View 6 Replies
Dec 24, 2009
Have been doing well moving a VB6 project to VB 2008.Here's another question.I am making an onscreen keyboard.I have my qwerty buttons handled by the same Event, as recommended to me by someone in these forums. It works great, and it was easy to set up.In my VB6 project, when I designed the "CAPS" button, all I had to do was this:
[Code]...
Can someone take a second and explain to me how this is accomplished in VB 2008? Do I have to physically type every button into an array and then do something like I did in VB6?
View 5 Replies
Feb 10, 2010
I have this code
vb
Public Class Form1
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs)
[code].....
View 3 Replies
Feb 1, 2010
I set up some code that allows the user to drag and drop PictureBoxes. The problem is that I have 9 PictureBoxes arranged in a 3x3 square and I need all of them to move as one. I put them in a panel hoping I could use my code with the panel, but that doesn't work since the PictureBoxes are what the User clicks, not the panel.
View 4 Replies
Jul 18, 2011
don't want to run into any problems. I just set up a 2nd PC and installed VB express 2008 on it.
If I want to move a project and all it's necessary files to the new PC, is it as simple as copying the project folder and then File > Open ?
If so, can't remember -- best choice is the project file or sln file?
View 5 Replies
Feb 25, 2010
I'm trying to move a image.
Dim txtfilename As String = OpenFileDialog1.FileName
My.Computer.FileSystem.MoveFile(txtfilename, "C:WindowsSystem32oobeInfoackgrounds")
MsgBox("File Moved")
View 8 Replies
Nov 25, 2009
How do I deploy application using vb2008 express? I tried to find on in its package but couldn't.now i use cyber installer suite and works fine, except for one thing:
when I use visual basic powerpacks conponent, such as rectangleshape or ovalshape, I still cannot make my program works in other computer without vb2008 installed.. (deploy using cyber installer suite 2009)
View 4 Replies
Apr 26, 2011
i need to dial a dun connect in vb 2008. But am not able to find a working code for it.
View 2 Replies
Sep 26, 2011
Anyone knows how to backup mysql db?I got this code by searching, but nothing happens here
Process.Start("C:xampp/mysql/bin/mysqldump.exe", "-u root -p --database=goodhand > -r ""C:ack.sql""")
View 5 Replies
Jul 1, 2010
I am currently attempting to devise an algorithm that will take a list of part numbers with their corresponding levels and create a Tree View. Here is a sample of the data I am using.
[Code]...
I just can't seem to get the "Do Something" code right.
View 4 Replies
Sep 21, 2009
I already got the move part, that's easy, what I'm having trouble with is when I click on the form and try to move it, it shifts a little, that is really annoying, I just want it to be smooth. I want it to be as if I'm moving the form from the title bar. [Code]
View 9 Replies
Aug 25, 2010
I am writing a program to manage some of my files. I already know when I want to send a file to the recycle bin, so I don't need the system to prompt me each time. How do I tell it to back Off, and just do it?
Here is my
Sub RecycleBinFile(ByVal strFilename As String)
My.Computer.FileSystem.DeleteFile(strFilename, FileIO.UIOption.AllDialogs, FileIO.RecycleOption.SendToRecycleBin, FileIO.UICancelOption.DoNothing)
End Sub
Some of my research has pointed me to FileIO.UIOption.AllDialogs.
View 8 Replies
Dec 2, 2009
I have this
Private Sub Form1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown
lblText.Text = rectangle1.X
If e.KeyCode = Keys.Right Then
rectangle1.X = rectangle1.X + 5
[Code] .....
And the text changes but the ractangle doesn't move... What can I do?
View 5 Replies
Nov 11, 2009
How would I move the mouse to a color thats somewhere on the screen, not the form? I heard that GetPixel was a slow method, what would be a better/faster method? -I dont want to take a bitmap of the screen and then search the bitmap-I have already searched the forum, but I cant find what I want
View 2 Replies
Feb 1, 2010
I have a panel that has 9 pictures boxes within it. I need the User to be able to create as many instances of this control as they like.
Then each control needs to be able to move freely within the form.
I've created the control and added the appropriate code to move it around the control.
I've made the control canvas the same size of the panel. The problem is that when I move the panel, it only moves within the bounds of the control canvas. I guess I could increase the size of the canvas, but then additional controls would still only be able to move within their bounds and it would come out all wrong.
Is there anything I could do about this? Or is there a better method?
View 8 Replies
Nov 22, 2009
How can i move a form to a different project.
View 2 Replies
Jan 2, 2010
i recently posted a thread about the same project, but decided this was a more specific question, so i decided to open a new thread My question regards the graphics class in visual basic 2008. Ive searched the internet low and high for an answer to this, but i cannot find anything! I am attempting to 'shoot' a circle drawn on the form when the user presses the 'r' key. if a string property is set to right, the graphic should be drawn, then updated to different x coordinates based on an interval. if the property is 'up' or 'down' then the y coordinate of the graphic should be changed based on another interval. Now i cannot use one preset timer, because i would be able to shoot only one bullet at a time, which would not work!
Does anyone know how i can either create an array of graphics(bullets) and add to the list every time the user presses r, then using one preset timer, update them all, or simple create a timer every time a bullet is created, then update the bullet position with its own timer.
View 13 Replies
Jul 1, 2010
I'm designing a new application, but have two big problems.I wanna put an image in my form, and have the possibility to drag them.For example, I put an image with 100*100 but my imageviewe ronly have 50*50 So, I wanna drag the image around the imageviewer.
How can I do this?The other problem is:In the image I wanna design some squares, with the possibility to drag them to.Drag the squares it's working fine.But, the problem is, when drag the image, I wanna the squares "follow" the imagem and keep thei position in the image.If it was confuse, I try upload an explanation image.
View 2 Replies
Oct 26, 2011
I have been developing my program using Vista on my laptop, and I want to move it to my new desktop with windows7. I had many errors when building the project on the new computer,which I thing I have been able to fixed. This is the last error I am getting when try to debug on the desktop:
View 2 Replies
Jan 31, 2012
Im trying to move a picture diagonally when I click a button but the code Ive been trying to put together isnt working, could you pales tell me how im doing wrong
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim i As Integer
[code].....
View 3 Replies
Mar 23, 2011
How can you add music/sound to vb2008.net and be able to stop and start it with buttons?
Also how do I make it so that i can play an mp3 file not just a wma or whatever it is?
View 5 Replies
Jul 8, 2009
I've recently decided to switch from VB6 to VB2008 and am looking for some advice for a certain type of book I seek.Already I've aquired several VB2008 books, but the type of reference book I'm seeking I can't find.For VB6 I have a book called "The visual guide to visual basic". It's a very very very very old book but its gold, platinum and diamonds in one.This book basically takes ALL controls, commands, etc, and in alphabetical order as a sort of encyclopedia, explains its purposes, possibilities, properties together with many examples.
If I was uncertain about a control or command I could simply look it up in this book and almost always find what I was looking for.My question, does anybody know of an equivalent for VB2008?
View 13 Replies
Nov 11, 2009
Is there any way to merge cells in datagridview in vb2008 like we could do it in excel?
View 6 Replies