Solved

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

Posted on 1997-08-21
4
665 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Get HTML5 Certified

Want to be a web developer? You'll need to know HTML. Prepare for HTML5 certification by enrolling in July's Course of the Month! It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

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…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
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…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

631 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