VS 2010 Possible To Make A Program That Can Self Extract It Self?
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
Is it possible? And before you tell me to use SharpZipLib or something, i should warn you since i am a complete noob and cant use it without a complete, easy to understand guide.
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?
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"?
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
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.
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.
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?
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.
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?
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
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
I know how to extract an entire page source into VB.NET, but once I do that how do I make VB.NET search the text and return a specific vlaue that is not constant? Take this line from the page source for example:
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?
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.
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.
I know how to extract an entire page source into VB.NET, but once I do that how do I make VB.NET search the text and return a specific vlaue that is not constant?
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?
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
i try to make a program that can share a database to other people using a upload/update system but when i try to download/upload it keeps saying mdf file in use how can i make the code so that it Uploads and overwites the file without that error.as it must be so it must upload to my server (build in)and download (also build in)the error gives file in use constandly how can i fix this issue?of that file in use problem. even when these no querry or other code running?
I have been working on a program that can extract comments / tracked changes from a word document.Its coming along okay except for trying to extract the page numbers. The properties of Revision can be extracted very quickly:
I want to make a extractor/installer for example the users will press Install and it will extract myprogram.exe at C:/windows/system32/ automatically when they press install.