|
I have a requirement to detect when an application is launched and to determine if the application was launched by an existing application.
For example, when you create a new mail message in Outlook, Outlook actually launches a new application to allow you to edit & send the message. I can detect that a new application has been launched but there doesn't appear to be any way of determing that the application was launched by Outlook.
Any suggestions?
|
|
|
|
|
Only undocumented solutions. MS don't provide us with documented solutions to this kind of "advanced" programming.
My "best guess" is that you'd have to hook CreateProcess. Check out e.g. winternals for possible solutions (you won't like the effort needed).
|
|
|
|
|
How do I get my application's main window to be on top?
My splash screen pops up on top of any other currently open windows.
BUT, when the appication opens its window, that always end up under all currently open windows.
I used the wizard to create the application. I've looked at SetWindowPos which appears to be
the function I need, but I'm not sure where it should be placed to induce the desired behavior.
Would a simple entry in the .rc file do it??
Can it be done at all??
TIA...
gary hasman
gfhasman@go.com
|
|
|
|
|
BringWindowToTop(...)
SetWindowPos(HWND_NOTOPMOST,...)
SetActiveWindow(...)
All have their own caveats.
|
|
|
|
|
I want to obtain the IP address off a modem device which has a fixed IP address. The modem AT commands do not give this information. When I connect it to my computer and connect via PPP, the host computer acquires the modem IP address using the Windows OS. I know this is done through the PPP protocol. Does anyone have C/C++ source code that I can use to mimic this. I don't even want to establish a connection, I just want the IP address.
Thanks,
jic
|
|
|
|
|
> I want to obtain the IP address off a modem device
> which has a fixed IP address.
You apparently don't know what IP is.
Perhaps a more polite response would be: Please study some more. Your modem doesn't get an IP. A modem is a "dumb" device (in this context) that only shuffle bytes. Wrapped on top of that is (whith some extra stuff) PPP.
IP is something your OS is providing. You should look at the RAS API to get the IP of that adapter from Win32.
|
|
|
|
|
I am not stupid!!! The device is not an ordinary modem. It is a cellular phone with a fixed IP address. I know that the IP address is passed to the host when a PPP connection is initiated. I would like to extract that address without completing the connection. Do you have source code that will enable me to extract that IP address?
|
|
|
|
|
I am seeking a library which can handle pop3-connections and e-mails with MIME attachments. The only POP3 library i found yet (by PJ Naughter) does not support file attachments.
|
|
|
|
|
Dundas TCP/IP (commercial) or mime++ (gpl'ish licence)
|
|
|
|
|
Hello!
What I want to do is get some code (pref C++) to enumerate the PCI devices in a machine and retrieve their names.. Is it possible? Can anybody point me in the right direction?
Thanks!
|
|
|
|
|
Hello,
There is a DOS based program with sourcecode at http://www.pobox.com/~ralf/files.html#RBpci.
There is a LINUX library with sourcecode at http://atrey.karlin.mff.cuni.cz/~mj/pciutils.html
Best regards
Eddy Steevens
|
|
|
|
|
> I want to [...] enumerate the PCI devices
Unless you tell in what environment you want to accomplish this it's impossible to give an answer.
|
|
|
|
|
If you are wanting to do this in Windows, check out the CONFIGMG_* api. This is the api that windows uses to run Device Manager and such. MSDN has plenty of info... check it out.
If everybody thinks alike, then somebody isn't thinking...
|
|
|
|
|
Every time I create a new file by choosing New from the context menu that appears
when right-clicking on an empty spot on the desktop, the word "new" is added to
the beginning of the file name. Is there any way to change this behavior?
Ex. When you select New>Text Document you create a text file named "New Text
Document.txt". I don't want the word "New" to appear in the file name, I just
want the file name to be "Text Document.txt".
Thanks for any suggestions.
|
|
|
|
|
Can anyone clue me in on how program updating works? I'm not looking for code specifics, just a general idea of how the whole thing works. In case you need a little more info on what I'm looking for: I want my program to connect to the Internet, download the update files if needed, temporarily shut itself down, perform the updating, and then start back up again.
Thanks in advance for any information that you can provide me.
-Michael
|
|
|
|
|
It would be nice to have a control like the "Insert Symbol" of Ms word showing all symbols and
zoomin to the selected one
|
|
|
|
|
|
I'm not much of a U/I coder myself, but I'd like to be able to create a window like the one that the MSN Messenger pops up when a buddy comes on line or a new mail message is received. Any pointers on how to achieve this,
Michael
|
|
|
|
|
Hi,
I need a code to find if a file in Windows NT is read only or not.
The file attribute is not marked read only,
but it was made read only using the file security settings
(i.e NTExplorer->File->RightMouseClick->Properties->Security->Add->Everyone->Read).
I would appreciate if some one help me find a code which will look through the file ACL(Access Control List)
and determine if a file is read only or not.
Thanks
Kumar
|
|
|
|
|
> I need a code to find if a file in Windows NT is read only
> or not. The file attribute is not marked read only, but it
> was made read only using the file security settings
The file isn't read only, it's just that the user don't have the privs to read it. Please don't mix the two concepts of security and DOS flags from the early '80s.
You are right you have to check the ACL(s), and this is not something I'd recommend if you only want to know if a user (you?) can read it or not. Just try to open it read-only and find out. GetLastError should give you an appropriate resonse.
(without testing I'd say the only possible response would be ERROR_ACCESS_DENIED if you don't have the privs, but knowing MS...)
|
|
|
|
|
Hi ,
I have this issue with me, I have to print a pdf file from the Browser using either asp or script or applet. Could anyone please help me out with this.
Thanks a lot in advance.
|
|
|
|
|
Hi ,
I have this issue with me, I have to print a pdf file from the Browser using either asp or script or applet. Could anyone please help me out with this.
Thanks a lot in advance.
|
|
|
|
|
I need to write an app to programmatically unbind a certain protocol from a network card. E.g. Check if Netbeui is bound to a certain ethernet network card and if so then I need to unbind it (without user intervention). The idea is that after running the app only TCP/IP would be bound to the ethernet card no matter what additional protocols are installed on the computer.
I've got it working in Win2k (with the use of the INetCfg API calls) but I can't find any API calls or code examples on how to this in Win98/Win Me and NT4.
Any ideas?
|
|
|
|
|
> I've got it working in Win2k (with the use of the INetCfg
> API calls) but I can't find any API calls or code examples
> on how to this in Win98/Win Me and NT4. Any ideas?
No. AFAIK this is impossible using published API. MS never been much of a team player in this area...
You could however have some luck looking at the .inf files and perhaps convince the script interpreter to remove it. If not, the only solution I know of is the old true-and-proven-that-takes-forever: disassembling MS' code.
Not much of an answer, but at least better than silence... Sorry for the "no way" reply.
|
|
|
|
|
Does anyone know for some free bar code reader (dll, ocx, com...) ?
|
|
|
|