what i am trying is to open a rar archive which is password protected with vb.net.i want to open a exe which is packed.i know the password winrar is installed in pc
hitesh is password name of the packed exe is utility
I'm making a tiny program that calculates a total for a user for some type of styling service. A user clicks the radio button for either hairstyle, perm makeup, makeover, or manicure. then clicks a discount radio button, either none, 10% or 20%. then it calculates the total (price of service - discount %). then it displays the total in the current service text box & keeps a running total and displays that in a second total box.
My problem is i try to run the program i made and it basically crashes. In the code, when in VB, there's an error message when you go over PriceDecimal, DiscountDecimal, and GrandTotalDecimal saying the variable is used before it is assigned a value.also is there any way to open a .exe file and see the code for it?
Public Class ImageForm ' Declare module-level constants Const MAKEOVER_PRICE_Decimal As Decimal = 125D Const HAIRSTYLING_PRICE_Decimal As Decimal = 60D
I have created an Excel AddIn that has a custom ribbon with some custom buttons...I'm using Excel 2010. One of the buttons is to save the the workbook by utilizing the users input as the file name. This workbook is to be saved as a template in a specified folder. The code also checks to see if the file already exists, and prompts the user to overwrite if it does already exist.The code I have seems to be working just fine. The problem is...when I try to open the newly saved workbook, it won't open.Here is the entire code for the button click event:
Dim Warning As DialogResult m userFileName As String Warning = MsgBox("Warning Message", vbOKCancel + vbCritical, "Warning Title")
I have just started using VB 2008 Express i couldn't find a forum for this version. Im having trouble working out how to open my form in design view rather than code.
I have seen a few open source c# "Text code editor controls" that have auto indent and support contractions (+ - things you see in the code window to contract an if statement for example).
What is the code to open a text file and append data to it, in visual basic express edition?Normally one would write:open "data.txt" for append as #1 but visual basic express does not accept it.
I have a program that runs some code when i click a button on a form when done running the application ends. I want to automaticaly run the code when the users clicks on the exe. I have put the code that i want to run in the startup forms load event but that doesn't start
In my program, I have a timer with a inteval set to 1000ms. The timer is executing a MySQL-command, and right now I'm opening and closing the connection each time.
I would like to find out how would it be possible to make a executable be lunched at the click of a button from a vb.net form.what I have so far is a form with a few button on.for example:
button 1 is called 'RegEdit' button 2 is called 'system information'
[code].....
this complied will lunch regedit as instructed but what I would like to do is to put the console app .exe file into a root file of the application.I would like to be able to have, once this project is completed, a main folder with the name of the app and then a sub dir called 'resources'. the 'resources' folder would have the various command line .exe with instructions to open various system programs.
Public Class my_class Dim WithEvents COMPort As New System.IO.Ports.SerialPort
Public Sub FindReader() Dim ports As String() = IO.Ports.SerialPort.GetPortNames() Dim port As String For Each port In ports
[Code3]...
When it runs, it shows a single COM port "COM1". I am assured that the device attached to it is a standard 8,n,1 and uses 9,600 baud. The exception is "Acess to the port 'COM1' is denied".
1. Generates Class files based on SQL server database.2. Generates Class properties.3.Generates Class contructors.4. Generates a Singleton class and it's corresponding Collection class.5. Outputs individual files or the code to copy and paste.
It freezes my pc and does not open the document (well, sometimes it does open a document), and I find [url]... processes on the windows for every click I do on that menu item.
I sm currently trying to open a certain offset and code in VB textbox. For example I want to Open a hex file and have FFFF000F Open in the textbox how would i do this? heres the openfiledialog but i cannot get it to open the save and open a certain hex value into the textbox
I have a friend who sent me a program that he made using visual basic. The program has a web browser inside it and it works just like any internet browser. The problem I have a bad feeling that has a hidden web browser inside the program which it sends my keystrokes through php mail. I don't want to accuse my friend without showen a prove
i wanted to know if there was a couple lines of code you could use to open the source code of a website (like you could in notepad), into a textbox in visual basic.
This there a setting anywhere that will enable you to open the code editor and all sub/functions etc will be "shrunk", i have a lot of sub and hate opening the IDE att the start of the day and having to minimise everything.
I am trying to seek a specific record from a database.mdf created in visual basic 10 express. But I am getting OpenDatabase and OpenTable not declared. How can I open and access records? [code]
I wonder if you can help. I have an intranet with about 2000 photos on it. A lot of these photos were not compressed when uploaded so can be upwards of 4 or 5MB in size.
Is there a script/tool I can run to go through the directory one image by one and automatically and compress each images to say 100k or percentage of the current file size, then save and close the file with the same name?
I'm trying to find where this code might be leaving old connections open, and I found this code that might be the cullprit. It is in a function. I'm wondering if this connection would close, if an exception occured from within the USING statement?
I have a button that opens a selected file depending on the file extension (doc, docx, or pdf)... the problem is when I have a pdf file is that the file is displayed in the browser, and when I hit the back button I come back to the original page - but the buttons won't then work...
I am working with some prewritten VB code ,and this portion of code opens a new excel spreadsheet . I would like to instead , open a existing excel spreadsheet that I would like to have a template that explains my data that is loading into it. Could you please give me an idea what I would need to do with this portion of code?
I have a main page. How can I open a new web page (Url assigned in code) and get the return URL back in VB event when the page is closed.I have used a regular Button control to open the page with desired url: Button1.Attributes.Add "onclick", "window. showModal Dialog('" & url & "')")but I don't know how to get the REtURN URL from this page.
I'm having a slight issue with some code at the moment and can't seem to solve the problem, I've pasted the code for the button to which the open FD box is attached below:Private Sub Button1_Click(ByVal sender As System Object, ByVal e As System.EventArgs) Handles Button1.Click