Roni Schuetz's Q&A profile
Visual Studio Team System Unit Test Wizard doesn't let me select certain projects.
When adding a new unit test to my test project, the Unit Test Wizard jumps back to the "Add New Test" dialog when I select certain projects. If I try to click either the '+' sign for the tree structure of the project or try to click on the project's CheckBox, the dialog returns to "Add New Test". Is this because test units cannot be auto-generated for this project, and if so why do I not see some form of message dialog --Edit-- I also attempted to create a test unit directly from the class that is to be tested. I received the error: "The source code cannot be sufficiently parsed for Code Generation. Please ...Show All
Visual Studio Tools for Office <path> is not a valid office add-in vs2005 and outlook 2003
Hi, i'm using vs2005 and the outlook add in to build an add-in for outlook 2003. But when I want to debug the add-in, it is not loaded by outlook. I can see the dll when i go to the com add-ins. When I want to activate it, outlook just clear the checkbox. When I want to add it manualy I get the exeption "<path> is not a valid office add-in." The frustrating part is that it was working fine. Please can somebody help me. Hi All, This appears to be a really challenging problem! In my case I had a working Outlook 2003 Add-in which needed a shim before I deployed it. I added the shim, had s ...Show All
Visual Studio Tools for Office newbie need help w/sending rtf, doc, text files as outlook message body in vb.net
Hello. This question would probably be best directed toward the Outlook programming newsgroup: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.office.developer.outlook.vba&lang=en&cr=US . -Aaron ...Show All
Visual Studio 2008 (Pre-release) How to add annotations to xps document through the DocumentViewer control ?
Hi, I have one question to ask. How to customize DocumentViewer control for supporting annotations to xps documents Thanks! I'm working on a providing a detailed answer with code samples. In the interim, here are a few pieces of info/advice. Annotations currently only work with FixedDocument elements, not FixedDocumentSequence. (I'll include a code sample on how to get the FixedDocument from an XPS document in my next post.) Annotations are ran as a service with supporting commands, and the easiest way to hook up the commands is by adding a toolbar to DocumentViewer or modif ...Show All
SQL Server Create DBF file from ADO.Net
Hi Guys, I have a requirement from a client to take some data from their SQL Server and create a Dbase 5 file with it. Scoured the forums looking for the answer but no luck. Any ideas Iain SQL Server has Data Transformation Services (DTS) that allows to export data into different formats depending on providers and drives installed on that PC. I believe this is what you need ...Show All
Visual Studio The size of the VSS DATABASE
hi, WHAT`S THE TOP SIZE OF A VSOURCE SAFE DATABASE , THAT VSS DB COULD HANDLE WELL THANKS FOR YOUR REPLIES. ROXANA 5 GB is the upper limit of the recommended size but many of our customers have 10+ GB databases without major issues. Barry ...Show All
Smart Device Development Browse different folders in PDA using C#
I am developing a application in c# compact framework for PDA, i want to browse through all the folders, to select a file and store in the database. Can anybody help me how to browse the PDA for files in different folders using c#. I tried few functions in the System.IO, but not able to show all the folders in the form, it is showing only 2-3 folders. ...Show All
SQL Server Two Instances (SQLEXPRESS and MSSQLSERVER)
Hi there, I installed SQL Server Express few days ago but today I coudn't start the Management Studio. After reinstall the management studio, the problem stay. Then I uninstall SQL Server, but I still had acess to the configuration manager and I see that the instance SQLEXPRESS still runing, even with all unistalled (SQL Server, Management Studio, Framework 2.0, Visual Studio). Then I install again Sql Server, and it detected that the default Instance are already installaled. I continued the installation without type any name for the "new" instance, but then I finished with to Instances: MSSQLSERVER and SQLEXPRESS. The strange (for me) ...Show All
Visual C# trouble using delegate in WndProc
when i use delegate like this: ----------------- [System.Security.Permissions.PermissionSet(System.Security.Permissions.SecurityAction.Demand, Name = "FullTrust")] protected override void WndProc(ref Message m) { delegate_ReplyFromDataProcess = new PrepareDelegate_ReplyFromDataProcess(ReplyFromDataProcess); delegate_ReplyFromDataProcess.BeginInvoke(m, null, null); } delegate void PrepareDelegate_ReplyFromDataProcess(Message m); private void ReplyFromDataProcess(Message m) { IntPtr pnt = dp.OnReply(UInt32.Parse(m.WParam.ToString()), Int32.Parse(m.LParam.ToString())); } ----------------- i met the error: * ...Show All
SQL Server In a data model, how do I filter rows based on the identify of the user???
Good morning, I am trying to figure out how to filter rows that are available to the user who is using the report builder I only want to allow the salesperson who is using the report builder to see their own orders and not those of other salespeople. There are brief mentions of securityfilters, etc. in books online but not enough info for me to figure out if this is where I would be able to achieve this or how to do it Any help would be appreciated. Thanks, Alan PS. I am running the June CTP I am trying to applying an data filter that will filter out user based on userid Three tables: ...Show All
SQL Server Display SQL 2005 KPI status graphic using visual studio 2005
Dear All, Could anyone help send me a sample mdx code on how i could get the KPI status graphics from MS SQL 2005. I create a cube and add a few KPI's into the cube, on the management studio 2005 I am able to view the graphics e.g. smiley but when i use the mdx command I could only display the KPI status -1, 0 or 1 not the graphics. The MDX functions does not include the KPI_status_graphics. Thank you in advance. Mike Siow siowm@metierview.com You can retrieve the KPI_STATUS_GRAPHIC and KPI_TREND_GRAPHIC for a KPI using the MDSCHEMA_KPIS Rowset: http://msdn2.microsoft.com/en-us/library/ms126258.aspx >> MDS ...Show All
Visual Studio Team System excluding files from the command line
Is there a way using fxcopcmd to analyze all files in a directory except for a few specific files I am trying to avoid using a project to specify the targets. FxCop doesn't support masking out files, it only supports wildcards to add certain files. If you want to do anything more fancy, you have to either create a project or write a batch/jscript/perl script to build the commandline. Regards, Jeffrey ...Show All
SQL Server AutoClose
How do you set the AutoClose property of a SQLExpress db Also, can the user instance timeout property be set at the database level too to make for easier application distribution. Is there any downside to turning off AutoClose in order to speed up the initial startup times after a period of inactivity. I think the AutoClose property is true by default in SQL Server Express. You can look it up and set it in Management Studio Express / Databases / Database / Properties / Options. I have a question too: If AutoClose is true: Can then the database files be copied at any time for backup Even when users are w ...Show All
Visual Studio Express Editions Checking if application is already running
I have added a context menu item to my application. The problem is that, if it is already running and I right click a file, another instance of the program opens up. How can I check if the program is already running, and if it is, how can I pass control to the existing instance Thanks in advance. Try this... public static bool IsAppAlreadyRunning() { Process currentProcess = Process.GetCurrentProcess(); return Process.GetProcessesByName(currentProcess.Name).Length > 0; } you just have to modify it to suit your need. HTH, ...Show All
.NET Development Framework 2.0 redist beta v2.0.50215 / Framework 2.0 runtime v2.050727
hello. i am live with a portal which uses version v2.0.50215 .... Is it possible to install on a the live server also the current fullversion of .Net framework v2.050727 without to uninstall temporary v2.0.50215 thanks No. You can only install one copy of .NET 2.0. You will need to remove .NET 2.0.50215 before installing the RTM (2.0.50727). ...Show All
