Home All Groups Group Topic Archive Search About
Author
1 Mar 2006 11:41 AM
Martin
The VS2005 help documentation says:

<QUOTE>
OLE Container Control   There is no equivalent in Visual Basic 2005.
Applications that depend on this control should be left in Visual Basic 6.0.
</QUOTE>

I have an application that largely depends on the OLE Container control, and
I do not want to leave it in VB6, especially since Microsoft stopped all
support for VB6.

So, I need to find something else. Currently I use the OLE Container for the
following things:
1) Webcam capture (see: http://www.espital.net/presentation9.htm)
2) Storing and retrieving all kinds of documents, such as document scans,
usually in Jpeg format. MS-Word documents, but also graphics provided by
medical equipment such as an ultrasound machine (see:
http://www.espital.net/presentation14.htm)

For the documents mentioned under 2) the user can see a preview in the VB6
application and also choose to open it in the provider application (MS-Word,
Paint, etc.)

Adding a document was always fairly simple: The user chooses to add a
document, and my app shows the standard OLE-Dialog where the user selects a
source.

The webcam capturing is a lot simpler, since that one doesn't need to be
opened in an external app.

The document itself is stored in a blob-field in MS-SQL-server as an
OLE-object.

Does anyone have any experience with doing something similar in VB.Net?

Tia,
Martin

Author
1 Mar 2006 12:21 PM
Ken Tucker [MVP]
Hi,

        You can display most documents in a web browser control.

Web cam capture.
http://www.vb-tips.com/default.aspx?ID=458a6b78-eacc-48b9-9036-e5cf2ebb86b6

Ken
-------------------
Show quoteHide quote
"Martin" <x@y.com> wrote in message
news:OUZzbNSPGHA.456@TK2MSFTNGP15.phx.gbl...
> The VS2005 help documentation says:
>
> <QUOTE>
> OLE Container Control   There is no equivalent in Visual Basic 2005.
> Applications that depend on this control should be left in Visual Basic
> 6.0.
> </QUOTE>
>
> I have an application that largely depends on the OLE Container control,
> and I do not want to leave it in VB6, especially since Microsoft stopped
> all support for VB6.
>
> So, I need to find something else. Currently I use the OLE Container for
> the following things:
> 1) Webcam capture (see: http://www.espital.net/presentation9.htm)
> 2) Storing and retrieving all kinds of documents, such as document scans,
> usually in Jpeg format. MS-Word documents, but also graphics provided by
> medical equipment such as an ultrasound machine (see:
> http://www.espital.net/presentation14.htm)
>
> For the documents mentioned under 2) the user can see a preview in the VB6
> application and also choose to open it in the provider application
> (MS-Word, Paint, etc.)
>
> Adding a document was always fairly simple: The user chooses to add a
> document, and my app shows the standard OLE-Dialog where the user selects
> a source.
>
> The webcam capturing is a lot simpler, since that one doesn't need to be
> opened in an external app.
>
> The document itself is stored in a blob-field in MS-SQL-server as an
> OLE-object.
>
> Does anyone have any experience with doing something similar in VB.Net?
>
> Tia,
> Martin
>
>
>