Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
Michel  
#1 Posted : Sunday, April 24, 2005 6:49:00 PM(UTC)
Michel

Rank: Member

Groups: Member
Joined: 4/24/2005(UTC)
Posts: 15

Hello,

I am using WebMatrix in localhost to run my program and it displays an error message :

"L'espace de noms ou le type 'GraphicsMill' pour les Imports 'Aurigma.GraphicsMill' est introuvable."

in french, which means that the import "Aurigma.GraphicsMill" is not found.

I was wondering if the problem was not the WebMatrix software.

Thank you,

Michel

Fedor  
#2 Posted : Sunday, April 24, 2005 8:32:00 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,660

Thanks: 5 times
Was thanked: 76 time(s) in 74 post(s)
Hello Michel,

In order to use Graphics Mill for .NET in WebMatrix you need to put Aurigma.GraphicsMill.dll and Aurigma.GraphicsMill.WebControls.dll assemblies to the GAC (Global Assembly Cache). For it just drag this files from

C:\Program Files\Aurigma\Graphics Mill 3.0 for .NET\Binaries

to

c:\Windows\assembly

UserPostedImage

Then you need to remove Aurigma Graphics Mill Web Controls from WebMatrix toolbox and add them again:

UserPostedImage

As you see, now Aurigma web controls are displayed in initial list of controls. Then just drag BitmapViewer control on page:

UserPostedImage

And resize it to appropriate size:

UserPostedImage

Edited by user Monday, December 21, 2009 2:58:50 AM(UTC)  | Reason: Not specified

Fedor attached the following image(s):
GraphicsMilldotNET_GAC.png
GraphicsMilldotNET_WebMatrix1.png
GraphicsMilldotNET_WebMatrix2.png
GraphicsMilldotNET_WebMatrix3.png
Best regards,

Fedor Skvortsov

Michel  
#3 Posted : Sunday, April 24, 2005 10:17:00 PM(UTC)
Michel

Rank: Member

Groups: Member
Joined: 4/24/2005(UTC)
Posts: 15

It doesn't woooork T_T. Well, it's not that it doesn't work but I have bugs I didn't have before :

Code:
Dim bitmap As New Aurigma.GraphicsMill.Bitmap("...")

It displays an error on the Aurigma.GraphicsMill.Bitmap object. And if I put "Bitmap" only, there are conflicts with the System.Drawing library.

But if I create a "bin" folder with the .dll files, and add "<%@ assembly Name="Aurigma.GraphicsMill" %>" into the code, it works.

Is it a different way to solve this problem or am I lucky?

Edited by user Monday, December 24, 2007 3:39:01 PM(UTC)  | Reason: Not specified

Fedor  
#4 Posted : Sunday, April 24, 2005 11:03:00 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,660

Thanks: 5 times
Was thanked: 76 time(s) in 74 post(s)
It displays an error on the Aurigma.GraphicsMill.Bitmap object. And if I put "Bitmap" only, there are conflicts with the System.Drawing library.

What error do you receive?

If you have Aurigma.GraphicsMill.dll in your /bin folder, then there is no need to in @assembly directive. You should just use @import directive for resolving naming conflict:

Code:
<%@ Page language="VB" %>
<%@ Import Namespace="Aurigma.GraphicsMill" %>
<script runat="server">
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
	Dim b As New Bitmap()
	b.Load("c:\mountain.jpg")
End Sub
</script>
<html>
    <head>
    </head>
    <body>
        <form runat="server">
            <!-- Insert content here -->
        </form>
    </body>
</html>

Edited by user Monday, December 24, 2007 3:39:18 PM(UTC)  | Reason: Not specified

Best regards,

Fedor Skvortsov

Michel  
#5 Posted : Monday, April 25, 2005 12:29:00 AM(UTC)
Michel

Rank: Member

Groups: Member
Joined: 4/24/2005(UTC)
Posts: 15

For this line,

Dim bitmap As New Aurigma.GraphicsMill.Bitmap("c:\InetPub\wwwroot\Graphics\WebMatrix\data\avatar.jpg")

The error I have is "BC30002: Type 'Aurigma.GraphicsMill.Bitmap' non défini." ('Aurigma.GraphicsMill.Bitmap' not defined).

Thank you for the "assembly" ^_^!

Fedor  
#6 Posted : Monday, April 25, 2005 12:44:00 AM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,660

Thanks: 5 times
Was thanked: 76 time(s) in 74 post(s)
Sorry, does it work now?

The problem can be only in Aurigma.GraphicsMill.dll load failing, so please check whether it is in /bin folder.

Best regards,

Fedor Skvortsov

Michel  
#7 Posted : Monday, April 25, 2005 4:46:00 PM(UTC)
Michel

Rank: Member

Groups: Member
Joined: 4/24/2005(UTC)
Posts: 15

If I put the files in the 'bin' directory, it works but I don't find the icon in the tool box of WebMatrix. I don't use it so it's not very important.

Thank you for answering me quickly,

Michel

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.