Create A Patch System Which Patches The Entire Executable?
Sep 1, 2010
I want to create a patch system which patches the entire executable. So like: You download my patch and it changes the code of the existing executable instead of replacing it. the reason why: I got an application which is already around the ~15MB and it will grow bigger (Like 200~300MB) so, I want to keep it compact.I've already read that patching an executable for only a string is quite easy, but, I got my doubts about actual code and resources.
How to specify the patch for the database when making a vb.net program executable. The data base which is access is in the debug folder of the program.
I have written a VB.Net program however there is a bug in one of the methods. I would like to fix the bug but I don't want to change the original executable. I know I can override a referenced assembley using a configuration file, but is there a similar method to override a method in my executable? I have reasons for not recompiling the original executable.
I have a program that outputs a file. I want the user to be able to just double-click the output file and launch the program, just like Word and Excel. In Word for instance, one doesn't necessarily have to open WORD then click on File--> Open and locate another Word doc. He can just go to the folder and open the Word doc. I want to implement the exact scenario in my program.
So far I have tried creating TextFile and added it to the Resources. On FormLoading, I simply I stream-read the Resouce file, but I can't write to the Resource on FormClosing, since the Resource is ReadOnly. Also, the Resource is built & compiled so I suppose you can't add anything to it at run time.How you lunch an output file without launching the Executable program that created it?
First of all, I hope my intention is not missconcept.I would like to add an update from the internet mechanism for my newly VB.NET application.The idea is simple. That is, I ZIP all of the binary that need to be changed, upload it in my own hosting site, and download it using my Update Application, extract and overwrite the existing binary.
It works, quite well. But the problem is, the size of the binary itself is quite big (around 36MB). I am thinking of patches. That is, can we upload only the patch file, it surely make the download small isn't?
How do you get the cursors in an executable file? Like how to extract all cursors from a .exe, .dll, .ocx, .cpl or .src file, and then convert to an System.Drawing.Icon...
I want to launch a java executable (let's call it MyApp.jar) from .Net using System.Diagnostics.Process.Start. What's the syntax in VB.Net? The command line syntax is this (if I recall it correctly - because i tried it a few days ago and it worked).
I've been developing an application that is basically a GUI for several batch files. You click on a button, and the corresponding batch file will run. I got it working in debug using this code:
Private Sub btnOpenFS_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOpenFS.Click System.Diagnostics.Process.Start("openfs.bat") End Sub
As Google and Yahoo have provided barely anything, I was wondering if anyone can point me in the right direction on how to, or an example of how I can build a working executable during runtime in vb.net.It's for my custom school project.
Well I have a program, and I want to the program works alone at determinate time. I know that I have to create a "standalone executable" proyect or something like that. I really don't know how do this kind of things.
Basically i am creating a vbnet system software. I want to create a shortcut key to lock the system with out affecting the windows explorer (just my system only). Is it possible to create one for that? Or let's say create a procedure that triggers anywhere whether the focus is on a control, on a form (whether shown as normal or modal), or on any other that has the focus on it.
I'm trying to create a little executable that when launched opens an IE browser to various websites like news sites all in different tabs. for example, a tab for wsj, nytimes, etc. How do I access IE with vb.net? What reference do I need to add? I can't find any sample code that I can make work I think it is because I am missing a library in my assembly?
how I can deploy my .NET applicationwithout the user having to install the program.i.e. In VB6, I could just create a executable file which did not require the user to install anything, they would simple run the program.
I would create a launcher for a game that is located in \folder\executable.exe I tried using the command shell, but the game does not start because it needs all the files found in folder.
Is there any way to create a button which basically clears a entire table in your database?
I was hoping to have 2 buttons, 1 to empty a table 1 to fill the same table again.The idea is to store a year long values, and at the end of the year delete all of those with a button.The other button i want to use to fill the same table again.Starting from 1st day of the year untill the last day of the year.
I have an executable that I was able to get working on all XP machines by registering all the .dll's associated with it.On Vista, however, I go through the exact same registration process but right when I open the executable it goes to a "WindowsApplication1 has stopped working" dialog. I registered the DLLs in the SysWOW64 folder. I also ran Dependency Walker which came up with IEFrame.dll as flagged, don't know if that is relevant though.
I need to know how to have a button on a tab to create another button on a second tab that contains a panel, with appropriate spacing, the same size as other buttons already present, and the name of the tab that generated this new button as the text on the newly created button. I.e. button1 on tab1 will create and place a new button on a panel in tab2 that already has a grid of buttons (maybe 3x10 buttons) which will be placed underneath a particular column with the text tab2 on the new button which can also refer back to that tab automatically. Hopefully we can get all this code under a single button event.
I also don't know how to have a button on tab1 that focuses on tab2, which sets the back button on tab2 with a reference to go back to tab1 in order to remain dynamic. I.e. clicking on tab1's button will go to tab2 and set the back button there with a link back to the tab it was referred from.
I'd also like to know if there's an easy way to create and destroy tabs with a specific layout. I.e. We have home tab, and comment tab. (This is for the sake of argument) On the comment tab1 (which contains all posted comments), we have a new comment button which creates a comment tab2 (or a dialog box for that matter) with appropriate textboxes, labels, and buttons in the right places which could also make use of the issues I posted above. So the new comment button on the comment tab1 will create either a new comment tab2 with appropriate objects, or a dialog box with the same, and then the submit button on this comment tab2 or box will create a new textfield/buttons on the panel containing the grid of buttons with the information provided in the fields from comment tab2/dialog box which is then destroyed.
I hope i haven't made the examples too confusing, but I can't figure out how to even make progress in these directions. Trying either fails completely, or semi-fails in getting these examples to function 100%.
I've already tried posting in other forums, but with no replies. Hopefully you all can help me figure this out.EDIT: This is not homework, I have scoured forums and google trying to find the answer to these problems. I'm hoping that because these are mainly VB based forums I can find some answers here.
I am using System.Windows.Forms.TabPage to store an entire TabPage for later use in My.Settings. Here is a brief description of the application.
I have a TabControl that has 3 tabs. One for user input, another tab for equipment settings, and then a final tab for Oven settings. On the user input tab, if the user de-selects the checkbox for Oven, the oven tab is saved to My.Settings and hidden.
I can then run the application without oven control. After running, lets say the user would like to re-run, this time with the oven. They go back to the input tab and re-select the Oven checkbox. However, the Oven tab doesn't re-appear. When stepping through the code, the is nothing stored in My.Settings for the oven tab page. Why not?
Also, I can open the application, and check, then uncheck the oven checkbox and the tab is hidden, then returns. I can do this all day. However, after running the tab will not return.
I made an client server application in vb.net and it is alredy installed among various clients.The problem is i found a potential bug in ma application, so i want to make patch for ma apps(Like a update files that can be downloaded
I host a few servers for different games as my hobby, I tried to make an application that would make it easier to control the servers. Should be really easy for people who has spent more time with vb then I did,This would be the interface of the application, on the textbox below the buttons is where I can specify the patch to the application that starts the server.I tried using the following lines of code, but they don't seem to be working:
Public Class Form1 Private Sub GMODStart_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles GMODStart.Click Dim GMOD As String = Me.txtGMOD.Text System.Diagnostics.Process.Start(GMOD) End Sub
I've made a simple program that consists of a combobox and a button i think. It's suppose to link to DVDs thats downloaded in the file...but i can't join the dvd and the file on one package...
I have had several occasions recently to access a specific class several times over a relatively small time frame.So I've been storing the value of the class in Session and trying to access it on page load, if it's not available creating a new instance and storing that in session.
So instead of constantly replicating the same code for different classes on different pages I'm trying to create an extension method to do this for me.
[Code]...
I'm stuck on what to do when I make my new instance of my class (it would have to have a New() sub)
I'm not sure where to go from here... or even if this is the best way to do it.
I'm trying to open an .exe file via vb code using this method: [Code] But I get the following error message: "Cannot open the configuration file patch.cfg", How can I get round this? Do I need to concurrently open the exe and cfg file? If so, how?
i want to save a jpeg file from one system to another system which is connected through network.its in a windows application.my target system's name is "abc".how can i do this ?
any1 has any ideas on how to code a patch maker, (binary differential update) so when i run my patch maker, it output a program (*.exe) that will update files on another machine or local machine, assuming that old files to be updated to a new file having the same data in result;
and also the output patcher should be smaller in size (compressed)currently wad i could think of is a very very simple one but totally useless and not efficient and result large file size patch
1. where mine is read both file data 2. is both byte the same ? 3. [if not same ----> write down the marker value in outputfile1 and byte value in outputfile2] 3. [if same ----> do nothing] 4. read byte if available 5. (marker + 1)
the marker value is how many byte have been advanced so with resulting patcher will read those marker values to advance to the file address (which is the position number) and update accordingly to its byte value outputfile1 is marker values, outputfile2 is byte values corresponding to outputfile1 marker value to advance to the byte position