Article View: borland.public.csharpbuilder.graphics
Article #4Exception Loading A Cursor
From: Mitch
Date: Thu, 21 Sep 2006 16:57
Date: Thu, 21 Sep 2006 16:57
16 lines
1389 bytes
1389 bytes
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") ;
The cursor has been added to the project and is valid. Any ideas?
Mitch Wolberg,
RockWare, Inc.
Technical Details
Message-ID:
<4512c472$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.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-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 13f327,8d9ad3a164e6e333,start X-Google-Attributes: gid13f327,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Thu, 21 Sep 2006 10:57:24 -0600 From: Mitch <mitch.ABB@rockware.com> User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.csharpbuilder.graphics Subject: Exception Loading A Cursor Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 72.16.142.180 Message-ID: <4512c472$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1158857842 72.16.142.180 (21 Sep 2006 09:57:22 -0700) Lines: 16 Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.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