Results 1 to 7 of 7

Thread: HowTo Enable Text/Field Box

  1. #1

    Question HowTo Enable Text/Field Box

    How i can enable the text/Field Box ???

    I wanna input the serial number, but since the program is trial they
    disableb input box and put text "Trial - Trial - Trial - Trial"

    Dialog Box Like This :

    --[Register Box]--------------------------------------
    Your Name : [ Arbitor ] <<-- this isText Box
    Serial Number : [ Trial - Trial - Trial - Trial ] <<-- this is textbox

    [Register] [Cancel] << -- this is Button

    This is under window'98 program and NOT create by VB program.
    i wanna Enable that Text Box, so i can input the serial number,
    i already have the serial number (from DeluxeSerial Site).

    I am using Win32Dasm and already found the Dialog Box (StringRef), but dunno how-to enable that text box.

    Thank's and sorry if my english is bad
    Last edited by Arbitor; November 3rd, 2003 at 04:38.
    I promise that I have read the FAQ and tried to use the Search to answer my question.

  2. #2
    Red wine, not vodka! ZaiRoN's Avatar
    Join Date
    Oct 2001
    Blog Entries
    Hi Arbitor.
    Probably the program disables the editbox at runtime whether the program is not registered. You have to try to find the point of the code where this operation is done. Try to set a breakpoint on these functions:
    EnableWindow: disables a control
    SetDlgItemText: sets the text of a control, in your case it (probably) sets the text "Trial - Trial ..."

    Start with this simple method and tell us what will happen.


  3. #3

    a different way that will help you is to send the dialogbox (the window where
    you want to enable sthg) messages via sendmessage/postmessage w32 api
    with that you can enable, resize, blablabla everything with your buttons /

    but: therefor you need window handles. use ollydbg (FREE and cool! to
    enumerate the window list of your proggy at runtime. incl handles.


    greetz, da 0xf0001
    I promise that I have read the FAQ and tried to use the Search to answer my question.

  4. #4
    Musician member evaluator's Avatar
    Join Date
    Sep 2001
    Blog Entries

    Don Wooma also very likes DeluxeSerial site ~:0
    & he vary likes to help people for better input serialz;)

    In According:
    Now, there are also tools, so then can enable disabled things.
    (for example: Customiser)
    But if your prog is Delpi-prog, visually enabled control will
    n0t work anyway..(incl. sendmessage/postmessage)..


  5. #5
    <script>alert(0)</script> disavowed's Avatar
    Join Date
    Apr 2002
    Quote Originally Posted by evaluator
    Now, there are also tools, so then can enable disabled things.
    (for example: Customiser)
    i love how the customiser is 5 years old and still incredibly useful. not too many tools like that

  6. #6
    Administrator dELTA's Avatar
    Join Date
    Oct 2000
    Ring -1
    Blog Entries
    The get/set text feature of Customiser doesn't work well anymore though, but for that you can use SnadBoy's tool instead.

  7. #7

    As Above

    You may also try to:

    1. Get a resource editor (find many of and try to enable the same.

    2. You may try to trap the windows messages that are sent to that control. Try using Microsoft Spy++ or Borland Winsight

    3. Find out the code that actually disables the same. A good thing to do is BPX on Createwindowexa in softice with condition that it breaks on the creation of the textbox window (yes, EVERYTHING in windows is a window )
    From there on, trace the necessary. You may even find that the window attributes that you can manipulate to your approval.

    Have Phun
    Blame Microsoft, get l337 !!

Similar Threads

  1. Text Input Box Grayed Out
    By Maze in forum The Newbie Forum
    Replies: 3
    Last Post: March 26th, 2009, 16:51
  2. How To Enable a disabled Tab ?
    By alphino in forum The Newbie Forum
    Replies: 32
    Last Post: April 22nd, 2008, 20:08
  3. Replies: 0
    Last Post: October 22nd, 2007, 12:22
  4. Text to Hex file with 00 padding
    By jomamameister in forum Advanced Reversing and Programming
    Replies: 0
    Last Post: January 10th, 2002, 22:55


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts