Is there a way to execute another program, such as notepad, as a thread so it shares the same memory space as my program? So if my program ends, so will notepad and so that notepad won't show up in task manager, just my program?
...
I want to create an elevator simulator, just for fun! Will it be beneficial to do so in XNA, instead of a Form application or WPF/ Silverlight?
I want to create a simple animation to show the elevator(s) in action.
I prefer to use a .net language.
...
Is there a way in C#, perhaps using an external library of some kind, to perform HTTP web requests without using the built-in .NET classes (HttpRequest, WebRequest, WebClient...) ?
I ask because I'm working on a game in the Unity3D engine, which allows you to use most of .NET through Mono. However, the System.Net namespace isn't support...
I've been trying to create a sound library as a learning project. I get the reading and parsing, I just don't understand how to actually make sound come out of the speaker. I've looked around for quite some time now, but I could never find something that explains this. It seems to be trivial. Am I missing something here? How do I do this...
I'm trying to get .NET Remoting to work on Windows Azure, with a web role. I get a 500 internal server error when trying to access the URL. I've tried using Azure MMC (http://code.msdn.microsoft.com/windowsazuremmc), but I'm only able to get Infrastructure Logs. No Event Logs, Azure Logs or similar. What am I doing wrong?
I've tried sett...
I want to know how could I write a program in C# that opens a browser and go to google.com (I did that easily)
I want to write code to automate move mouse to the input text field, click the mouse and then enter some text. move mouse to search button and hit it.
I know I should deal with iAccessible interface but I did not find any usef...
I'm seriously perplex at how this guy make the console do this. This being it doesn't write top down, and how he can move up and down like that....
Can it be done with MonoDev and Terminal?
http://www.youtube.com/watch?v=-MA0nscgV2U
...
I just downloaded the template for DotNetOpenAuth 3.4 and created a new project from the template. Open starting the web server in Visual Studio and launching the setup page I am greeted with the following error after providing my OpenId:
Configuration Error
Description: An error occurred during
the processing of a configurati...
Hi All,
when load dll file using .net reflection(the loaded file description is : Microsoft C Runtime Library), I got Run time error (R6034)
when load dll that not using C runtime library it will be loaded successfully,
can I load dll that using C runtime using .net reflection, if not, then how to catch this exception ?
Find my code belo...
Hello,
I'm writing a Connect4 game with an AI opponent using adversarial search techniques and I have somewhat run into a wall. I feel that I'm not far from a solution but that there's perhaps a problem where I'm switching perspectives (as in: the perspective of which participant I'm basing my evaluation scores on), missing a minus sign...
I'm trying to convert a float to a string without getting scientific (1.13E-8) style formatting.
I'm looking for some combination of the "F" and "R" specifiers. I want the F so that it does not use the scientific style, but I also want the R so that it uses as little space as necessary to exactly represent the number.
So given 0.000000...
This probably sounds like a stupid question, but I'm going to give it a shot anyway.
So in Visual Studio, you can't have two projects X and Y such that X references Y and Y references X.
In general, I can totally understand how having a circular dependency can be problematic, for a variety of reasons.
But is it really not possible to ...
I have this web application which uses SM for IoC. I am using HybridHttpOrThreadLocalScoped scope to store my nHibernate ISession objects. This works ok in a session per request fashion for my web requests.
But I also have quartz.net that schedules couple of jobs. The job uses the same unit of work to get the ISession object. In this s...
In MVC.NET, how should I dynamically populate the HTML structure from a database into a Masterpage where the first the template needs to wrap the masterpage contents?
AKA
-- master page header stuff goes here --
...
-- Beginning of client template goes here --
...
-- masterpage contents goes here --
...
-- End of...
I have setup quartz.net to run a scheduled job. It is amazing when I look at the thread ids. They just get repeated in 10-thread interval.
I mean for instance if the first thread that gets to execute my job has id 101 then the eleventh thread (that runs the same job at the eleventh interval) has the same id 101!
It seems that quartz.n...
I'm using forms authentication in an ASP.NET application. I configure the FormsAuthenticationTicket to expire in 1 year but it actually expires after 1 hour or so. I can't figure out why.
Here is all the code involved in the login process:
public static bool Login(int id)
{
try
{
string s...
I want to check availability of web service.
this is my code that i running a function from web service
DataSet ds = new DataSet();
DataTable dt = new DataTable();
NegsoNotifier.WorkItemsService.WorkItemsSoapClient wiservice;
wiservice = new NegsoNotifier.WorkItemsService.WorkItemsSoapClient();
System.ServiceModel.EndpointAddress adr;
...
Hi - something that should be so simple in .net seems to be oh-so-hard.
I have a project called MyExtenders, containing a few simple extenders to basic types.
Many projects use MyExtenders - and so in traditional svn checkout and build approach I add MyExtenders as an svn:external with the revision locked to whichever it was last built...
I have html email that I would like to track click activity. I need to update all hrefs within the email to point back to my server where they can be logged and redirected. Is there an easy way to do this globally using .Net regex?
<a href="http://abc.com">ABC</a>
becomes
<a href="http://mydomain.com?uid=123&url=http:/ab...
how to find list of files inside zip file without unzipping it in c#.
...