VS 2008 Open Rar With Code?
Jan 7, 2012
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
System.Diagnostics.Process.Start("D:utility.exe.ext-phitesh")
View 5 Replies
ADVERTISEMENT
Jan 22, 2009
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
[code]....
View 2 Replies
Apr 6, 2012
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")
[code]....
View 5 Replies
Mar 27, 2009
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.
View 4 Replies
Nov 17, 2009
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).
View 3 Replies
Mar 1, 2010
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.
View 14 Replies
Oct 22, 2009
I'm try on Ultimate version and Express version. Reinstall many time from web install and offline install. What should I do ?
View 10 Replies
Feb 15, 2009
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
View 2 Replies
Nov 9, 2010
I can do this using VBA, but I want to be able to create the code using a compiled VB programme, which can then be opened in Excel.
View 1 Replies
Oct 21, 2009
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.
View 5 Replies
Mar 9, 2009
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.
View 2 Replies
Sep 1, 2010
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".
View 1 Replies
Jul 15, 2010
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.
View 1 Replies
Jun 17, 2009
I got this code to open a document[code]...
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.
View 9 Replies
May 28, 2009
How can I get Visual Basic to open another form using code? I have attempted to google the solution several times and never found anything that works.
Also, do VB forms share variables? Is there any way for one form to send data to another form?
View 1 Replies
Dec 6, 2011
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
OpenFileDialog1.CheckFileExists = True
OpenFileDialog1.CheckPathExists = True
OpenFileDialog1.DefaultExt = "exs"
[code].....
View 2 Replies
Jun 23, 2010
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
View 8 Replies
Oct 6, 2009
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.
View 1 Replies
May 23, 2010
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.
View 2 Replies
May 19, 2011
I have dll works with .Net .is possible i know how i can use librarys code without example open source.
View 2 Replies
May 14, 2012
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]
View 2 Replies
Nov 12, 2010
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?
View 1 Replies
Nov 16, 2009
Does any one know what the code is to open a website link from a button =]
View 4 Replies
Jul 3, 2009
I'm doing my project and I design including many tab control in vb.net.
Example: I have 3 tab pages like tab1,tab2,tab3. And I have menu bar to open tab1,tab2,tab3.
My Question is: How can you use code to open each tab page?
View 1 Replies
Jan 11, 2010
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?
[Code]...
View 3 Replies
Dec 5, 2009
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...
View 1 Replies
Mar 16, 2009
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?
[Code]...
View 3 Replies
Apr 11, 2010
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.
View 1 Replies
May 29, 2009
Is there free open source code project for bible study available?
View 2 Replies
Jul 13, 2009
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
[Code]...
View 5 Replies