Jump to content

AlanHong

Newbies
  • Posts

    5
  • Joined

  • Last visited

Everything posted by AlanHong

  1. Hi, I am trying to change the color image into either 8 bit grayscale or 1 bit black and white one and save toa new file. But seems the Paint.Net always keep 24 bit true color image. Can anyone help? Thanks, Alan
  2. I have figured out how to fix the problem. In the image's property, I need to change the "Build Action:" to "Embeded resource"
  3. Hi, I am creating a new icon (png format) by creating in src\Resources\Icons and adding it into Icons project. After re-compile, the code below does not load it successfully: if (stream == null) { string fullName = ourNamespace + "." + fileName; stream = ourAssembly.GetManifestResourceStream(fullName); } I don't know how to make the png be created in src\Resources\obj\Debug with name prefix of PaintDotNet.Icons. I just copied and renamed my png there. But still not working. Can any one tell me what I should do? Thanks, Alan
  4. Hi, I just downloaded 3.01 and tried to compile it with VSTS 2005. But got three errors below. Does anyone have any suggestions? Thanks, Alan Error 4 The command "@rem Embed manifest call "C:\Hongshi\VBNet\src\Manifests\embedManifest.bat" "C:\Hongshi\VBNet\src\SetupNgen\bin\Debug\SetupNgen.exe" "C:\Hongshi\VBNet\src\Manifests\requireAdministrator.xml" call "C:\Hongshi\VBNet\src\Manifests\embedManifest.bat" "C:\Hongshi\VBNet\src\SetupNgen\obj\Debug\SetupNgen.exe" "C:\Hongshi\VBNet\src\Manifests\requireAdministrator.xml" @rem Sign rem call "C:\Hongshi\VBNet\src\signfile.bat" "C:\Hongshi\VBNet\src\SetupNgen\obj\Debug\SetupNgen.exe" rem call "C:\Hongshi\VBNet\src\signfile.bat" "C:\Hongshi\VBNet\src\SetupNgen\bin\Debug\SetupNgen.exe" " exited with code 1. SetupNgen Error 5 The command "@rem Embed manifest call "C:\Hongshi\VBNet\src\Manifests\embedManifest.bat" "C:\Hongshi\VBNet\src\WiaProxy32\bin\Debug\WiaProxy32.exe" "C:\Hongshi\VBNet\src\Manifests\asInvoker.xml" call "C:\Hongshi\VBNet\src\Manifests\embedManifest.bat" "C:\Hongshi\VBNet\src\WiaProxy32\obj\x86\Debug\WiaProxy32.exe" "C:\Hongshi\VBNet\src\Manifests\asInvoker.xml" @rem Sign rem call "C:\Hongshi\VBNet\src\signfile.bat" "C:\Hongshi\VBNet\src\WiaProxy32\obj\x86\Debug\WiaProxy32.exe" rem call "C:\Hongshi\VBNet\src\signfile.bat" "C:\Hongshi\VBNet\src\WiaProxy32\bin\Debug\WiaProxy32.exe" " exited with code 1. WiaProxy32 Error 6 The command "@rem Embed manifest call "C:\Hongshi\VBNet\src\Manifests\embedManifest.bat" "C:\Hongshi\VBNet\src\UpdateMonitor\bin\Debug\UpdateMonitor.exe" "C:\Hongshi\VBNet\src\Manifests\asInvoker.xml" call "C:\Hongshi\VBNet\src\Manifests\embedManifest.bat" "C:\Hongshi\VBNet\src\UpdateMonitor\obj\Debug\UpdateMonitor.exe" "C:\Hongshi\VBNet\src\Manifests\asInvoker.xml" " exited with code 1. UpdateMonitor
  5. I just downloaded 3.01 (Feb 26, 2007) and tried to compile with VSTS 2005. But it generated 3 errors as below. Any one has any suggestions? Thanks, Alan -------------------------- Error 4 The command "@rem Embed manifest call "C:\0x5cHongshi\VBNet\src\Manifests\embedManifest.bat" "C:\Hongshi\VBNet\src\SetupNgen\bin\Debug\SetupNgen.exe" "C:\Hongshi\VBNet\src\Manifests\requireAdministrator.xml" call "C:\Hongshi\VBNet\src\Manifests\embedManifest.bat" "C:\Hongshi\VBNet\src\SetupNgen\obj\Debug\SetupNgen.exe" "C:\Hongshi\VBNet\src\Manifests\requireAdministrator.xml" @rem Sign rem call "C:\Hongshi\VBNet\src\signfile.bat" "C:\Hongshi\VBNet\src\SetupNgen\obj\Debug\SetupNgen.exe" rem call "C:\Hongshi\VBNet\src\signfile.bat" "C:\Hongshi\VBNet\src\SetupNgen\bin\Debug\SetupNgen.exe" " exited with code 1. SetupNgen Error 5 The command "@rem Embed manifest call "C:\Hongshi\VBNet\src\Manifests\embedManifest.bat" "C:\Hongshi\VBNet\src\WiaProxy32\bin\Debug\WiaProxy32.exe" "C:\Hongshi\VBNet\src\Manifests\asInvoker.xml" call "C:\Hongshi\VBNet\src\Manifests\embedManifest.bat" "C:\Hongshi\VBNet\src\WiaProxy32\obj\x86\Debug\WiaProxy32.exe" "C:\Hongshi\VBNet\src\Manifests\asInvoker.xml" @rem Sign rem call "C:\Hongshi\VBNet\src\signfile.bat" "C:\Hongshi\VBNet\src\WiaProxy32\obj\x86\Debug\WiaProxy32.exe" rem call "C:\Hongshi\VBNet\src\signfile.bat" "C:\Hongshi\VBNet\src\WiaProxy32\bin\Debug\WiaProxy32.exe" " exited with code 1. WiaProxy32 Error 6 The command "@rem Embed manifest call "C:\Hongshi\VBNet\src\Manifests\embedManifest.bat" "C:\Hongshi\VBNet\src\UpdateMonitor\bin\Debug\UpdateMonitor.exe" "C:\Hongshi\VBNet\src\Manifests\asInvoker.xml" call "C:\Hongshi\VBNet\src\Manifests\embedManifest.bat" "C:\Hongshi\VBNet\src\UpdateMonitor\obj\Debug\UpdateMonitor.exe" "C:\Hongshi\VBNet\src\Manifests\asInvoker.xml" " exited with code 1. UpdateMonitor
×
×
  • Create New...