setting a default value for a column in code or XSD
Wed, 3 Sep 2008 21:15:15 -0700 (PDT)
I want to set a date column in a datagrid view to default to today's
date. I have tried two approaches and am curious about a third. Please
help.
1.) How do I set the DefaultValue property of a column in and XSD? The
current value of the property is <DBNull>. I want it to be today's
date. I do not know the sy ...
|
xcopy install : app will not run
Wed, 3 Sep 2008 15:48:54 -0700
I have a small .NET 2.0 WinForms app.
On my x32 workstation , I compile two build configs: debug x32 and debug x64
The target box is a Windows Server 2003 R2 64bit with .NET 2.0 and all
critical Windows updates.
I xcopy the contents of the \bin\x86\Debug\ folder to a folder on the
target box and attem ...
|
Inheritance When Compiling for x64
Wed, 03 Sep 2008 14:57:55 -0700
I have several classes which inherit from classes in the NET FrameWork,
e.g. ListViewEx, TreeViewEx and a BaseForm which includes elements I use
in all applications.
When trying to view these inherited classes in the designer I keep getting
the error:
The designer could not be shown for this file becau ...
|
ComboBox Binding Confusoin
Wed, 3 Sep 2008 12:36:47 -0600
I have a WPF combobox in which I'm binding the SelectedIndex to a model
class I've developed. Assume something similar to the following (but
with different names, etc... this is a simplified version):
<ComboBox Name="myCombo" ItemsSource="{Binding ComboSource}"
SelectedIndex="{Binding IndexOfCombo, Mode=On ...
|
Names Space on Different Projects
Wed, 3 Sep 2008 15:07:00 +0800
Hi,
Please help me on this one.
How will I be able to access namespace on different projects containted in
one Solution using VB.NET 2005. Please help
by providing sample codes.
Pseudo :
Project1
Form1
Class1
Class2
Project2
Form1
Class1
Class2
TY.
...
|
sendkeys not working in a user control
Tue, 2 Sep 2008 00:10:00 -0700
Hi,
I tried an example of sendkeys to simulate pressing {ENTER} in a form.
E.g. there is a textbox on the form and somewhere in the code I do like this;
TextBox1.Select()
SendKeys.Send("{ENTER}")
And as expected, this makes the keyUp eventhandler of the textbox to consume
the event;
Private Sub Tex ...
|
propertygrid browsable attribute
Mon, 1 Sep 2008 10:05:00 -0700
after a lot of googling and trial and error, I now can change the browsable
attribute of a field in a propertygrid. But it does not update the window
directly. I tried to use good old friends Invalidate and Update, but it does
not help. Only when I select a different object and then the original again,
the c ...
|
|
|
Windows Forms - future
Mon, 1 Sep 2008 17:04:03 +0200
When Microsoft is planning to stop including Windows Forms in .NET? Will it
ever happen? I was wandering if it safe now to start learning WPF.
Kind Regards
djp
...
|
Keyboard Hooking including Unicode
Mon, 1 Sep 2008 07:42:00 -0700
Hi. I posted this question a LONG time ago, got a response from the wonderful
Linda Liu, and then lost the thread and everything but need to close up the
issue.
I need to be able to globally hook the keyboard in a C# Windows App, but,
very specifically, I need to be able to receive a KeyPress event that wil ...
|
Child controls are visible & take up layout space but will not draw
Sun, 31 Aug 2008 11:05:29 -0700 (PDT)
I have a user control that contains a FlowLayoutPanel. At runtime I
dynamically add other controls to this panel (I've also tried using a
regular Panel with manual positioning but run into the same issue that
follows). When I first launch the application, my control has -- as an
example -- 5 regular buttons laid ...
|