umberto21's Q&A profile
Visual C# anonymous methods and serialization
I am developing a server-side framework in C# that handles rapidly changing data (i.e. > 50k updates per second) and I need to offer a .NET Remoting interface into which client apps can query, in real-time, state across hundreds of thousands of objects. I want to let the client-side app developer have as much freedom as possible to develop the query. From my basic understanding of C# 2.0, it seems like anonymous methods could possibly be ...Show All
.NET Development Asian text storage in sql server express using sqlclient
I have a problem storing Chinese text in an sql server express 2005 database which runs on a western version of XP. There is no binding in my app. The data is typed in a user form and in a button_click event stored in a table using the command object of the sqlclient, executing sql statements like insert or update. Everything's fine, except that Chinese text will not be stored in the tables correctly, instead of the characters I only get ques ...Show All
Visual Studio Team System "Remaining Work" report only shows active workitems
Using TFS Beta 3 Refresh, I've created a MSF project, imported 100 or so workitems ( via Excel ) and closed 9 of them. When I look at the "Remaining work" report however the chart starts at 105 workitems and decreases to 96. The closed workitems do not appear. Have I missed something or is there a problem with the "Remaining Work" report Problem solved...Having played with the report ...Show All
Visual Basic Help: Control loops & properties in VB .Net 2005 converted from VB 6.0
Hi all, I'm using Visual Basic 2005. I would like to loop through the controls and wite or get some properties based on the controls. This is the following piece of code in Visual Basic 6.0 For Each ctl In frm.Controls Set ctl.Font = fnt sCtlType = TypeName(ctl) If sCtlType = "Label" Then ctl.Caption = objLocalizer.GetResourceString(CInt(ctl.Tag)) ElseIf sCtlType = "CommandButton" Then nV ...Show All
Visual C++ Project : error PRJ0002
hello i'm a complete novice in visual studio 2005 and was wondering if i could get some help from the pro's i have Visual Studio 2005 Professional Edition and was trying out some basic (and i mean really simple) code to get to grips with it and then work up, i'm not new to c++ as such so i'm pretty sure the code is ok i was trying to build a simple hello world program in a win32 console application project but when i try to build it throws an ...Show All
Visual Studio Team System Team Foundation Client for Visual Studio 2005 Professional
Hello! I installed Team Foundation Server 2005 Beta 3. Then I installed Team Foundation Client for Visual Studio 2005 Professional. And I can perfectly work with Team Explorer from VS 2005 Pro. What limitations will I have if I use VS 2005 Pro with Team Foundation Server 2005 Thank you. Vladimir. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=151798&SiteID=1 This post might help you. ...Show All
Visual C++ Project options
I'm looking to build an application using C++ in Visual Studio 2005 and I see that I have several options for project types. I'm looking to build a forms application and my choices seem to be CLR, ATL, MFC, or Win32. It's nice to have choices and all, but what's the difference My main criteria is that I do not want to require users to have the .NET framework. Beyond that I would prefer that the program runs as a single executable without ...Show All
Windows Forms Extending DataGridTextBoxColumn
I am trying to use the extended DataGridTextBoxColumn that MS provided with the TaskVision sample project. In the code they use a DataTableStyles class with calls an extended version of the DataGridTextBoxColumn. The constructor accepts format as string but when I ...Show All
.NET Development Assembly and Assembly file version numbers
Hi everyone. Here's an email I recently posted to a respected guy at MS named Vincem ( http://blogs.msdn.com/vincem/ ). I'd like to post this same mail here to see what other people are doing with regard to .Net assembly version attributes. I'm doing a spot of research in an attempt to make an informed decision regarding versioning of .Net assemblies. I've read (and re-read) the blog entries you kindly posted ( http://blogs.msdn.com/vincem/arch ...Show All
Windows Live Developer Forums Robot Contest & 3rd Party API Question
Here's a quesiton we've received for the Robot Invaders contest that I wanted to post the answer for everyone on. New Question : This rule is very confusing. "A robot cannot integrate with a 3rd party advertising or search service" Does this include 3rd Party API's (web services such as ebay) There are currently bots in the gallery that are utilizing 3rd party API's. What is the definition of "search service". Please let me know right awa ...Show All
Visual Basic DirectDraw problems
I'm making a program that uses direct draw. It all works ok, with one exception. When i draw things onto the control, they don't appear where they should. Note: I'm doing this in Windowed Mode, and using a picturebox as the target control. Here's my initializing code... DD = created directdraw device. Ctrl = picturebox control sMain = surface (primary) sBack = surface (backbuffer) sMainDesc = surface description sBackDesc = su ...Show All
Windows Live Developer Forums Help ??
have written a program in vb6. I have used install sheild to create the setup.exe During the install a get a pop up info box that say error 1931. The installer service cannot update the system file c:\winnt\system32\msscript.ocx because the file is protected by windows. I have tried a couple of different fixes but so for no good, Also I only have this issue with W2K computers. Thank you for your help. One of the other things that I have ...Show All
Visual Basic Creating Relations within a Dataset
im having a bit of trouble creating relations my dataset has 3 tables (client, episode, appointment) one client can have many episodes, and any 1 episode can have many appointments Client (0) INUMBER - primary key Episode (1) ENUMBER - primary key INUMBER - foreign key Appointment (2) ANUMBER - primary key ENUMBER - foreign key so i thought to set up my relations i would only have to do the following:- dsResults.Relations.Add( "Nod ...Show All
Visual Studio Team System Representing arrays of custom types
How would you do that with the FxCop api Can you construct a TypeNode, Parameter, etc. to represent something like MyClass[] classes; Can you create a .NET System.Type to represent the same thing Thanks. It turns out that StructuralElementTypes is important for generics declarations. In the case of generic types, this member describes template parameters. For generic type parameters, this memb ...Show All
Visual C++ mfc,how send an interrupt signal in a DialogClass callback function
hallo, I have a problem which i don't know how to solve. Am using mfc to progamm a GUI with some bottons. The callback function of one of the button contains a continous loop.Is there a possibility to check if another button in my GUI has been set so that i can break out of this continuos loop example code: void myGUIDlg::OnButtonMyCallBackFunction() { while (true) { .. ../**Do some ...Show All
