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 bkrike 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

    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
  2. 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
  3. 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
  4. 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...
  5. 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...
  6. 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
  7. 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...
  8. 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...
  9. 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...
  10. 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
  11. 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...
  12. MangroBongacello

    Setting PDW default install folder

    Hi! Is it possible (and how) to change the folder, the PDW suggests by default when installing VB app? Now it defaults Program files\AppName, but I would like to change that. Thank you Mangro
  13. MangroBongacello

    Detect if POS printer ready

    Hi I'm printing some text on POS printer using batch program (copy File.txt LPT1 or COM1 (if serial printer) or NetworkPrinter). It works fine but I don't know how to detect if printer is ready (turned on, has paper,...). Is it possible to get this info prior to send data to printer? Thank you...
  14. MangroBongacello

    Data report - number of pages

    Hi, is it possible to determine the number of pages to be printed before using DataReport.PrintReport? Namely, what I need to do is I need to set the top margin for the first page to some value and top margin for the remaining pages to another value. I was thinking I could first print page 1...
  15. MangroBongacello

    Unique table is nonexistent or not completely specified

    Hi, this is driving me nuts. I have a bound datagrid. The record source is a query with 4 tables included. User should be allowed to change data in some fields (all from only one of those 4 tables). At first, I got error message saying Insufficient key information for updating or refreshing...
  16. MangroBongacello

    RichTextBox - printing text

    Hi, how can I tell the printer which font to use when printing text in a rich textbox control? I need to print with one of those fonts, where all the characters have the same width. When using the SelPrint method, the printer font isn't the same as in the rich textbox control. Any ideas? Thank...
  17. MangroBongacello

    Serial POS printer problem

    Hi all, I've found a few threads about this but they were not answered, so I hope I will have more luck. When printing longer .txt files (longer means 30 lines of text) to a serial pos printer, only few lines of text are printed correctly then it all gets messed up and not everything is even...
  18. MangroBongacello

    DataGrid HeadClick - right or left mouse button

    Dear friends, is it possible to know, whith which mouse button the column header of a data grid was clicked (in the HeadClick event). Or, if someone has a better idea to achieve sorting in a grid. My idea is, if a user clicks left button it means ascending order, and if clicks right button, it...
  19. MangroBongacello

    DataList SelectedItem

    Hi, how do I select a specific item in DataList in code? Thank you Mangro
  20. MangroBongacello

    Set the Required property of a field

    Hi, how do I set the required property of a text field in Access database to false. I found info in another thread that suggests using Column.Attributes=adColNullable but I get an error message saying &quot;The parameter is incorrect.&quot; I need it when appending a new field to a table...

Part and Inventory Search

Back
Top