Solved

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

Posted on 1997-08-21
4
642 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 50 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

This article shows how to make a Windows 7 gadget that accepts files dropped from the Windows Explorer.  It also illustrates how to give your gadget a non-rectangular shape and how to add some nifty visual effects to text displayed in a your gadget.…
This article describes a technique for converting RTF (Rich Text Format) data to HTML and provides C++ source that does it all in just a few lines of code. Although RTF is coming to be considered a "legacy" format, it is still in common use... po…
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

810 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