I'm working on an application that serves up files (e-commerce downloadable content.) The content is stored on a windows folder share on the server and the application then provides access to that content when the uses requests it. Essentially there is a DownloadFile.aspx?fileId=XXXX
Anyway I'm having issues getting the security right o...
I have created a windows service that has the Account set to user. Which means that when I install the service I need to pass a user name and password. Is there a way to set these maybe in the ProjectInstaller class maybe in the BeforeInstall event? if so HOW?
...
There are 2 machines, one with Xp one with Win 2003. Both are Japanese versions!
If you get the available encodings (via Regional Settings or programatically, Encoding.GetEncodings() ) this happens:
on Xp, the resulting list is in Latin characters
on Win 2003, the list is in Japanese characters
Some guy at work though to persist t...
We have two services developed in Visual Studio .NET 2008 with VB.NET. Both were developed completely separately by separate individuals (one of them being myself), but both are reporting the same error during boot: "service hung on starting" appears in the System event log after booting. The services proceed to start up fine after tha...
I have some Swing code (written in 1.6 for 1.6) that specifically sets the font in a text area to Courier, but on some Windows systems, this shows up as Arial (the system default?) instead. Does that mean a font is missing from the system? What is the behavior Java has when it can't find a font it is looking for? Does it complain? Do...
I have an object, dc, of type CDC and I'd like to get an HDC object.
I read the MSDN documentation here, but don't really understand it.
Can someone provide me with a brief example/explanation on how to do this?
...
What is the correct way to create a file extension (and maybe a MIME type) that will run from your local file system without prompt, but if you browsed to that file through Internet Explorer or Firefox you would get prompted (warned)? What is the exact mechanism in the windows registry that controls this?
...
Hi,
I am unable to run rake test:functionals with SQLite3, it gives me this error :
rake aborted!
Permission denied - db/test.sqlite
(See full trace by running task with --trace)
My setup is on Windows XP.
Tests were working a few weeks ago.
Rails 2.3.2, Rake 0.8.7, sqlite3-ruby 1.2.5 gems
I am using Netbeans for development, but e...
I'm trying to compile the oauth-utils
http://mir.dnsalias.com/oss/oauth/start
for Windows from Ubuntu. I have compiled it on Windows before
(a few months back), but wanted to try cross-compiling.
I got openssl build using mingw32 ok, and put
libssl.a and libcrypto.a in the right place. The linker is now
finding the libraries (yay!) bu...
I need to be able to simulate high bandwidth/high latency/high packet loss on my pc for the purpose of testing the software that I'm writing.
I've seen some software that you can install on a separate machine that will act as a throttling router/gateway but 1) I didn't really trust the companies that I found 2) A separate machine isn't...
Example: graying out the "X" on windows systems.
...
I have a problem with the way my scrollbars are drawn. Because of external limitations (my application being a plugin running in an external window that insists on painting over any regular child window), I have to use SCROLLBAR-class windows (as opposed to using WS_CHILD | WS_VSCROLL)
For almost every message received, the scrollbar is...
I am encountering an issue with some Oracle code which uses the NCHR function. The same code is running on Windows/Ora10g and Linux/Ora11g, yet it behaves differently.
The NLS characterset is identical on both instances.
I am trying to determine if this is an issue with Oracle versions or because of the OS.
Has anyone encountered thi...
What's the best practice for accessing SVN over HTTP in a Windows environment?
In Linux, we connect SVN to Apache all the time, so we can address remote repositories over HTTP. Is there a way to connect SVN to IIS, or some equally handy way to let you access an SVN repo on a Windows machine over HTTP?
...
Is there a way to create a window (such as a QDialog), without a window icon on the top-left corner? I have tried using a transparent icon but it leaves a blank space there.
Edit: richardwb's solution below removes the system menu, but also removes Minimize/Maximize/Close (caption buttons) as well. This might do for now, but hopefully t...
Is there a way to create a Control that can display on the desktop without the use of Form?
For example, displaying a splash window? I know that it's easy to create a splash window without any borders, etc. using Form. But that's just an example. I'd like to know if it's possible to create a top level window without all the baggage th...
Hello *,
I am currently writing a scientific article, where I need to be very exact with citation. Can someone point me to either MSDN, MSDN article, some published article source or a book, where I can find performance comparison of Windows or .NET Synchronization primitives.
I know that these are in the descending performance order: ...
I am looking for a way to monitor Windows dialog during a MSI deployment. Here is my situation: we have machines deploying daily MSIs and once in a while, one of them fail and shows a Windows dialog with an error message.
I am trying to find a way to write a script (maybe in Powershell) which will run every minutes and look for a Window...
We distribute an app that needs to be run in XP Compatibility mode on Vista 64 bit.
But it autostarts (it runs from a CD) not from a shortcut.
Anyone know how to force it to start in XP Compatibility mode.
...
For some reason both the mast and slave fail, however I could find any good examples on how their meant to work, so im not sure where I went wrong.
The master never exits the WaitForSingleObject after ConnectNamedPipe, and the slave throws an exception in the first boost::asio::read call, "Waiting for a process to open the other end of...