VB Decompiler Forum Index VB Decompiler
Hosted by TheAutomaters.com
 
  MemberlistMemberlist
 

changing a timer interval in a compiled VB6 application?

 
   VB Decompiler Forum Index -> The Code
Author Message
Anonymous
New User


Joined: 10 Feb 2008
Posts: 0

Posted: Thu Nov 01, 2007 12:37 pm     Post subject: changing a timer interval in a compiled VB6 application?

my first question here

Iīve got an application compiled in VB6 and I wanna change the interval of a timer. If I use VB Decompiler, I can see the interval, but i canīt change it. And when I go to the offset the VB Decompiler shows with a Hex Editor, there isnīt any number that equals with the interval.

Can someone help me?
Back to top
napalm
Site Admin


Joined: 11 Dec 2003
Posts: 18
Location: UK

Posted: Thu Nov 01, 2007 1:56 pm     Post subject:

Well how about you upload the executable so we can show you where the interval is.

Napalm
_________________
~Napalm~

"With insomnia, you're never really asleep;
you're never really awake."
Fight Club - 1999 - [url:hdzph3dx]http://www.imdb.com/title/tt0137523/[/url:hdzph3dx]
Back to top
Anonymous
New User


Joined: 10 Feb 2008
Posts: 0

Posted: Thu Nov 01, 2007 7:02 pm     Post subject:

I uploaded a simple exe that beeps every 4000 ms.
And itīs the same problem there. Probably the interval isnīt saved in a numeric value.

http://rapidshare.com/files/66777020/Timer.exe.html
Back to top
napalm
Site Admin


Joined: 11 Dec 2003
Posts: 18
Location: UK

Posted: Thu Nov 01, 2007 9:53 pm     Post subject:

The timers interval value is located as a dword with the value of 4000 at file offset 0x00001240 and at virtual offset 0x00401240. The byte located before the dword should have the value of 0x03 this means that its the interval value.

Napalm
_________________
~Napalm~

"With insomnia, you're never really asleep;
you're never really awake."
Fight Club - 1999 - [url:hdzph3dx]http://www.imdb.com/title/tt0137523/[/url:hdzph3dx]
Back to top
   VB Decompiler Forum Index -> The Code All times are GMT
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group