windows

Disable authentication on subfolder(s) of an ASP.NET app using windows authentication

Hi, Is it possible to disable windows authentication on one or more subfolders of an ASP.net application using windows authentication? For example: A website contains several other folders that contain parts of the overall application: /frontend, /backend, /login The bin folder is on the same level as these subfolder, i.e. the root o...

changing scroll bar color using css

can we give different color to scroll bar face color and arrow background ? right now if I apply " scrollbar-face-color " it is applying to both arrow background as well as scroll bar thump is there any way to Set the color for the scroll bar slider and the boxes that contain the scrollbar arrows differently ...

Use a push button to add a section in an InfoPath form?

I'm working on an InfoPath form that's going to be run with InfoPath Forms Services on a SharePoint server. For a number of reasons -- mostly so that the customer can update the form without involving an administrator -- this can't be a form containing .NET code. The form has a repeating group, and we have users who are a bit confused a...

Low Throughput on Windows Named Pipe Over WAN

I'm having problems with low performance using a Windows named pipe. The throughput drops off rapidly as the network latency increases. There is a roughly linear relationship between messages sent per second and round trip time. It seems that the client must ack each message before the server will send the next one. This leads to very po...

Startup applications per-user and Windows Installer

I have an application that is installed per-machine (since it uses a service). One part of the application is a system tray application that allows the logged-in user to monitor the service operations. I'm trying to figure out how to best install this monitor application. Each individual user should be allowed to configure whether or no...

SQLBindParameter is working fine but SQLExecute gives error in Windows 2008 Server 64bit.

Dear All, I am migrating my application from 32bit(Windows 2003 Server) to 64bit (Windows 2008 Server R2).I am getting the following while trying to execute a SQL command Encountered ODBC error -1: S1010, 0, [Microsoft][ODBC Driver Manager] Function sequence error . Basically internal function call is SQLExecute() function call. This ...

smooth scroll with autoscroll

I have a Panel on a Windows Form. The Panel has autoscroll enabled. The scroll bars appear as they should and the scroll bars generally operate as they should. But the content of the panel is only updated when the mouse button is released. How can I make the content scroll AS the scroll bar is moved. (I want to duplicate the scroll ...

Spy++ like program for viewing control values

I'd like to view and export the values of a combobox. What program can I use to allow me to get the values in a control inside another application? ...

How can I run a local Windows Application and have the output be piped into the Browser.

I have Windows Application (.EXE file is written in C and built with MS-Visual Studio), that outputs ASCII text to stdout. I’m looking to enhance the ASCII text to include limited HTML with a few links. I’d like to invoke this application (.EXE File) and take the output of that application and pipe it into a Browser. This is not a o...

How do I draw my own submenu arrow in owner draw menus (and prevent windows from painting its arrow on top of mine)

Windows seems to draw the submenu arrow after I have done my painting in WM_DRAWITEM, how can I stop windows from drawing the arrow? ...

How do I capture errors from psexec?

I'm trying to restart a significant number of windows computers on different domains, using the same local admin credentials that work across domains. psshutdown.exe -r -f -t 600 -e p:0:0 -m "This reboot is a scheduled weekly reboot." -u "admin username" -p adminpw @mon.txt 1>4-26-mon.log 2>&1 Honestly, I just want to log the ones th...

Windows Process Memory Viewer/Extracting data from a chart program

I've got a windows app which draws charts from data points but there is no way to export the data points into a portable format. I tried using AutoIt to access the form controls values but they were concealed by draw functions. I thought with a memory viewer I might be able to view whatever container is storing the chart values, and extr...

how do you release code like a static library in windows

I had a question with regards doing an official release of code. Its my first time using VS2008 so bear with me. I have my header file that has the api's which grant them access to the lib. now there is a debug and a release version that is talked about. how do i give these to my client? do i need to give them both folders or just the...

Prevent Windows Explorer from interfering with Directory operations.

Sometimes, no "foo" directory is left after running this code: string folder = Path.Combine(Path.GetTempPath(), "foo"); if (!Directory.Exists(folder)) Directory.CreateDirectory(folder); Process.Start(@"c:\windows\explorer.exe", folder); Thread.Sleep(TimeSpan.FromSeconds(5)); Directory.Delete(folder, false); Directory.CreateDirectory...

Win32 synchronization

I am trying to write an application (console based),in which one thread reads information from console and another thread prints the same information back to console. I am stuck in implementing the synchronization logic . Can anyone refer me some samples. john ...

Block all other input to an application and control it from a wrapper in Java

I have a windows application which has a complex GUI that I would like to hide from users. In order to do this, I would like to create a wrapper with an extremely simple interface that overlays this application and automates a number of actions when a user clicks a single button on the wrapper. (I hope "wrapper" is the proper term.) I...

DefaultSchedulerService in ASP.NET application

Hi, My project has a requirement to implement look-ahead caching i.e. triggering another request on invokation of a specific request. The following details in short the implementation - HttpModule parses the SOAPRequest and matches entry in a configuration file for look-ahead candidate. If the request matches, it prepares the Parameter...

Simple "Hello World!" console application crashes when run by windows TaskScheduler (1.0)

I have a batch file which starts multiple instances of simple console application (Hello World!). I work on Windows server 2008 64-bit. I configure it to run in TaskScheduler, at startup, and whether user is logged-in or not. The later configuration means that the instances will run without GUI (i.e. - no window). When I run this task, ...

gracefully stopping a windows service with mutlithreaded processing on a timer thread?

Hi, Any ideas on gracefully stopping a windows service with mutli-threaded processing on a timer thread? Is it possible to add some infinite loop logic in the OnStop method to postpone the service shutting down. ...

Find window with specific text for a Process

Hello, I'm trying to find if a window with specific has been open by a Process. That process spawns multiple windows, and I need to check them all. I have no trouble finding the process, with foreach (Process p in Process.GetProcesses()) { if (p.MainModule.FileName.ToLower().EndsWith("foo.exe")) FindChildWindowWithText(p); //do ...