🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.csharpbuilder.graphics
Article #5

Re: Exception Loading A Cursor

#5
From: Marc Rohloff TeamB
Date: Thu, 21 Sep 2006 23:22
22 lines
1935 bytes
On Thu, 21 Sep 2006 10:57:24 -0600, Mitch wrote:

> I'm creating a DLL Assembly for ArcGIS and I'm getting an exception 
> ("Value cannot be null." "Parameter name: dataStream") when creating the 
> cursor with the following line form an ArcGIS CSharp sample which has 
> the same problem.
> 
> m_cursor = new 
> Cursor(GetType().Assembly.GetManifestResourceStream("GIS_LINK.move.cur"));
> 
> I've also tried:
> 
> m_cursor = new Cursor(GetType(),"move.cur") ;

>GetType().Assembly.GetManifestResourceStream("GIS_LINK.move.cur")
Is obviously returning null. I suggest that you get a copy of Lutz
Roeder's reflector (it's free) and look at the assembly and see
exactly what has happened to your resources.

-- 
Marc Rohloff [TeamB]
marc rohloff -at- myrealbox -dot- com
Technical Details
Message-ID: <1nypwatci0ai5$.dlg@dlg.marcrohloff.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4512c472$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 13f327,8d9ad3a164e6e333
X-Google-Attributes: gid13f327,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Marc Rohloff [TeamB]" <"on request">
Subject: Re: Exception Loading A Cursor
Newsgroups: borland.public.csharpbuilder.graphics
User-Agent: 40tude_Dialog/2.0.15.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
References: <4512c472$1@newsgroups.borland.com>
Date: Thu, 21 Sep 2006 19:22:46 -0400
Message-ID: <1nypwatci0ai5$.dlg@dlg.marcrohloff.com>
X-Face: "huzh55Xi]!ZNni78>a*5+).`SK?<^q2MlHk-C]Z2M9T@\J5ZCB$95Ey+s"XQuhGFA[eutZ :0^AV!Q;t>gE`1-=8d;HZ6~*o1dH<X9\b$!|(}+I'!Xq)@3Op}%0ArW&nf'Qh*EwR
X-Antivirus: avast! (VPS 0638-0, 09/19/2006), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 65.31.1.121
X-Trace: newsgroups.borland.com 1158880956 65.31.1.121 (21 Sep 2006 16:22:36 -0700)
Lines: 22
X-Authenticated-User: mrohloff
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail