VS 2010 - Utility To Create Self Extracting EXE
Dec 1, 2010
I am trying to create an application to make self-extracting Exe's in Visual Studio 2010 Express. I would like to have a box in which files can be dropped into, then when you click "Compile" it will compress all files dropped into the box along with 3 others I must have delivered to this self-extracting exe. When the newly created exe is run, it will launch "Install.exe". I know there are other items out there to build the self-extracting exe's. I would however like to make my own that always delivers these 3 specific files along with whatever is dropped into the application.
View 11 Replies
ADVERTISEMENT
Oct 25, 2006
I'm trying to create a zip file though vb.net and move files into it using the built in windows zip utlity. so far I can create the zip, but not able to move any files to it.Here's my code:
Dim emptyZip As Byte() = {80, 75, 5, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}'Dim oApp As Object
File.WriteAllBytes("c:x.zip", emptyZip)
'The following code I found somewhere but doesn't work'oApp = CreateObject("Shell.Application")'oApp.Namespace("c:x.zip").CopyHere("c:Book1.xls")
View 7 Replies
Sep 22, 2010
This is kind of an off-the-wall question but does anyone know if VS 2010 has somekind of utility that will allow you to just drag & drop controls onto a form or something that will help in visual design. I'm just talking for visual purposes only. No code-behind files or anything...almost like a canvas where you can place controls and labels, etc.
View 8 Replies
Apr 30, 2010
I want to know how to create a microsoft self-extracting cabinet exe file.
View 4 Replies
Nov 7, 2009
I was just wondering how to extract or parse any particual tags (whichever I specify) from webpages. I know how to extract text and links from webpages, but I tried to use the same method from the following code for div tags, title tags etcetera and it doesn't seem to work:
[Code]...
View 2 Replies
Sep 18, 2009
I have a text file in c: as abc.txt which displays empid=e001, name=john, salary=5000 Now, we need to have a method which wil take empid as parameter and will find the line with the empid and create a text file with that line
e.g if we pass e001 to the method it will write empid=e001, name=john, salary=5000
to a new file with the name e001 So all these files created will be stored in a folder c:epository
View 2 Replies
Mar 7, 2011
Im using lockbits to get some img data and the img depth is 24 bit. This means that when i read the values from memory I get the following result. BLUE GREEN RED And I need them in the RED GREEN BLUE Format. I don't know if i can just reverse the bits (i don't know how) or if i need to extract the the values independently(I also don't know how to do this.
View 9 Replies
Jul 26, 2011
I have found a good amount of threads, but I don't know what my problem is. I cannot seem to get it. It should be simple but I cannot figure it out. Here is the HTML
[Code]....
View 3 Replies
Jul 20, 2010
I am using DotNetZip for use of extracting a .ZIP from the resources. When I run the standalone .EXE, errors appear about a missing DLL, so I added it into the resources via the properties panel, but I still get the same error. How do I use the embedded .DLL?
Another question, might be the wrong place to ask it but I am having problems extracting 'Conroy.zip' from my resources using DotNetZip. If anyone could show me the code or give advice,
View 25 Replies
Dec 20, 2010
I want to extract some information from a web site (Bloomberg). This side has a search textbox with a onKeyUp event that, as far as I can understand, uses AJAX to create a table. Is it possible to insert some text in the textbox and then get the table created with AJAX? Given the source code of the page with the tabled already AJAXed (If you understand what I want to say here), I can easily retrieve the table. I just need to get the source code with the table already on it.
View 7 Replies
Nov 10, 2010
I am having files in resources I want to copy to temp and then run it
Saying if the file is iphuc
Copying it
Then
Process.star(iphuc)
View 13 Replies
Feb 18, 2012
lets say webpage has 2 strings named sampleObj="sample1" and sampleObj="sample2" Even though sampleObj remains the same the text inside, however, changes.How would you loop inside page and get sampleObj text each time? I tried Regular Expressions and GetElementsByTagName but no luck.
View 1 Replies
Feb 2, 2011
I recently started learning Visual Basic, so my knowledge base on it is very poor.What I am trying to do, is creating a simple form with three scroll bars for RGB colors (valued from 0 to 255) and according to the RGB values changing the backcolor property of a picturebox.
I ran into a dead end while trying to convert the scrollbar integer values into color values and I have no idea what to do. Any suggestions how I should perform these kind of operations?
View 4 Replies
Jul 19, 2010
Ok I got a variable named Accounts and stores the user accounts. They are seperated like this
Account|Pass|Admin&Account|Pass|Admin
As you can see after admin there is a symbol (the &) meaning that before the & its an account and after it its another. In other words its like this
Account|Pass|Admin
Account|Pass|Admin
so how can I make a loop to count how many & there is in the Variable named Accounts?
View 2 Replies
Aug 30, 2011
I have the follow row of sample data:
Quote:
RickiKitt10|NzMyMQOTkQ|173.234.120.242:62063:accessworld:bYRLngChRYc||RickiKi1037||
How can I extract the IP address? 173.234.120.242
View 4 Replies
Jun 27, 2011
I have the following data in a datatable
HTML
PName - Wt
AA - 10
AA - 15
[Code]....
I am wondering if data can be extracted in following format to a datatable,
with Pname Counts:
Pname - Qty
AA- 5
BB- 4
CC- 5
View 9 Replies
Oct 29, 2010
I'm trying to extract the text between: <label for=field_1> and </label> I have captured the HTML into a string using the webbrowser control, and am using the following function to try and get the text within the tag:Public Function midReturn(ByVal first As String, ByVal last As String, ByVal total As String) As String
[Code]...
However, this code will not work, if I use <label for=field_1> as the first string and </label> as the second.
View 6 Replies
Jun 8, 2012
I had a richtextbox1 contains the following text:
<REPLY username =chicco1502
status = OK
user_id =3377436 >
<user_register.php: 2011-02-19 10:00:06
POST
username=edwardzhao
[Code] .....
So once I click button1 it should extract only Email plus Password into
Email: Password
edwardzh*2@hotmail.com:640716
gabriele.sc*hi@email.it:010585
So the email symbol is email= <email that should be extracted here>
and so the password sympol password= <password that should be extracted here>
Source code [URL]
View 3 Replies
Oct 21, 2011
I have following data in the arraylist..
HTML
ID Type Size
1 Car 1 1000
2 Car 2 1100
3 Car 3 1200
[Code]...
View 6 Replies
Apr 25, 2012
I have been working lately on a program who extracts URl Source codes!The program does work with most of URL but not for MEdiafire URL!When i check the source code from the web browser i can see there is some code missing;y tried diferrent types of Encoding.
Example:This is the final source code extracted from WEBBROWSER(Firefox,InternetExplorer,GoogleCrome)
--------------------------------------------------------------------------------------------
<div class="mf_lightbox_btns lb-footer" style="text-align: right;">
<a href="javascript:void(0);" class="secondary btn" onclick="$('body').removeClass('has-virus'); return false;">Dismiss Message</a>
<a href="http:www.bitdefender.com/mediafire/fix-it.html" target="_blank" class="alt btn">Get BitDefender</a>
[code]....
View 1 Replies
Feb 23, 2012
I have a text file I'm trying to pull specific data from to make a report in excel and am wanting to know if my code can be improved or if I have something wrong. If it's apparent to anyone that I should be doing something elThis code does work but, very slow. These reports take up to 20 minutes for about 100 files so I am wanting to decrease the time somehow. I have attached the whole sub in a text file, it's about 900 lines long so don't think I should post all of it. This is one part that seems to take the longest:Partial code that reads the text into a string, then each line is read to find whether it holds the data or not. Inside this while loop, I am checking numerous lines to see what they hold and extract specific items. First I verify it's a interface by checking for "line protocol".
Dim str As StreamReader = File.OpenText(filefound)
While (str.Peek <> -1)
If txtLine.Contains("line protocol") = True Then 'Found an interface,
[code].....
View 10 Replies
Nov 20, 2009
Anyone know what jailbreaking does to an iPhone? If so, is there a way to make a program to jailbreak 3.1.2 in VB or in RealBasic? I guess it'd have to send commands to the hardware and software of the iPhone, and communicate with it pretty well...
View 13 Replies
May 18, 2010
I am looking for information on using mstscax.dll in VB. The goal is to create a utility that logs into a remote service in the same manner as remote desktop. However, my utility is not required to show the desktop.I have a series of commands that I will start off with that will look for users, reset logins, shadow, and message. I have been using a batch file on my RDP to perform these functions, but we are already looking for more functionality and power than what the batch commands can offer. I am googling 'mstscax.dll' but the results have been less than satisfactory although I continue to search.
View 2 Replies
Mar 30, 2012
I have a CodeSmith 6 project setup in Visual Studio. I added a class with a shared method (VB), but cannot refer to it in my template. I also tried adding an assembly reference to the project DLL, but that didn't work either. How can I use my own utilities like this?
View 1 Replies
Jun 8, 2012
Does anyone know a good free report utility? I am currently unemployed and is trying to start my own software development company... I do not have a lot of money so am trying to do it as cheaply as I can.
View 6 Replies
Jul 4, 2009
I want to write a program of utility bills...
View 3 Replies
Sep 6, 2010
I'm trying to create a small program, which I think will be helpful to others(in here). My aim is to convert the English text shown in screen to Malayalam. English-to-Malayalam conversion is not a problem. But the problem is, how to extract the text from the screen. In most of the converter/translator, the text needs to be copied or written down in the translator tool. But my program will cut off that part. That is, simply move the program window (having a rectangle hollow portion) to the English word that needs to be converted. And upon pressing a button (or autodetect), the English word is converted to Malayalam.
So, my question is how to extract the English text(or words) from the screen (which is seen through the hollow portion of the window.
Here's a screenshot of what I'm trying to do.
View 22 Replies
Dec 12, 2011
How would I create a dir Inside %temp%? Then extract the file to it and Open a That folder. So far this is my code.
[Code]...
View 5 Replies
Oct 29, 2009
Im trying to create an incremental backup utility on a web form using vb.net for code behind.
So far i can copy files from directories including sub directories and that part works fine, my main problem is copying only the most recent / modified files to the backup folder, currently it is moving all the files each time.
Below is my code so far.
CODE:
View 5 Replies
May 10, 2011
I am trying to build a date calculator utility (DateCalc). It returns the number of days,weeks, months etc between two dates.I worked hard and long trying to find out how to convert a date into a format on which you can perform math operations (for the "what's the date in 'n' days time" part) and it works! I can also use the minus operator to find out previous dates, from say 10000 days ago... BUT...I want to develop it further, and this is where I need help (i am still very newbie remember)Can you help me to find a way to code this bit to ignore weekends and saturdays or sundays individually, and a range of dates in its calculation? I have two datetime pickers and a some checkboxes.DTPickFromDTPickToChkBoxExWeekendChkBoxEXSaturdaysChkBoxExSundays An image of my form and it's components is here :--> [URL] Also, as part of my 'Datecalc', I'd like to find the dates of every other saturday and sunday in the future.
View 9 Replies