1 Attachment(s)
Return line number from text box
Hello to everyone,
This is my first post so please bear with me. I am trying to return the 'correct' line number from a textbox. I have seen several examples in forums but the nearly all do not work quite right. i.e when the user scrolls up and down the lines with the cursor keys there is inconsistent line number values.
The only one I have seen that works superbly is from the microsoft support website - Microsoft Knowledge Base Article - 186271 (HOWTO: Manipulate Text Box Contents). It works fine, BUT (there is always a but isn't there?) when the program exits, most of the time you get an Application Error...arrrgghhh!!!
The article is at:
http://support.microsoft.com/default...NoWebContent=1
Please, please does someone know how to code this line number problem (properly) or know where the knowledge base article error lies. I am using VB6, under Windows 2000.
Thanks,
David.
disable console window close button
Hi Guys,
I can open a console window, does anyone know how to disable the close window button. As if you close the console window the VB program always close too, so if I can disable the button users won't be able to do this by mistake.
Cheers.
dobby