解决方案 »

  1.   

    可能是我太落后了,我从不知道exe文件的图标还可以修改,只知道快捷方式的图标可以修改。
      

  2.   

    把exe反编译出来,然改就是了
      

  3.   

    额 或者。。用代码修改即将生成的exe 的ico
     private CompilerResults CompileCode(string SourceCode, string ExeuteFileName)
            {            CSharpCodeProvider provider = new CSharpCodeProvider();
                ICodeCompiler compiler = provider.CreateCompiler();
                CompilerParameters cp = new CompilerParameters(new string[] { "System.dll", "Read.DLL", "System.Windows.Forms.dll" }, ExeuteFileName, false);            //cp.TreatWarningsAsErrors = false;
                //cp.IncludeDebugInformation = false;            cp.CompilerOptions = "/target:winexe";            cp.GenerateExecutable = true;            //CompilerResults cr = compiler.CompileAssemblyFromFile(cp, SourceCode);
                CompilerResults cr = compiler.CompileAssemblyFromSource(cp, SourceCode);            return cr;
    }
    我这样可以生成一个exe,我想把这个即将生成的exe设置下他的ico求思路
      

  4.   

    可以写一个 ini 文件 就可以 改变 exe的 图像了
      

  5.   

    具体点呢。
    不是这个的,我这里找到了代码不过是vb的,你能帮我看看嘛
    http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=59973&lngWId=1
      

  6.   

    其实说白了就是个 c#图标修改器
    我这有vb代码实现的。。但是我转成c#总失败,有哪个大哥能帮忙转转上传么。。
    http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=59973&lngWId=1 
      

  7.   

    http://www.cnblogs.com/hoodlum1980/archive/2011/07/10/2102106.html