ElroyJ's Q&A profile
Visual Studio Team System Unit Test and config files.
Hi, I'm having a problem when running unit test to copy some configuration files to the unit test's binaries folder ("..\MySolutionDir\TestResults\idp2761_BERNIE_SERVER 2006-05-30 09_36_51\Out"). I've tried to do add the following commands to the post-build event: xcopy "$(SolutionDir)Config" "$(TargetDir)Config\" /R /Y /C /E or xcopy "$(SolutionDir)Config" "$(OutDir)Config\" /R ...Show All
Windows Forms How to set system font to my application
Dear all, I build my application which have font base on system font. So, I need to get system font (OS) to set up my application font. When I change system font, my application's font is update accordingly. Have you done it before, please share with me. Thanks Steven. Check out the SystemEvents.DisplaySettingsChanging event if you don't want to use WndProc code. -mark Program M ...Show All
Visual Studio N-ary Relationships
On the newsgroup, Aru asked: > In the walkthroughs provided with the tool, its mentioned > that the designer supports N-ary Relationships and its > not mentioned how to do that. Could any one how can we > create the N-ary relationships between classes. Thanks in > advance Aru, For version 1, we have decided not to pursue N-ary relationships. We've left our architecture open so that we can add them if we feel they'd bring a lot of ...Show All
.NET Development .net equivalent of vb6 winsock
My application needs to read a barcode string that is sent via tcp/ip from a camera on the network. I have done this before with VB6 using the winsock control and using the DataArrival method. What is the .net equivalent Is it the socket or tcClient class that I should be using Great stuff. Thanks. Got it going. But where's the DataArrival event that the winsock control used to have ...Show All
.NET Development Best option for persisting DataSet changes?
I've seen examples where dataset changes can be persisted in different ways. Any logical advantage of using one over the others Option1 (Not specific) --------------------------------- if(myDS.HasChanges){ tableAdapter.Update(myDS); } Option2 (specific to a table) --------------------------------------- if(myDS.HasChanges){ tableAdapter.Update(myDS.CustomerTable); } Option3 (making a copy of just the chan ...Show All
Windows Forms VS2005 MaskedTextBox
This is regarding a MaskedTextBox... I am setting a custom mask as 99999.99 , for a decimal number. The entry would be something like 66899.50. It possible that a user wants to enter only 356.50, so he has to move till the decimal by using space which is of course not acceptable. I want that as soon as user types a dot(for decimal) he should be allowed to enter digits after the decimal. Could you help me wth this as so to what combination o ...Show All
System Center Future application support
Can anyone tell me whether there is a roadmap for support of further applications by SCCP As I have asked in another post - when can we expect the SDK Regards, Paul Paul hi, We are currently planning the next release of SCCP. We are in the process of specifying possible new workload support and the availability of the SDK. Most likely an announcement about the next release of SCCP will be made at the Mi ...Show All
Visual Studio Visual Studio 2005 Beta and 90-Day Trial CDs are no good
Several weeks back I recieved my VS 2005 Beta CDs. I put them in my CD-ROM reader and nothing happened. Absolutely nothing. I took these CDs to other computers that I have and also computers that my friends have. Not a single computer could read any of the CDs Microsoft sent me. I just passed it off as bad CDs. Yesterday I recieved my copy of VS 2005 Pro 90-Day trial. Guess What Same damn problem. This time in addition to trying them on a ...Show All
Visual Studio Express Editions Formating of numbers and dates on text data binded controls
How to format numbers and/or dates on text data binded controls DataGridView has this properties but I cant found (if exists) on text controls. Regards. The System.Windows.Forms.Binding class has an 2 events: Format and Parse. These should allow you to achieve what you want. Binding binding = new Binding("Text", dataObject, "NumberProperty"); binding.Format += new EventHandler(binding_Format); binding.Parse + ...Show All
.NET Development Getting truncated socket bytes
Hi, I am listening to a port for data but I am not able to recieve whole data, I only get truncated data. Client sends me data that exceeds 40K and the data I recieve in my callback function is always 8K to 9K. I dont get the rest of the data. I think the data size is too big to come in one go and hence it comes in 2-3 sub-packages but my call back function only gets called once hence I am getting truncated data. I am sending the code...Is there ...Show All
Windows Forms Autosize listview
Hi, I would like to autosize the width of the ListView columns. This code works from the outside of the control: foreach (ColumnHeader ch in prontoListView1.Columns) ch.Width = -1; ...However, I would like this to be done inside the control. Could someone please&n ...Show All
Visual Studio Dynamically determining link type
I'm just getting started with what may become a fairly complex DSL. Assume I have a bunch of elements in my domain model, with a variety of link types. In the designer, I'd like to be able to drag a "generic" link between two shapes, then have it dynamically turn into the appropriate link type (assuming there is a valid link). If there's no valid link type between the two shapes, there should be a visual indication during the d ...Show All
Visual C++ implementaion of unwinding
I have troubles finding information on this subject, so I'll try to ask here: What kind of unwinding mechanism implementation is used by VC8.0 Is it the same old and slow 'update structure on the stack while we go' (like it was up to VC7.1) Or MS finally decides to go after GCC & others by separating successfull execution path on compile stage (which is significantly more efficient) Bye. Sincerely yours, Michael. ...Show All
Windows Forms how to implement a button or usercontrol in a datagridview column?
I was trying to hot a button in a datagridview column. I didn't want to use the built-in buttoncolumn, beacuse I just wanted the button to appear when the user enters the column and when the user clicks on the button and bring up the folderbrowsing dialog. I had also tried to host an usercontrol in the cell, but couldn't make it work. I had read the msdn article How to: Host Controls in Windows Forms DataGridView Cells http://msdn2.microsoft.c ...Show All
Visual Studio Express Editions problem with my code
< xml version="1.0" encoding="UTF-8" > < Slides > < slideNode jpgURL =" pic/normal/galeria_0/0.jpg " /> </ Slides > But I want this < xml version="1.0" encoding="UTF-8" > < Slides > < slideNode jpgURL =" pic/normal/galeria_0/0.jpg " > </ slideNode > </ Slides > HOW I CAN FORMAT MY XML THIS WAY THIS THE CODE THAT GENERATE MY XML XmlDocument ...Show All
