borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Justified paragraph)Next Topic (How can I print an active web page from VB form in which I used ActiveX Web Browser?) New Topic New Poll Post Reply
AndreaVB Forum : Printing : urgent!
Poster Message
stefano
Level: Guest


icon urgent!

Do anyone know why i'm getting the following error?

run time error: '-2147417848(80010108)'
automation error

thanks,

Stefano.

25-07-2003 at 02:41 PM
| Quote Reply
stefano
Level: Guest

icon run time error

if i send a print from list item with vb 6 i get the error

run time error'-21474174848 (80010108)'

automation error
is it due to a missing driver?

thanks
Stefano.

25-07-2003 at 03:28 PM
| Quote Reply
JLRodgers
Level: Moderator

Registered: 04-04-2002
Posts: 1617
icon Re: urgent!

When is the error?
What is the code run?
What controls are involved?


____________________________
Everywhere's Local (classifieds, job postings, & more for everycity in the world - user entered)

25-07-2003 at 04:19 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
vbgen
Level: Moderator

Registered: 10-10-2002
Posts: 876
icon Re: urgent!

stefano...

do provide the answers to JL's questions...

perhaps we can all find the answers from there..  

____________________________
Been busy trying to take a second degree <--it's not working out...

28-07-2003 at 04:43 PM
View Profile Send Email to User Show All Posts | Quote Reply
JLRodgers
Level: Moderator

Registered: 04-04-2002
Posts: 1617
icon Re: urgent!

(From stefano):

this from the exe:

runtime error &#8216;2147417848(80010108)&#8217;:
action method of  &#8220;crystalctrl&#8221; object, failed.



MousePointer = 11
MousePointer = 11
      Set rsCodici = db.OpenRecordset("codici", dbOpenTable)
      rsCodici.Edit
      rsCodici!datavalorizzazione = txtDaData.Text
      rsCodici!datastampa = txtAData.Text
      rsCodici.Update
      rsCodici.Close
      Report1.ReportFileName = App.Path  + "\report\schedmat.rpt"
      Debug.Print ReportFileName 'inserito
      Report1.WindowTitle = Me.Caption
      Report1.WindowTop = Me.Top / Screen.TwipsPerPixelY
      Report1.WindowLeft = 0
      Report1.WindowHeight = Me.Height / Screen.TwipsPerPixelY
      Report1.WindowWidth = Screen.Width / Screen.TwipsPerPixelX
      Report1.Action = 1
'*on the line above  running a debug the error comes as
'"report1.action=<property is write-only>"
      MousePointer = 0

....
-2147417848 (80010108)    L'oggetto richiesto si è disconnesso dai client.

"the requested object has disconnected from clients."

....Which are the clients?

the code only calls "report1.action=1 " to get the error!


____________________________
Everywhere's Local (classifieds, job postings, & more for everycity in the world - user entered)

28-07-2003 at 04:51 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
JLRodgers
Level: Moderator

Registered: 04-04-2002
Posts: 1617
icon Re: urgent!

Is it a crystal reports control? Are you sure it's installed on the client machine (if other reports show OK, then it is).

Never heard of a "write only" property...

____________________________
Everywhere's Local (classifieds, job postings, & more for everycity in the world - user entered)

28-07-2003 at 04:53 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
stefano
Level: Guest

icon Re: urgent!

HI,

THE STRANGE THING IS THE REPORTS COMING FROM
OTHER FORMS ARE PROPERLY EXECUTED!
ONLY FOUR OF THEM HAVE THIS PROBLEM:
IT SEEMS TO ME THAT ALL OF THIS FOUR ARE BEFORE
SHOWED ON ITEM LISTS (THE ONE I SENT YOU THE CODE
IS SHOWED ON ITEM LIST, THE SECOND I'M ALSO SURE).

I FOUND ON CRYSTAL DECISIONS SITE ONE SOLUTION
BUT IS NOT USEFUL TO SOLVE MY PROBLEM (ALSO IF THE
ERROR'S MESSAGE IS THE SAME) LINK:

[url=http://http://support.crystaldecisions.com/library/kbase.asp?q1=2147417848&freeText=0&q2=Crystal+Reports&so=Rank%5Bd%5D&q3=Development&summary=1&q4=Automation&MaxRec=10&c2=@META_KBASEPRODUCT&c3=@META_KBASECATEGORY&c4=@META_KBASESUBJECT&ct=livecommunity-kbase&language=EN&indexq2=3&indexq3=3&indexq4=2&button.x=12&button.y=14]http://support.crystaldecisions.com/library/kbase.asp?q1=2147417848&freeText=0&q2=Crystal+Reports&so=Rank%5Bd%5D&q3=Development&summary=1&q4=Automation&MaxRec=10&c2=@META_KBASEPRODUCT&c3=@META_KBASECATEGORY&c4=@META_KBASESUBJECT&ct=livecommunity-kbase&language=EN&indexq2=3&indexq3=3&indexq4=2&button.x=12&button.y=14

COULD BE A MATTER OF MISSING OR DAMAGED DRIVERS IN THE SYSTEM AND DRIVERS FOLDERS?
WHAT DO YOU KNOW ABOUT THE "DRIVERS.DDB2 FILE?

THANKS IN ADVANCE,

STEFANO.

29-07-2003 at 08:40 AM
| Quote Reply
AndreaVB Forum : Printing : urgent!
Previous Topic (Justified paragraph)Next Topic (How can I print an active web page from VB form in which I used ActiveX Web Browser?) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder