Article View: alt.lang.basic
Article #698WORD + VB
From: jfnb
Date: Wed, 04 Jul 2001 18:08
Date: Wed, 04 Jul 2001 18:08
51 lines
3626 bytes
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.
Technical Details
Message-ID:
<9hvm0i$kg6$1@wanadoo.fr>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!213.56.195.71!fr.usenet-edu.net!usenet-edu.net!wanadoo.fr!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f6b7b,f34d27121e22cd39,start X-Google-Attributes: gidf6b7b,public X-Google-Thread: 10644a,f34d27121e22cd39,start X-Google-Attributes: gid10644a,public X-Google-Thread: 10ab99,f34d27121e22cd39,start X-Google-Attributes: gid10ab99,public X-Google-Thread: f645d,f34d27121e22cd39,start X-Google-Attributes: gidf645d,public X-Google-Thread: f7646,f34d27121e22cd39,start X-Google-Attributes: gidf7646,public X-Google-ArrivalTime: 2001-07-04 11:07:15 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!213.56.195.71!fr.usenet-edu.net!usenet-edu.net!wanadoo.fr!not-for-mail From: "jfnb" <me@here.com> Newsgroups: alt.lang.basic,comp.lang.basic.visual,fr.comp.lang.basic,microsoft.public.fr.vb,microsoft.public.vb.ole Subject: WORD + VB Followup-To: fr.comp.lang.basic Date: Wed, 4 Jul 2001 20:08:14 +0200 Organization: Wanadoo, l'internet avec France Telecom Lines: 54 Message-ID: <9hvm0i$kg6$1@wanadoo.fr> NNTP-Posting-Host: abesancon-101-1-2-112.abo.wanadoo.fr X-Trace: wanadoo.fr 994270034 20998 193.251.32.112 (4 Jul 2001 18:07:14 GMT) X-Complaints-To: abuse@wanadoo.fr NNTP-Posting-Date: 4 Jul 2001 18:07:14 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200