Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How do I embed the PBrush OLE object from .dbf into HTML page?

Posted on 1997-08-21
4
Medium Priority
?
683 Views
Last Modified: 2013-12-03
I have .dbf - based DSN. The .dbf -file contains General type field with PBrush OLE object (BMP Pictures) . How can I embed it into my HTML page just in-ime using IDC or ADO?
Thanx in advance.
Alexey Savateev.
0
Comment
Question by:aleshotmail
  • 2
  • 2
4 Comments
 
LVL 3

Accepted Solution

by:
vinniew earned 100 total points
ID: 1404609
This is how I understand your question:

You have a .dbf database file.  In one of the fields there is an absolute reference to a .bmp file.  You want that bmp to go to HTML.

Here are some counter-questions first:

1. How do you intend to read the .dbf and process it into HTML?  I can think of several ways to do that.

2. I've written programs before that are able to read .dbf format.  Do you have source code to do that?  It would make things simpler.

3. You say that there are .bmp absolute references in the .dbf file.  Can you post a hexdump of one or two records?  It would help determine a few things when you go to processing that into HTML.

4. Can you post some of your IDC/ADO ideas.  I'm not familiar with that paradigm.  I like to do things more directly.



Here would be my answer if you like doing things mostly in C:

1. Write an executable for your cgi-bin directory on the server that would strip the designated record from the database, and process it into an HTML command that would send a link to the BMP.  Pass the record number as the argument to the executable.

When you say DSN, do you mean DNS?  I get confused with so many TLA's (three letter abbreviations), what is DSN?
0
 

Author Comment

by:aleshotmail
ID: 1404610
I hoped that the answer would contain concrete program sample. This would be much easier to understand that question.
0
 
LVL 3

Expert Comment

by:vinniew
ID: 1404611
That's why I would need a binary sample of your .dbf file.

e-mail:  vinniew@rocketmail.com

0
 

Author Comment

by:aleshotmail
ID: 1404612
No, I think it isn't needed at all. The problem is how to show the PBrush OLE object (represented by binary sequence) in HTML page. So you (or me) can simply insert this sequence (any PBrush picture object) to some ActiveX control. But I DON"T KNOW WITCH ONE I SHOULD USE (AND WHAT PARAMETER).  
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question