|
-
Aug 11th, 2003, 10:16 AM
#1
Thread Starter
Hyperactive Member
Icon Resource Error
I am working on a keygen (dont get the wrong idea, its for an encryption algorithm example from Microsoft, not a tool for illegally stealing software) and i am building it using the .NET Framework, and not VS.NET or any IDE. Below is the code to compile the application on the command line. When i compile, everything runs great. However when i run the exe i get an error(see below). If i got my code right, it should use the embeded resource App.ico as the icon for the form, or so i thought, but i get this error. Any help would be appreciated.
Code:
csc /t:winexe /out:Keygen.exe /res:App.ico /r:Crypto.dll /win32icon:App.ico Keygen.cs AssemblyInfo.cs
Code:
this.Icon = new Icon(GetType(),"App.ico");
..::[ kleptos]::..
- Database Administrator (MSSQL 2000)
- Application Developer (C#)
- Web Developer (ASP.NET)

Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|