Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

VB6 Problem Again!! Run Time Error and Automation Error

Status
Not open for further replies.

otakung

Junior Member level 3
Joined
Jan 14, 2003
Messages
31
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
278
VB6 Problem Again!!

I use WinXP & Office XP for run VB6 & add Microsoft Excel Object Library 10.0 to run this code. =>

Dim objExcel as Excel.Application
Set objExcel = New Excel.Application
objExcel.SheetsInNewWorkBook = 1
objExcel.WorkBooks.Add
objExcel.Visible = True
objExcel.Cells(1,1) = "Name"

It can run properly because I can see in Excel, but when I use this code with Win98 & Office 97. It says "Run Time Error" & "Automation Error".
How should I do for this case?
 

maziar

Full Member level 4
Joined
Jun 6, 2001
Messages
195
Helped
5
Reputation
10
Reaction score
1
Trophy points
1,298
Location
Islamic republic of Iran
Activity points
1,566
1. this site is not PC programming site and i think programming section is only for electronic

2. better way to resolve vb problem forget VB and move to DELPHI :wink:
 

otakung

Junior Member level 3
Joined
Jan 14, 2003
Messages
31
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
278
sorry for that!
I don't know this is not PC programming,
sorry.
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top