_MB's Q&A profile
Visual Studio Tools for Office Do multiple instances of the same VSTO solution run in separate AppDomains?
If I create one VSTO solution and attach it to multiple documents on my machine, then open each of those documents at the same time, does each VSTO solution run in its own AppDomain I'm using static (global) variables in my VSTO solution, and just want to verify if I open multiple documents at once (all using the same VSTO solution) that each document has its own copy of the static vars. Is this correct Yes, that is correct. Each customization instance gets its own app domain. This is true even if you open multiple instances of the same document with the same customization. So yo ...Show All
Visual Studio Team System Project 2003 Integration Problem
I have a problem with the integration with Project 2003. 1) I created a project using the Agile method. This by default contains a number of tasks. 2) Using Project, I connected to the server and imported the tasks. All tasks were shown as having the same start date. 3) All tasks were assigned to resources and levelling was performed. This moved the tasks to the right so that any one resource only had one task assignement at any one time. 4) I published the changes back to the server and closed Project. 5) Using the TFS Client I could see that the Tasks had the correct Start and End dates (so far so good). 6) Opened Project back up and impo ...Show All
Visual C++ CRect is weirdly designed...
CRect rect (1, 1, 4, 4); (1,1) being the (x,y) starting position of the rectangle (4,4) being its ending position. Quiz : what will return rect.Width() and rect.Height() 4 you bet No, it's 3 !!! How come a so simple object can be so weirdly designed Thanks Ronald. The link shows anyway that this continuous approach of a rectangle brings some confusion among graphics programmers ; but, at least, it can be legitimated thanks to contiunous mathematics... 0 1 2 3 4 5 |---| ---|---|--- |---|--- In a discrete wor ...Show All
Windows Forms Error when commiting the Row to the Original Datasource.
Hi there, I have this problem with a DataGrid, when you click on a BoolColumn in quick succession a messagebox pop’s up with the following description and a Yes and No button: Caption: Error when commiting the Row to the Original Datasource. The ListManager’s position must be equal to rowNum. Parameter Name: rowNum Do you want to correct the value If you&nbs ...Show All
Visual Studio 2008 (Pre-release) milcore.dll missing from my system?
Hi guys, I'm finally getting around to playing with WPF. I created the simplest possible app that is just supposed to show a window and uses the simplest possible msbuild file. It compiles and builds 100% fine. But when I run it, I end up with a DLLNotFoundException triggered by a missing milcore.dll file. My dev box has the following software on it, WinFX Runtime Componenets (Sept CTP) WinFX SDK (Sept CTP) C# Express Beta 2 (Although I'm currently just building everything from the cmd line) I've searched my machine for milcore.dll and I can't find it. Searching the web for a solution has also turned up a blank. Any ideas Thanks. ...Show All
Visual C++ Compile error C2146 & C4430 when including DShow.h
Hi all. Here is a description of my problem; I'm using Visual Studio 2005 Beta 2 to compile some C++ code taken from the book i'm working through at the moment, MSPress: Programming DirectShow for Digital Video and TV. I have narrowed the problem to being due to the '#include "DShow.h"' directive. A simple working hello world app fails to compile as soon as DShow.h is included.... The compile time error is the following; Error 1 error C2146: syntax error : missing ';' before identifier 'PVOID64' c:\program files\microsoft visual studio 8\vc\platformsdk\include\winnt.h ...Show All
Visual Studio Express Editions How do you add a variable as DefaultValue in Designer View
Hi folks....I'm back, After searching and trial and error, I've hit a brick wall. I want to add a Public Variable as the DefaultValue of a Column in a new DataRow. In the DataSet Designer Properties, how do you insert a variable name into the field for DefaultValue Is this possible or are you constrained to putting only a String in as DefaultValue Thanks much. hi, open your double click your dataset in solution explorer, and select any column from your table , go to properties you will find datatype property and default value property, set the default value depending on the datatype ...Show All
.NET Development VS 2005 Time delay in calling subroutine (Office Interop)
Hi to the group, I wrote a program originally in VB.NET 2003 to retrieve some outlook items. The program runs just fine. I have recently converted it to VB.NET 2005 and here is the issue: Program loads and runs up to the point of calling a subroutine - 'GetSomeOutlookItems'. The program has thus far taken about 1/2 second or so. The subroutine is in its own module and imports Microsoft.Office.Interop. The program now takes about 6 to 8 seconds to actually get to this subroutine. Once the program gets there it takes about 1/2 second to finish loading all the data. Is there something I am overlooking or doing wrong Did VS2005 convert my progr ...Show All
Visual Studio Instanciate an external model
I want to acces to a sdm model from my custom model to update it. How can i do Hi Malain, Just to check, you are talking about a custom model built with the DSL Tools here as opposed to an extension to the Distributed System Designers constructed using the SDM SDK If you are talking DSL Tools, then I can imagine a few scenarios. Do you want to incorporate data from an SDM model into the model you're building in a custom designer As an import function or as part of your serialization format Do you want to use a custom designer to modify one portion of an existing .sdm file Do you want to gene ...Show All
Visual Studio 2008 (Pre-release) WinFX Runtime Components Beta 2 crashes during installation.
Hi, I can't manage to install the latest WinFX Runtime Components Beta 2 (May release). I'm now using the winfxrc.exe, but it crashes during installation. I’ve completely uninstalled all previous versions. I’ve read former posts in forums and performed the steps from there and also in the prerelease document. I have removed the InfoCard Service according to 2.7 and I have also used the uninstall tool according to 2.8 in the prerelease document. Nothing helps... I also tried installing the February CTP again without problems. I then uninstalled it and performed all the steps above, but I still get the same error when it crashes. ...Show All
Visual Studio Team System deleting team project not freeing space!
Hello, While trying to delete some team projects I noted a strange behavior. problem: I am deleting the team project and it throws an exception while deleting sharepoint site. I am using /force option to delete. Expected: If the deletion is terminated in between, then the project entry should be retained in TFC. eg: ctrl c in between deletion. What's happening: The project listing in the TFC is not coming and the size of the disk is still constant. So the deletion the projects is not freeing their disk usage. Note: This server is TFS beta 3. Thanks Nike Deleting the project in CSS (the master of that data) should be the l ...Show All
SQL Server Converting T-SQL *= OUTER JOINS to ANSI-92 syntax
Hello all. I have an application that has worked smoothly using the following query syntax: FROM tbl_participation, tbl_adult, tbl_month, tbl_school_year WHERE tbl_participation.adult_ID =* tbl_adult.ID AND tbl_participation.month_ID =* tbl_month.ID AND tbl_participation.year_id =* tbl_school_year.ID AND tbl_adult.ID = 8 AND tbl_school_year.ID = 5 It works just fine, as I want the results to include a table with one column containing the month name, the table headed by the adult's name/school year. It needs to still return a table even if there have yet been no records in tbl_participation f ...Show All
Visual Studio Team System Advanced work item customization...?
Hi all, I am attempting to create a custom work item type for our development methodology. Among other things, I would like to have a field that auto increments (a unique ID number for each work item) and I would like to have some date fields populate with the current date when a value in a drop down list box is chagned. Basically, I'm looking for any guide a little more advanced than the "step by step" ones I found in the help. A copy of the schema would be helpful too. We are currently using the most current Beta of TFS (updating to the RTM as soon as our IT gal gets back from vacation) with the RTM of VS 200 ...Show All
Visual Basic Would like to know how to fill a textbox when the value of a dropdown list changes.
Hello, I am working on a webapplication, I have a dropdown list which is filled up using a dataset. There is also a textbox right next to it. The end user should select a value from the dropdownlist, and then I would like the textbox to be filled with a value depending on what item was selected from the dropdown list. I tried using the SelectedIndexChanged but it doesnt do anything, and I do not see any other event that would let me fill that textbox depending on what is selected. If anyones has a suggestion, Thanks. ...Show All
Visual C++ EnumPrinters in Service doesn't work
Hi All, I read in one of the forums that an EnumPrinters() for Network printers when used in a service , does not work because the service is running under SYSTEM account. This is the problem. can any of u give me some inputs on how to solve this.I need to use EnumPrinters() from the service. are there any access rights that need to be given to the SYSTEM Account If yes, how do we set them Any solutions Thanks for the help. Getlasterror returns 2. If the guest account cannot add a printer connection then is there any other way i can solve this problem ...Show All
