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...
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 -...
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 -...
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'"...
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...
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...
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.
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.
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...
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...
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.
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...
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...
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.
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...
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...
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...
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...
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.