|
ILDASM is a disassembler that comes with the .NET SDK. It is located in the Bin directory of your SDK install. If you have your environment variables set up correctly you could simply launch it from a command prompt.
- Nick Parker My Blog | My Articles
|
|
|
|
|
|
Hi,
Are there any Ganttchart control for .net CF, either
free or commercial component ? Or any articles on how to program
one in C#. Net CF ?
Thanks
Patrick
|
|
|
|
|
hi,
i created one gant chart control using C#. If you want i can sell it for you. you can directly contact through my official id. sreejith@neosoft-tec.com.
See the power
**************************
S r e e j i t h N a i r
**************************
|
|
|
|
|
Hi,
Are there any multi-column tree control for .net CF, either
free or commercial component ? Or any articles on how to program
one in C#. Net CF ?
Thanks
Patrick
|
|
|
|
|
|
I have a user control made up of a label and a bitmap. If someone clicks anywhere on the user control I want to invoke the 'click' event of the label. How can I do that?
thanks,
Deanna
|
|
|
|
|
Let me add that I did try the obvious:
label1.OnClick(e); (my user control is type GFLocIconButton mentioned in the error below.)
C:\dld\Projects\GoFigureControlLibrary\GoFigureControlLibrary\LocalizedControls\GFLocIconButton.cs(189): Cannot access protected member 'System.Windows.Forms.Control.OnClick(System.EventArgs)' via a qualifier of type 'Label'; the qualifier must be of type 'GFLocIconButton' (or derived from it)
|
|
|
|
|
I am writing an unmanaged C++ MFC extension DLL for an application. In this DLL I need to access a .NET component. The .NET component exposes itself to COM so I can access it from the unmanaged code.
Initially when I set everything up my application was working correctly. I used regasm to register the .NET DLL and used gacutil to make it a shared assembly.
My C++ client code is very simple. Something like this:
HRESULT hr = pMyComponent.CreateInstance(__uuidof(MyComponent)));
HRESULT hr = pMyComponent->Open(_bstr_t("file.txt"));
The problem I am having is that sometimes, for a reason I can't determine, CreateInstance will fail. Then when CreateInstance does succeeded, sometimes the call to Open fails return an E_NOINTERFACE. But sometimes it works with no problems????
I think it must be some sort of registration thing? I cannot find a consistent way to get it to work, though. Sometimes after a rebuild all it will work, but sometimes it does not.
Thanks for the help.
|
|
|
|
|
it sounds to me like a problem with the garbge collector in C#.
|
|
|
|
|
|
I have a textbox driven windows form in C# whose values corresponding to rows of a dataset being filled from a database table. When the user clicks the Insert button, I want to add a new row with values entered by the user.
After the user has finished entering a new record, I want to update the row to the dataset and subsequently to the database table. How do i do this?
I tried adding a row changing event and calling the update function in it; however, this means that the user must either click insert so that the row is changed before update is possible...
Any other solutions to get around this...??
Thanks
|
|
|
|
|
hi,
You wrote
When the user clicks the Insert button, I want to add a new row with values entered by the user.
In your button click you can do this much things.
1. check alll validations.
2. create a datarow of your datatable.
3. assign the input values to proper data column .
4. add this new row to your datatable.
5. Update using dataadapter.
**************************
S r e e j i t h N a i r
**************************
|
|
|
|
|
Does anybody know how to pass a parameter from one user control to another user control on the same web form?
Please give this some consideration as it does not appear as simple as passing a paramter from a user control to the web form directly.
Thanks,
Bill
|
|
|
|
|
|
Hiya I have created an installer for my c# and ado.net app, but want to create a new sql table when the installer runs, if the sql table in the database does not exist.
I also need to add assemblies to the gac when the installer runs.
How do I do this??
Thanks.
|
|
|
|
|
|
I wrote my own installer, which just calls the various steps of installation in turn ( install .NET1.1, DirectX9, MSDE, etc. ) and one of those steps is a little app I wrote that uses an XML config file to specify a connection string and a sequence of .SQL files. The files it points to are the ones I used when writing the database, and the app runs them in turn, and displays any errors, and the SQL it is calling as it goes. This sets up my database, and then I run the installer for my actual applications.
Christian
I have drunk the cool-aid and found it wan and bitter. - Chris Maunder
|
|
|
|
|
Hi I now have my sql script which generates the database and tables.
I have my setup project and added a custom action for the script.
But the script will not run when being installed..
Help!!
|
|
|
|
|
I wrote my OWN installer, and run the script myself, that is, I also wrote the C# code to run the script. If you're not running your own code, I have no idea how to get an installer to run a SQL script, but I doubt just providing the script will do it.
Christian
I have drunk the cool-aid and found it wan and bitter. - Chris Maunder
|
|
|
|
|
Settings -> System -> Memory -> Running Programs
|
|
|
|
|
I am working on a product where depending on some metadata associated with a table column my presentation of the table contents changes. For example a user may say a column is bold and in the reports it should be printed bold.
If the table schema is fixed I could have done this by maintaining another table which maps a column with its display attributes. Problem with this scheme is both my table structure and the display attributes are user configurable.
So I think the best solution will be if I could make use of any built in database functionality to store the metadata. For example MS SQL Server has a description associated with each table column, which I can (hopefully) manipulate programmatically.
I would like to know is there a universal way to store and retrieve metadata about a database table column?
|
|
|
|
|
I work on a C# client-server product, which transfers big (100 to 1000MB) files over sockets amongst other things. For security reasons I can not use trivial ways like folder sharing, ftp etc between the two machines. A firewall blocks all ports except my own. So I have to transfer the files over my own socket code.
But I observe that the standard C# Socket class performs not so well if I consider file transfer speeds using FTP or ODBC BLOB row transfers. I have implemented it according to the MSDN sample. Can some one show me the optimal way to transfer files on sockets in C#?
Salil
|
|
|
|
|
I want to export a list of property names and the contents of those properties of a class at runtime. The trick is that don't know the class type at design time, nor can I edit the classes, it's a webservice running on a local server. I want to save
this list to a file.possibly XML document?
Please help
All knows
|
|
|
|
|
minity wrote:
The trick is that don't know the class type at design time, nor can I edit the classes
If you have the current executing assembly, call GetTypes() on your assembly to return a Type []. That should get you started.
- Nick Parker My Blog | My Articles
|
|
|
|