Edward Zhou - MSFT's Q&A profile
Visual C++ runtime error
I have a computer that when you cut it on it goes all the way through windows xp home edition and starts and then gives an error message: runtime error: Program:\ \C:\windows\system32\winlogon.exe, this application has requested the runtime to terminate it in an unusual way. That is probably not related to VC++. Please contact the MS support in your area for such issues. Thanks, Ayman Shoukry VC++ Team ...Show All
Visual Studio Team System How to create a Regular Expression in Data Generator?
Hello everybody, it's a GREAT feature I can create a random text field using a Regular Expression, but.... HOW can I specify a regular expression You can select a column in Column Details tool window, choose RegularExpression in Generator column, and invoke properties browser by click view -> properties Window main menu. In properties browser, navigate to Generator section, and there is Expression property, you can specify your regular expression there. After you provided regular expression, you can use Preview tool window to preview the data generation. ...Show All
Visual Studio Express Editions A Tall Form Opens in the Middle
I have a vb.net form that's relatively tall (about 800). When I open that form, instead of opening at the top of the page, its opened towards the middle and the user would have to scroll up to get to the top. Does anyone know why that happens and what to do about it When you say scroll up, what do you mean What is the 'page' Are you saying the form appears in the middle of the screen and doesn't fit You can place a form anywhere you like on the screen with the location property and the StartupPosition property. ...Show All
Visual Studio Express Editions path
I have C# express installed and would like to build a dll with following command : csc /target:library /out:bank.dll a.cs The windows Command Prompt responds with " 'csc' is not recognized ..." I know in VS 2003 I can use the .NET Command Prompt. How do I do this for C# express so that my above dll build command will be recognized thanks. hi, go to your environmental and double click path, then 1) you will find some things written there don't omit anything just to go the end of the text 2)put ";" 3) add this line and don't change anything and do ...Show All
Visual Studio Team System No access to reports and documents over internet port 8080
I've got some problems with my installation of TFS beta 3. I installed Windows Server with latest sp. Sql server september, sharepoint and tfs beta 3. The tfs is installed on this server to help us work in project over http and not intranet. When I try to create new project from vs over internet, I get error on connecting to reportserver on port 8080. My reportserver is not running on 8080, it's running on 80. If I create my new project on the server, remote access and not vpn, my project works fine, but links to reports and documents is to my server on the intranet. I think this is the reason why I have red x on reports and documents i ...Show All
Windows Forms Guest user
Hey all, I am getting exceptions when using a Guest user about temporary profile. Is it possible to use Guest user with ClickOnce Thanks. Hey, I have written a form application and I am writing to write to a registry key under HKLM\Software. The question is that if I am running in full trust does it give me the privilege to write to HKLM, even if I am running as Guest or Normal user Thanks. ...Show All
Smart Device Development smart device
hello, i am working with a smart device in vc++ 2005.I want to add an already existing c++ code,headers and library(c language) to the smart device project.I have tried all the ways of including the above files.But still I get lots of errors:"unresoved symbol".Can anyone of you tell me how to overcome this error. archana. What unresolved symbol errors are you seeing Have you tried adding the libraries containing those symbols to the linker additional inputs ( http://msdn2.microsoft.com/en-us/library/ba1z7822.aspx ) For instance, if I wanted to call the SHCloseApps api on PPC ( http: ...Show All
.NET Development Operation must use an updateable Query
Hi, I am using VS 2003 and C# with OleDb connection to read and write from Excel spreadsheets. I have no problem reading Excel data but when writing to Excel I got this error on this line: oleCmdInsert = new OleDbCommand(@"INSERT INTO [Sheet1$A1:A1] VALUES ('ABC')", _oleConn); oleCmdInsert.ExecuteNonQuery(); Here is the error: System.Data.OleDb.OleDbException: Operation must use an updateable query. at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(Int32 hr) at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPAR MS dbParams, Object& executeResult) at System.Data.OleDb.OleDbCo ...Show All
.NET Development Purpose of System.ComponentModel.Component?
Hi! I was wondering what the purpose of System.ComponentModel.Component is. For instance, why is Typed DataAdapters created by VS2005 inherit from it I read the documentaion but I'm not sure if I completely understand. Can anybody give me an example why to use System.ComponentModel.Component System.ComponentModel.Component has built in functionality for managing an an instances lifetime and it is designer friendly. It also makes aggregation simpler. I am sure you read this , right I highly recommend this book. Every .Net programmer should own it!!! ...Show All
Software Development for Windows Vista Any plan to support C++ or Managed CLI/C++ for the activity coding ?
Any plan to support C++ or Managed CLI/C++ for the activity coding Thanks. It is possible to do this now as the workflow runtime supports all CLS languages. However there are no plans for designer support of C++. This just means that you have to write your C+ activities in code without drag-drop composition support. Go for it. ...Show All
Visual Studio Tools for Office Pivot table using c#
Hi, I am trying to create PivotTable in Excel from c#, I get to the point of creating the table but I am not able to specifi what will be the RowField or ColumnField etc. and format those data, I have written it earlier in VBA but I want to convert all my application into VSTO using c#, is there any example code for creating Pivot Table using C# by opening up an instance of Excel and then a particular workbook and then a particular worksheet in that workbook (because the data for the pivot table resides there). Thanks I'm not massively familiar with Excel VSTO, but I did have these samples bookmarked. They ...Show All
Windows Forms If Windows Explorer used a bit more of Multi-Threading!
Well, since the next release of Windows is based on .NET, and since I still don’t have access to the internal windows news groups, I found this place to be the best for this wish. More multi-threading in the next release of Windows Explorer Please!!!!!!!!!!!!!!!!!!, and more efficient repainting. The idea behind that is to make that explorer works when accessing ...Show All
Windows Forms Is this legal for me to do this?
If not, i will happily stop, but right now, i am having a blast with Terrarium in .Net 2.0. http://tanderson.cbs-posi.com/MyTerrarium/checkmeout.jpg Just don't tell the C# coders They will probably scream blasphemy and other curses. ...Show All
Visual Studio Max records limit reached
Hi everyone; I'm running a report in and ASP.Net App. When I run the report in the CR XI Designer, it works fine, but when I'm looking at it in my App I got the next Error: Max processing time or Max records limit reached While Googling, I found that I need to modify the Limit Records in the RAS as explained in this page http://support.businessobjects.com/library/kbase/articles/c2015513.asp ref=devzone_net_archive , I did that and I set it up to Unlimited. This should have worked, but I'm getting the same error. If I modify the Limit Records to a very small value, let's say 10, I was expecting to have the same error message for ...Show All
Visual Studio 2008 (Pre-release) Control Components
I have made previous posts asking this feature, but seeing as WinFX is at beta 2 release already, is it now possible for us to make drag/drop controls in the Cider designer I don't want a User Control, I want to make my own custom component. Is this possible Thank you, Jaco It has always been possible to drag/drop a standard control in the Cider designer. Now, I think you are talking about your own Control In that case, I think you just need to add the assembly to the toolbar and the control will be displayed. ...Show All
