473,385 Members | 1,973 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,385 software developers and data experts.

How can I add project Refernces with the VBIDE.dll?

In my VB solution I need to write to a MS word file the data & graphic,
therefore I need to add the VBIDE.dll in the Project Add Reference/COM.

However, when I try to search in COM list for the VBIDE ... I could not find
it, except I only find the Microsoft Word 9.0 Object Library! This alone can
not help me.

Anyone know how to add reference for VBIDE?

Thanks for any help

--
Anh
Aug 24 '05 #1
1 20662
Hi Anh...

What are you talking about?

Sure thing adding the "Microsoft Word 9.0 Object Library" will help you
interact with any Word Document you want. Better yet, you don't even
need to add the reference (although it helps big time when you have
Intellisense :-)

Check he snippet below, I think it will help you.

--- BEGIN CODE ---
Dim objWord As Object
Try
Set objWord = CreateObject("Word.Application")

objWord.Documents.Add(DocumentType:=0) ' wdNewBlankDocument
objWord.Selection.InlineShapes.AddPicture("C:\IMAG E.JPG",
False, True)
objWord.Selection.TypeParagraph
objWord.Selection.TypeText("Hello World!!!")
objWord.Visible = True
Catch ex as Exception
MsgBox("Error" & vbCrLf & ex.Message)
End Try
--- END CODE ---

Aug 24 '05 #2

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

Similar topics

0
by: public heath vb developer | last post by:
We have a solution with 29 projects including a main menu and 28 dlls. One of the projects (Project B) was created by copying an existing project (Project A), making changes including the assembly...
3
by: Steve Jorgensen | last post by:
I have a team working on a side project, and we're thinking of releasing the results under the GPL. I just thought about the fact that we're making use of the the VBIDE library from within our...
2
by: Rudy Ray Moore | last post by:
How can I modify the project build order of a multi-project workspace under "Visual Studio .net 2003 7.1 c++"? I tried to modify the .sln by hand to influence the build order, but it didn't seem...
1
by: Jerad Rose | last post by:
Hello, I have searched all over for the answer to this, to no avail. I have a web project already set up and running on a remote server, that I created from my home computer. I am now trying...
11
by: Dave | last post by:
I copied the project files from an ASP.NET project on one computer and want to create the project on another computer, There is no connection between the two computers so I simply copied the...
4
by: Brad | last post by:
I'm not one to rant or flame....so please excuse me while I do so for this once. I've now spent a bit of time working with VS2005 beta 2 to see how it functions for web development, especially how...
14
by: google_groups3 | last post by:
OK, I am using VB.Net 2003. I have the below error in the task list when I build the solution. It can build and compile the solution fine and you'd never know there was a problem, except for the...
1
by: Anh Truong | last post by:
In my VB solution I need to write to a MS word file the data & graphic, therefore I need to add the VBIDE.dll in the Project Add Reference/COM. However, when I try to search in COM list for the...
0
by: =?Utf-8?B?U2htdWxpayBQcmltZXM=?= | last post by:
I'm expriencing a problem when upgrading a solution from VS2003 to VS2005. When trying to upgrade a project that includes web refernces that are connected to a server (serviced by JBoss) I get the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...

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.