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 TouchToneTommy 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. GhostWolf

    VB.NET GdipSaveImageToStream

    I apologize for my lack of clarity in my original post: I'm beginning with a scanned image. I'd seen that link earlier, and worked out how to retrieve the file and save the byte array - but I'd like to, (if possible), bypass the file step by going directly from the scanned image to the byte...
  2. GhostWolf

    VB.NET GdipSaveImageToStream

    I've been tasked with creating an application to allow scanning of documents and saving them to a SQL Server database so they can be queried/reviewed on demand. I've managed to modify code I've found online to scan the documents using GDI+, and successfully saved the scanned image to a file -...
  3. GhostWolf

    Programmatically create instance and database?

    Thank you, Vacunita, that info on SQLite appears to be exactly the kind of help I needed for this.
  4. GhostWolf

    Programmatically create instance and database?

    First question: is it possible to programmatically create both a MySQL instance and a database within it? I'm working in VB.NET; have MySQL Connector Net v6.9.8 installed. I'd like to write a program that can create/use a MySQL database without MySQL having to be installed on the user's PC -...
  5. GhostWolf

    OleDbDataAdapter Peculiarity

    In an attempt to learn something about DataGrid usage, I'm using an OleDbConnection to an Excel, (2003), spreadsheet to retrieve data. Everything works perfectly - except for one column! string dtaFile = "d:\\d1\\d2\\s1.xls"; string cmdSQL = "select * from [Sheet 1$] where F16='NP'"...
  6. GhostWolf

    Removing Deleted Rows?

    jbenson001: That sounds like a pretty good work-around. gmmastros: The sequence number is displayed, and the user is allowed to use it to select a row for editing. While it wouldn't be hard to train each user in re sequence number gaps, it's a bit of tedium I'd hoped to avoid. Oh well...
  7. GhostWolf

    Removing Deleted Rows?

    Environment: SQL Server 2008r2 In my database is a table whose primary field is defined as [Seq] [int] IDENTITY(1,1) NOT NULL Inserting and updating is no problem, deleting I'm beginning to wonder about though. My problem is that after a row has been deleted, its index, (Seq), isn't...
  8. GhostWolf

    Word 2013 Automation: Runtime Error 4605

    I've got to admit that I doubted turning off AllowReadingMode was going to be the solution - but I was wrong! Thank you strongm, my document's now updated.
  9. GhostWolf

    Word 2013 Automation: Runtime Error 4605

    Thanks for trying HughLerwill. That message makes me suspect that the document is being opened in read-only mode, but I haven't discovered anything yet to verify that, or guide me in resolving it.
  10. GhostWolf

    Word 2013 Automation: Runtime Error 4605

    Originally, I believe it was happening on the Unprotect statement. A little research showed me some other parameters to the Open statement, (shown above), which appear to obviate the Unprotect statement - but that gave a different error, (6124). I have since added the Unprotect statement...
  11. GhostWolf

    Word 2013 Automation: Runtime Error 4605

    That didn't work either! The error message leads me to believe that the document is being opened in Read-only mode, so I thought that changing the read-only state in the open statement Set wrdDoc = wrdApp.Documents.Open(DocName, , False) might resolve that, but it didn't. I just got a little...
  12. GhostWolf

    Word 2013 Automation: Runtime Error 4605

    Duuuhhh... a bad-typing moment? I can't explain why I shortened that line. In the code, it actually reads: wrdApp.Documents(wrdDoc).Unprotect (password) Thanks for catchin' that, Skip.
  13. GhostWolf

    Word 2013 Automation: Runtime Error 4605

    I'm testing one of our vb6 programs against Word 2013, and have run into the subject error message - but haven't yet found a way around it. The program executes: Set wrdApp = CreateObject("Word.Application") Set wrdDoc = wrdApp.Documents.Open(DocName) wrdApp.Documents(wrdDoc).Unprotect...
  14. GhostWolf

    Word 2013 Runtime Error 4605

    Since this is a vb6 application, I'll try forum 222... Thanks Skip.
  15. GhostWolf

    Word 2013 Runtime Error 4605

    I'm testing one of our vb6 programs against Word 2013, and have run into the subject error message - but haven't yet found a way around it. The program executes: Set wrdApp = CreateObject("Word.Application") Set wrdDoc = wrdApp.Documents.Open(DocName) wrdApp.Documents(wrdDoc).Unprotect...
  16. GhostWolf

    SQL Injection Attack

    Well, shucks! I knew what the 0x was, but just assumed they'd be inserting assembler instructions instead of disguised text instructions. Thank you SamBones, for the link, too.
  17. GhostWolf

    SQL Injection Attack

    Can anyone tell me what this code is supposed to do: 0x574 14954 464f5 22044 454c4 15920 27303 03a30 303a3 13527 I've intentionally split it into 5-character groups. I noticed it had been injected, as part of a SQL Exec statement, into an input field on one of our web pages. Fortunately, my...
  18. GhostWolf

    PrintDocument Questions

    Not finding a means, (within PrintDocument), to load half of the page now, and come back later to load the other half of the page - not actually sending the page to the printer until two transactions have been put on the page - I've opted for a two-element array of a data structure. This...
  19. GhostWolf

    PrintDocument Questions

    I'm finally getting started with PrintDocument and, naturally, having trouble... I've figured out how to get text printed on a page, but am having difficulty with pagination. Our clerks handle many transactions in a day, but only some of the transactions need to be printed; the printed...
  20. GhostWolf

    AutocompleteExtender Completion Question

    I've finally figured out how to make an AJAX AutocompleteExtender work with a static method, but there's more I'd like to do with the input TextBox... What I'd like to have happen, when an empty completion list is returned, is to turn the textbox's background red to let the user know that their...

Part and Inventory Search

Back
Top