What's the best way to approach using Mercurial (HG) programmatically from C#?
I will be creating HG repositories, committing, and using other default HG functions. Are there are open-source .NET libraries that would allow me to do this?
Thanks in advance.
...
Right now I'm using the following code in my markup:
<asp:HiddenField ID="TheName" runat="server" Value=<%#Eval("SpeakerName")%> />
I would like to use:
<asp:HiddenField ID="TheName" runat="server" Value=<%#Eval(0)%> />
I would like to be able to call it by index instead of explicitly by "SpeakerName". Is there a way to do this in ...
I've heard that you can, during installation, add an exception for your app to give permission for it to access the internet through the firewall.
Anyone know how to do this?
...
I see plenty of tutorials and articles showing me how to make a simple windows program, which is great but none of them show me how to make multiple windows.
Right now I have working code that creates and draws a layered window and I can blit stuff using GDI to draw anything I want on it, drag it around, even make it transparent, etc. ...
If I have code like this:
FormattedText text = new FormattedText(sTheBook,
System.Globalization.CultureInfo.CurrentUICulture,
System.Windows.FlowDirection.LeftToRight,
new Typeface("Times New Roman"),
13, Brushes.Black);
text.MaxTextWidth = 300;
text.MaxTextHeight = 600;
text.TextAlignment = TextAlignment.Just...
I'm working on a program to trigger cut and pastes
Pastes i have no problem with (i just dump a string into the clipboard)
Cut and or Copys are proving to be a little more difficult
The program i have is out of focus and has several hot keys registered with the os ( ctrl+alt+2 ctrl+alt+3 etc)
that i want to use to trigger Windows to ...
Running a webserver 2003 SP2 (x86) with IIS 6 and asp.net 2. The box is running mostly dynamic asp pages connecting to a sql 2008 server.
At any given time there is over 1 gig of memory available out of the 2 gig in the box. It seems like there would be a way for it to make better use of the free memory. It is using a default machine...
I want to load a image (.bmp) file on a Win32 application, but I do not want to use the standard LoadBitmap/LoadImage from Windows API: I want it to load from a buffer that is already in memory. I can easily load a bitmap directly from file and print it on the screen, but this issue is making me stuck :(
What I'm looking for is a functi...
I'm having a problem, I have two different AxShockwaveFlash objects that normally communicate together in a web browser, in my VB 2010 project they don't seem to be able to talk to each other. Does anyone know how to solve this?
...
I'm currently trying to write a simple script that looks in a folder, and returns a list of all the file names in an RSS feed. However I've hit a major wall... Whenever I try to read filenames with Japanese characters in them, it shows them as ?'s. I've tried the solutions mentioned here: http://stackoverflow.com/questions/482342/php-rea...
I have a script/program I am working on that requires a configuration file (I am using ConfigParser). On linux, I will default to store these variables in ~/.myscript using the os.getenv('HOME') function.
With Windows, I know I can use os.getenv('USERPROFILE') to find the User's "home" directory, however, is it a good idea to save a ...
why do we allocate virtual memory address space within a process to get a read access to its memory?
...
Are there any tools available that allow you to 'look' at any given application and show you which WinForm controls are being used in that application? I happen to have an app which I like the GUI of, and I want to use a similar structure in my own app. Instead of developing these controls myself, it may be easier to buy them, if only I ...
VisualSVN server is a nice piece of software; particularly in that it uses the builtin Windows authentication mechanism on my server. I'd like to try to start using Mercurial though, and I'd like to keep the Windows authentication scheme.
Is there some way to set this kind of thing up using the tools available on Windows Server 2008 R2 ...
I want to minimize a Delphi application to the systray instead of the task bar.
The necessary steps seem to be the following:
Create icon which should then be displayed in the systray.
When the user clicks the [-] to minimize the application, do the following:
Hide the form.
Add the icon (step #1) to the systray.
Hide/delete the appl...
How can I implement a vtable COM interface in java?
In the old days, I'd use the Microsft JVM, which had built in java-COM interop. What's the equivalent for a modern JRE?
Answers to a similar SO question proposed JACOB. I've looked at JACOB, but that is based on IDispatch, and is aimed at controlling Automation serers. The COM interfa...
hey i know that on some computers you can cut off the wifi with a buttion and i want to do that with my desktop but it's not wireless. is there a way to in code block my computer from the internet then unblock later. anyway i can do this?
...
Is there a reliable way to learn that a memory page or a range of pages belongs to a specific DLL inside the address space of a process?
...
Hi,
I'd like to use couchdb for a client-only application on Windows (the document-oriented structure and the synchronization features would be perfect for me).
There is a Windows installer package here, but the installer itself has about 45 MB, when installed it takes more than 100 MB on my HD. This is far to much for my (relatively s...
I'm trying to write a simple program that will receive a string of max 20 characters and print that string to the screen.
The code compiles, but I get a bind() failed: 10038. After looking up the error number on msdn (socket operation on nonsocket), I changed some code from
int sock;
to
SOCKET sock
which shouldn't make a differe...