ZHOU Dan's Q&A profile
Visual C++ a compiler bug
Hi, just found a bug in vc 2003 c++ (and c ) compiler. The problem happens when i use shorts to iterate over a vector and when speed optimization is turned on. The problem is that full 4-byte register is used for indexing the vector and the upper part of the register can contain garbage. The code works well in debug mode, the poblem arises only when I turn on speed optimization. Let me know if this is an unknown dug - I'll provide details. BR V ...Show All
Windows Search Technologies Cannot install/re-install MS DeskTop Search (nor toolbar): "cannot remove older version"
I get a message that says #msntb_toolbar_full_name# is unable to load its config file. if you have recently upgraded to a newer version of the # msntb_toolbar_full_name# and have not restarted your computer since the upgrade, please try restarting your computer , if the problem persits, please reinstall the # msntb_toolbar_full _name# I tryed it all and still it doesn't work. Please help Me. Sincerly Marilyn jefferson = and others, ...Show All
Windows Forms ToolStripContainer BackColor
Can anyone tell me what the background color of a ToolStripContainer should be When I add a new one to my form it's property says Control color but it's not really. Changing the BackColor to say Red and the back to Control seems to correct the issue. Is this a known issue or is it by design Regards Graham You can change this by setting the ToolStripContentPanel.RenderMode = ToolStripRenderMode.System; The ...Show All
Visual Studio 2008 (Pre-release) Extension Methods: Static Electricity?
As Anders pointed out in his Channel9 demo, Extension Methods in C# 3.0 really make Linq possible. After drilling into Extension Methods and wanting to not like them, I must ask: what were the alternatives The example that Ian Griffith's gives of some 3rd party developer quietly including something like: namespace System { public static class Evil { public static vo ...Show All
Visual FoxPro running an app from a different partition
I want to run a VFP application (an exe file) from another partition. When I tried to click on the icon it gave me an error message that msvcr71.dll not found. In fact there is one on that partition but a much older version it seems. I can register the newer version of the dll on that partition and try again but I want to find out first if there are any general considerations for me to take into account before I did it. In case of dBase I had ...Show All
Visual C++ Shellexecute error
HI, string cmd = ""; cmd = " -l "; cmd.append(user); cmd.append(" -pw "); cmd.append(pwd); cmd.append(" "); cmd.append(host); ShellExecute(NULL,TEXT( "open" ),TEXT( "putty.exe" ),TEXT(cmd),NULL,SW_NORMAL); I constructed a string that contains parameters for my .exe file. But when i try to insert the string into the ShellExecute command i got this: error C2664: 'ShellExecuteW' : cannot convert parameter 4 from 'std::string' to 'LPCWSTR' No u ...Show All
Smart Device Development SIP Disappears after MessageBox.Show() -- Doesn't come back
I have strange problem that SIP disappears after the messagebox.Show() is called and never shows up again. 1. I have 5 forms and One form is the startup form. I am displaying other 4 forms as ShowDialog when particular button is pressed in the MainForm. 2. Whenever I have informational message box MessageBox.Show() the SIP disappears. After I click OK in the message box, the SIP still doesn't comeback. If I remember where the SIP was befor ...Show All
.NET Development Questions on EncoderParameters / PNG TIFF Image types
This is a repost, (i had originally posted to the incorrect group, sorry...), and also, I am still unclear on where to post this one, as it seems to "fall between the cracks" somewhat...I can't find a forum that really seems appropriate for GDI+ questions (if someone has a tip on that, idappreciateit!) The question: Does anyone happen to know, offhand, if there is a way to specify the quality encoder parameter type for .P ...Show All
SQL Server I don't understand why is nothing is always evaluated to false
The following in one textbox of my report is always evaluated to false when the field package_pack_value and give an error in the str conversion function that follow saying the 'number' is nothing. = iif ( Fields!Package_Pack_Value is Nothing , "<Null>", Str ( Fields!Package_Pack_Value.Value ) & " " & Fields!Package_Pack_Unit.Value ) I have read all the forum and search a whole day but nothing... Maybe is the a ...Show All
Windows Forms what is "Interop.SIGPLUSLib"?
like subject. I have a program,refrece it!But I don't know how to use it! ************** Exception Text ************** System.Runtime.InteropServices.COMException (0x80040154): COM object with CLSID {14272504-E2BE-4976-A47C-7AEE1711C690} is either not valid or not registered. What's the Exception T ...Show All
SQL Server Transformation script last row
Hello, in an asynchronous transformation script, how can i know when the script reach the last input row That section was added in the 1st week of May...I would have expected it to make the June CTP but can't easily verify. -Doug ...Show All
Visual C++ Converting byte counted strings to null-terminated strings
Does anyone know an easy way to convert byte-counted strings to null-terminated strings I'm trying to pass a filename as an argument in a custom made worksheet function defined in an xll created in C++ 2005 express. I think the problem I'm encountering is that excel is passing a byte-counted string and the function in C++ needs a null-terminated string. So it comes down to finding an easy way to convert byte counted to null-terminated in my C++ ...Show All
.NET Development To List All web Methods in a given .asmx file
hi, iv want to create a windows application.... with a form containing 2 simple text boxes... my requirement is tat when i give the url of a .asmx file (something like http://localhost/Sample/Test.asmx) in the first text box....... alll the web methods it contains has to get populated in the second text box..... tat' it..... can this be done.... if so how should i proceed.... thanks and regards, Damodar ...Show All
Visual Studio Formating a date parameter
Does anyone know a way to change the format for a date ("yyyy-mm-dd" to "mm-dd-yyyy") in the Parameters Value pop-up window I would really rather not build my own parameter window, but is that the only solution As far as I know, you can't change the format in the Paramaters popup window (I drove myself crazy a while back trying to do it). The only thing you can do is have your user selec ...Show All
Software Development for Windows Vista Problem running my first workflow enabled webform
Dear All, I'm downloaded the asp.net example from http://www.windowsworkflow.net/default.aspx tabindex=4&tabid=41 section technology samples -> ASP.NET Workflow Example. when i try to run the sample on my machine i get the following error.. Compiler Error Message: CS0234: The type or namespace name 'Web' does not exist in the namespace 'System.Workflow.Runtime.Hosting' (are you missing an assembly reference ) Source Error: ...Show All
