|
One of my dialogs is behaving as though the alt key is always pressed. Typing the letter of any of the shortcuts for a button triggers the button regardless of which control currently has focus. None of the other dialogs in my app behave this way, and flicking back and forth between the affected dialog and the remainder's property pages I'm not seeing any relavant seeming differences.
|
|
|
|
|
Hi all,
Im having a problem where i need to show a dialog box(save open cancel dialog box) from a pop up aspx page. on link button click i have opened this dialog box, I have register the script to close tat pop up aspx page which is loaded with the user control.
Is it posible to close the popup window after the dialog box appears.
Please help me out.
regards
Mukilan.P.S
|
|
|
|
|
Hi all,
I want to post some data from the C# application to my blog
that exists on some site.
How can that be done?
It would be gr8 if some one could help me outin this.
Thanks
Pramod
|
|
|
|
|
If you have a formular on your blog web page, you might want to emulate a POST -reqeuest from your C# application to the webserver. You can do this with the HttpWebRequest -class.
regards
modified 12-Sep-18 21:01pm.
|
|
|
|
|
Usually blog platform contains "MetaBlog API" .You can interact with blog (post,retrive data) by sending/recieving XML.I guess xml-rpc.net library[^] may help you.
DevIntelligence.com - My blog for .Net Developers
|
|
|
|
|
Hi, I'd like to know if is possible to implement a KeyPress handling for a Simple Datagrid, without DataTables or DataColumns binded to it.
How can I do?
TNX
|
|
|
|
|
DataGridTextBoxColumn.TextBox.KeyPress += new .................
Live Life King Size
Alomgir Miah
|
|
|
|
|
Thank you so much!
Alessio
|
|
|
|
|
I've got a (3rd party, non fixable) application that isn't responding to Process.CloseMainWindow() What other options do I have to force it to shut down when the app that launched it is closing?
|
|
|
|
|
|
OK. I assume there's a way to interop out and get a list of all the processes on the machine so I can kill the other 3 processes associated with the app. They've all got constant names, and there can only be a single instance of each which should make things easier, or less difficult at anyrate.
|
|
|
|
|
If they have constant names then you can use the static method Process.GetProcessesByName which will return an array of processes (which match the name you specified) that you can then mercilessly kill.
You could also use GetProcesses if you prefer, get all the processes and then iterate through them to find all the ones you need to kill.
Just be aware that kill forces the process to stop and may result in abnormal termination. So be careful not to kill a process while it's doing something important (like writing to a file).
|
|
|
|
|
I've got a warning about dataloss advising the user to properly shut the app down on my end before doing the kill. Unfortunately I don't have any way to check if the problem app's doing any file IO or not.
|
|
|
|
|
Hey howzit,
at the moment i use the following code:
System.Diagnostics.Process.Start("mailto:test@test.com");
to launch the mail client, but I wanna specify which files to attach PROGRAMMICALLY. So for example my user is reading a PDF in my application and wants to send it to someone, it must attach the relevant PDF to a new email.
Aparently one needs to make API calls and stuff, can anyone help...keep it simple as possible please
|
|
|
|
|
mailto:someone@foo.com?subject=TEST&body=SOMETEXT&attachment="/SOMEFILE.TXT"
regards
modified 12-Sep-18 21:01pm.
|
|
|
|
|
hey greg,
thanks for the help, but that code doesn't work. I need to specify where on the hdd the file is and I can't even compile with that code, can you perhaps test it out on your machine and give me the entire piece of code, that would great.
Thanks a lot!
|
|
|
|
|
Hi
I have a problem with disabling a button.
When i need to disable a button then i do not want the DrawImageDisabled function to be called. Instead i just need it to be replaced with the image i provide. How can this be handled?
Please help me out in this.
Thanks and Regards
Madhu
|
|
|
|
|
Maybe, when the event is triggered to disable it, replace the image with the one you want, and then put an if() clause in the OnClick event to say if the image is X (or a bool you have attatched to it) then do this, otherwise break.
Regards
James
|
|
|
|
|
Create your own button control, inheriting from the original Button class. Override the drawing code and supply your own to draw the correct image you want.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi. Please could anybody tell me how to obtain subnet masks (TCP/IP) settings of the network controllers from Windows?
Thank you very much.
B.
|
|
|
|
|
As you guys know Dynamic Link Libraries created in visual studio .NET can be decrypted, oooh my goodness. How can it be encrypted?
Dotfuscator can do somethings, but when u encrypt your class with it,all the members of your class rename to letters and furthur useness would be horrible.
Thank you in advanced.
bobby877
|
|
|
|
|
Someone told me that with .Net 2.0 its possible to compile to native code. But I don't know if he his correct. I didn't found a way to, yet.
So if anybody knows, I'm interested in, too.
Greetings,
Ingo
|
|
|
|
|
ihoecken wrote: Someone told me that with .Net 2.0 its possible to compile to native code.
No, it's not. Well, only if you're writing in unmanaged C++. Managed C++ compiles to a combination of native and managed code.
There are tools out there that will compile down to Native code, but they cost a bloody fortune to buy.
There is no way to encrypt the .DLL and still have it work, other than obfuscation. No matter what you do, the .DLL must be decrypted to use, even if it's done in memory. At that point, you're entire encryption scheme just defeated itself.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
even in .Net 1.0 you can use NGen to compile a .Net dll to native code. This has to happen on the target machine however, since Ngen will optimize for the processor it finds, and installs the resulting image in the native image cache. Your installer script could Ngen normal dlls in a temporary location, then delete the uncompliled dlls...
Absolute faith corrupts as absolutely as absolute power
Eric Hoffer
All that is necessary for the triumph of evil is that good men do nothing.
Edmund Burke
|
|
|
|
|
But that, of course, means that the source MSIL files would have to be on the installation CD's too! You could easily stop the installer from deleting the files just by modifying the permissions on the TEMP folders.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|