|
Hi friends,
I went through google and MSDN in search for code samples that can be used to change the icon of an .exe file. But, I found softwares rather codes that claim to change the icon of .exe files! However, they are sharewares and can only display the desired icon on machine's where the software in particular is installed!
I went through the properties and all the tutorials on C# but did not find the a way to change the icon of an .exe programatically! Please help me out.
Hope to hear from you guys soon,
Rajdeep.NET
|
|
|
|
|
Is this your exe or someone elses exe?
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
|
Ok so have you set the icon in the projects Properties > Application > Default Icon
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
how can i change icon of .exe file ?
.exe file isnt my project.
can i swap icon of an .exe file with another .exe ??
thanks
|
|
|
|
|
BILLY_Mgs wrote: .exe file isnt my project.
What gives you the right to change someone elses application. I write software, I help people learn to develop applications, I do not help people bugger up someone elses application.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Mycroft Holmes I know you cant do this , plz do not spam ok ?
Guys there isnt any helpful code to extract icon from .exe file and change icon of .exe file with this icon?
Thanks
|
|
|
|
|
Hi,
I am using a Syncfusion virtual grid in my project
this grid has 3 columns.. I wanted to increase there size by dragging it's corner through mouse pointer .. How can i do that .. since i have seen this can be done only on those grids on which moving the mouse it will display that resize pointer
|
|
|
|
|
It will be better to try the support/forum of Syncfusion virtual grid.
जय हिंद
|
|
|
|
|
I already did.. but did any body know that how can i do this .. even on general grid what is the property to enable this?
|
|
|
|
|
Hello All,
Will you please tell me how can i import Excal file into Mysql usnig .NET2005. i dont know about it. so if you have any example of it then please tell me its urgent.
thanks in advance
Naim Khan
|
|
|
|
|
You should open and read Excel File then Insert it's value in Mysql database.
Add refrences Microsoft.office.Introp.excel to read excel file.and Use SQL Connection and Query to save it on Mysql.
If you can think then I Can.
|
|
|
|
|
ok sir . i think that would be good option please do this. and how me demo how can i implemet in my project.
thanks in advance
naim khan
|
|
|
|
|
Read the excel, connect to MySQL and do insert.
जय हिंद
|
|
|
|
|
try this[^]
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
I want to write a program that use global WH_CALLWNDPROC hook.
First,i write a SystemHook.dll in vc++.Then,write a program using SystemHook.dll in C#.If the hook type is WH_MOUSE_LL,the program is ok.
If the hook type is WH_CALLWNDPROC,the system and the program will be broken.
please tell me why,and how can i do,thanks a lot!
|
|
|
|
|
If you just want to get WndProc, use :
Override in form class :
protected override void WndProc(ref Message m)<br />
{<br />
base.WndProc(ref m);<br />
}<br />
|
|
|
|
|
protected override void WndProc(ref Message m)
{
base.WndProc(ref m);
}
The Method that you give me can only process the current program,can not process windows xp system WndProc.I want to get global system WndProc.
Thank you,stancrm!
|
|
|
|
|
It's probably because mouse and keyboard hook callbacks occur in the context of the application that set the hook, whereas WndProc hooks occur in the context of the application executing WndProc. Was your hook setting application managed when you tried mouse hooking in C#?
|
|
|
|
|
On his blog, Roger Alsing describes a very interesting program. I wonder if it can be improved....?
Here you can find a file with Dan Bystrom’s improvements [to the EvoLisa program], plus an additional improvement (using uints instead of doubles when the fitness drops below 3/4 of uint.MaxValue). I added an additional feature which could be implemented. It allows an interlaced subset of the pixels to be tested for fitness. I also included an open-source C program I found on the Internet that generates fast random numbers, but that would not help improve the program much speed-wise due to other bottlenecks in the system, so I did not implement it. Right now the renderer seems to be the major bottleneck in the code. You may want to try using System.Windows.Shapes.Polygon instead of System.Graphics for the polygons, since then each polygon could be rerendered at will individually. Right now, rendering is the major bottleneck in the code after the updates are applied (Around 350 renders occur per second on my computer, whereas 3,500 mutates or 1,750 fitness evaluations can occur in the same time period [I tested that by commenting out code temporarily and counting to ten while the algorithm was running. The margin of error was around 10%, which is negligible in this case]). By the way, I think that using uints instead of doubles was the 60% improvement that Dan was talking about, although the improvement would be more along the lines of 3X if the Renderer was faster.
The question is, how can I implement this? (I am a high-school student who has recently begun programming, and I consider myself to be a novice-intermediate programmer). Could anyone optimize that code with all of this in mind? The key is to use System.Windows.Shapes.Polygon so only one polygon would usually need to be rendered per generation (maybe two or three, but certainly not all of them as is required now). Before you ask, NO, THIS IS NOT A HOMEWORK ASSIGNMENT!!!
modified on Wednesday, May 6, 2009 4:45 PM
|
|
|
|
|
I want to know, can c# interface interact with external tool like HTK windos binary
if or if no tell me how can i use HTK tool kit with c# program
give me any simple example
please...
thank you
|
|
|
|
|
C# can use p/invoke to call any dll.
I want to know, do you really think that's a helpful choice for a subject header ?
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
I am doing project to convert human voice into text ,i have to use HTK tool kit because in my SRS I have mentioned
HTK tool and C# interface for user interface, now I can not change technology. I wont to know how to use external tool with C# GUI
|
|
|
|
|
I wish to have a checkbox to select whether to use a && or || within a algorythm, does anyone know how I might do this, for example:
bAndOr == true then use
a = b && c
else
a = b || c
because I will be using multiple AndOrs I need to be able to select as needed.
I appreciate any help
If you have a better way of handling this please let me know.
Thanks in advance,
Michael
|
|
|
|
|
hi, i have a software which has a firebird datasource. I am developing a C# application which reads data from this database. I searched on how to make an odbc connection with this database and now i have 3 questions
1. do i really need some firebird odbc driver application to make a connection, how do i know if one(firebird odbc driver) is installed on my computer
2. how would i connect to this database.
3. how do u specify the database if its on remote computer.
I m not that much familiar with odbc. I have worked with system.data.sqlclient and am quite new to odbc connections.
Sorry,if i am asking this question in a wrong place. I don't think it was a database general question. Please provide help on how do make a connection to firebird database.
Thanx
|
|
|
|