473,397 Members | 2,028 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Ole Container

Does anyone know of a compareable Ole Container that will allow read/write
so that I could host say a word document within my vb.net app?

I realize the vb6 version is dead. I looked to see if I could download it
but couldnt find it anywhere just to see if I could make it work....

Would the web browser control work?

I am kind of desperate here so help is appreciated....
Nov 20 '05 #1
5 1434
Cor
Hi Scorpion,

You got your answer from Herfried, but to give you an answer for this.

Would the web browser control work?

If you cannot do something with IE you also cannot do it with the
webbrowser.

Cor
Nov 20 '05 #2
Cor,
Is it possible to send commands to the web browser control to do something
within a vb.net appllication say within a button click event?

"Cor" <no*@non.com> wrote in message
news:Od**************@tk2msftngp13.phx.gbl...
Hi Scorpion,

You got your answer from Herfried, but to give you an answer for this.

Would the web browser control work?

If you cannot do something with IE you also cannot do it with the
webbrowser.

Cor

Nov 20 '05 #3
Cor
Hi Scorpion,

Of course you can,

A little example,

Open a new windows application project

In the toolbox rightclick and select add/Remove items

In the customize toolbox select Com and in that Microsoft Webbrowser

When that is in the toolbox drag it to your form
Drag also a button to your form.

Then this code and you have a mini Webbrowser.
\\\
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Me.AxWebBrowser1.Navigate2("www.google.com")
End Sub
///

I hope this helps a little bit?

Cor
Nov 20 '05 #4
Ok,
Add another button.
Now replace www.google.com with a test.doc on your hard drive. Navigate
there.
Now make changes to the document and save....
Now have button2 when clicked save the chnages.
Have the button click save the changes.
Reload the changed document.

Is this possible?

"Cor" <no*@non.com> wrote in message
news:%2******************@TK2MSFTNGP09.phx.gbl...
Hi Scorpion,

Of course you can,

A little example,

Open a new windows application project

In the toolbox rightclick and select add/Remove items

In the customize toolbox select Com and in that Microsoft Webbrowser

When that is in the toolbox drag it to your form
Drag also a button to your form.

Then this code and you have a mini Webbrowser.
\\\
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Me.AxWebBrowser1.Navigate2("www.google.com")
End Sub
///

I hope this helps a little bit?

Cor

Nov 20 '05 #5
Let me try that again:

Add 2 more buttons...

replace www.google.com with test.doc on your hard drive.

load the document as you did in button1

Make changes to the document by typing.

Have button2 do something like insert text into the document (something
along the lines of what you would do if automating the document.)

Click button3 to save the document and reload with the changes.

Is this possible?

Sorry for my disjointed post a sec ago....

"scorpion53061" <sc****************************@yahoo.com> wrote in message
news:ez**************@TK2MSFTNGP12.phx.gbl...
Ok,
Add another button.
Now replace www.google.com with a test.doc on your hard drive. Navigate
there.
Now make changes to the document and save....
Now have button2 when clicked save the chnages.
Have the button click save the changes.
Reload the changed document.

Is this possible?

"Cor" <no*@non.com> wrote in message
news:%2******************@TK2MSFTNGP09.phx.gbl...
Hi Scorpion,

Of course you can,

A little example,

Open a new windows application project

In the toolbox rightclick and select add/Remove items

In the customize toolbox select Com and in that Microsoft Webbrowser

When that is in the toolbox drag it to your form
Drag also a button to your form.

Then this code and you have a mini Webbrowser.
\\\
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Me.AxWebBrowser1.Navigate2("www.google.com")
End Sub
///

I hope this helps a little bit?

Cor


Nov 20 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Maitre Bart | last post by:
What I want to perform is calling a member function of container 1 (CRunner), using as argument the value of a container 2 (CNames). The purpose is to transfer values from C2 into C1 using a...
19
by: Nafai | last post by:
Hi I want to write a function which erases al the repeated elements in a range. How should be the prototype? template <class Iterator> void eraseRepeated(Iterator begin, Iterator end); ...
3
by: jignesh shah | last post by:
Hi all, Is there a way to recover a single container if its been corrupted or mark bad without restoring whole tablespace? environment: db28.1/aix5.1/tsm/rs-6000. Regards Jignesh
9
by: horizon5 | last post by:
Hi, my collegues and I recently held a coding style review. All of the code we produced is used in house on a commerical project. One of the minor issues I raised was the common idiom of...
7
by: toton | last post by:
Hi, I want a circular buffer or queue like container (queue with array implementation). Moreover I want random access over the elements. And addition at tail and remove from head need to be low...
11
by: food4uk | last post by:
Dear all : I am not good at programming, please give a hand. My data structure is very similar as an array. I actually can use the std::vector as container to organize my data objects. However,...
2
by: Daniel Lipovetsky | last post by:
I would like for an object to "report" to a container object when a new instance is created or deleted. I could have a container object that is called when a new instance is created, as below. ...
1
by: Miked | last post by:
Hello: I'm relatively new to CSS, and I'm doing a site where I don't want to use any tables. I've gotten pretty far, and the site has the layout I want. My only problem is that I'm using the...
18
by: Goran | last post by:
Hi @ all! Again one small question due to my shakiness of what to use... What is better / smarter? private: vector<MyClass_t* itsVector; OR...
36
by: Peter Olcott | last post by:
So far the only way that I found to do this was by making a single global instance of the container class and providing access to the contained class, through this single global instance. Are...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.