Hi , ive asked this before , but does ANYONE know how to make a borderless window behave like a tooltip?
meaning , it should not steal focus from the app that shows it (grayout the apps caption)
i need to be able to place controls on the 'tooltip' but they dont need to be able to hold focus , just as long as i can click them and the click events work...
currently im doing some nasty wndproc hack , scanning for the wm_ncactivate message , and setting focus back to the parent window... but this causes the parents caption to redraw , so there is some minor flicker (but still annoying)
Excuse-me for my stupid question, In WebForm, I would like to create a button that allow to open html page.(link with parameter ex: qsdf.asp?Text=tete) in the same browser (and other browser). How can I do that?
I'm changing settings in my machine.config so my web service runs properly. Problem is .. I can't tell which configuration change is making it work properly. It seems to me like the machine.config file is being cached.
Is it? if so is there a way to prevent it from being cached ?
I´m creating an application that does some automation with excel. The problem is that Excel sometimes is busy doing some tasks and can´t respond to my method calls. To solve this I´m using something similar to this;
The problem is that I have TONS of this oWorkbook.Range(...); lines... and I don´t want to write this bunch of code to all of them. Does anyone know some alternative way to do this (some kinda template maybe) ? I know I can write a wrapper to do this... but it´ll give me a lot of work... and I´m trying to find a better solution.
Mauricio Ritter - Brazil
Sonorking now: 100.13560 MRitter
Life is a mixture of painful separations from your loved ones and joyful reunions, without those two we'd just be animals I guess. The more painful the separation, that much more wonderful will be the reunion - Nish
"Th@ langwagje is screwed! It has if's but no end if's!! Stupid php cant even do butuns on forms! VISHAUL BASICS ARE THE FUTSHURE!" - Simon Walton
I've written a small app that retrieves the MAC-address from computors, using ManagementClass, ManagementObjectCollection and so on, eventually ManagementBaseObject.get_Item("MacAddress"); which turns out to work fine for most computors. Lately however I have discovered that for some computors a different series of numbers is retrieved. Looking into it a bit deeper I found that on all computors not one, but serveral items could be found calling get_item("MacAddress"). So my program did work for computors where the real MACaddress was the first to be returned (and apparently this included most computers).
Have I missed something? How can I tell which one is the real MAC address, and what are the other numbers?
Below a snippet of my code:
mc = new ManagementClass("Win32_NetworkAdapterConfiguration");
moc = mc.GetInstances(); // Get network adapter instance
//Loop till MAC address found
//Get MAC address
I am developing usercontrol drag and drop.
My Quesiton here is can I change Cursor (mouse icon) while draging? It gives Drag Effects for the Cursor like Move,Copy, None etc. I want to change the Cursor type say for example IBeam or Hand type Cursor instead of Move Effect. (Letting the Move effect remain same with having Cursor Image changed) is it possible ?
Could someone lead me to some direction or give me some link ?
I get the same date and time, namely, the time corresponding to the instant the file was uploaded. But that's not the file's original modified date. How do I get the original modified date of the (as seen by the client)?
I have a c# class derived from MenuItem that I am using for ownerdraw menu items. I set the OwnerDraw property to true, added the DrawItem & MeasureItem methods. I tested my class with a form, attaching the context menu to the form, and it worked great, the DrawItem & MeasureItem methods get called. However, if I try to use the context menu with a traybar application, the methods don't get called. Is this a known issue or what am I doing wrong or is there a workaround?
I tried to open a PE file with a program called PEExplorer .. Opend the header & discoverd that all the items in the header is correct..
but i found something strange i igot "the address of entry point" field from the header but when i checked that address i found it's so different from the contents that the PEExplorer program shows...
i found that the "image base" field is added some times 2 the address of the entry point field...
for example the address of entry point is: 0000E67Ch
& the image base is: 01000000h
but when i run the disassembler view of the PEExplorer i find that the address of the entry point is 0100E67Ch & this address can't be located coz the file size is smaller than it & the contents that the disassembler show in this location 0100E67Ch i can find it in another different place in my file
plz does any one knows how is this operation handled & how can i reach 2 the real entry point of an exe file...
my email is
Last Visit: 31-Dec-99 18:00 Last Update: 27-Sep-23 16:29