mezza_pete's Q&A profile
Visual Studio Tools for Office Paste can invalidate schema
Hi, I have a question about creating Word documents with custom xml that conform to a schema. We need to protect our documents and allow our users to enter text into certain editable text runs that are wrapped by custom xml nodes. This all works fine if the users type into the document but we have found that if you paste text that contains custom nodes into one of these areas, that these custom nodes get added too which invalidates the document against the schema. Our users are generally not even aware that there is xml in the document so it is not practical to expect them to strip these unwanted tags out. How can we prevent them from being ...Show All
Visual Studio Team System Design Documentation - Where is the best place to store them
When working on Bugs / Tasks we create design docuemnts (I heard somewhere that these are useful... still trying find who said that :D ). Anyways, where would be the best place to store these Say if there were 5 bugs in our system that could be fixed with 1 code change, we'd only create one document for that (5 bugs still). So, attaching the same document to all those bugs is very bad in my mind. We could also upload it to our portal site and link to it via a Hyperlink in each Bug work item. I find the latter the best way of doing this. Is there other ways I have missed that would be better Thanks. I agree you should store the ...Show All
Visual Studio Express Editions how can .net framework 2.0 replace 1.1?
i use mathcad 13 in my daily life, and this software need the support from .net framework 1.1. after installing vb express, .net framework 2.0 is installed, and i uninstalled 1.1. however, mathcad can now run after that, and i have to reinstall 1.1. it is not so amusing to see both of the two different vision of .net framework in my computer, how can i replace 1.1 with 2.0 correctly You have different runtimes for VB Classic (3, 4, 5, 6) and they all have to reside on your machine at the same time. And different DLL's for other languages, so why not for .NET ...Show All
Visual Basic Warning CA1303 : Microsoft Globalization
I'm getting a lot of warnings such as this one: Warning 9 CA1303 : Microsoft.Globalization : AboutBox.InitializeComponent():Void passes a literal as parameter 1 of a call to Control.set_Text(String):Void. Retrieve the following string argument from a resource table instead: I understand what the problem is, and how to fix it. However, they occur in Designer.vb files, which are managed by the Windows Forms Designer. In these files it says: 'NOTE: The following procedure is required by the Windows Form Designer 'It can be modified using the Windows Form Designer. 'Do not modify it using the code editor. So how am ...Show All
Windows Live Developer Forums A lot of pushpins
I need to add a lot of pushpins, such as 1000 for example. When you add 1000 pushpins , VE control starts to act very slowly . Panning and zooming is slowed down a lot. I did not see any limitations on the number of pins in API documentation. Is there any alternative solution to speed this up Here is a sample code. Using VE v3 control. map.DeleteAllPushpins(); for (var i = 0; i < result.length; i++) { var pin = new VEPushpin( i, new VELatLong(result[ i ].Lat, result[ i ].Lon), 'pushpin.gif', 'test title', 'test body' ); map.AddPushpin(pin); } I've tried the same thing with both pushpins and rss layer. U ...Show All
Visual C# CA1052 Warning Inappropriate?
For lack of anything better to do, I built NUnit 2.2 using VS 2005 Beta 2. I then turned Code Analysis on. One warning I saw seems inappropriate. I'm being told to mark classes Assert and AssertionFailureMessage as sealed. But these classes have protected members, so if I mark them as sealed, CA will complain about sealed classes with protected members! Am I missing something John Saunders Post a message on the FxCop forum on GotDotNet. ...Show All
SQL Server COnfiguring Number of records per page?
Is there a way I can specify how many records per page should be displayed > This is a very basic functionality that needs to go in the deployment at any cost for us ...any ideas. thanks Assuming you display your data in a list or a table, you could add a grouping expression like this: =Ceiling(RowNumber(Nothing)/20) This will cause the list/table to group on every 20 rows. On the grouping dialog, select to add a page break on every group and you should get the desired result. -- Robert ...Show All
Visual C# Closing Dialog Box without ending exe
At the moment I am trying to use a dialog box to put progress messages on the screen as a long process takes place beneath. The box has a close icon (that X at the top right of the title bar) If the user clicks on the close icon this then closes the exe, but I would like to be able to keep the exe going and do some recovery routine to re-establish a known condition on the running exe. Any ideas would be very welcome. Thanks Well, I put the same code in this morning and it worked. Perhaps my PC is trying to tell me something about working late!! ...Show All
Smart Device Development vs2005 beta2 compact framework emulator
I have tried and tried again to get the Pocket_PC emulator to connect to VS2005 beta2. I can make the emulator 'browse' the network, I can even ping it, however, all the VS2005 beta2 attempts to connect to the device give a variety of errors. The VS2003 emulators work fine with VS2003, but even using the device manager I cannot connect to the beta2 emulator. You think this should be easy or there should be doc's to guide you, but if there are, I can't seem to find them. Anyone been successful using the .net2005 compact framework beta 2 connecting to the emulator, and if so, how did you do it. Thanks   ...Show All
Game Technologies: DirectX, XNA, XACT, etc. December 2005 DirectX SDK now available
The Windows Graphics and Gaming Technology Team is proud to announce the latest version of the DirectX SDK, available for immediate download! The latest SDK, as always, can be found at http://msdn.com/directx/sdk . So what's new Well, some of the really cool additions and updates are: - Direct3D 10 Technology Preview: That's not a typo. If you have Windows Vista, you'll be thrilled to get your hands on this _very early_ preview of the new version of Direct3D. - Microsoft Cross-Platform Audio Creation Tool (XACT Beta): Our audio geniuses are at it again. - Managed DirectX for .NET Framework 2. ...Show All
Visual Studio version of crystal report in .net 2003
what is the version of crystal reports used in .net 2003 Hi, This is the wrong forum for this question. I would try Crystal Reports for Visual Studio . Thanks, Brad ...Show All
SQL Server data flow,
Lets say I have 10 tasks in the data flow, but I want to execute only 5 tasks which don't depend on any other tasks in that data flow. I don't want to execute all my tasks all the time while I am in development stage. Is it possible to execute that way How can I do that You can't stop tasks running in a dataflow. You can only limit how many sources are processing at the same time. So if you had 10 sources and only wanted 2 at a time you could set the EngineThreads property to 2 and only 2 would be going at any one time but all would get executed before the dataflow completed. If you do ...Show All
Visual Studio Express Editions Registration is somewhat confusing
I think I registered successfully but I haven't received a key, only a thank-you email. Does anyone understand exactly what is supposed to happen when registering Thanks. i'm having the same problem and i need to sort the key out as using the package for my studies just received 5 thank you emails and no product keys at all can anyone from microsoft shed any light on this issue ...Show All
Visual Studio Tools for Office What language does VS for office tools use?
the examples I've seen are all C#. Can you use that IDE with VB .NET syntax Yes, you can use VB.NET also. These are the two supported languages with Visual Studio 2005 Tools for Office. A good share of our samples are in one or both languages. For example, most of our VSTO Outlook articles and samples are in both languages. How's that for service http://msdn.microsoft.com/office/understanding/vsto And, dude, it is wise to get a different logon name. John. ...Show All
Windows Forms Cancelling then restarting a BackgroundWorker
I am writing a windows explorer type Listview control. I'm trying to get the thumbnail view working correctly. Ive got the actual thumbnails creating ok but because it can take a while I've used a BackgroundWorker to make it run in a separate process. That works fine too. The problem is that sometimes I need to restart the backgroundWorker. for example, if the user changes to a different directory then I need to restart getting the thumbnails even if I didn't finish getting them for the previous dir. Has anyone else got a good solution for this At first I tried something like this: if (bgWorkerLoadThumbs.IsBusy) { bgWorkerLoadTh ...Show All
