|
|
Thank you very much, but in the article you posted I only found how to get running processes, I need to get the applications, like in the first Window in Windows Task Manager.
I searched a lot in CodeProject, but I didn't find nothing really usefull.
Thanks anyway, the article is very interesting
|
|
|
|
|
What about this:
get the processes System.Diagnostics.Process.GetProcesses()
then show only the ones with MainWindowHandle != ItPtr.Zero
and check if they have a MainWindowTitle
greetz
*Niels Penneman*
Software/Dev Site Personal Site
|
|
|
|
|
ok, so how would you googlefish for an answer to the following screen scraper question:
how do i get a bitmap of a "virtual" control, that is what the control would look like but without showing it on the screen?
TIA!
________________________________________
Gosh, it would be awful pleas'n, to reason out the reason, for things I can't explain.
Then perhaps I'd deserve ya, and be even worthy of ya..
if I only had a brain!
|
|
|
|
|
|
Mazy, thanks. The question i want answered was eloquently stated re the article you sent (see below). Unfortunately there was no answer posted-- does anyone know the answer?
TIA!
HERE IS stantheman's question (and mine):
Greetings all,
I dig Agha Ali Raza’s article (Capturing the Screen Image in C#), but what I want to do is capture the image before it hits the screen.
How would I do this?
In essence, I would like to take a screen-shot (bitmap) of a Form *before* it ever gets to the screen.
If you’re interested, - what I want to do is perform a little “graphics-magic” on the image using GDI+ - I want to “dance” the image of the Form around the screen before I present the actual Form. And I don’t know how to do this. I’ve tried overloading the Form.OnPaint method, but I just don’t seem to be getting it right.
Anyone?
Thanks all,
- Stan Shankman
http://www.codeproject.com/csharp/csCaptureScreen1.asp?msg=435733#xx435733xx
________________________________________
Gosh, it would be awful pleas'n, to reason out the reason, for things I can't explain.
Then perhaps I'd deserve ya, and be even worthy of ya..
if I only had a brain!
|
|
|
|
|
Hi, what the best compiler for C and C++?
(for compile the projects in this site....)
|
|
|
|
|
See the title above this page: C#
You should post in VC++ forum.
Mazy
No sig. available now.
|
|
|
|
|
OK, and, what the best for C#?
|
|
|
|
|
You missed the point. C# is not like C or c++ which could have different compiler. C# and all other supported .NET language like VB.NET have the same compiler. Its nothing to deal with C or C++.You should ask in VC++ forum the best C or C++ compiler.
Mazy
No sig. available now.
|
|
|
|
|
Mazdak wrote:
C# and all other supported .NET language like VB.NET have the same compiler.
You may have mistyped this, but to clarify to the original posters or future readers, each language has its own compiler (not to say someone couldn't develop a compiler that compiles multiple languages). The main point to understand is that each compiler produces Intermediate Language, or IL. While each language compiler may support different things (like VB.NET as of 1.1 can't make use of unsigned integer types or use unsafe pointers while C# can), the output is still essentially the same which means that it doesn't matter in what language a .NET assembly / library is written, each language targeting the CLR (a.k.a. ".NET language") can use the assemblies. This is language interoperability thanks to the .NET Framework's Common Type System, or CTS.
-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
|
|
|
|
|
Yes Heath, Thanks for correction. I kinda sucks this time.
Mazy
No sig. available now.
|
|
|
|
|
I have a form with a couple of toolbars and some other stuff.
I added an imagelist, and added some bitmaps and some icons to the imagelist, and told the toolbarbuttons to show some images...
In the form designer the bitmaps shows fine in the toolbarbuttons, but when I run my app, no bitmaps in the buttons
Any ideas?
- Anders
Money talks, but all mine ever says is "Goodbye!"
My Photos[^]
nsms@spyf.dk <- Spam Collecting 
|
|
|
|
|
I just found out that if I remove
Application.EnableVisualStyles();
from my constructor, the bitmaps show up just fine, now whats up with that?
Not bitmaps in the toolbarbuttons when using XP style, hmmmmm
- Anders
Money talks, but all mine ever says is "Goodbye!"
My Photos[^]
nsms@spyf.dk <- Spam Collecting 
|
|
|
|
|
|
EnableVisualStyles causes way more problems that not even apparent!
leppie::AllocCPArticle("Zee blog"); Seen on my Campus BBS: Linux is free...coz no-one wants to pay for it.
|
|
|
|
|
Hi,
I am trying to use the select method in Dataset that filters using a string.
sFindEmp = "LastName = 'Jones'";
dsEmployWC.Tables[0].Select(sFindEmp);
This runs without error but when I assign this
tbEmpNum.Text = dsEmployWC.Tables[0].Rows[0]["Employee#"].ToString();
its not the correct record. What am I doing wrong?
Thanks,
JJBean
|
|
|
|
|
|
MrJJKoolJ wrote:
I am trying to use the select method in Dataset that filters using a string.
For filtering use : ds.Tables[0].DefaultView.RowFilter = "LastName = 'Jones'";
Mazy
No sig. available now.
|
|
|
|
|
I have an office app that need to send information to a central server through the net (Ie. update the central server's SQL database). My first thought was to do remoting. To secure it I used a secure channel. However I still have a problem: the remote object is exposed on the internet. What is the best way of authenticating the clients.
I've been looking for things and the only thing that I came up with is hosting the object in IIS and using server certificates. However I haven't been able to get client-activated remote objects properly hosted in IIS. If this is a good direction to head please help me out with a pointer to hosting client-activated objects in IIS.
|
|
|
|
|
Did you get all the code samples from Ingo Rammer's Book. I think I read something about CAO behind IIS.
Take a look.
Free your mind...
|
|
|
|
|
Hi!
I looking for XP Style textBoxes and dataGrids, but can´t find any?
Do anyone know?
Thx
Thomas Andersson
|
|
|
|
|
Theming (a.k.a. XP styles) should only be used if the operating system uses it. This is highly recommended by the Windows User Interface Guidelines to provide users with a consistent interface. To make that happen, see my article Windows XP Visual Styles for Windows Forms[^]. For themed controls that don't support theming in .NET, see Infragistic's[^] NetAdvantage suite, which has great Windows Forms and Web Forms controls. I've used a few and they're pretty good.
-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
|
|
|
|
|
|
There is a base class names DES for another class DESCryptoServiceProvider,I can use both for DES encyption like this:
DES des = DES.Create();
or
DES des = new DESCryptoServiceProvider();
My book say it is recommended to use first one because it create default cryptography service which it is latest version but second one is a defined way which is not surly latest version. Now I have a problem,I have a web service which has some encryption-decryption and this web service has a VB client and the VB client has its own encryption-decryption. The VB developer do his own part. Is that make change which one I use? Because he will/can not use .NET framework and he have to use cryptograohy API, I don't know the API's and I don't know the equivalent of first one. Also can I be sure if the cryptography's versions are grow the results of DES.Create() will be the same and it will generate the same decrypted value whith the constant KEY?(I mean only algorithm change but not the result) If I wrote myself both parts I could be sure about that but now one part in VB and I'm not sure about that. I hope that my problem is clear for you guys.
Mazy
No sig. available now.
|
|
|
|