Welcome Guest Search | Active Topics | Members

Graphics Mill .Net 4.5 and Visual Basic 6.0 Options
Sanket
Posted: Wednesday, February 06, 2008 6:04:20 AM
Rank: Newbie
Groups: Member

Joined: 2/6/2008
Posts: 3
Points: 9
Hello,

I am evaluating Graphics Mill .Net 4.5 to process images in web application written in ASP.Net. I also have a back-office system writen in Visual Basic 6.0 which also does image processing currently using Adobe Photoshop CS2.

Can I use services provided by Graphics Mill .Net 4.5 from Visual Basic 6.0 code i.e. can I create Graphics Mill .Net 4.5 object in Visual Basic 6.0 and do image processing.

Help on this topic would be highly appreaciated.

Regards,
Sanket
Dmitry
Posted: Thursday, February 07, 2008 5:38:28 AM
Rank: Advanced Member
Groups: Administration , Member

Joined: 8/3/2003
Posts: 607
Points: 651
Hello,

Yes, you can use Graphics Mill for .NET in Visual Basic 6.0 via COM Interop.

Sincerely yours,
Dmitry Sevostyanov.
Sanket
Posted: Thursday, February 07, 2008 10:17:43 AM
Rank: Newbie
Groups: Member

Joined: 2/6/2008
Posts: 3
Points: 9
Hi,

Thanks for your reply.

Do you know the steps on how to do it. I tried registering Aurigma.GraphicsMill.dll using the RegAsm utility in .Net. The tool also returned success reply and I could see the type library being registered in the Windows Registry. But when I add a reference to the type library Visual Basic 6.0 does throws error saying the 'ActiveX can't create object'.

Help on this will be highly appreaciated.

Regards,
Sanket
Dmitry
Posted: Saturday, February 09, 2008 2:35:40 AM
Rank: Advanced Member
Groups: Administration , Member

Joined: 8/3/2003
Posts: 607
Points: 651
Hello,

Sorry, I was wrong. I examined this question more carefully and it seems that Graphics Mill for .NET has some problems with packaging for COM - it gives empty tlb. It seems that it cannot be exposed to COM and you cannot use it with VB6 Eh?

Sincerely yours,
Dmitry Sevostyanov.
Sanket
Posted: Wednesday, February 13, 2008 2:54:42 AM
Rank: Newbie
Groups: Member

Joined: 2/6/2008
Posts: 3
Points: 9
Hi,

Thanks for the information.

Will it help if I write a wrapper .Net dll around Graphics Mill and then expose the wrapper dll to COM for use in VB6.

Regards,
Sanket
Dmitry
Posted: Monday, February 18, 2008 11:41:12 PM
Rank: Advanced Member
Groups: Administration , Member

Joined: 8/3/2003
Posts: 607
Points: 651
Please, see the topic How to Write Com Wrapper for Graphics Mill.

Sincerely yours,
Dmitry Sevostyanov.
Praveen@citdigital.com
Posted: Thursday, June 05, 2008 11:36:08 AM
Rank: Newbie
Groups: Member

Joined: 2/7/2008
Posts: 4
Points: 12
Hi,

i wrote the com wrapper dll referring to Graphics mill 5.0 and built it on 32 bit PC with Run on Any CPU option.

Now when i try to deploy the application on a 64 bit PC having Graphics mill 5.0 (x64) , VB application is unable to create the object of the wrapper dll.

The wrapper dll is registered correctly but still com and .net assembly are not talking to each other on the 64 bit platfrom. There are no problems on the development pc

Could please you help me figure out where the problem is

Many thanks in advance

Praveen
Dmitry
Posted: Friday, June 20, 2008 5:10:24 AM
Rank: Advanced Member
Groups: Administration , Member

Joined: 8/3/2003
Posts: 607
Points: 651
Hello,

You have two options:

1. Install Microsoft Visual C++ 2005 SP1 Redistributable Package (x86) on your x64 target computer (you can read the detailed information how to do it in the INFO: Could not load file or assembly Aurigma.GraphicsMill problem).

2. The second option is to place Microsoft.VC80.CRT and Microsoft.VC80.OpenMP folders containing CRT dlls near the Aurigma.GraphicsMill.dll. This solution is alternative way to deploy libraries from Microsoft Visual C++ 2005 SP1 Redistributable Package.

I have attached sample project to this post.

File Attachment(s):
COMWrapperX64_Binaries.zip (2,309kb) downloaded 5 time(s).
COMWrapperX64_Projects.zip (1,644kb) downloaded 2 time(s).




Sincerely yours,
Dmitry Sevostyanov.
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Yet Another Forum.net version 1.9.1.6 running under Cuyahoga.
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.