VS 2010 Make Program Move By Dragging Anywhere?
Jan 4, 2012
Normally you would move a program around by dragging the bar at the top of the window, agreed? How can you change a form in VB to move around when dragging anywhere on the form apart from a button?
View 17 Replies
ADVERTISEMENT
May 29, 2009
I have made a borderless form, but i still wish to be able to drag it around the screen.
But i dont have a normal background, ive got an image that covers it. I wish to be able to drag this overlaying image around the screen. Ive found code examples that allow you to drag the form, but you have to acctually drag the form.... Not the image (i couldn't adapt any of them)
View 5 Replies
Apr 20, 2012
Is there a way to move form by pressing and dragging a mouse on any part of the form ?
View 3 Replies
Oct 27, 2011
I have very much a noob at coding for VB. I was wondering if i can make it so if u click button1 it will move your mouse to a location. Buuutt if its possible. Smoothly, not super fast the mouse is magically at your location.
View 4 Replies
Apr 9, 2012
I am trying to make a shape move in a rectangular route clockwise. Right now I am only able to make the shape go right, down, left but not back up again. Whenever I try to make the shape return to its original position, the shape moves back up at the wrong place.
Public Class Form1
Public movingright1 As Integer
Public movingdown1 As Integer
[Code]......
View 1 Replies
Jun 17, 2012
i want to move a program that already is running, and by move, i mean change the x and y coordinates of the application on the screen. how would i go about doing this?
View 4 Replies
Apr 18, 2012
there is this picture on the form How would you make arrow keys move the object around the screen?Also how would you make buttons correspond to arrow keys?
View 3 Replies
Mar 1, 2012
so my goal is to get a picturebox to move in random directions and smoothly (like a character moving straight in a game) without using thread.sleep and me.refresh (and also without animation atm). Would anyone be able to guide me on how to accomplish this?The reason I want to do this is because when I need to use like 3 threads to move 3 different things around smoothly my computer slows down too much.here's my code now without all the other subs used to place the random code in it's own thread. There's a lot of other code too so I can't really post the entire thing:
Private Sub random_movements(ByVal e As Integer, ByVal speed As Integer, ByVal ctrl As Control)
Dim location_x As Integer = ctrl.Location.X
[code].....
View 2 Replies
Mar 10, 2012
How can I move the mouse to a pixel location of a program?[code]I know it doesn't work, but I'm trying to make it easier to understand what I'm trying to do.
View 5 Replies
Aug 18, 2011
If I drag another Form/Program or maybe lets say a context menu happens to open over my custom Control, this happens.It does correct itself after causing a redraw, however it's quite annoying. Is there anyway to avoid this?
View 5 Replies
Aug 30, 2010
how can i either copy/move/rename & delete a file in program files directory? [c ode]i already have the form which grabs the updated file and it save it to temp directory ready for copying, just stuck here as of the access denied.
View 4 Replies
Oct 20, 2011
In an earlier post today [URL].. jmcilhinney in post #9 says,Quote: If you're going to use a DataSet at all then there's no reason not to use a typed DataSet. I would not recommend dragging items from the Data Sources window directly onto a form but that is not a requirement of using a Data Source.
I was wondering what is the down side of dragging items onto the form. I don't mind doing the manual programming, I would just like to know the reason I'm doing it.
View 3 Replies
Feb 23, 2012
How do i make a code that unzips files and then move those files into another zip file?
View 2 Replies
Jul 28, 2010
How can i make a TCP Flooder in VB.NET 2010?
I can do it on CMD , and i made a batch application too.
I want to put the commands for:
- The size of the package
- The time of the ping in miliseconds
- The IP target
- And ping how man times
View 3 Replies
May 7, 2012
i have a question is it possible to make a program that can self extract it self? EG. i have app1 and i run it and other 2 files are produced.and another program that does the opposite: i have app2 and other files and packs it self into 1 .exe file
View 8 Replies
Feb 15, 2011
One of my forms has a few textboxes that are required. If I try to use an if/then statement, the form shows a message box stating the error but then continues and eventually crashes because the textbox wasn't filled out. How to I make the program stop what it's doing if the box isn't filled out?
View 1 Replies
Nov 29, 2009
i just recently started programming VB.net 2010, My background is PHP so programming is what i want to do.I have a program im making, kinda a project for myself.I have got alot of the design elements made, but im stuck on some of the items that i would like created.
1. I have Combo boxes, the names of them are "wowlocation", "wowreagon". these all have default values. How would i go into the registry get the values and if i change it it would auto put it into the registry.
2. I have a file in foulder named "realmd.***" when i choose my options from the boxes it must put what i selected into the file (The file is a normal txt file with the ext *** only), it has to pull the "wowlocation" and "wowreagon" from the DB, when it does that it is able to pick the right thing to put on,There is only 3 Values, US, EU and WTN, each will have its own text to put into the file, how would i Open that Specific file and then write the values i choose?
3. How do i make a Image Launch a Program? (The location of the file is in the registery, basicly "wowlocation/wow.exe" ?
4. I have a Status Image, i have a spasific IP, I need to check if its responding, if not itll change a image to down.png and if its responding itll change the image to up.png, picturebox name "statusimg"?
View 3 Replies
Sep 20, 2011
how i can making my app in open with list for windows like if i chose my app to open txt file my app will open the txt file like example: ex.txt ==> open with my app and my app with view the ex.txt
View 1 Replies
Jul 25, 2011
I want to make a login system for my program, and i want it to pull the list from an ftp as an text document. (Lets say its ftp.notarealftpsite.lol)
The text document will be arranged like this:
user:pass
ipwn:not
ilolz:yet
and i want the program to search for the provided username and password in the list and switch to form2 if its found, else it will throw an error at the user.
View 4 Replies
Mar 8, 2011
First let me say yes this is for homework and no, I DO NOT want an answer in code. A simple nudge in the correct direction will suffice.Basically I am attempting to roll the dice with the roll button and then display the number of times a number shows up with a bar graph.
View 2 Replies
Jan 2, 2010
i am trying to make a program that registers and account on a website?
WebBrowser1.Document.GetElementById("date_month").InnerText = ComboBox1.Text
WebBrowser1.Document.GetElementById("date_day").InnerText = ComboBox2.Text
WebBrowser1.Document.GetElementById("date_year").InnerText = TextBox1.Text
[code]....
1. When i inpute the month, it doesnt input it, it just makes the combobox on the website smaller for some reason
2. I cant get the email working because you must put your birhtday before it shows where to put your email, obviously fixing the first problem should fix this.
3. There are 2 radiobuttons on the website, for a boy and a girl and I have 2 radiobuttons in my form, however I have exactly no idea how to program it to change.
View 7 Replies
Jun 8, 2012
I am making a process monitoring program for his game server. Occasionally, the programs stop responding. I've used the if process.responding then process.kill la de da, but its not working right. Is there a debugging tool out there i could use to intentionally make a program stop responding?
View 10 Replies
Feb 20, 2011
I need to make a program for a fake/hypothetical company.The "company's" pricing is based on the number of days of the rental as detailed below; note that all time beyond a half day is counted at the full day or weekly rate. In addition, they offer insurance for their vehicles at a daily rate; insurance is mandatory for half-day rentals, and is only available at the full-day rate. The charge rates are as follows:
Half Day $20.00
Full Day $35.00
Weekly (7 days or more) $32.00 / day
Insurance $5.00 / day
And 8% sales tax has to be added on.
View 11 Replies
Oct 18, 2010
i'v started learning visual basic on a software development college course and i have to make a program which outputs a price of something into currency only when i click on my calculate button it only comes out as a whole number so instead of �1.00 it just says 1, this is my output code.
qty = txtQty.Text
money = 100
If lstItems.SelectedIndex = (0) Then
[Code]......
View 3 Replies
Oct 21, 2010
I have a program made in vb 2010. The problem is it uses my files on the computer such as different cursors and pictures and I really want to be able to make it portable and stick it on a memory stick and run it on other computers. Is this possible?
View 12 Replies
Jul 16, 2010
How do I Close a Form and then open a new one straight away? Im trying to make a Login for a Program, but I want the Login Box to open first, then disappear when the credentials are correct and a new Form to load.
View 3 Replies
Oct 19, 2010
Ive been trying to make a program that scans a website for the Forum directory mainly to learn about HttpWebRequest.I know that i need the url, and the request, so i set that up like this:
Dim Message As String = String.Empty
Dim request As HttpWebRequest = DirectCast(HttpWebRequest.Create(Url), HttpWebRequest)
and i set the Credentials to DefaultCredentials Now, How would i scan the directories?
i've tried
for response as HttpWebResponse = DirectCast(request.GetResponse(), HttpWebResponse)
logBox.Text = logBox.Text & vbNewLine & response.ToString()
next
but this has errors...Just trying to scan a site for multiple directories using HttpWebRequest.
View 4 Replies
Oct 23, 2010
Im make a portable program which has a form with a few different pictures like a photo gallery.when you hover the mouse over a picture it will appear enlarged in a floating box infront of the form. Then when the the mouse is taken away from this floating box the box will disapear and leave you with the picture gallery again?
View 3 Replies
Jan 25, 2012
How to make program cuts Internet connection without appearing in the taskbar,I used the following methods, but did not succeed
1. shell("net stop dhcp") appear in taskbar
2. shell("ipconfig /release") appear in taskbar
View 21 Replies
Aug 23, 2011
Im learning Visual Basic 2010 on my programming class and we reached the part of file handling. Here i tried to make a simple program that can create a text file with the content of what i type on the textbox, basically i create the file if it doesn't exist, and if it already exists i append the content to it. Once the file is saved i can read it using the "Open" button. Unfortunataly, whenever i try to create the file, the compiler gives me an error saying that it cannot modify a closed file, although i've followed up the execution instruction by instruction and i can't find the error.
Imports System.IO
Public Class Form1
Dim body As String
[code]....
View 6 Replies