Find a running executable - 1388191732 (11/17/2009 5:29:04 AM) UtfIs there a way to find out if an executable (with known full path of the exe
file) is running or not in C#?
...
Find a running executable - 517411768 (11/17/2009 5:12:02 AM) UtfIs there a way to find out if an executable (with known full path for the exe
file) is running or not in C#?
...
WinInet.dll InternetStatusCallBack in C#0825 (11/17/2009 5:12:19 AM) VladimirHi All,
Trying to establish FTP connection thru a proxy using WinInet.dll calls.
Proxy server requires the third ACCOUNT parameter to authenticate,
InternetConnect always fails. I tried to define InternetS...
is this the right way to do multithreading21020 (11/17/2009 2:18:40 AM) alexlI derive an object from a Form and instantiate it like this
//sc is the instance of an object derived from Form
Thread t = new Thread(() =>
{
...
datagridview and checkbox column21803 (11/16/2009 4:39:35 AM) BhavinHi
I'm building windows form using C# and framework 2.0.
I have got one gridview form with two columns (one is text, another is
checkbox column).
I'm trying to write a code so user can select only one...
Load XML file3977 (11/16/2009 5:59:20 PM) shapperHello,
I am opening a xml document as follows:
XDocument _categories = XDocument.Load(String.Concat(path,
"Categories.xml"), LoadOptions.SetBaseUri);
Then I am adding a few Category nodes and saving i...
Confused by implementing an IEnumerable with iterator blocks81349 (11/13/2009 8:09:20 PM) HarlanI wanted to write a class to encapsulate an enumeration of all the files
in a directory. I could just use
Directory.GetFiles(directoryPath, "*.*",
SearchOptions.SearchOption.AllDirectories);
but wh...
UTF8 encoding6965 (11/16/2009 3:37:23 PM) shapperHello,
I am saving different types (image, plain text, html text, sound and
pdf) of content into a database in Byte[] format.
Is UTF8 a correct encoding for all these content types?
Thanks,
Miguel
...
Excel Pivot Items Using C# - Unable to Access11266 (11/13/2009 2:26:30 PM) jamesI am working on a C# add-in that modifies pivot tables. I have done
this work in VBA, and the object model seems straightforward, e.g.,
PivotTable-PivotFields-PivotItems, but I can not get the object for
Pi...
Problems with System.Xml31230 (11/16/2009 10:19:44 AM) GiulioHi there,
I have this snippet:
using System.Xml;
....
XmlDocument doc = ...;
XmlNode foo = doc.CreateElement("foo");
foo.Attributes.Appen(doc.CreateAttribute("id", "23"));
my 'foo' tag looks like...
SQL Server 2005 encryption with databound controls3986 (11/14/2009 11:01:06 PM) FinnHi
I'm looking for ways to encrypt data in my MDF database (SQL Express) and i
wonder if anybody had some examples on how to use it, especially in
conjunction with databound controls using dataset's..
...
Passing events form dll to c#4907 (11/16/2009 7:56:05 AM) UtfHi,
My C# program calls, trough some sort of wrapper, DLL functions of a text to
speech engine. This (dll)wrapper also provides information about the state of
the engine (start event, word event, stop ev...
read binary file into byte[]71274 (11/13/2009 11:37:58 PM) JohnWhat is the most efficient technique to read a binary file ( such as a .dll
or .exe ) into a byte[] ?
Are there advantages to using a BinaryReader ?
Thanks.
...
Regex help8988 (11/14/2009 9:47:03 PM) StevenHi everyone,
I am pretty much a newbie when it comes to using regular expressions.
I guess all the fancy syntax is pretty much confusing me all the time.
Can someone help me out with an example for the f...
Madoff programmers were a modest bunch...and what language did they use?7900 (11/13/2009 7:39:00 PM) RayLopez99Look at the modest amounts these guys were asking for. They had
Madoff by the short hairs, could have asked for upwards of $10M each
and afforded to retire to a docile Third World country, but instead
wante...
WIA & C#: TypeDescriptionProvider.GetTypeDescriptor() instance parameter is null?11449 (11/14/2009 10:51:13 PM) EdwardHello,
I'm implementing an application with C# and WIA scripting and I'm
trying to display a WIA Device object in a property grid. After some
searching it seems like I want to model my solution after this...
Flatten a Collection with LINQ ?51643 (11/13/2009 2:10:01 PM) sloan
I'm trying to get a "flat list" of values.
Below is the sample.
Desired Results:
Bobbie Brady has these toys : TeddyBear,Wagon,TonkaTruck
Cindy Brady has these toys : Dollie,TeaSet,Insta-Bake
Som...
How to create a Control given its type _as string_?4753 (11/13/2009 1:42:06 PM) HelmutHello out there,
de-serializing a collection of controls I have code like this to
recreate them:
Control ctrl;
switch (type) {
case "Button": ctrl = new Button(); break;
case "Labe...
Is it possible to hijack text box functionality for custom control4779 (11/13/2009 4:55:02 PM) UtfI am working on a custom control, an extension of Panel which draws a series
of rectangles in a flow chart. Each rectangle has a title and the ideal
approach would be to allow the user to edit the title by ...
WPF/LINQ to SQL DataContext Best Practices21515 (11/13/2009 7:03:18 PM) BillHello,
Putting aside for the moment whether or not I should be using LINQ to SQL or
Entity Framework, I'm looking some best practice advice for managing the
LINQ to SQL DataContext behind my WPF applicat...