Where Is Office 10 Ole Object Library?
i built and compiled an app with MS.OLE Document Properties 1.4 object lib
i have tried to compile on another machine using office 10 but cant find the
Office 10 Ole doc prop object library?
who hid it????
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Problems With Using Office Object Library
I have written an Program witch generates an Excel File. I'm using the Microsft 9.0 Objekt Library to use the original VBA commands. The Problem is that with one Windows User it works without having Excel started, and under another user Excel must be started. What must I do that it works with all users without starting Excel.
How To Install/reference Office 10.0 Object Library
I am trying to make my program compatible with Office XP (10.0) as well as Office 2000 (9.0). I have Office XP Standard and Visual Basic 6.0 Professional installed on Windows XP Professional. I have references in my VB project to the PowerPoint 10.0 Object library (msppt.olb) and the Office 9.0 Object libary (mso9.dll).
I read somewhere that I need to reference Office 9.0 and 10.0 object libraries as well as PowerPoint 9.0 and 10.0 object libraries. I don't have the Office 10.0 and PowerPoint 9.0 object libraries in my reference list and cannot locate the appropraite files.
Where do I find these object libraries to reference them? Do they exist?
Microsoft Office Object Library Excel 2003 And Excel 2000
I have developed an application with excel 2003 and, of course, it takes as reference the library of excel 2003, but most of the users have excel 2000 and the application goes in error when this reference is called. The library is Microsoft Outlook that in excel 2003 is 11.0 version while in excel 2000 is 9.0.
How can I fix the problem?
Edited by - kaiala on 7/2/2007 3:21:56 AM
Office AddIn Office Object Model
I am developping addin for office Application to integerate the system we are using in company. I use IDTExtensibility2
model for addin in order to enable this add-in for all application comes with office.
when I try to open in word doc from addin going like this,
Dim wordDoc as new word.application
it creates another word instance and open it there whether or not I have document open in the current word. same thing with excel and powerpoint.
for going like this
Dim excelWksht as excel.application
will open a workbook in a different excel instance.
how to use this office application model in order for opening
a document in the current application.
Thanks in Avanced
Library Combatibility In Office For VB6
In my office, each user has a different version of MS Office. We need an excel workbook which can be used by several different individuals (with different versions of MS Office). I am automating the spreadsheet in VB6.
I'm trying to create an excel workbook that will create and compose a word document from some of the contents of the workbook. In the code, I reference the Word library so that I can create the document from code within excel. (Choose Tools->References and select MS Word Library) The code works flawlessly on my computer but when I try to use another computer (with a different version of MS Office), the library comes up missing because VB is looking for the other version.
Can someone please tell me how I can access the Word classes and functions regardless of which version of excel and word the user has?
Microsoft Office Document Image Library
I'm writing an app that strips .tif images from a file that contains a concatination of tifs, and then displays them, but I'm running into some problems regarding access errors. Here's the code that strips the .tif and displays it:
Dim arImage() As Byte
Dim ff As Integer
ff = FreeFile
Open fimFile For Binary As #ff
Get #ff, imgPoint, arImage
ff = FreeFile
Open "tmp.tif" For Binary As #ff
Put #ff, , arImage
tifIDX.FileName = "tmp.tif"
imgPoint - long, pointer in fimFile of start of .tif
imgSize - long, size in bytes of .tif
tifIDX - MiDocView (Microsoft Office Document Viewer)
The first time I call the routine, it displays the stripped .tif in my MiDocView (tifIDX). But any subsequent call after that gives me a file/path access error at "put #ff, , arImage". I don't get it because I've closed the files each time through, and I've checked the MiDocView.Filename at the start of the routine, and it is always = "" to start, so I don't think the MiDocView is still holding the file.
This code will only work once, and then I actually have to close the project to run it again.
How Can I Create Run-time Object References For Objects Of Office Object Model?
My problem is, that I don't know, how to create a reference at run-time to a word application object.
Dim myWordApp As Object
Set myWordApp = CreateObject("Word.Application")
Than I have a reference to a word application.
But, how can I check the value of myWordApp.Activedocument.Paragraphs(1).Alignment dynamically, if at compile-time I don't know yet, whose value I want to check, because it is generated from a string?
Moving Back From Office 11 To 9, Missing Library Reference Errors Keep Appearing
I have a spreadsheet that I was developing for work and took home to do some work on. Now I have Office 11 at home but we have office 9 I think it is at work. When I was developing the spreadsheet I had to change some library references to Outlook 11 at home, but removed them when I got back into work.
For a while everything ran fine, but suddenly the spreadsheet stoppped working. After investigation it looks like the spreadsheet is looking for the Office 11 library again but obviously can't find it, causing the error. The reference to the Office 9 library also seems to be being removed. None of the other office library reference seem to be being changed however.
Any ideas on what might be causing this, or how to prevent it????
*RESOLVED* Identify Object Library To Which Object Belongs
I have inherited a VB6 application which was written by someone who is no longer with the company.
I need to distribute his application but I have noticed that he used some objects from the Forms2 object library.
As you are not allowed to distribute applications that use this library, I have to work through his application and replace forms2 objects with others.
I have replaced the obvious ones (spin button) but when I try to remove the Forms2 component from the project, it tells me that some controls are still in use.
How can I tell which objects belong to the Forms2 library?
As always, any help greatly appreciated.
I want to have office in my APP but know i want to insert the object.
When i inserted the object (using insertable object) in the form i can call the Object(Excel, Word,etc) by dblclick on the objetc. The problem is that i cannot print using this way. Is there anyway to print or other way to do it
I need to create an object from FileSearch class of Office . While next block works fine
Private oWord as Word.Application
set oWord = new Word.Application
set oWord =CreateObject("Word.Application")
Private oFileSearch as FileSearch
Private oFileSearch as Office.FileSearch
set oFileSearch = New FileSearch 'or New Office.FileSearch or
CreateObject("FileSearch") or CreateObject("Office.FileSearch")
It even doesn't give Office or FileSearch in intelisence. What's the difference in beahaviour between Word object library an Office object library? After I added references to both libraries, and both are displayed in Object Browser the same way, but behave differently. I used to work with Word, Access and WinFax object libraries so far , but never worked with Office.
Any help greatly appreciated
IE Object Library Using VB
I just need to open a URL using VB.
Basically I'm manipulating the IE object library in VB. And using this reference I restricted(invisible) all the menus, url address bar and toolbar.
But my problem is when the user press "F11" key... it is visible.
My question is How do I desable the "F11" key
thanx in advance
I am using vb6 to do my project, all working fine till today.
I went to open vb6 up and I getting error "object library not registered"
if I press continue it asks to load project with errors and then wont allow me to see forms
any ideas what happened and mor importantly how to fix problem
thnx in advance
Object Library .olb
I want to quickly switch between excel8.olb and excel9.olb (one of my components uses excel objects). How can I manually register these files so that in effect I can swicth from on to the other (we have code basically supprting clients on different versions of office) ?
How I set reference to Word Object Library?
Dim objWord As word.application
Set objWord = New word.application
.Visible = False
Hello.. I have a conflict when I try to add a control to my projekt... The conflict is that the name allready exists in the object library... So I checked it out and sure it was there... But the control wasn't ... hmmm.. So my question is.. Can you delete different object from the library from some other place then from the components dialog??
Object Library Help
I have some code that uses an object library that doesn't show up in my installation of MSDN. For example, there's stuff like this:
Dim dynLog As Object
Set dynLog = Oradatabase.dbcreatedynaset(strSql, 0&)
MSDN will not tell me what the methods are for the Oradatabase class or how to use them. Where do I get that level of information?
Object Library Help
So, I'm curious. Is there documentation out there explaining what each of the Object Libraries in VB does? I guess I could hunt down each one individually, but I'm curious as to whether or not there is a comprehensive website or document listing and describing what each one does and what its extensions are/do.
Object Ref From Office 97 To 2000
I am unable to reference Outlook and excell and Word in my vb projects since upgrading to Office 97 Pro to Office Pro 2000. Error ( Can't find Project or library etc!).
Is there somthing that is different in referencing these objects?
I am using MS Office and Outlook 9.0 object dll.
Can you assist?
Creating An Office OLE/COM Object?
I am looking for information on how to create a COM object for Office. I have found some information in MSDN regarding this subject but only enough to create a DLL that adds itself to the toolbar of an Office program. I need some deeper code.
Open the Insert menu and you will see a menu called Object.... Clicking this menu causes a window to appear showing a lot of installed COM objects. If you for example choose MSPaint you will see a MSPaint window appearing in the document allowing you to draw a picture straight into your it. Later you can even doubleclick on the picture to reopen it in MSPaint and alter your image again. How can I do this in VB? I want to create a COM object that will be exposed to any program available of interacting with COM/OLE (like Office) and that has the same functionality. When you insert a new MYOBJECT my program will start allowing me to do whatever the program does and then when i click Exit the object will appear in my word document. And then when i doubleclick the object again my program will start and automatically open the doubleclicked object.
Hope you understand what I mean...
Thx in advance.
Word 8.0 Object Library
how can i get the Word 8.0 object library without installing Word?
i have a spellchecker written in VB that requires this library.
Using MS Word 9.0 Object Library
I`m designing an application in order to fill MS word docs. I have found the "MS Word 9.0 Object Library" but I don`t know how to begin to use it. Do you know some tutorials or the basic functions? Thanks in advance
Word Object Library
I just made a small application that writes text and variables into a small word document.
I created this application using MS Word 10 object library, and everything works fine here at home. I am using Office XP.
Now I have compiled the application and brought to work where they have Office 97. When the events starts to transfer the text to the word doc, I get an error and my application quits.
But the word doc opens fine, and text is all there, the problem lies that the save as function did not work. the document should have opened and saved under another name.
Long story, but does anyone know if this is caused by the object library!
I am fairly new at this stuff so any help is appreciated.
Object Library Not Registered
I have in my computer at home in Microsoft Excel registered some DLL-files in the Registry Editor. Files I use at work also. It all works fine except for one thing.
When I am in the Visual Basic Editor and clicks "Tools" and then "References" it won't open the References - VBAProject Box. It is here you choose the references you need.
I get the message: "Object Library not registered. The Visual Basic for Application OBJECT LIBRARY is no longer a standalone file; it is integrated into the DYNAMIC-LINK LIBRARY (DLL)."
Who would be helpful and tell me, what file has been removed when I registered the DLL's from work. I really need to know.
Many thanks in advance, if anyone can help me.
Update To Object Library
I have a program that was using Access 97, we have finaly made it to this century and are updating everyone to XP. So my problem is I know I have the old Object library for 97 installed on everyones machine, and they need to update to the 10.0 one. What is the best way to do this? I do not want to re-install the program on everyone's machine, I am sure there is an easy way to update, I am just at a loss.
Excel Object Library
does someone knows where can I download the excel object library for excel 2000?
I Get An Object Library Not Registered
I am having problems with my excel. For some reason, I cannot see my references in the tool menu in Excel (it is greyed out). However, I can see my references in the tool menu everywhere else (Access, Word, Powerpoint, and others).
I have tried registering msstdfmt.dll but hasn't worked so far. (I get sucessfully registered, but doesn't do it).
Any help will be greatly appreciated.
Excel Object Library
I am using VB6 and make a reference to the excel object library 8.0 in my program. If someone uses the program with Excel X, will the program still work?
Is there a way to reference all the excel librarys(sp?), Excel Object Library 8.0, 9.0 and 10.0?
Thanks for the help.
Object Library Not Registered
ok - once again ive broke my computer doing the stupidist of things - i ran the vb update package for vb6 when i have vb 5 - somehow i imagined that the files id install would be the updated ocx and dll files that i need - i was wrong .
basically the problem i have is that when i run my project and error is displayed 'Object library not registered' whe i check the log that it creates it says:
Line 196: Class ComctlLib.StatusBar of control StatusBar1 was not a loaded control class.
Line 203: The property name _ExtentX in StatusBar1 is invalid.
Line 204: The property name _ExtentY in StatusBar1 is invalid.
Line 205: The property name SimpleText in StatusBar1 is invalid.
Line 206: The property name _Version in StatusBar1 is invalid.
Line 251: The property name Panels in StatusBar1 is invalid.
Line 196: Property MouseIcon in StatusBar1 could not be set.
which obviously refers to a statusbar that i have i my project.
what i was woundering was - what would be the best method of undoing my stupidity?
ive tried reinstalling vb5 ontop of itself and removing it and reinstalling it and neither has corrected the error - i presume this is cause it find newer versions of the files and wont overrite them.
the only way i could think of definatly fiuxing it would be to buy VB6 - though im a bit skint at the minute so can any of u guys help?
thanks alot - sorry for being such an idiot
Excel Object Library
I'm developing an application which will run using Excel 97 but the PC I'm developing on has Excel 2000 installed. Will that give me trouble or how do I make sure that my app will be ok with 97?
Object Library Not Registered
I saved my project and whent to bed last night, then this morning tried to load it again to work on it. But after many errors, all saying how VB produced an error while loading the forms, VB crashed. I tried this many times, then looked at the logs it produced. Every error was on every ocurance of a status bar, progress bar, and tool bar in the entire project. So I made a new project and tried to add "Microsoft Windows Common Controls" To the project. The fallowing error ocured "Object Library not registered". What is this? This error renders my project useless and is nothing but abrupt. Thanks
Object Library Reference
I am developing an application that uses the Excel Object Library...My system has Office XP installed, under my references I see the Excel 10.0 object library reference, but my client (who is going to be using the app) has Office 2000, which uses the EXCEL9.OLB, Excel 9.0 object library. I do not have a reference to the 9.0 object library in my VB IDE...So I was wondering, if I go ahead and reference the 10.0 object library will this create a problem once the app is installed on the clients machine? since the object libraries will be different?
Excel Object Library, Plz Help!!!
Hello, I want to calculate a math expression using the ms excel object library.
First, I add a reference (Project -> Add Reference->COM) to the Microsoft Excel 10.0 Object Library, then I write following code:
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim EXL As New Excel.Application()
' I want to evaluate 5*3+1
And the following message appears when I run the program:
An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in WindowsApplication3.exe
Additional information: Old format or invalid type library.
Could you please help me?? Do I make sth wrong?How could I fix it??
Thank you in advance?
HELP! Object Library Not Registered
Hi, ive been making some vb applications for some time, but now suddenly everything is going wrong. Half of my applications i cant load propery and I get a message saying "Object Library not registered". Others I can run but when i double click on a form to start working on it vb just crashes and I recieve the infamous, "Visual Basic has encoutered a problem and needs to close". This all happened suddenly. Everything worked fine but now i cant do anything. All of my programs have errors of some sort or another. I have reinstalled vb countless times, unistalled the whole thing and reinstalled again but still no effect. I can start new programs alright but I cannot use any of previous programs. When I try and run them I get 'could not load' errors and the like.
Any help would be GREATLY appreciated as I am stuck without this
Thanks in advance, Tim
Data Object Library???
hi folks! i'm still foolling around with my install on a win nt 2000 from a compiled exe on a win 98. i've read the previous post here and someone was talking about data object library... is there a way to check the versions on a win 98 and on a win nt 2000?
any suggestions would be appreciated, i'm getting desperate here......
Access 9.0 Object Library
What is wrong with this code? I receive the error below when trying to open a table.
'Reference set to Microsoft Access 9.0 Object Library
Private Sub Command1_Click()
Dim objAccess As Access.Application
Dim sMDB As String
Dim sTBL As String
sMDB = "C:Program FilesMicrosoft Visual StudioVB98"
sTBL = "Categories"""
Set objAccess = New Access.Application
.Visible = True
.OpenCurrentDatabase sMDB, False
.DoCmd.OpenTable sTBL, acViewNormal
Get Form Object From DLL Library ?
i have problem about geting form object from library and than load to mdi child ?
and has created the library, but my form on the library can not loaded on the MDIForm.
can anybody have the sample for this problem ?
Cannot Find Object Or Library
I have developed a VB6 project in my PC.When I tried to copy it and continue the development to an other PC,upon clicking on Run,the following message appears:
Cannot find object or library
And the cursor highlights:
Public nodr As Node
Object Library Not Registered?
when i opened my program in another pc,
the vb application asked for the .ocx components -
mscomctl.ocx and mscomct2.ocx....
i registered those ocx components at start>>run>>
using this statement ----- regsvr32 <path of the ocx>
then, i tried adding the ocx in the components of the
vb application ... but an error occurs... it's
"object library not registered"
i don't understand why it still has this error
where in fact i've already registered the ocx components asked
by the application...
can anybody tell me what needs to be done?
i really need it badly... help will be greatly appreciated....
MS-WORD Object Library
i have worked on a database project and i found that
generating reports in ms-word is much easier and useful
what i am doubtful is that 'should the user have the
ms word installed on his computer to be able to
generate and view the reports? '
(user means - the person using my application that
i distribute as a setup file)
or is it sufficient if i can bundle the ms word object
library with the application?
please answer my query..
Install ADO 2.5 Object Library
have msado21.tlb and msjro.dll need them installed on a machine for my program to work?? however just copying the files across doesnt work, need them installed where can i find an installable to to this??
please help, program works, just cant install the exe on another machine till this has been sorted, cheers
Cant Find Object Library
I am trying to open a project on another operating system and it comes up with a error "cant find object library" Pointing to all lines where i have used 'Date' or concatenation functions like Trim & Ucase.
Help On Can't Find Object Or Library
I am trying to initalize filesystem object in general code of vb
as Dim FSO as filesystemobject it is working fine thru exe on an
XP Machine but when i am running thru Source code it flashes me
error Message -----> can't find object or library
i have selected microsoft scripting library in Refrences of the project does it means that version conflict of (XP/98) or some problem with coding as XP and 98 has different verion of Scripting dll
XP- Scrrun.dll 5.6
98- Scrrun.dll 5.1
can some body help me on this
BVA - Object Library Handling
I have a small VBA app which resides on a server.
the app declares a word.application in order auto complete a word template and present it to the user.
The trouble is that the users of the app have different versions of the MS object libaries on their PC's, namely some with Microsoft Word 8.0 and others 9.0.. this causes object library referencing problems and the app fails wanting its object references to be resolved.
any ideas on how to make an app compatible with both scenarios?
MS Forms 2.0 Object Library
I have been trying for some time now to design a combobox with autocomplete. I managed to get a few lines of code to do this.
Then I read somewhere about MS Forms 2.0 Object Library. It has a lot (so it seems to me) of duplicated controls (eg. textboxes, comboboxes,etc). I could use from there a combobox that has built-in autocomplete functionality (no need for code!).
Does anyone have more info on this object library?
Is it wise/safe to use it?
Excel Object Library
i am using vb 6.. installed excel 2000 in my machine.. but in references there is nothing named microsoft excel object library.. what is the problem.. does it requires re-installation of vb or excel or copying some files alone may help.. if so what files..