Hi,
i'd like the following code to work (where this. is a MDI child form)
this.HelpButton = true;
this.HelpButtonClicked += HandleHelpButtonClicked;
this.Refresh();
this code is being called after the mdi child form is displayed.
I wonder if i need to find some way of redrawing the title bar?
David
...
I am a VB.Net developer, kind of newbie in C#,
While looking in C# documentation I came through Iterators and Generators, could not fully understand the use, I there anyone who can explain (in vb perceptive; if possible)
...
Hi,
I've read a few posts about backing up Subversion (on Windows) in particular this post.
It was my intention to simply do a backup of the folder where my repository is located each evening to a network share. I'm now guessing this is not sufficient? My checked out source code folder is 412MB yet my repository is only 287MB.
Any sug...
My question so general, but I think the answer will be specific.
All I want to know is:
Is there a way or steps or mechanism to test the application (web application) in a professional way?
Many times when I finish developing and try my application, testing it with dummy data several times, and when I think every thing is okay and I t...
I'm mimicking .NET's session, with some minor differences (my class has only pre-defined fields - either strings or ints..).
I have read MSDN and some SO posts about implementing IDisposable, but it seems too much..
My event handler for the timer's Elapsed event calls a static method that should dispose the object sent to it.
Like so:...
In my windows forms app clients sometimes report a strange exception:
System.InvalidOperationException: Value Dispose() cannot be called while doing CreateHandle()
at System.Windows.Forms.Control.Dispose(Boolean disposing)
at System.Windows.Forms.ContainerControl.Dispose(Boolean disposing)
at System.ComponentModel.Component.Dis...
I'm looking for pointers, suggestions, and even dictation on how to manage the three different assembly version numbers for a .NET assembly. The Product version is the simplest, as this seems would normally be dictated by business. Then, the file version seems to be for versioning between deployments, where the actual assembly version...
Hi
I have an automated build process that sets up the application for a specified mode (e.g. Dev, uat, live). Depending on this mode I want to update Connection Strings to the relevant one.
However, in my Data Access Layer there is an app.config file which stores the connection string and this is used to feed the Settings.Settings file...
It returns an empty string!
<asp:TemplateField HeaderText='<%= "2323" %>'>
How to solve it? Originally i want to invoke a page method.
...
I'm trying to detect a present signature in a Word document with VSTO. I am stuck, because one I don't have much experience with VSTO and second I can't find any documentation about this.
What did I develop so far?
Created a Ribbon Add-In for Word 2007, with two buttons.
Created methods for handling the clicked buttons.
When Start De...
Is there any .Net framework for making symbian application?
...
How do you handle external libraries in .NET projects (C#) ?
Possible scenario's could be:
Put the external library in source control
Put the external library on a file server and create a copy-script and add this script to source control
I would recommend to put external libs on a file server, create a copy-local script and map it ...
In a previous question today these two different approaches was given to a question as answers.
We have an object that might or might not implement IDisposable. If it does, we want to dispose it, if not we do nothing. The two different approaches are these:
1)
if(toDispose is IDisposable)
(toDispose as IDisposable).Dispose();
2)
...
Since .NET 4.0 there is the TPL to execute asynchronous tasks. If you are reading the msdn, all async operations interacting with forms / UI still uses the InvokeRequire ... Invoke() pattern.
What I'm asking is that is there a reason for it? From what I learned, TPL should be sort of a replacement of older threading mechanisms. So what's...
Hello
I want to inherit from a class which is located in a WCF Service. The Inheritance works fine (I see the properties of the base class in my child class), my problem occurs when I try to call a method from the service and pass the childtype as a parameter and not the basetype.
Base class in WCF Service (Pet):
[ServiceContract]
pub...
Hi,
Anybody knows an open source product/framework, based in the MS stack, that allows modeling workflows (flowchart)?
It should allow:
- Drag and drop different node styles;
- Define properties for those nodes;
- Connect the nodes;
- Export to xml (non mandatory).
Any help is appreciated.
Regards
...
I've got a 2.0 server control that uses a dynamic query roughly in the form:
string sql = "Select " + columnvariable + " FROM " + tablenamevariable
So, obviously, you could give it any valid column name from any valid table in the DB and it would return the values in the column into a DataReader (in this case).
I'm trying to cut down...
I tried to do something like this but this doesn't work:
class Garage
{
private List<Car> cars = new List<Car>();
public Car this[int i]
{
get { return cars[i]; }
}
//...
}
Garage g = new Garage();
//get CS1579 - no GetEnumerator definition
foreach ...
I have a situation like this.
I checked out a file from documentum (File is a dita-map ). File has a reference to another file in the repository.
DRL is dctm://MILLENNIUM/0500006480003b2e?DMS_OBJECT_SPEC=RELATION_ID.
From this, I assume that 0500006480003b2e is the relation ID. If so how do I get its ObjectID .
I need the object ID o...
I'd like to know community feedback about this program. Sounds quite interesting but I doesn't seem that many people / companies are currently using it.
Here is the link for those that don't know it.
...