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

Problem using AFORMAUTLib in VB.NET on different computer

I writing VB.NET Code using Acrobat 6 API functions and my problem is
with the following code:
_formApp = New AFORMAUTLib.AFormAppClass
_acroForm = _formApp.Fields

The problem is that when I run it on my computer it runs fine. But when
I compile the code and run it on different computer the code fails.

I had similar problem when using Acrobat.CAcroAVDoc (DLL) which was
solved by creating the DLL using the DLL's GUID.
But here the AFORMAUTLib is an API and I am not sure if's it even have
an GUID
Please help I've been sitting on this one for two days now

Thanks,

Nov 16 '05 #1
2 3968
Hi,
From your code, the "AFORMAUTLib" should be the name of one type library
providing type information about COM.
Two possiblities result in your failure:
one is that you didn't register the COM;
another is that security configuration isn't correct when one application
runs on another computer.

Alan

"okaminer" <ok*******@yahoo.com>
??????:11**********************@c13g2000cwb.google groups.com...
I writing VB.NET Code using Acrobat 6 API functions and my problem is
with the following code:
_formApp = New AFORMAUTLib.AFormAppClass
_acroForm = _formApp.Fields

The problem is that when I run it on my computer it runs fine. But when
I compile the code and run it on different computer the code fails.

I had similar problem when using Acrobat.CAcroAVDoc (DLL) which was
solved by creating the DLL using the DLL's GUID.
But here the AFORMAUTLib is an API and I am not sure if's it even have
an GUID
Please help I've been sitting on this one for two days now

Thanks,

Nov 16 '05 #2
Hi alan Thanks for quick response
But,
1) The COM object is registered
2) I don't believe this is a security problem because
I tried to run the compiled code on different computer and it didn't
work then I compiled the code on that other computer and ran it again,
and it did work.
I believe this implements that the refernce is not set properly when
moving between computers
furthermore the security is set to ALL in the machine config

thanks,

Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

68
by: Marco Bubke | last post by:
Hi I have read some mail on the dev mailing list about PEP 318 and find the new Syntax really ugly. def foo(x, y): pass I call this foo(1, 2), this isn't really intuitive to me! Also I...
117
by: Peter Olcott | last post by:
www.halting-problem.com
0
by: AlessanBar | last post by:
Hello Friends !! I have a strange problem, and I need to know what would be the source of this. I have a laptop computer with the following configuration: Pentium III Brand : Toshiba Speed :...
11
by: sweety | last post by:
Hi, The charecter/symbol " ® " writen in a file able to get only in that system. When the file opened in other system, not able to see that charecter, insted its viewd as " ? ". So, the special...
5
by: snow | last post by:
Hi All, ToOADate can change a date value to a double value, but if I change the Regional and Lauguage setting in control panel, for example, change English(US) to English(Australia) , the same...
9
by: Ron | last post by:
New discovery. If I take a perfectly good database, and "compact/repair" on it with Access 2000 (seems to be at multiple sites--I've tried it with my system here, at another office on an...
0
by: george585 | last post by:
Hello! I am new to network programming, and understand just basics. Using some sample code, and having read documentation, I managed to create a simple app in C# and VB.NET. The application is...
1
by: Z E R O | last post by:
I'm in a really fast pace training program and we are covering a lot of material in a relatively short period of time. I've really not had much trouble up until this problem. I had to do one other...
11
by: Flexor | last post by:
I have a php script that runs from command line and makes an https request to paypal, using curl. It works fine if I run it from a web page. It fails if I run it from CLI. The error I get from...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
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...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.