MAX XUE's Q&A profile
Visual Studio Breaking change in RC C# compilation
In all versions of the IDE prior to VS8 RC C# build employed interfaces provided by cscomp.dll shipped with .NET framework. Our company uses internal tool that integrates VERY smoothly as preprocessor into the build process by thunking interfaces in cscomp.dll. Compilation options, error reporting and debugging transparency are achieved with minimal coding. Now, it seems, RC has its own copy of compiler in C# package, a ...Show All
Smart Device Development Debugging without ActiveSync -unable to get Visual Studio 2005 to cooperate
Hi all, I've been trying to debug a Windows CE 5.0 based device with VS 2005. Since this device doesn't have a full serial port or USB client port available, I've turned to debugging without ActiveSync (I did try merging in some AS partnership information from another device into the registry, but haven't quite gotten AS to connect.) I've used the instructions pointed to elsewhere, e.g. http://blogs.msdn.com/vsdteam/archive/2005/04/ ...Show All
Visual Studio Team System new prosess template problem, cannot connect to sharpoint services
hi to all, i varry happy to find this forums... i am tryin to solve problem in team foundation server without success. the problem is: via Team Explorer i am trying to make a new process template by uploading the set of xml files to the foundation server. I get an error, in the errorlog it says, it can not make a connection to sharepoint services,...and says that the resean cannot be determined. Has any body had the same experien ...Show All
Visual C++ CRT heap in DLL
I used to believe that each process has a default heap shared by everybody in the process space including code in loaded DLL and heap manager works as described in http://msdn.microsoft.com/library/default.asp url=/library/en-us/dngenlib/html/msdn_heapmm.asp Then I’ve found out that if DLLs are linked with CRT each has own heap manager http://msdn2.microsoft.com/en-US/library/ms235460.aspx My questions: how those individua ...Show All
Windows Forms using applicationsettings/propertybinding to save form size etc.
I want to be able to save the following: The last position and size of the form when not maximized and the last windowstate. ie if the user closed the app maximized, next time I want it to open maximized, but if the user sets it back to a normal window, I want it to display using the save size and location (as Microsoft Word does). I have created three user settings with the appropriate type. If I bind these to the form properties, it seems to r ...Show All
SQL Server Multicast followed by a SORT
Hello, I have a data-flow containing 150000 rows that is taking a long-g-g-g- time to run. The bottleneck seems to be a SORT component. The SORT is immediately preceded by a MULTICAST. Now, all 150000 rows have gone down the other output from my MULTICAST all the way to the destinaton, admittedly very slowly. My SORT is still caching the 150000 rows. I'm wondering if the MULTICAST is causing a problem. Does each output fro the MU ...Show All
Visual Studio Team System Jump to local for which a problem is created
Hi, In the source below I add a problem for a local that's named using Hungarian notation. When I double-clicking the corresponding warning in VS, VS jumps to the method containing the local. Can I provide information (source context or something) to let VS jump to the local itself private void CheckName( Local local) { string prefix = GetLowerPrefix(local.Name.Name); if (! string .IsNullOrEmpty(prefix)) ...Show All
Smart Device Development Compiling with Shared MFC DLL support causes CoCreateInstance() to fail
Compiling with Shared MFC DLL support under VS2005 causes the following CoCreateInstance() call to fail with E_NOMEMORY. Compiling with static MFC support eliminates this problem. We have tried things such as moving the MFC 8 DLL's to from the application-specific installation folder to \Windows on the offending device, and the error still occurs. This error only seems to occur on certain 2nd edition devices (e.g., a Dell Axim X50). It does ...Show All
Windows Forms Keystroke to sort datagrid
The docs have a huge list of keystrokes for navigation and selection within a datagrid, but nothing about sorting a datagrid on a column by using the keyboard. Is clicking on the column header the only way Without customizing it, ...Show All
SQL Server Problems after the install of the Hotfix
After installing SP1 and then the hotfix: http://support.microsoft.com/Default.aspx id=918222 We now get the following error when trying to work with date parameters in Report Builder: Query (6, 117) The '[VBA].[DateSerial]' function does not exist. ---------------------------- Semantic query execution failed. ---------------------------- Query execution failed for data set 'dataSet'. ---------------------------- An error has occurred duri ...Show All
Visual Studio How do I add a Search filter for my dev language?
Hello Can you tell me how to add a Search filter I have successfully added a Contents/Index filter, as described in the Help Authoring and Integration Guide. However I can't find any documentation on adding Search filters. In particular, I want to add a language to the language drop-down Search filter. I have the DevLang S attribute set in all the relevant HTML files. I have created an Slinks.HxK file and have included that in the correspondin ...Show All
Windows Forms How can I create a collection class with properties and methods...
Hi all, I'm not even sure I worded that right. I'm new to collections (designing at least). I want to create a simple class, that when I implement it I can do the following: dim oNos As New Numbers dim oNo as Number dim Mul ...Show All
.NET Development My application loads lots of unknown assemblies!
Hi, I'm developing an enterprise application and, when debuggin, I've noticed that both aspnet_wp.exe and my client application load lots of assemblies with autogenerated names, with no path nor extension. This is happening as I make calls to the web server. What can be the cause Thanks in advance Lots of stuff gets compiled dynamically in asp.net. Pages (.aspx), controls (.ascx), web services (.asm ...Show All
Windows Forms String Fuction
Hi ! in VB6 we can use String Function for repeating character string of the length specified, but in vb.net how can we do that. thanks. You can use the PadRight method, as Jacob suggests. Another alternative is to use the Stri ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Different results between REF and HAL devyce
Hi! When executing my pixel shader, results are ok. But when I execute with my recent new grpahic card Quadro FX 3400/4400 results are rubbish. Exactly what happens is that! In my pixel shader I have these four operations Output.weights.x = (1-frac2.x)*(1-frac2.y);\n" // 1 float output Output.weights.y = frac2.x*(1-frac2.y); // 1 float output Output.weights.z = (1-frac2.x)*frac2.y; //1float output Output.weights.w = frac2.x*frac2.y; // 1float o ...Show All
