Sponsor for PC Pals Forum

Author Topic: modifying exe files  (Read 5511 times)

Offline daveeb

  • Loyal Member
  • *****
  • Posts: 4216
modifying exe files
« on: September 02, 2003, 15:21 »
can't believe i'm bringing work home with me, but here goes.  we have a small, number crunching program at work (in vbasic i think.) we want to modify it to receive data from a different port but dont know how to get to the code of the exe file. how do we do it or is this a really silly question. (clueless on programming stuff). :P


Offline Sandra

  • Ultimate Member
  • *******
  • Posts: 12155
Re:modifying exe files
« Reply #1 on: September 02, 2003, 15:27 »
Same here unfortunately Dave  :(
Serenity was doing a course on it I think recently so she may be able to tell you failing that its a Sean,Lobo or Dack one to sort out I think :doggie:

Offline daveeb

  • Loyal Member
  • *****
  • Posts: 4216
Re:modifying exe files
« Reply #2 on: September 02, 2003, 15:30 »
cheers sandra, btw what kept you, i make that nearly 5 minutes since i posted.   ;) ;)

Offline Sandra

  • Ultimate Member
  • *******
  • Posts: 12155
Re:modifying exe files
« Reply #3 on: September 02, 2003, 15:38 »
Trying to sort Daz out with his display adaptor Dave  ;D
I wil try and do better next time  :-*

Offline WhiteDevil

  • Regular Member
  • **
  • Posts: 170
Re:modifying exe files
« Reply #4 on: September 02, 2003, 17:15 »
Are you totally unable to get the source code for the VB program? It would make like so much easier for you  8)

Quote
It is not possible to decompile all programs, and data and code are difficult to separate, because both are represented similarly in most current computer systems. The meaningful names that programmers give variables and functions (to make them more easily identifiable) are not usually stored in an executable file, so they are not usually recovered in decompiling.


If the file is written in VB3 or earlier try using this: http://members.aol.com/vbdis/ - failing that, ask another techie  ;)

dam Boyle
Owner, Director
www.Severn-Computers.com

Adept

  • Guest
Re:modifying exe files
« Reply #5 on: September 02, 2003, 19:02 »
I agree with WhiteDevil's comments above. It is possible to decomplie a VB program, but you end up with program code which is almost impossible to work with :(

http://www.tek-tips.com/gfaqs.cfm/lev2/4/lev3/32/pid/222/fid/939

Offline daveeb

  • Loyal Member
  • *****
  • Posts: 4216
Re:modifying exe files
« Reply #6 on: September 02, 2003, 19:26 »
thanks people, looks like i'll have to just carry on making the tea instead of a promotion to the boardroom.   ;D

Offline daveeb

  • Loyal Member
  • *****
  • Posts: 4216
Re:modifying exe files
« Reply #7 on: September 03, 2003, 09:42 »

If the file is written in VB3 or earlier try using this: http://members.aol.com/vbdis/ - failing that, ask another techie  ;)




tried that link, but my german isnt too hot unfortunately  :-[

Offline daveeb

  • Loyal Member
  • *****
  • Posts: 4216
Re:modifying exe files
« Reply #8 on: September 03, 2003, 10:34 »
turns out this software is in TURBO basic not vbasic, i assume that the same comments that have been made will apply.  all we want to do is a search/replace on all references to COM1 data input and replace it with COM2 data input.  
 ::)

Offline WhiteDevil

  • Regular Member
  • **
  • Posts: 170
Re:modifying exe files
« Reply #9 on: September 03, 2003, 11:08 »
Used Google web translator to translate into english, its a little dodgy but you should be able to get the gist:

http://translate.google.com/translate?u=http%3A%2F%2Fmembers.aol.com
%2Fvbdis%2F+&langpair=de%7Cen&hl=en&ie=UTF-8&oe=UTF-8&prev=%2Flanguage_tools



**Link edited to fit on page.
dam Boyle
Owner, Director
www.Severn-Computers.com

Offline Sandra

  • Ultimate Member
  • *******
  • Posts: 12155
Re:modifying exe files
« Reply #10 on: September 03, 2003, 12:21 »
Hi Dave the link called General Format takes you here which is in english,(although it may as well be in chinese for all the sense that it makes to me  :o )

http://www.q1.net/~atari/text/doswin.txt

Adept

  • Guest
Re:modifying exe files
« Reply #11 on: September 03, 2003, 12:35 »
Turbo Basic! Oh the memories that brings back :D Is it a DOS program then Dave?

I'd be very surprised if there are any decompilers for Borland Turbo Basic out there. I've done a quick Google and found nothing of interest :(


Offline daveeb

  • Loyal Member
  • *****
  • Posts: 4216
Re:modifying exe files
« Reply #12 on: September 03, 2003, 13:42 »

Turbo Basic! Oh the memories that brings back :D Is it a DOS program then Dave?

I'd be very surprised if there are any decompilers for Borland Turbo Basic out there. I've done a quick Google and found nothing of interest :(




er yes i'm afraid its an ancient dos program.  the annoying thing is we've done it before but no-one can remember how.  anyway thanks peeps for all the input     ;D

Offline daveeb

  • Loyal Member
  • *****
  • Posts: 4216
Re:modifying exe files
« Reply #13 on: September 03, 2003, 13:45 »

Hi Dave the link called General Format takes you here which is in english,(although it may as well be in chinese for all the sense that it makes to me  :o )

http://www.q1.net/~atari/text/doswin.txt


thanks sandra i think i'd struggle less with some well written mandarin than that but ta for the link. we'va all had a look and decided we know **** all about programming.   :o

Offline WhiteDevil

  • Regular Member
  • **
  • Posts: 170
Re:modifying exe files
« Reply #14 on: September 03, 2003, 16:20 »
does the program need to be kept the same, or can a new GUI be used? You could always try and find a C/C++ programmer to re-write the application, only finding one will be the problem  8)
dam Boyle
Owner, Director
www.Severn-Computers.com


Show unread posts since last visit.
Sponsor for PC Pals Forum