I have a BMP Image I want to insert into an SQL varbinary(max) field. I came up with this code:
Store Cast(FileToStr(Pic.bmp) As Blob) To jcBMP
CursorSetProp('MapBinary', .T., 0)
SQL_Status = SQLExec(SQL_Connection, "INSERT Into SFile (BMPField) Values (' + M.jcBMP + "');")
When I execute...
This is a two-part question. And I know it has been answered, but I can't replicate successful results with the answers I'm finding, so I am throwing out all I know to beg for help.
I am connecting to a MS SQL Server table containing an ID value and field named Image that is a varbinary(max)...
I have been using Nick Neklioudov's GridHighlighter Class for a very long time. Within the last couple of years, however, users have reported getting random (I know not really random, but I can't deduce a pattern) DynamicForeColor errors when the grids using the class are in the screen. Has...
We have multiple users printing a report (actually a label) quite possibly at the same time. As a result, occasionally a "File Access Denied" error occurs on the file. The users all access the same file and the executable through a networked drive. Is there a way to "set" the file to keep from...
I have not done a lot of multi-column reports that aren't labels, so I could use a bit of help.
Have a report that is 6 columns. Columnar data is printing correctly. On this report I have Group Headers and Footers that go completely across the page. The Header is one line and could possibly be...
This should be simple, but it isn't. I dropped an Edit Box on a form, made a CURSOR Memo Field the control. Size of the Edit Box is about 2 lines. I want the ScrollBars to show, but they just won't, even if ScrollBars = 2. I've played with Themes .T. and Themes .F.
What am I doing wrong? I know...
I need to convert a hex number to a base32 number for creating a QR code to use Google Authenticator (or like) for Multi-Factor Authentication. I've found lots of online tools, but no code I can actually put in my program.
Example: If I get a hex number like this...
I have software where I am Negotiating the capabilities of a TWAIN scanner.
Definition of routine in VB:
Public Overloads Function NegotiateCapability( _
ByVal capability As Capabilities, _
ByVal capabilityValue As Object _
) As Boolean
The problem I'm having is that the particular three...
In the SuperMover and Mover classes set up in the FCC, there is the lstRight that holds items the user has selected from the left column. That's all well and good, but what I'm particularly interested in is the moving of items up and down in lstRight. I can seem to isolate the code that does...
I want to use CTRL+INS in a grid to insert a row in the grid. I can get CTRL+DELETE, CTRL+HOME, CTRL+END, CTRL+PGUP, CTRL+PGDWN to "kick" (that is, the KeyPress event recognizes them). But the CTRL+INS doesn't kick off the KeyPress event.
What am I doing wrong? Are there other options on the...
I know I can encode and decode Base64 strings using STRCONV in VFP9. Unfortunately, I'm tied to VFP6 for this project.
I have an Encode function that works great. I've decoded the strings in VFP9 using STRCONV and get the image I'm expecting.
So far, though, I've not found a Decode function...
This question is in regards to transferring binary data through XML.
I'm using STRCONV(cExpression, 13) to convert binary to Base64. Not sure if I need to be using STRCONV(cExpression, 14) instead (encoded vs. decoded), but I'll figure that out.
My question is: When I get the Base64 data, how...
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.