Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. MangroBongacello

    Broadcasting for Server Availability

    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...
  2. MangroBongacello

    Word Wrap With PrintDocument Class

    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...
  3. MangroBongacello

    Word Wrap With PrintDocument Class

    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
  4. MangroBongacello

    CapsLock Warning

    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
  5. MangroBongacello

    Make control "not focusable"

    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...
  6. MangroBongacello

    Make control "not focusable"

    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...
  7. MangroBongacello

    Make control "not focusable"

    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...
  8. MangroBongacello

    Make control "not focusable"

    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
  9. MangroBongacello

    MySQL command line arguments in shortcut

    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...
  10. MangroBongacello

    Creating word document &amp; font size

    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
  11. MangroBongacello

    Losing user settings

    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...
  12. MangroBongacello

    DataGridView select multiple rows

    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
  13. MangroBongacello

    DataGridView select multiple rows

    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
  14. MangroBongacello

    Read fixed width txt file using ADO

    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...
  15. MangroBongacello

    Common dialog & floppy & ado connection

    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...
  16. MangroBongacello

    Center text vertically

    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...
  17. MangroBongacello

    How to get a system date from another computer in the network

    Hi! How can I retreive a system date from another computer in the network? Must work for any version of WinOS. Thank you Mangro
  18. MangroBongacello

    Help with some ADO

    Do until rsTaxBillData.EOF do stuff rsTaxBillData.MoveNext Loop Mangro
  19. MangroBongacello

    Change the DefinedSize property of a column

    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(&quot;MyTable&quot;) set...

Part and Inventory Search

Back
Top