Solved

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

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

751 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