Chyna440156's Q&A profile
Visual Studio Team System Print test results
We have a "test readiness review" meeting that require test results to be printed out for review. Is there some way of printing out the test results Hi Jason, If you have Team Foundation Server installed, you got the reports. You can even create custom ones. VSTS integration story with TFS is all about all this kind of cool stuff that you can get. Thanks, David Gorena Elizondo [MSFT] VSTS ...Show All
SQL Server Size limit on embedded XML
Hi, Is there any limitation on size of embedded XML data (when source data is contained in <XmlData> element of the query) I cann't pass more than 100,000 symbols of XML. If the source is heavier, I get the following exception: =================================== An error occurred while setting the Command Text property of the data extension command. The XmlDP query is invalid. (Microsoft Report Designer) =================================== The XmlDP query is invalid. (Microsoft.ReportingServices.DataExtensions) ------------------------------ Program Location: at Microsoft.ReportingServices.DataExtensions.XmlDP.XmlDPQuery.LoadXml(String queryXml, XQNameTable xqNameTable, SOAPMethodInfo& soapMethodIn ...Show All
Visual Studio 2008 (Pre-release) export to image with black block
My code is: RenderTargetBitmap rtb = new RenderTargetBitmap((int)canvas1.Width, (int)canvas1.Height, 96d, 96d, PixelFormats.Pbgra32); rtb.Render(sp); BmpBitmapEncoder encoder = new BmpBitmapEncoder(); encoder.Frames.Add(BitmapFrame.Create(rtb)); FileStream file = new FileStream(Environment.CurrentDirectory + "\\temp.bmp", FileMode.Create); encoder.Save(file); it run without exception,but the image ' blank area was fill with black block,why hi Adam Smith Appollgize for my poor Enlisgh. There are my screen shot: application run: http://www.cnblogs.com/images/cnblogs_com/stswordman/65026/r_applicaitonStart.JPG draw some thing on it :the screen shot is : http://www.cnblogs.com/images/cnb ...Show All
Smart Device Development WindowsCE, CF + Rijndael encrypt., I'm stuck
P/Invoke is quite limited on NETCF V1, you can't return float/double and you can't pass doubles as arguments. You can use a pointer to float/double though: [DllImport("CEWin32Test.dll")] private static extern void Multiply(float a, float b, out float c); extern "C" void WIN32DLL_API Multiply(float a, float b, float * c) { *c = a*b; } Also, next time please state exact problem you're having (e.g. exception) and NETCF version you're using. You wrote pretty big message twice and yet omitted essential information. Something like this might do better: “I'm getting NotSupportedException on attempt to pass float from P/Invoke on NETCF V1 (managed/native declaration below), how ...Show All
Visual C# Byte Array size.
I'm sending a video frame from a server to a client. Now I know what size Byte array I should declare on the server side in which I'll store the picture and send it, however, I dont know what size array I should declare on the client side. Is there any way of finding out exactly how much data is coming in before i declare the array in which data will be stored It proving impossible to display that picture. One more thing, should i worry about the picture/frame header No Header is not a problem as far as you send complete bytes of image. Try this: Byte [] countbytes = new Byte [ 8]; int noofbytes = s.Read(countbytes, 0, countbytes.Length); long size = BitConverter .ToInt64(countbytes, 0); Byte ...Show All
SQL Server Restore all data (system must not exit during restore) using SQL DMO
I am using the SQL DMO to do my backup and restore. The restore works fine for one thing. I there is current connections on my database I cannot perform the restore. I need to be logged on to the system to be able to do the restore (restore must be built into the system), but if I log in I cannot do the restore of the database. Need help ASAP!! Thanks!!! If the default database of the user is "master" then you shouldn't have this problem. I'd take a look at the server when this user is connected to see what other connections exist. You can be connected to the server and restore a database other than the one you're connected to. ...Show All
SQL Server Will SQL server 2005 failover clustering still work when the database level is set to 80?
We want to use sql 2005 failover clustering feature, so that upgrade sql 2000 is necessary. But some of the stored procedures built in 2000 are not working directly in 2005, set the compatibility level to 80 could make them work. In this case, can somebody here tell me if down grade the database level will affect failover clustering running properly e.g. will data still be synchronized properly Thanks in advance. I am faced with the same issue. So what are my options I have level 80 database I need to failover to a second server, both running SQL Server 2005 Standard. Clustering is not used. If manual fail-over can be avoided that would be a huge plus. ...Show All
Windows Forms ToolStripPanel
Our VS 2005 Toolbox has a ToolStrip and a ToolStripContainer, but no ToolStripPanel. Must ToolStripPanels be added with code Hi, you could create ToolStripPanel from code (when form loads) or if you want to use it at design time, you could add it to your toolbox manually: 1. Right click the toolbox and select "Choose Items..:" - the Choose Toolbox Items dialog will pop up. 2. In the filter textbox, enter "ToolStripPanel" - the Compontents list should filter out to show the ToolStripPanel Control. 3. Check ToolStripPanel control and press OK button - the ToolStripPanel control will be added to your Toolbox. Andrej ...Show All
Game Technologies: DirectX, XNA, XACT, etc. JIT register allocation and bounds checking
A few questions for Shawn or one of his buddies: 1/ Does the register allocator used in the XBox JITter use all of the available scalar floating point registers If not, how many can it deal with 2/ Does the XBox VM ever skip array bounds checking, and if so under what conditions 3/ Presumably there are no bounds checks when using unsafe code and pointers 4/ Are the method inlining limitations of the CF VM mentioned here still applicable to the XBox VM - especially the one about not inlining any method with floating point arguments or return values (yikes, that would be all floating point setters and getters!) Andy. Replies... 2) Sorry I was being overly simplistic. Yes, there are ...Show All
.NET Development Missing msvcr.dll -- FOUND!
Greetings! I got tired of seeing the "missing msvcr.dll" for 10 files when I scanned Norton's WinDoctor & One Button Checkup. www.dll-files.com doesn't have, as recommended by other posts -- -- So, I decided to run SEARCH to see if it was on my computer -- somewhere else. And, IT WAS! I found in c:\WINDOWS\WinSxS\..... folder So, I copied & dropped into the c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 NOW, NO MORE ERRORS OF MISSING FILES !! My question is -- WHY CAN'T MICROSOFT POST THIS MISSING .DLL FILE SO PEOPLE CAN INSTALL IT People are posting all over these boards about this missing file !! They are having to go all over the internet to get a file tha ...Show All
SQL Server Saving Query Result to new file
Hi Gurus, Can u help me out in the following two scenario/problems. 1. I want to save the query results (which is generated within execute sql task) to file (which does not exists & should be created at run time). is it possible 2. Can I define the file name, in Flat File connection Manager, dynamically (by using some variable) Your support and help will be appreciated... regards, Anas Zadoras wrote: Hi Gurus, Can u help me out in the following two scenario/problems. 1. I want to save the query results (which is generated within execute sql task) to file (which does not exists & should be created at run time). is it possible It is, in theory, possible yes. But you will need more ...Show All
Software Development for Windows Vista C# and DirectShow
Would anyone send me a sample snipper code of how to create Graph filter using "File Source (Async.)" filter in C# please I could create graph from webcam but not from the ready use filter. Thank you Are you using http://DirectShowNet.SourceForge.Net There are some samples in the Samples\Players directory that you may find useful. --- Co-Author DirectShowNet ...Show All
Visual Basic connect to excel file
Hi I try to connect excel file withe the connection: oConn.open "Driver={Microsoft Excel Driver (*.xls)};&_ "DriverId=790;Dbq=c:\worker\Ovdim.xls" when I try to run the recordset : oRs.open "select * from Ovdim" I get an error "Could not find the object Ovdim." What I need to change Ovdim is the excel file name. I need to change the select Thank's Lilach T hese forums are for VB.NET and there are better places to find answers for older versions of VB. Maybe the VB6 newgroups - http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.vb.general.discussion&lang=en&cr=US Or perhaps the VB6 resource center http:/ ...Show All
Visual Studio The expression cannot be evaluated while in design mode
I have only one window open and it is a vb document. I never use design mode for anything (with exception to SOME windows GUI interfaces... but none in this project). IF I am not in design mode... and ONLY use text editors... how can I get this message: The expression cannot be evaluated while in design mode. Is this a MSFT BUG or is there a way to be in design mode without actually using the designer, attempting to engage it, or actually using anything non-text to write a program Your name sounds very familiar... a while ago I saw a product Q&A Session for new features in VB .NET 2.0 (I can never find the same thing twice on the microsoft site... don't know why). Is that where I might have seen your name ...Show All
Windows Forms [SOLVED]Sound on button click
hi does anyone know how to get the Asterisk sound to play when clicking a button in VC++ ive created the Event handler but not sure of what code to use. thanks Hi, if you're using .NET 2.0, try with the following: System.Media.SystemSounds.Asterisk.Play(); Andrej ...Show All
