DearDearDear's Q&A profile
Windows Forms The v2 DatePicker doesn't support null databinding (bug?)
The following code (which is a simple test windows form - visual studio team 2005 system beta 3 refresh) demonstrates what I believe is a bug in the DatePicker control. When a datepicker is bound to a binding source set to an object, properties of type DateTime that are null are not updated when the user (at runtime) changes the date. This is a real pain; and, frankly, makes the date picker useless to bind to database-derived datatables w ...Show All
Visual C++ Creating Intellisense headers in C++ (Whidbey RTM)
Is there a good example anywhere of how to create a C++ intellisense header equivalent to /// in C# The documentation claims it was added, but the instructions are very cryptic, there are no "steps", and some of the elements either don't make sense or have changed since the doc was written. A code sample with compile instructions would be great! XML comment is a new way for the developers to annotate th ...Show All
Software Development for Windows Vista Workflow Persistence
I need to store about 10 000 000 workflows in a database. With standart serialization one workflow takes 25 kb. Every instance has the same schema. Is there a way to minimalize the required db space My idea is to save the schema somewhere and then during the deserialization recreate the activity tree ( not deserialize workflow instance ). However, there're problems with activities' internal state. Does anybody know how to do it ...Show All
Game Technologies: DirectX, XNA, XACT, etc. error 1304 and error 2350
Hi durirng the install process it gives the error messages listed in the subject but i get them the following way: during the coping of the files it comies up with and "Error 1304.error writing to file microsoft.xna.ui.xnastudiopackage.dll verify you have access to that directory" it tels me to cancel or rrtry and i clikc retry as i am the computer admin and it then pops up with the "internal error 235" and i am forced to cli ...Show All
Visual Studio Tools for Office Access Developer Extensions IN VS2005
HI, I just receice the beta2 of Visual studio 2005. The visual studio tools for office is included in it. What about the Access Developer Extensions I need to deploy an access 2003 database royalety free on my station. How I can do that with Visual studio 2005 Thanks According to the Web page for Access Developer Extensions, they are a part of Visual Studio Tools for Office (VSTO), which is different from ...Show All
Smart Device Development Returns the ordinal value of an ordinal-type expression
In Delphi there is a function for Returns the ordinal value of an ordinal-type expression. function Ord(X); Description X is a Delphi ordinal-type expression. The result is the ordinal position of X; its type is the smallest standard integer type that can hold all values of X's type. Is There a function in C# Can you help me As far is i know there is nu such thing in C#, why don't you use a normal value like a Int64/long or something. Yo ...Show All
Visual Basic Need help sorting a databound combobox
Hello - From what I have read, sorting a databound combobox is not possible since it's primary function is to perform record navigations. I have a combobox that I am using as the primary means of navigating records... however, I would like to find a way to sort the contents alphabetically while still maintaining the record navigation functionality. I figured that there has to be *some* way of doing this. I've heard that it may be possible ...Show All
Visual Studio Express Editions convert from byte to int
hello, how can i convert in c# from byte (like 50) to int i try to do this code, but it didn't convert!!!: for ( int i=3;i<14;i++) Data += (( int ) e.Buffer ).ToString(); thank you, moria byte implicitly converts to int. You do not need to cast the byte if you add it to an int. int nVal = 10; byte byVal = 50; nVal = nVal + byVal; // nVal will be 10+50=60 If Data is of type int you ...Show All
Visual Studio Express Editions Using "Call Shell" with java
Hello all, I'm using VB in access 97. I am trying to call a java program, but get file not found when ran with the shell command. How can I call this I have to call the java program using this command "java File2Msg", so here is my call command. Call Shell("c:\mq\java File2Msg") Hello, change the Shell argument to java c:\mq\ File2Msg Call Shell ("java c:\mq\File2Msg") ...Show All
Visual Studio Team System Application Designer Error
I've receive this error from AD. The diagram in now in Lock state. Synchronization for element ResourceType failed. Reason: An error occurred creating the configuration section handler for windows: The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Config\machine.config line 31) Any Help Thanks I believe this is a known bug i ...Show All
Visual C# Forms.. And Threading! >.<
Ah, hello! I need a little help. Im trying to write an IRC (Internet Relay Chat) client in C#, and I need to make a while loop on another thread, and the while loop has to change the text in a textbox on the main thread, But I get an runtime error when I run my program. The while loop would be this: string tempServerText; while ( true ) { tempServerText = ircReader.ReadLine(); mainTextBox.Text += tempServerText + "\n"; } the m ...Show All
SQL Server Difference between 2000 and 2005
Hi, Have there articles about the difference between Analysis Service 2000 and Analysis Service 2005 Oh my gosh. There is lots and lots. One recommendation that I make to customers is to look at the migration process for a good background on this topic. It won't help you with new AS2K5 features, but it does help you transition from AS2K to AS2K5. A good resource is here: http://www.microsoft.com/technet/pr ...Show All
Visual Studio Team System Area and Iterations
Can anyone point me to an article explaining how Area and Iterations are meant to be used in TFS Thanks. I do not have a reference to share, but I can offer a high-level explanation. Area and Iteration are meant to be used for classification of artifacts in TFS. If you are extending the system and you provide support for classifying the things generated by your tool using Area and Iteration, you allow th ...Show All
Windows Forms Hide certain standard control's properties from designer
Hi, I created a custom control which inherited from Forms.Button. There's no problems to create & expose custom properties but... I cant find anyway to hide the standard Button's properties... Note that I'm using J# Thanks override the property, apply the Browsable(false) attribute. . . call the base property to access it. this is c#, but the approach should be the same: public partial class ...Show All
Visual Studio Team System Problems with Extract Hidden Fields with multiple forms with same input field names
There currently seems to be a limitation on how the "extract hidden fields" feature works in WebTest. Specifically, assume that there is a webpage that has multiple forms - let's say that users can search something, or login - both are on a single webpage. They are 2 different forms, but both have a hidden input field with the same name - let's say "action". The values, however, are different for each form. The 'extract hidden forms ...Show All
