I'm not sure how to do this as I've never done it before. I've seen some things on google but not sure how to use them in my situation.
I want to be able to send a POST to a website ( http://www.ritani.com/salespersons/login
) with login credentials through a web browser control in .NET so I don't have to use a send-key work-around met...
We have developed an application in c# .net and aim to make it deployable within our intranet. We would like to have a solid documentation to go along with it but are unsure of the best platform to document this. Any tools available to facilitate this process?
I found out about Doxygen, Htmlhelp or Dr Explain but i'm still not convinced...
Hi all,
I've been playing around with the 32feet library for desktop bluetooth for about a month now.
It works fine for the Microsoft stack but doesn't play well for machines with the Widcomm stack.
I noticed that different PCs require different dll files which is a pain to identify if I were to install my application on a different P...
I have developed a windows application in C# .net. I need to check given user name has admin privilege in the machine. In Vista, if user doesnot run the application as "Run as admin", the admin role check with windows identity will return false.
Could you please help me to check given user name has admin in the nachine?
...
I've written a WPF application (in Visual C# 2010 Express) that has 2 windows. The 1st has a various buttons, the other displays video using the MediaElement control. When a button is pressed, a video associated with it is played or stopped if it's already playing.
On my development machine (Windows 7, good graphics card, lots of me...
All PropertyGrid examples I have seen allow the user to edit a single object, which PropertyGrid scans by reflection. I would like the user to be able to edit, for example, an ini file or a plain-old Dictionary, with one line per key-value pair. Is this possible?
...
I've been developing a class library for quite sometime and all of the sudden, sometime last week, I opened my project and all of my references have yellow exclamation points on them now (System.dll, System.Drawing.dll, etc..). I've tried removing the references and re-adding them to fix any broken reference paths, but they continue to s...
I've been messing around with the transforms option in WPF. How can I "add" a new transform to the existing one? I need to perform several different scalings from several different points at unknowable different times and simply add them on to the existing object, rather than re-creating a new transform with just the new scale in it. I'v...
Hey all,
I have a need to convert a number of different objects and I'd like to avoid writing a converter class for each one. Each of the objects inherits from a base class and I need to use the Id to get the Description (which is handled in my call to my CacheManager).
For each class (I have about 30 of them) I have the following cod...
I've seen various methods for generating thumbnails of PDF files in .NET, but unfortunately all of them require full version of Acrobat installed. Is there a way for getting them with free Adobe Reader or any other way?
...
Does Console.WriteLine block until the output has been written or does it return immediately?
If it does block is there a method of writing asynchronous output to the Console?
...
I am trying to serailize/deserialize generated WCF web service proxy code from svcutil. While I'm able to serialize the objects, I'm not able to deserialize them back to objects. Here's the XML I generated through serialization:
<RootObject xmlns="http://schemas.myco.com/online/sync/2008/11">
<WrapperObject>
<Objects>
...
I'm getting random crashes from my c# app (Windows 7/VS2008), and it doesn't give me a usual stack trace, but rather suggests to close/debug/find info windows 7 kind of dialog box. I'm running the app either from under VS2008 or stand alone - same thing. Clicking "Debug" suggests to debug with a new instance of the VS, which fails as "an...
i wanna to show a message box but i prefer to be server side ,i wanna to have full control over it,i mean the number of buttons, the icon .... etc like windows application.
the problem when add reference to system.windows.forms and use it , when publish the site on the server i have an error , i can't remember exactly , but when remove ...
Is there a reason for this? I am asking this because if you needed to use lots of empty char, then you get into the same situation as you would when you use lots of empty strings.
EDIT: Reason for this usage was this:
myString.Replace ('c', '')
So remove all instances of 'c's from myString.
...
This might be a stupid question as I'm a bit new to RX :)
I'm sampling an event (RX for .Net 4.0):
eventAsObservable.Sample(TimeSpan.FromSeconds(1)).Timestamp().Subscribe(x =>Console.WriteLine("testing:" + x.Value.EventArgs.str));
The problem is that the sampling time needs to be able to change on the fly, I guess I could make some pr...
We're (slowly) moving an application (with a classic ADO.NET DAL) to NHibernate (following both "one-session-per-request pattern" and "repository pattern").
The application, right now, is in a hybrid state (I know, it's horrorful):
some query are made by disposable DAO objects (that open a connection in their constructors and dispose ...
I haven't done work in C/C++ for a little bit and was just wondering if any one can help me with porting this .Net C# code into C++ using Boost library (Boost.Asio)
So I have one function:
private const int bufferSize = 8192;
/// <summary>
/// The entry point of the application.
/// </summary>
/// <param name="args">The input argumen...
We would like to transform the outgoing XML from a WCF request if certain conditions are met.
Is there a way to intercept the XML stream right before it goes over the wire with WCF?
I found an approach where you use Message objects and override OnWriteBodyContents method, bu in there you have to create XML by hand and ideally we would li...
can i make a project whose designing part is done in php and database connectivity in dot net?? Please help??
...