Solved

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

Posted on 1997-08-21
4
632 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
Comment Utility
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
Comment Utility
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
Comment Utility
That's why I would need a binary sample of your .dbf file.

e-mail:  vinniew@rocketmail.com

0
 

Author Comment

by:aleshotmail
Comment Utility
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

In this article, I will show how to use the Ribbon IDs Tool Window to assign the built-in Office icons to a ribbon button.  This tool will help us to find the OfficeImageId that corresponds to our desired built-in Office icon. The tool is part of…
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
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…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now