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: *

  • Users: CBellucci
  • Content: Threads
  • Order by date
  1. CBellucci

    Inserting Image into varbinary(max) field

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

    Retrieving Images (varbinary(max)) from MS SQL Server

    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)...
  3. CBellucci

    Nick Neklioudov's GridHighlighter Class (oldie but a goodie)

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

    File Access Denied on Report (Label) File

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

    VFP9 Report Problems with Multi-Columns, Memo Field

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

    VFP 9 Edit Box ScrollBars not showing up

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

    TOTP seeds: Converting Hex to Base32

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

    VB UINT16 and FIX32

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

    FCC SuperMover (or just Mover) Question

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

    Recognizing CTRL+INS in a Grid KeyPress Event

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

    Decode Base64 String in VFP6

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

    Base64 to Binary

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

    Not getting data using XMLAdapter

    Hello all! I have the following XSD (library.xsd): <?xml version="1.0" encoding="utf-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="book"> <xs:complexType> <xs:sequence> <xs:element name="title" type="xs:string"/> <xs:element...

Part and Inventory Search

Back
Top