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

Runtime files of MS Excel

harshadd
176 100+
Hi guys,
Have developed a VB 6 project which gives a report in Ms Excel pivot table.
It works fine with all the systems having ms office (with excel off course) installed.
But with any system not having excel it searches for excel...
I wish there could be some thing like "run time excel".. is there anything like this?

rgds
HarshadD
Jul 8 '08 #1
12 15194
Stang02GT
1,208 Expert 1GB
If i am understanding this correctly your VB app isn't working when Excel isn't installed on the PC?


If thats the case it shouldn't work because if the app was written for Excel and Excel is not installed on the machine it would only make sense that it's not going to work.
Jul 8 '08 #2
harshadd
176 100+
so which files do i need to copy / registered with OS so that OS feels Excell is persent?
Jul 21 '08 #3
Stang02GT
1,208 Expert 1GB
You'll need to actually install Excel .
Jul 21 '08 #4
harshadd
176 100+
Except that?????????
Coz Its not my Home to install what ever I like, (My BOSS said)
there are Lincence Isuues connected to it. I want my application tobe used by many people in company, but all are not having MS office on there desktop.
Jul 22 '08 #5
Stang02GT
1,208 Expert 1GB
Hi guys,

It works fine with all the systems having ms office (with excel off course) installed.
But with any system not having excel it searches for excel...
HarshadD


Right there you are answering this question for your self. This is NOT going to work unless Excel is installed on the machine simple as that. If you cannot install it then your project will not work!

Have your boss fork out the money to buy licenses for Excel or develop something else that doesn't require Excel.
Jul 22 '08 #6
Nepomuk
3,112 Expert 2GB
You could of course try to make it work with a free alternative like OpenOffice. That can create MS Excel files too.

Greetings,
Nepomuk
Jul 22 '08 #7
harshadd
176 100+
I know OpenOffice, but unfortunately it do not create Pivot Tables as excel.
Jul 22 '08 #8
harshadd
176 100+
Hi
I want to use excel9.olb to create excel object without having excel 2003 installed
to use this file with com application , this file needs to convert into dll which can be done using tlbimp.exe (sdk 2.0)
But not able to use this excel.dll with VFP application as it is giving "Entry point not found" error.
can any 1 pls put some light on this?
c++ equivalent code and logic is Here
Sep 9 '08 #9
Stang02GT
1,208 Expert 1GB
Hi
I want to use excel9.olb to create excel object without having excel 2003 installed
to use this file with com application , this file needs to convert into dll which can be done using tlbimp.exe (sdk 2.0)
But not able to use this excel.dll with VFP application as it is giving "Entry point not found" error.
can any 1 pls put some light on this?

Yes STOP TRYING TO DO THINGS WITH EXCEL WHEN ITS NOT INSTALLED ON YOUR MACHINE.


You either need to install Excel or stop trying to do things with it when it's not installed
Sep 9 '08 #10
harshadd
176 100+
Stang02GT, pls be positive
This is a programtic need. there are so many other s/w in industries which creates excel files from their applications
similarly
I want to use excel9.olb to create excel object without having excel 2003 installed
to use this file with com application , this file needs to convert into dll which can be done using tlbimp.exe (sdk 2.0)
But not able to use this excel.dll with VFP application as it is giving "Entry point not found" error.
can any 1 pls put some light on this?
c++ equivalent code and logic is HERE
Sep 9 '08 #11
Stang02GT
1,208 Expert 1GB
Stang02GT, pls be positive
This is a programtic need. there are so many other s/w in industries which creates excel files from their applications
similarly
I want to use excel9.olb to create excel object without having excel 2003 installed
to use this file with com application , this file needs to convert into dll which can be done using tlbimp.exe (sdk 2.0)
But not able to use this excel.dll with VFP application as it is giving "Entry point not found" error.
can any 1 pls put some light on this?
c++ equivalent code and logic is HERE

I apologize for flying off the handle like that.

I looked through your example site and if you are trying to do the same thing they are, and are getting that error, it seems to me the reason for the error is because you don't have excel. If you are trying to do what the link is showing it is trying to create a spread sheet in excel or your trying to enter an array to a spread sheet.

So with out excel how is this going to work? Entry point not found tells me that the cell your app is looking to enter data in can not be found, probably because you don't have Excel. No excel no entry point for your code to insert anything. Hence the reason for your error.

I am just completely lost as to how you can write sometihng for Excel and not have it installed on your mahcine to see if it works.
Sep 9 '08 #12
harshadd
176 100+
No Stang02GT
I am trying this on workstation having EXCEL, because I wanted to see if it works atall.
As I goggled b4, I found (Came to know) that all the Objects and there properties are gathered into 1 file called excel9.olb, VFP/VB can not use OLB files directly, but SDK 2.0 provides an utility to convert this olb files in DLL
I converted and also d/loaded ready made excel.dll but none is getting registered using regsvr32.exe (Entry point not found error came here), even when i tried to use reference of this files into VB6 it did not allowed to use this.
Declare function of VFP also fails to use this DLL
After scouring the web for a simple Excel header file I came upon
some code at MS expressly for VFP that takes OLB (Office Library
Object files, "OLB"), extracts the constants and lets you save out
as a wholely horrific handy header file, to alliterate. OLBs are
used in the original "Mighty 7".
Microsoft Word 2000 MSWord9.olb
Microsoft Excel 2000 Excel9.olb
Microsoft Access 2000 MSAcc9.olb
Microsoft PowerPoint 2000 MSPPT9.olb
Microsoft Outlook 2000 MSOutl9.olb
Microsoft Graph 2000 Graph9.olb
Microsoft Binder 2000 MSBdr9.olb

Go to MS site to check this
Sep 10 '08 #13

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Venkatesh | last post by:
Hi Everybody, This is the first timw I am entering into this Group. I am developing a VB Project with an MDI form. I want to display IE Favorites into my application. For this I need to...
2
by: brazilnut | last post by:
Hi. Let me explain the setup. I am using Visual Studio .NET to develop a sort of add-in (COM class) for Excel called SQLAddin. It basically queries a SQL server and pulls in data. Now within my...
0
by: Oci-One Kanubi | last post by:
Everything works fine in Access, but when I double-click on the resultant Excel files the first one opens correctly, but subsequent ones, and any other Excel files I try to open, fail to display at...
0
by: Mark C | last post by:
All, I have used Excel automation many times in the past without error until now. My machine has both Access 97 and XP installed but this code is written in 97 and I am using Excel XP. The code...
0
by: zfraile | last post by:
I'm getting this error from the JIT compiler at runtime, but only on my boss' machine, not my development machine. I believe the error is generated from a call to an Excel object, but I can't tell...
18
by: gonzlobo | last post by:
No, I don't want to destroy them (funny how the word 'decimate' has changed definition over the years) :). We have a data acquisition program that saves its output to Excel's ..xls format....
10
by: =?Utf-8?B?R2Vvcmdl?= | last post by:
Hello everyone, I am wondering whether Microsoft Excel 2003 is a native application or dependent on any .Net Framework Runtime, like 1.1, 2.0 or 3.0? How about Microsoft Excel 2007? ...
6
by: SMcK | last post by:
I have a PDA-based (Syware Visual CE) database which I need to sync to an Access database. The Access database contains three tables: 1 is the data itself, 2 is a linked table that prefills...
15
towsie
by: towsie | last post by:
Hi, I am having a problem with code below, I am getting a runtime error 424: Object Required. The section of code in bold is where the error occurs. Any help would be greatly appreciated.
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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
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?

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.