|
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
|
|
|
|
|
Well I found a software which allows to convert .Net projects to native code. It's called .Net Reactor[^]
I tried it. The code is encrypted afterwards. Reflector isn't able to disassemble it.
Greetings,
Ingo
------------------------------
A bug in a Microsoft Product? No! It's not a bug it's an undocumented feature!
-- modified at 11:27 Tuesday 7th February, 2006
|
|
|
|
|
hi ,
i have a textbox that i type date in it like this :
for exs
10/01/05
d,m,yy
this value i am sending into a DateTime object like this :
DateTime dateToPut;
dateToPut=DateTime.Parse(tbDateToPut.Text);
after the value is insert to the obj i am sending him to a datagrid cell
the problem is that the date is showing like this in the grid :
01/10/05
m,d,yy
how can i repiaer it ?
thanks ...
|
|
|
|
|
Specify a date format.
dateToPut=DateTime.ParseExact(tbDateToPut.Text, "dd/MM/yy", CultureInfo.GetCultureInfo("he-IL"));
Why don't you use 4-digit years?
--------
"I say no to drugs, but they don't listen."
- Marilyn Manson
|
|
|
|
|
I want to create a calander tool which will allow user to create a message on a date when you click it on calander and when the day appears, I want it to play a alarm and display message in a Message box with OK button on it.
I also would like a USer.ini config to be generated to save the information so its not lost when the application is exited. Finally I want the user to be able to set the application to it loads up when windows starts. How would you do this?
In the end we're all just the same
|
|
|
|