Adam Goossens's Q&A profile
Visual Studio How to add custom control to Visual Studio 2005 Toolbox?
Hi all, I am working on a Windows Forms custom control now and I would like to place my control right on the Toolbox window after installation, however, this seems to be a problem now. I notice that EnvDTE and EnvDTE80 namespace and the DTE2 interface seem to provide customization of VS IDE environment, and I tried as follows: 1> Get a DTE2 instance by Activator; 2> Use DTE2.ToolWindows.ToolBox.ToolBoxTabs.Add to add a new tab; 3> ...Show All
Smart Device Development I really can use some explanations
I am very new to this world, there for my questions may appear stupid, sorry for that. I didn't do much developing, but i didn't practice a little in the old VS2003 days. there it was very simple, you choose a Pocket PC 2002 Project (i was writting in C#). you finish to build it, then press deploy, see that nice Emulator kicks in and shows you what you program should look like on the real device. The program i should write is using some code whi ...Show All
Visual Studio Team System TFS Install problems Dr Watson
Hi, I have been trying for serveral days to try to figure out what the heck is going on with this install. The issues I have ran into was during the install on TFS (RC), I keep getting these watson failures. I am so stumped on why this is doing this. I have everything else working fine such as sharepoint, reporting/SQL. Here is the last line of the error log file. [03/23/06,20:32:24] Setup.exe: GetGlobalCustomProperty({4F8791EE-486F-44B ...Show All
Windows Forms Looking for control suggestions
I need to build a visual control for editing date/time ranges. I have a list of entities, each with an associated start and end datetime. I want to display these items in a list with the corresponding date range creating a gantt-chart like  ...Show All
SQL Server Close to quit working with VS 2005 and SQL Express (Cannot Create Database)
About 2 months ago, with great interest installed VS 2005 beta on my local Windows XP Pro. The SQL Express is running. I cannot work FULLY on starter kits like Personal Web Site SK or Community SK. I create a new web site based on the Community SK. I can successfully bring up ASP.NET configuration, create roles, create users etc. When I look in the App_Data folder there is no ASPNET.MDF database. Where is this getting created 2) Do we have ...Show All
Microsoft ISV Community Center Forums Excel edit mode
How can i detect "edit mode" in excel macros Thank's for idea(s) Hi, The support engineer needs some additional information before he can research this for you. *** After reviewing the post, I understand that you want to write VBA code to detect if an Excel cell is in "edit mode". We cannot find related property in Excel object model. The Excel object model reference is in the following link ...Show All
Visual Studio Team System Can I run a query as a data source to a SQL Server database?
Hi, all. Is it possible to run a query in the data source rather than connect it to a table I have a SQL Server database that I would like to run a query on rather than select from a specific table. Thank you. Yulia, I beleive you are asking about Data Driven Unit Tests. It is not possible to specify a query but you can create a view or stored procedure on your SQL server and specify the name of the v ...Show All
SQL Server How do I consume a DataReader Destination in VB.Net?
Hi All, I am attempting to consume the output of an SSIS data flow task in VB.Net. I want to read the contents of a DataReader Destination into an object and loop through or display the results. Thanks in advance, Andy DouglasL wrote: The BOL topic that you want on this subject is "Loading Data Flow Results into a Client Application." This topic mentions the DtsClient refer ...Show All
Visual Studio Express Editions RichTextBox - Font for visual lines > 4 should be RED
VB Express 2005 I have a richtextbox and wish to have: 1) The font for lines 1 - 4 should be BLACK 2) The font for lines > 4 should be RED The above relates to visually lines and what one views on the screen and not carriage returns etc. This is line 1 - BLACK FONT This is line 2 - BLACK FONT This is line 3 - BLACK FONT This is line 4 - BLACK FONT This is line 5 - RED FONT This is line 6 - RED FONT NOTE: This should be done for ...Show All
Visual C++ COM Differences to VC6
Are there any differences in COM (especially OPC) between 2005 BETA 2 and VC6 I have problems with shutdown an OPC Server and with the BrowserInterface Hi, You will need to debug both programs to see what exactly is returned differently from which API calls. If you provide that info, we have something concrete to help with. Ronald Laeremans Visual C++ team ...Show All
Windows Forms Bad bad memory problem
I've written a web crawler app that when running has gone into virtual memory overload. Nothing I have done has appeased it. I have tried, nullifying references, setting virtual memory limits programatically using the CorRuntimeHostClass class and I've gone t ...Show All
Visual C# Why won't my variable initialize in an overriden function?
OK, I'm having a very peculiar problem here. I've got a modified DataGridViewTextBoxCell where I want to override the GetFormattedValue function to handle complex types in my data source. The problem is that I can't seem to initialize simple datatypes inside this overriden function. Here's the code: protected override object GetFormattedValue( object value, int rowIndex, ref DataGridViewCellStyle cellStyle, TypeConverter valueTy ...Show All
Visual Studio Team System Localized Unit Test
Hi, I have a Unit test assembly that contains a test form that is localized. A satellite assembly is built for the unit test which is all fine and well. However, when I run the unit test, the test framework copies the unit test assembly into another directory .....\TestResults\.....\Out\test.dll but the satellite assemblies are *not* copied (causing my unit test to fail). This seems like a bug Andrew He ...Show All
SQL Server Excel problem
I am trying to import data from sql server to excel. it creates a new worksheet with name 'mytable' and excel file also has 3 sheets (by default as well). when package is executed, Data gets transferred first time. When I try to execute package again it gives me an error - that Table 'mytable' already exists. To solve this I added another task before it creates the table ('mytable' sheet in excel), where I drop this table with the statement " DR ...Show All
.NET Development Return a Datatable using .NET2.0 Webservice
How can i use .NET2.0 to return a datatable. Any pointers to code can help. When you reference a WebService returning a datatable, VS creates a Reference.map and creating a “ GenericObjectDataSource ” . I know well that my “getMyDataTable()” web method is a datatable, why does VS create this custom generic data object that I cannot convert or cast to a DataTable The DataType name that is created is called getMyDataTableRespons ...Show All
