|
-
Nov 10th, 2003, 01:54 AM
#1
Thread Starter
New Member
method '`' of object '`' failed
Hi,
I am facing a problem.
I have installed my database application on a client machine .
The application works fine for some time (1 to 2 weeks) after which it crashes down saying
method '`' of object '`' failed
I have resolved this issue by installing vb on clients machine but the same problem reoccured after successfully running for a week .
Can anyone help as to what might be the cause of such an error.
Thanks,
dr_panicker
-
Nov 13th, 2003, 05:14 AM
#2
Hyperactive Member
I'm not sure for your object, but I'd an experience about Excel Object. I think it's occured because version conflict or else.
Fortunately, I'd solved this problem by Lated-bind variable declaration.
old code
VB Code:
Dim oAppExcel AS Excel.Application
Dim oExcelSh AS Excel.WorkSheet
Dim oExcelWK AS Excel.WorkBook
to new code
VB Code:
Dim oAppExcel AS Object
Dim oExcelSh AS Object
Dim oExcelWK AS Object
and remove MS Excel Object type library from Reference
Don't leave it till tomorrow, Do It Now!
5361726176757468204368616E63686F747361746869656E

-
Nov 17th, 2003, 05:53 AM
#3
Banned
re install the vb on the clinet machine and then create the setup on that machine.
after loading the new set up then remove the visual basic.
it sove the problem
Biswajit das
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|