| |
thread by: Gianluca |
last post Nov 17 '05 by: Gianluca
Anyone knows if the bug in NativeWindow.RegisterClass and the class names
list being case sensitive is scheduled to be fixed or already fixed?
In short, NativeWindow.RegisterClass keeps a list of registered classes that
is case sensitive, but Windows itself is not. So you want to use a class
that is already registered by the .NET framework...
|
thread by: trint |
last post Nov 17 '05 by: Ignacio Machin \( .NET/ C# MVP \)
Ok,
Is there an easy way to test for network connection in a loop
so that if I were to pull the connection, the user is notified?
Thanks,
Trint
|
thread by: wackyphill |
last post Nov 17 '05 by: wackyphill
...Such as ToString(), Equals(), etc.
public override String ToString() { return base.ToString(); }
The above doesn't work.
Any ideas? And before you ask, Yes I do have a sane reason for wanting
to do this.
|
thread by: Sharon |
last post Nov 17 '05 by: VJ
I’m using a DataGrid control on my form; and I want to handle the KeyUp event.
So I did:
myDataGrid.KeyUp += new KeyEventHandler(this.OnKeyUp);
When the DataGrid is empty, I mean when It has no data so now rows are seen,
all keys are causing my this.OnKeyUp(...) to be invoked correctly.
But when the DataGrid is populated with some data...
|
thread by: Craig |
last post Nov 17 '05 by: Craig
Hi,
Would appreciate any help you guys have to offer. On calling beginPeek on
instantiation of a MessageQueue, EndPeek throws a MessageQueueException. If
the queue exists already, the exception is not thrown, but when I just
create the queue and call BeginPeek, the exception is thrown on calling
EndPeek. The MessageQueueErrorCode of the...
|
thread by: Thaynann |
last post Nov 17 '05 by: Ignacio Machin \( .NET/ C# MVP \)
Hi there,
Can anyone tell me why this code appears to be throwing a WebException, and
also why the files are still downloading
try
{
imageData = webClient.DownloadData(total);
MemoryStream ms = new MemoryStream(imageData);
Bitmap b = new Bitmap(ms);
b.Save(@"C:\temp\IMAGE", ImageFormat.Tiff);
|
thread by: Mike L |
last post Nov 17 '05 by: Mike L
This is for a Win form.
When the field reaches the max limit I want the cursor to go to the next
field.
Saving the user from pressing the tab key.
|
| |
thread by: rettigcd |
last post Nov 17 '05 by: Abubakar
I have several classes that all have the same static member:
class A{
public static string Table = "TableA";
}
class B{
public static string Table = "TableB";
}
|
thread by: Ma Xiaoming |
last post Nov 17 '05 by: Ignacio Machin \( .NET/ C# MVP \)
Dear ladies and gentlemen,
As you know, by building a Smart Device Application in Microsoft Visual
Studio .NET 2003, we could create a project for Pocket PC.
My question is: How to search files of specific type (such as .bmp) with
C# code?
Help me, please. Thank you very much.
|
thread by: Thomas Richter |
last post Nov 17 '05 by: Dan Neely
Hi,
I can't get of the black flicker when I resize my form.
this = Mainform : System.Windows.Forms.Form
If I set the size from 300 to 500 I see for ca 500ms some
black areas. I try to solve it with:
this.SetStyle(ControlStyles.DoubleBuffer, true);
this.SetStyle(ControlStyles.UserPaint, true);...
|
thread by: KY |
last post Nov 17 '05 by: Ignacio Machin \( .NET/ C# MVP \)
Hi,
Is there any open source navigation control available for download that
can be used for windows application?
Please provide links if anyone knows.
Thanks in advance,
KY
|
thread by: apm |
last post Nov 17 '05 by: Ignacio Machin \( .NET/ C# MVP \)
All or rather anyone:
I am developing web forms (.aspx pages) that accept inputs from the user at
the top of the page. Near the bottom is a submit button. Also near the
bottom is a text box where the result of a calculation is displayed.
The problem is that when the submit button is clicked at the bottom of the
page the top of the page is...
|
thread by: Robert |
last post Nov 17 '05 by: Dmytro Lapshyn [MVP]
I have a Windows app using MDI. My Window menuitem lists the open forms with
a check mark by the form that is currently active. How can I change the
active form in code from the current active window to another?
--
Robert Hill
|
thread by: BuddyWork |
last post Nov 17 '05 by: Dmytro Lapshyn [MVP]
Hello,
Can some explain how the CLR decides on which assembly will be shared
across domains. The explaination in MSDN is not enough.
>From MSDN:
Indicates that the application will probably have many domains that use
the same code, and the loader must share maximal internal resources
across application domains.
|
thread by: wirawan |
last post Nov 17 '05 by: Brian Keating
hi all
i had some problems and need your sugestion to solve it.
why event of controls that i have been disposed still alive and trigger
method had been bind to it.
best regards
wirawan
--
|
| |
thread by: rein.petersen |
last post Nov 17 '05 by: rein.petersen
Hi All,
I've been struggling for a way to retrieve custom attributes I have set
(SetCustomAttributes) on a class through a TypeBuilder but can't seem
to get around :
"NotSupportedException - This method is not currently supported for
incomplete types. Retrieve the type using GetType and call
GetCustomAttributes on the returned Type."
|
thread by: Tomaz Koritnik |
last post Nov 17 '05 by: Tomaz Koritnik
I want to raise an event (not call event handler!!) of a control. I have a
control and I need to raise it's Enter event programmatically so that
control will then call all it's Enter event handlers. I searched but
couldn't find anything and I can't call an event directly. I have to do this
because I need it when user switches between forms. In...
|
thread by: RS |
last post Nov 17 '05 by: Cor Ligthert [MVP]
I have written a utility which currently downloads xml data from a high
number (40+) of web based sources in a synchronous manner.
When attempting to spawn threads off to speed things up I run into
major problems due to blocking and number of threads available in the
thread pool.
Despite trying various methods (invoking delegates,...
|
thread by: Nick Reeves |
last post Nov 17 '05 by: Nick Reeves
While developing the below code I noticed that exceptions were not working as
expected. An exception is thrown inside an XML import DLL and not being
caught inside the Main() code fragment, creating an unhandled exception
inside "theUI". Would anybody know why this is happening?
I thought the general rule for exceptions handling was the...
|
thread by: Frank VDL |
last post Nov 17 '05 by: Frank VDL
Hi,
I've created my own component that uses the CodeDomSerializer to
generate some extra code in the "InitizializeComponent"
Every thing seems to work fine, until I compile my app...
Every time I compile my application, all generated code is lost ?
What is going wrong ?
|
thread by: Vinny Vinn |
last post Nov 17 '05 by: Willy Denoyette [MVP]
On occasion a Network User Account gets locked out. This causes lots of
problems as the account is used to run different programs. The programs fail
when the user account is locked out.
I would like to write a c# program that will check if the Network User
Account is locked out?
Can someone point me in the right direction? An API?
TIA,...
|
thread by: CSharpNewBie |
last post Nov 17 '05 by: Joerg Jooss
Hi
I am looking to create a Plugin Architecture. I looked at this extend or
enhance the User Interface (UI) article
http://www.codeproject.com/csharp/extensibleui.asp
and It looks good and I would like to know if any better way to do.
My requirements are
I have several screens and each screen will have grid with data and thinking
of...
|
thread by: italic |
last post Nov 17 '05 by: Joerg Jooss
Hi,
I would like to post some data from my application to one servlet and get
response as a xml file. The datas to post are "UserName", "Password" and
large Xml file. I"m trying to use MSXML. I'm converting xml to stream and
sending it by send method of ServerXMLHTTP40Class. But I don't know how can
I send username and password. Do you have...
|
| |
thread by: Craig |
last post Nov 17 '05 by: Craig
Hi,
Would appreciate any help you guys have to offer. On calling beginPeek on
instantiation of a MessageQueue, EndPeek throws a MessageQueueException. If
the queue exists already, the exception is not thrown, but when I just
create the queue and call BeginPeek, the exception is thrown. Any ideas?
//begin code...
|
thread by: bitwxtadpl |
last post Nov 17 '05 by: Dmytro Lapshyn [MVP]
-First I add and relate the tables A and B.
Create a new instance of TableA
Add TableA to DataSetX
Create a new instance of TableB
Add TableB to DataSetX
Create a relation between TableA and TableB
At this point I can connect the DataSet to a DataGrid and everything
works fine, I can browse the connected tables without any errors.
|