🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by jfnb Wed, 04 Jul 2001 18:08
WORD + VB
#698
Author: jfnb
Date: Wed, 04 Jul 2001 18:08
51 lines
3626 bytes
FU :  fr.comp.lang.basic
please reply to this email : jfnicolas@bls.fr : it's my professional email
and i can't access to newsgroups from my office. -thx-


HI !

I have a small problem :
I want to open and display a MS-word file on a VB form (VB5 SP3 or VB6); i
don't want to call word each time i want to display the content of my file.

So i create an object "Word.Application" and open the file without problem
to get it's properties but i can't display it directly on the form.
I've tried to open the same file with an "OLE object" (draw on the from). It
opens the file, but i can't move to the next page of the DOC and the file
displayed in the OLE object doesn't respect the display i set in word (97).

So here's my question :
How can i display the content of a ms-word(97) file on a form made with VB5
or VB6 that allow me to move to the all the pages of the Doc file ?

PS : cant you reply me to this email : jfnicolas@bls.fr ? it's my
professional email and i can't access to newsgroups from my office.

En francais maintenant :


Salut !

Mon probleme :
Je veux afficher un fichier fait sous Word dans une des feuilles de mon
projet VB (5 ou 6) sans avoir a afficher Word.

J'arrive sans probleme a ouvrir un fichier en passant par un objet
"Word.application", pour obtenir les propri�t�s du document, mais pas a
l'afficher directement sur ma feuille (je veux eviter d'ouvrir Word ...)
J'ai cr�� sur ma feuille un objet OLE, dans lequel j'ouvre mon fichier, mais
dans cet objet, je n'arrive qu'a voir une partie de la premiere page sans
avoir la possibilit� de voir les pages suivantes et de plus, la mise en page
n'est pas respect�e !! (mon titre de doc - qui est centre verticalement sur
ma premiere page se retrouve en haut de page !)

Alors quelqu'un a t il une solution pour me permettre d'afficher le contenu
et de pouvoir voir toutes les pages ???

PS : pouvez vous me repondre a l'email suivant : jfnicolas@bls.fr ; c'est
mon adresse pro et je n'ai pas acces aux news du bureau. merci d'avance

Question subsidiaire : a terme, mon document devra en plus contenir des
champs que je devrais remplir dynamiquement a l'affichage. Si qq'un a une
methode ca m'interresse.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads