Rank: Member
Groups: Guest
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
|
|
|
|
Rank: Advanced Member
Groups: Guest
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\Binariesto c:\Windows\assemblyThen you need to remove Aurigma Graphics Mill Web Controls from WebMatrix toolbox and add them again: As you see, now Aurigma web controls are displayed in initial list of controls. Then just drag BitmapViewer control on page: And resize it to appropriate size: Edited by user Monday, December 21, 2009 2:58:50 AM(UTC)
| Reason: Not specified Fedor attached the following image(s): |
Best regards, Fedor Skvortsov
|
|
|
|
Rank: Member
Groups: Guest
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
|
|
|
|
Rank: Advanced Member
Groups: Guest
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
|
|
|
|
Rank: Member
Groups: Guest
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" ^_^!
|
|
|
|
Rank: Advanced Member
Groups: Guest
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
|
|
|
|
Rank: Member
Groups: Guest
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
|
|
|
|
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.