windows

Windows 2008 Task Scheduler - Other User unable to run the Task

I have created a scheduled Task in Windows 2008 Task Scheduler. (as a member of the local admin group). It runs on time and I can run the task anytime I want. However if a coworker tries to run the same task he can't because insufficent permissions, but he is also member of the local admin group). Anybody having an idea what is wrong he...

card reader ( no memory stick is inserted )

Grretings to all.. i have a card reader ( no memory stick is inserted ). when i insert into my compter it shows a drive in My Computer... why it shows like that.... Is it possible to know whether a drive is having a media ( sorry i am not sure how to call it ) or not... ...

File.listFiles() and distinguishing physical folders from virtual ones

The File.listFiles() method lists the contents of a folder. On windows however, when you call the method on your root drive, it also yields some - in lack of a better phrase - "virtual" folders (Like "Documents and Settings", which got replaced by "Users" in recent windows versions). If you then call listFiles() for one of those "virtua...

Driver proxy to avoid repeated code signing on Windows

Drivers on Windows should be signed and submitted to Microsoft for code signing and this is a requirement for 64 bit systems. The problem is that, when you have to update the driver, you have to submit it again, once for every release. Is possible to build some kind of proxy or shim driver so that I have to sign and submit it only once,...

How can I (re)format a partition from a .net application?

I have a C++/CLI application which needs to format a partition (single drive letter in Windows XP Embedded). Is there any other way to do this besides launching the standard windows format program? ..or is that my best option? ...

Application Title is missing when pinned to start menu.

Hi, I have a problem with pinning my c# application to the start menu in Windows 2008 R2. The application pins with the correct icon but the application name is missing. In effect I just get the icon displayed. My csproj has an msbuild import that points to a custom target file to automatically generate the AssemblyInfo class. I hav...

How to add additional printer drivers (x86/x64) programmatically under Windows XP,2003,7,2008

Hi, I've written an printer driver which works under x86 and x64 MS Windows systems. I also have written an setup which installs the printer driver via AddPrinterDriver and AddPrinter functions. So far, so good. The thing is, if I want to share this printer from an x64 system to an x86 system, the x64 print server needs to have the ad...

How to kill a glassfish server in Windows?

Hi, I tried to start a glassfishv3 server in my windows XP system with the command "asadmin start-domain". The start failed due to a timeout. When I try to start again I get an error saying that the port 4848 is allready in use by another process. When I try to stop the server with "asadmin stop-domain" I get the error that it is not ru...

Why do WinVerifyTrust and sigcheck disagree about whether a file has a signature?

Hi, I've used the WinVerifyTrust example from here, but I'm finding that it is getting a TRUST_E_NOSIGNATURE for some files that SysInternals sigcheck reports as signed. For example, c:\windows\system32\mfc42.dll is reported by WinVerifyTrust as signed, but c:\windows\system32\mfc42u.dll is reported as unsigned -- sigcheck reports both...

Scripting and basic development tools for Windows?

I'm seeking suggestions for tools I can use on Windows to perform simple scripting and general Java development related tasks on a command line or other non-GUI interface (i.e. moving files about, starting/stopping servers, running Maven, etc.). I'm accustomed to using Cygwin which provides a virtual Linux development environment but I ...

Windows Service with GUI monitor?

I have a C++ Win32 application that was written as a Windows GUI project, and now I'm trying to figure out to make it into a Service / GUI hybrid. I understand that a Windows Service cannot / should not have a user interface. But allow me to explain what I have so far and what I'm shooting for. WHAT I HAVE NOW is a windows application...

MobiOne is expired , what should i do to test iphone web page on windows xp . whats the best software about it

i use MobiOne to test iphone web page on windows xp but now it is expired , i uninstall it, and then reinstall it , it is also not running , so what should i do , or whats the best software about it . thanks ...

Redirect Windows Screen Output (command window) to FTP

I am trying to send output from a DOS command that normally is displayed on screen to an FTP site. I know I can do it in two steps (redirect to a file and then ftp the file), but I am hoping to skip the materializing it as a file first (it's going to be a big file). Example: I can create a directory list file: dir c:\ >c:\dirlist.txt a...

libcurl on Windows problems

I am having a hard time installing libcurl ruby bindings gem (curb) on Windows. I have done everything right. I have libcurl directory on the PATH, and then I try two ways of installing the gem gem install curb and rake install EXTCONF_OPTS='--with-curl-dir=B:\curl' None of them work. They fail with different errors, though, and th...

Communication with running Windows service

Hi. How can I communicate with running Windows service without stopping it using native C++? I need to pass integers and strings to service and get integers and to get back integers and strings. Currently I do it through registry, but I would like use another, faster way. Thank you in advance. ...

How can I delete temporary files that are still open in other programs?

My program writes temporary PDF files (using Path.GetTempFileName) which are then passed to the default PDF handler (typically Adobe Reader) for display. I have a finally block in my Main method to delete the temp files, but if Adobe Reader is still open when my program closes, the files remain open and can't be deleted. One solution wo...

Should I do Win Application ?

Hi , It's a question comes to my mind all the time and So i would like to share , And know you mature programmers opinion's . Unfortunately i spent some years of my life doing Graphic (web) and suddenly i quite and start Web Programming ( because i found myself more interested in programming and because i had a base knowledge about ...

Fastest timing resolution system

What is the fastest timing system a C/C++ programmer can use? For example: time() will give the seconds since Jan 01 1970 00:00. GetTickCount() on Windows will give the time, in milliseconds, since the system's start-up time, but is limited to 49.7 days (after that it simply wraps back to zero). I want to get the current time, or ticks...

Spy++ and windows closed when they lose focus

Hi, I would like to know if there is a way with Spy++ to get the properties of a window that is automatically closed when it loses the focus (which is what happens when I switch to Spy++). Thanks! ...

disable windows pop up during telent

Hi, We do telnet from Solaris machine to windows machine and run build command on windows machine. Currently we observe that during build because of some issue, process pops up "windows error message". Since no gui is attach to the process, build gets hang up and we've to re-run manually on the system. We are using "nmake" and visual ...