windows

open source Reporting tool/framework for windows based application(.net 2005).

I am looking out for a good open source Reporting tool/framework for windows based application(.net 2005). The database I am using is Mysql . The typical reports format which I am interested is for e.g. Trial balance, balance sheet, etc (typical banking / finance reporting application). There should be good support for charting as wel...

Need to disable mouse right click in Windows?

I am creating a system tray app which monitors mouse clicks in Windows. I want to disable the right mouse click. My app is based on this sample code. In the HookCallback method, I tried to do this: if ((MouseMessages)wParam == MouseMessages.WM_RBUTTONDOWN) return (System.IntPtr)1; thinking the mpuse event will be ...

On-demand paging to allow analysis of large amounts of data

I am working on an analysis tool that reads output from a process and continuously converts this to an internal format. After the "logging phase" is complete, analysis is done on the data. The data is all held in memory. However, due to the fact that all logged information is held in memory, there is a limit on the duration of the loggi...

windows programming without a OOP language

Which language ( that is not oop ) should I consider using for writing gui windows apps ? I guess the obvious answers are visual basic and C , but am wondering if I should look into anything else am not saying OOP sucks or anything. I just don't.. not using it. The END ty Edit: I just want a language that has a non oop paradigm opti...

Keyboard messages Windows flow problem and doubt

I'm developing a program where I've had to add a keyboard shortcuts system. The problem is it uses a third party OCX for a part of its display, and it is catching some essential WM_KEYDOWN messages when in focus, like Ctrl+C, Ctrl+V, etc. I've tried catching the WM_KEYDOWN message through WndProc, but the message is not propagating, so ...

How do I make HttpURLConnection use a proxy?

If I do this... conn = new URL(urlString).openConnection(); System.out.println("Proxy? " + conn.usingProxy()); it prints Proxy? false The problem is, I am behind a proxy. Where does the JVM get its proxy information from on Windows? How do I set this up? All my other apps seem perfectly happy with my proxy. ...

C# - Process.Start() - "The trust relationship between this workstation and the primary domain failed"

Hi Guys I have an application that, when run, does the following: Check current user is MicaUser Start Application under MicaUser using Process.Start() Exit This works fine on my Vista Dev machine, but when i try to run it under a restricted account in XP, i get the following error: "The trust relationship between this workstation a...

Programmatically Changing XP Appearance Settings

I am trying to silently apply very specific appearance settings for a single user with poor eyesight on an XP machine. I can alter the settings by using the appearance tab of the display settings dialog and clicking apply/ok. Doing this works however the user cannot see well enough to change her settings back to how she likes them each...

C# - reading text off of an existing process

We are having to read text off of an existing VB6 application. So we use the methods FindWindow, GetWindowText, and EnumChildWindows out of kernel32 and can enumerate and read the displayed text in this process. We are able to read 90% of the text with our method, but there is a specific control (or box) in general that we cannot read....

Vanishing WindowsForm

Hello, I am developing a plugin for an application, that application "consumes" my code (classLibrary), and executes the "Init()" method inside his own Thread. Inside the Init() I have a while(true) statement, so that my plugin can run continuously. Yesterday, I started to make a windowsForm for configuration of my plugin (using XML), a...

Porting shell functions to cmd.exe: Is it possible to automatically source scripts on startup?

I'm porting a Linux tool-set that makes frequent use of shell functions to provide certain functionality. These functions are automatically sourced when you start a new shell and include things like changing the working directory, which is nigh impossible with stand-alone programs because child processes can't change their parent's envir...

Windows Forms WebBrowser control and iframes

I am trying to create a piece of software to more or less automate form-fillings on a webpage - and I have decided to use the WebBrowser control in System.Windows.Forms. This works great and I can easily manipulate the DOM through webbrowser.Document and so forth. However unfortunately the site that I am doing automation on has a file up...

Screensaver in C++ with fading image

How can I make a screensaver in C++ that fades an image in and out at random places on the screen with a specified time delay on the fade out? Multimonitor support would be awesome. If you have a working code or know where I can get it, it would be great. Otherwise point me in the right direction. I'm looking for a method that has a sm...

Compiling OpenSSL on windows

Quoting the instructions for building OpenSSL: Then from the VC++ environment at a prompt do: nmake -f ms\ntdll.mak When I do this, I get cl /Fotmp32\cryptlib.obj -Iinc32 -Itmp32 /MT /Ox /O2 /Ob2 /W3 /WX /Gs0 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_W IN32 -D_CRT_SECURE_NO...

Hour difference between Linux and Windows from Java date.getHour().

I have some java code that parses a string and creates a Date object. On Linux, everything works fine, but on Windows it continuously starts at 19:00:00 rather than 00:00:00. Here is the code: if(currTask != null) { if((m = p0.matcher(currTask)).matches()) { date = new Date(Long.valueOf(m.group(2)) - Long.valueOf(m.group(1))); ...

C++ Process Checking

I'm creating a task-manager type application in C++, and I'm currently using: ` void MyFrame::ProcChecker(bool showmessage=false){ HANDLE hSnapShot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS,0); PROCESSENTRY32 *processInfo = new PROCESSENTRY32; processInfo->dwSize = sizeof(PROCESSENTRY32); int index = 0; string procList = ""; ...

GetForegroundWindow returns Null when remote desktop is disconnected

I have a test that launches an app and verifies it has launched through calls to GetForegroundWindow(). The test is run on a remote machine that we usually access through remote desktop. When we have a rdp session open to the machine, the test completes and all is well. However, once we close the remote desktop, the test fails because Ge...

How do I setup Zend Framwork with WAMP?

Hi, I read that to include the Zend framework, I must include this on the include path in php.ini. But I have a doubt. Where do I find the php.ini file in my WAMP with php 5.3.0? Please help me because I am new to this topic and also to PHP... Thanks in advance. ...

Why doesn't OS X have the same flickering problems that Windows does?

I was reading Larry Osterman's latest blog post about debugging a flickering problem in the Windows Vista/7 volume control, and I suddenly realized that I can't recall ever seeing an application flicker on my OS X laptop. Even applications that otherwise seem to be poorly written avoid the flicker problem in my experience. Without this...

HTTP and HTTPS sniffer for Windows

Hi. Does any of you know a good HTTP / HTTPS packet sniffer for Windows? I need it for debugging a webapp I prefer open source (.NET), but shareware or paid products are also of interest. /Thanks ...