Why don't You use the onChange event of the textbox?
if you put his in Textbox.text = trim(textbox.text) hitting the spacebar won't affect the text.
A copy and paste-operation would let a space in though, it kind of depends on how idiot-proof you want to build your program.
Do You know the printerdriver that has created the prn-file?
A prn-file is basicaly an image that can be interpreted by a specific printer that works with a specific driver.
If you know how the prn-file is made, you might have a better way of reversing the process.
' When I use the folowing code in a VB6-app
' (and having the correct references in my VB6 project)
Dim WdApp as Word.application
Set WordApp = CreateObject("Word.Application")
WordApp.Caption = "THIS IS MY CAPTION"
WordApp.Visible = False
' THIS HAPPENS :
' I Start...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.