windows

opening a URL in new tab

Is there a way to open a URL in a new tab (in IE) from a cpp application without using DDE or shell execute ?? ...

SetupAPI.DLL to HID.DLL

With the SetupAPI.DLL I execute Function SetupDiGetClassDevs and get a pointer or handle Then Begin a loop Then I run Return = Function SetupDiEnumDeviceInterfaces with SP_DEVICE_INTERFACE_DATA.cbSize = 0 to get my size of what SP_DEVICE_INTERFACE_DATA needs to be Then I set size and execute again SP_DEVICE_INTERFACE_DATA.cbSize = r...

how to stop this message on pressing CTRL + ALT + DEL?

i have the following code to disable task manager of windows xp but it still displays a message the "task manager is disabled" and we have to press ok how can i disable even this message ; i want that when any one presses ALT+CLRT+ DEL nothing happens even no message dialog. HKEY hMykey; DWORD pDWDisp; unsigned char cData[1]; cData[0]...

C# HttpListener without using netsh to register a URI

My application uses a small webserver to server up some files and have a web interface for administration remotely. Right now the user has to use netsh to register the URI like so netsh http add urlacl url=http://+:1233/ user=Chris-PC\Chris Which is no fun for the average user. I'd like the program to be able to listen on any port sp...

Showing windows (file/directory) context menu in c# winforms application

Hi, I'm trying to display standard file/directory context menu in WinForms application - I'd like to enable the user to do things with files in my application as he could in Explorer. There should be two options popup the context menu with some system call read everything from the system context menu and insert it into my context me...

C++ xml-rpc client with utf-8 support for windows

Is there any XML-RPC client for windows for C++ with UTF-8 support? I looked at XMLRPC++, but it doesn't support any encoding. ...

GetShortPathNameA not working in C#

I'm trying to get get the short filename from a long filename but I'm having problem in c# code. VB.Net code is: Declare Function GetShortPathName Lib "kernel32" _ Alias "GetShortPathNameA" (ByVal lpszLongPath As String, _ ByVal lpszShortPath As String, ByVal cchBuffer As Long) As Long Public Function GetShortName(ByVal sLongFi...

Websites with horizontal sliding panels

In a recent meeting, I mentioned that I've seen a few websites with horizontal sliding panels and thought the UI was elegant, uncluttered and accessible. Naturally, I was asked to provide examples of those sites, but can't seem to dig up any of them now. Actually, I've been looking on an off for the past few days. (blush) Sooo.... I t...

Why does popout window resizes automatically on Safari for Windows?

I created a simple html file that pop's out a window of size 310x431, but when you select/click on the pop-out window frame, you can see it getting resized (takes more width), this happens only on Safari for Windows, any reason why? or is there a way to stop it from resizing the pop-out window. Test html file - http://dl.dropbox.com/u/3...

..../All Users/Application data folder permissions

I have a windows desktop application whose application data is stored in the All Users/Application Data/ My Company folder. Now when I install my application on an Windows XP machine using an Administrator login. If I run my application using that administrator's login it works well but when I tried to run my application using a normal u...

What's the usual term for a local IIS/web application with services?

I've inherited a multi-technology project which comprises a Flash user interface contained in a web-browser-like host and has an ASP.NET piece which provides web services to the Flash UI, background/watchdog services plus a web application for administration of the system. Our transatlantic project conference calls are getting confusing...

Which programming languages that can generate self contained windows .exes?

I want to make an easy to deploy Windows application and was was wondering which programming systems can create totally self contained Windows .exe files? As a plus, if the same can be done with MacOSX and Linux from the same source this would be a bonus. I took a look at Realbasic but they have since abandoned the single .exe concept. ...

What are some free or inexpensive tools out there to search/index file systems (using .Net)?

I'm looking for a way to search a file system that contains approximately 1TB of documents in either Office or PDF format. Is Lucene.Net pretty much the best way to accomplish this? I've also heard of dtSearch, and was wondering if anyone had used that tool with any success? Are there any other tools out there that would do the job? ...

how to add emblem to windows file icon?

Hello, I want to know how to add some sort of emblem or badge to a specific file. Just like drop box does to a specific file when it is doing a sync. I found that the guys from drop box are able to do that on linux by using libnautilus package. But I need to do so on windows and haven't been able to find an answer. Will the solution c...

Can I use mono's AOT feature to natively "pre-compile" .NET DLLs/EXEs to make them harder to reverse engineer?

Can I use mono's AOT (Ahead of Time compilation) feature to natively "pre-compile" all or part of some of my own .NET DLLs (and or EXEs) to make them harder to reverse engineer? I'm using Windows (7 / x64 but I have an x86 XP machine as well) and .NET 3.5 (VS 2008) and I'm curious if mono/AOT can be/has been used for this purpose? (Tying...

How do I know which DLL a syscall belongs to?

I have a long list of all the calls a program I have does. What i need to know is which DLL each call belongs to. How would I find this out? Thanks, ...

How do I get a list of functions defined in a DLL?

Assuming I have a list of DLL's an executable loads, How do I get a list of all the functions defined by those DLL's? EDIT: preferably without the use of GUI's or huge programs like Visual Studio Thanks, ...

Does OpenProcess always write lock the file?

I want to call the Windows API OpenProcess function on another process running on the machine. Will this always cause the file whose process I am opening to be write locked? Or does it depend on the access rights I request? ...

Windows Service needs to wait, Thread.Sleep?

I have a c# windows service that needs to execute a database query every 60 seconds (or whatever interval is set in the config file). I'm using Thread.sleep(60) in a while loop to accomplish this. Is there a better way to do this? Thanks ...

Delphi app manifest file problems under WinXP and Win7

My last question "List service and services status under Win-7" made me start working on a solution that gives my app the admin privileges under Windows Vista onward based on a .manifest file. I was not sure about continue the previous question with this matter since they are not the same so here is another question: My app now works f...