Click here to Skip to main content
15,918,108 members
Home / Discussions / C#
   

C#

 
GeneralRe: TabControl Pin
Luis Alonso Ramos27-Jul-05 7:58
Luis Alonso Ramos27-Jul-05 7:58 
GeneralCustom cursor as resource Pin
Will L Pittenger26-Jul-05 6:26
Will L Pittenger26-Jul-05 6:26 
GeneralRe: Custom cursor as resource Pin
[Marc]26-Jul-05 8:37
[Marc]26-Jul-05 8:37 
GeneralRe: Custom cursor as resource Pin
Will L Pittenger26-Jul-05 13:18
Will L Pittenger26-Jul-05 13:18 
GeneralRe: Custom cursor as resource Pin
[Marc]26-Jul-05 14:11
[Marc]26-Jul-05 14:11 
GeneralRe: Custom cursor as resource Pin
Will L Pittenger27-Jul-05 7:18
Will L Pittenger27-Jul-05 7:18 
GeneralRe: Custom cursor as resource Pin
[Marc]27-Jul-05 8:21
[Marc]27-Jul-05 8:21 
GeneralRe: Custom cursor as resource Pin
Will L Pittenger27-Jul-05 10:02
Will L Pittenger27-Jul-05 10:02 
First, you appear to be mixing languages. I assume you meant to have me declare GetCursor as a function. You made it a property. You needed a () after the function name.

Second, it appears that GetExecutingAssembly is a function, not a class or namesspace. So again, I added a () after the function name.

Neverless, I still get an exception. Same as before.

Resultant Code (Same error):
private static System.Windows.Forms.Cursor GetCursor()<br />
{<br />
  System.IO.Stream stream = System.Reflection.Assembly.GetExecutingAssembly()<br />
    .GetManifestResourceStream("movingCol.cur");<br />
  System.Windows.Forms.Cursor cur = new System.Windows.Forms.Cursor(stream);<br />
  stream.Close();<br />
  return cur;<br />
}


--------------
Will Pittenger
GeneralRe: Custom cursor as resource Pin
[Marc]27-Jul-05 10:50
[Marc]27-Jul-05 10:50 
GeneralRe: Custom cursor as resource Pin
Will L Pittenger27-Jul-05 17:44
Will L Pittenger27-Jul-05 17:44 
GeneralRe: Custom cursor as resource Pin
[Marc]27-Jul-05 20:12
[Marc]27-Jul-05 20:12 
GeneralMemory Leak Pin
dbetting26-Jul-05 6:06
dbetting26-Jul-05 6:06 
GeneralRe: Memory Leak Pin
Steve Maier26-Jul-05 7:18
professionalSteve Maier26-Jul-05 7:18 
GeneralRe: Memory Leak Pin
S. Senthil Kumar26-Jul-05 7:43
S. Senthil Kumar26-Jul-05 7:43 
GeneralRe: Memory Leak [EDITED] Pin
Dave Kreskowiak26-Jul-05 10:14
mveDave Kreskowiak26-Jul-05 10:14 
GeneralRe: Memory Leak [EDITED] Pin
Dan Neely27-Jul-05 2:52
Dan Neely27-Jul-05 2:52 
GeneralRe: Memory Leak [EDITED] Pin
Dave Kreskowiak27-Jul-05 6:33
mveDave Kreskowiak27-Jul-05 6:33 
QuestionHow to Convert Microsoft Excel sheet data into XML data Pin
dsrao26-Jul-05 5:58
dsrao26-Jul-05 5:58 
AnswerRe: How to Convert Microsoft Excel sheet data into XML data Pin
Dan Neely26-Jul-05 6:51
Dan Neely26-Jul-05 6:51 
GeneralPasing messages in remoting Pin
machocr26-Jul-05 5:25
machocr26-Jul-05 5:25 
QuestionHow to serialize/deserialize tree-like object? Pin
soniko26-Jul-05 5:13
soniko26-Jul-05 5:13 
GeneralDataGrid easy question Pin
zaboboa26-Jul-05 4:40
zaboboa26-Jul-05 4:40 
GeneralNon-Standard port configuration for SmtpMail Pin
WetRivrRat26-Jul-05 4:35
WetRivrRat26-Jul-05 4:35 
GeneralRe: Non-Standard port configuration for SmtpMail Pin
S. Senthil Kumar26-Jul-05 5:13
S. Senthil Kumar26-Jul-05 5:13 
GeneralRe: Non-Standard port configuration for SmtpMail Pin
WetRivrRat26-Jul-05 5:48
WetRivrRat26-Jul-05 5:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.