I don't know if that fits into your concept but maybe you can set up a "info" server that will always run on the same location. To this server your server will send information about itself and the clients would ask for this information. So, when your server starts, it will send info to the info...
Yes, I was trying that but it did not work. I was testing it on a POS printer with 80mm paper roll. I set the size of the rectangle to the paper size, but the text wasn't wrapped. But then, after I sent the post here, I checked the printer propertis and found, that the paper size was set to A4...
Hello,
I'm writing a procedure to print a text using PrintDocument class. If a line exceeds paper width, I would like a text to continue in the next line, which doestn't happen by default. How can I achieve this?
Thank you
Mangro
Hi!
If UseSystemPasswordChar property is set to True on the TextBox and CapsLock is on, then the balloon with CapsLock warning is displayed when the textbox receives focus. Is there a way to stop showing this warning?
Thank you
Mangro
Thanks everybody for your replies. I found the solution that best suits my needs. For thos who might be interrested:
I overrided the WndProc procedure to ignore the "left mouse button down" message.
Protected Overrides Sub WndProc(ByRef m As System.Windows.Forms.Message)
If m.Msg...
Thank you, Christiaan, but the problem with this is, that this appends text at end and not at the current position, plus other controls (like ComboBox) do not have the AppendText methods. Plus, I might be sending also other characters (like BackSpace). The functionality, that I will like to...
I would like to act it like a keyboard. For example if in the textbox there is currently a word "TEST" and the caret is at position 2 (before letter E), then if the user touches this control that sends letter X, the text in the text box would be "TXEST" and the caret would be positioned again...
Hi!
I created a control that I will use as keys for keyboard for touch screen. The problem I have is how not to take focus away from for instance textbox, when this control is clicked (like label control).
Thank you
Mangro
Hello!
This is my problem:
If I execute command like this from shell:
shell>mysql -uuser -ppassword < c:\MyFile.sql
it executes ok, but if I put such command into a desktop shortcut on a windows machine, it does not (instead help is displayed for command-line arguments).
How do I make it...
Maybe by using rtf tags and then saving the file as rtf, which can also be opened by Word.
For example the following would display the text Hello world in Tahoma Bold 15
{\rtf1\ansi\deff0 {\fonttbl\f0 Tahoma}{\b \fs30 Hello world}}
Mangro
Hi!
I'm developing my first app in VB.NET using VS2005. I'm using the Settings designer feature for saving some settings. As I understad, these setting are saved into a .config file. User can then change some of these settings.
For deployment I created a Setup project. When testing deployment...
Thanks for the reply.
The Select method does not accept any arguments. I think what it does is sets the focus to the control.
Anyway, I found the solution - not exactly what I wanted, but hey...
Grid.Rows(x).Cells(y).Selected=True
I'm trying to create a procedure to search DataGridView. I would like a program to select all rows, where search string is found.
Is it possible to select multiple rows in datagridview through code since the SelectedRows property is read only?
Thank you, Mangro
Hi!
I need to write a procedure that will query a large txt file. I found out that this can be done using ADO, but I only found a way of doing this with delimited file. Is there a way to achieve the same with fixed length txt file. The problem is obviously how to tell the recordset where one...
Hi, all!
In my app a user can import a file from a specific location using Save As common dialog. If a file selected is on floppy drive, then when a program tries (later in time) to open ado connection to a mdb, which is on a local hard disk, it tries to access floppy drive. If a diskette is...
Hi!
With the DrawText API one can draw a text inside a rectangle but it can only be centered vertically if printed in single line (DT_SINGLELINE Or DT_VCENTER). If the text is wrapped into multiple lines, it gets displayed at the top of the rectangle no matter what value is assigned to wFormat...
Hi,
I would like to change the number of characters the field in Access table can accept. Now it is set to 30, I want to set it to 200. I tried
Dim cat as new adox.catalog
dim tbl as adox.table
dim col as adox.column
set cat.ActiveConnection=MyConn
set tbl=cat.Tables("MyTable")
set...
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.