|
kvnsdr wrote:
As it is, any value in the column will hyperlink accordingly, however a user doesn't have a visual indicator that the values are actual hyperlinks....
You can override the OnPaint method and use the Graphics object to draw the line.
- Nick Parker My Blog | My Articles
|
|
|
|
|
C# Disassembly 19:57 18 Aug '04
Could someone please provide a step by step protocol to view the C# disassembly code for c# "Hello World"?
Can I see the code w/ out fooling w/ the environment variables? No idea how add one anyway..Tried the "Inside C#" instructions several times, same error...
I'm using .NET 2003 and WindowsXP Pro.
thanks for your help- this thing is really ticking me off....
[Reply][Email][View Thread][Get Link] [Modify|Delete]
SkunkedWorks
|
|
|
|
|
|
Okay thanks...
But how do you "just run" ILDASM? What are the steps? Just run w/ what? How?
thanks....
|
|
|
|
|
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
|
|
|
|