cgreathouse's Q&A profile
Visual Studio Tools for Office How to use Excel and Word from Office XP,Office 2000?..
hi! i have a problem working on Visual .NET 2003 under C Sharp. I use Excel and Word 2003 to work with doing that like this: <code> private void FillDocument(){ xlApp = new Microsoft.Office.Interop.Excel.Application(); xlApp.Visible=false; xlApp.UserControl=false; .... xlApp.Quit(); } </code> have 2 questions: 1)if i write <code> peivate void Main() { FillDocument(); FillDocument(); FillDocument() ...Show All
Visual Basic Adding an Existing Form to a Project
I wish to reuse a form from from one vb.net project into another. I select the project name and choose 'add exising' and then select the desired file, GreatForm.vb from the source application. When I try to open the imported form all I can see is the code window and not the controls on the form. Am I missing a step in the import process Thanks, Fred Herring If your using VB 2005 there are a number of files that make ...Show All
Visual Studio Tools for Office Outlook AddIns 2 Questions
Hi! 1.) How can I add a separator to an outlookmenu, created by my addin I use following code to add an menuentry. _mnu1 = _topMenu.Controls.Add(Office. MsoControlType .msoControlButton, Missing .Value, Missing .Value, Missing .Value, true ) as Office. CommandBarButton ; _mnu1.Caption = "Menuitem #1 ; _mnu1.Visible = true ; _mnu1.Enabled = false ; 2.) I don't want my menu in the main menubar of outlook, I would like to have it only i ...Show All
SQL Server Global Temp tables
Hi group, I want to create several global temp tables. I've created a script: if not object_id('tempdb..##tbl_ProductTypes') is null begin drop table ##tbl_ProductTypes end select * into ##tbl_ProductTypes from dbo.tbl_ProductTypes This script creates a global temp table. When I run it in QA the table is created. When I close QA the table is dropped. This is correct since I found the following in BoL: [Global temporary tables are automatically ...Show All
Visual C++ Problem with MFC application that uses win32.dll file
Hello, (I'm using Microsoft Visual Studio C++ 6.0) I made win32.dll file-CppAIRPlug.dll with these project properties: - precomplied header - automatically - run- time library - Debug/Multithreaded DLL (depending of prepocessor definitions) - not using MFC classes After that I made testing of CppAIRPlug.dll functions by making win32 Console application. I included static library CppAIRPlug.lib and folder with header files and it worked without a ...Show All
Visual Studio Team System About MSF for CMMI on RTM
Is this really the final version I still got the same bugs from RC. Things like: show overview doesn't work (it points to home, that is really frustrating), the step by step (views) does not show what are the used workstreams (all of them are shown as "Activities not used"), some examples are missing... And what about the source files and the build tool Thanks in advance. Max Andrade ...Show All
SQL Server Cannot create a connection to data source !!!! SSRS 2005
I cannot get this error resolve either for myself or any users, and I'm actually part of the Admin group! Furthermore, a user with whom I'm tring allow to view this report keeps getting prompted for their windows username and password. I thought that since this datasource was set to Windows Authentification that it would just pass it through I'm pulling my hair out at this point: Screen Shots: http://www.webfo ...Show All
Visual Studio Express Editions Student-Developer-Hobbyist
Hello out there! I'm excited to have received a copy of Microsoft Visual Studio 2005 Express! I have had previous experience with Microsoft Visual Studio .NET 2003, as a student. I continue to be a student, as well as a hobbyist, and, hopefully, some day, a professional software product developer! To this end, I would like to, if at all possible, obtain a downloadable copy of Microsoft's Visual Studio 2005 Express Manual - so that I cou ...Show All
SQL Server server problem occurred during deployment of vb.net application with MSSQL db
I use .net 2005 and server, the application i developed connects to a locally hosted mssql db, I want to deploy the application together with the db to client machine. when i installed the application on the target machine, and run the application, it gave me this message : "an error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default set ...Show All
Visual Studio Microsoft.VisualStudio.Package.Project.dll missing in RC1?
Hello, I just migrated from VS.NET 2005 Beta 2 to the new RC1 release. However, I noticed that the DLL Microsoft.VisualStudio.Package.Project.dll can no longer be found. IIRC, this DLL was registered in the GAC in Beta 2, but it is missing when I upgraded to RC1. After installing the September CTP version of the VSIP SDK, the DLL was installed into the SDK directory (but NOT in the GAC). But even though now I can compile my VS ...Show All
Visual Studio 2008 (Pre-release) Can't go directly to XAML edit
I'm accustomed to right clicking on a file in Solution Explorer an selecting View Code to edit code behind. 1) I can no longer do this, has just not been implemented 2) I'd really like to be able to do it for XAML (espcially because the designer perf. is Beta level and I know its going to crash anyway because of the load limitations. NIK You can set Visual Studio to use the XML editor for XAML as the defualt editor. Th ...Show All
Microsoft ISV Community Center Forums Runtime Error #13 Type mismatch
Ok I have a speadsheet with a userform that adds data into the spreadsheet when the add button is clicked. This has worked fine and all of a sudden today it decided to give me a runtime error. Here is the code it seems to have a problem with. Do While Not Cells(row, col).row = Range("InsertRow").row frmDate = frmMonthlyExpenses.txtDate rowDate = Cells(row, col) row = row + 1 Loop I don't understand what is ...Show All
Software Development for Windows Vista Problems with Persistance and ASP.NET
I'm working with the example that Tom Lake posted. I can get his example to work great, but if I change anything I get multiple errors. This is one of the errors: [0] = {error 347: Could not deserialize object. Serializer for type 'WorkflowLibrary1.BaseOrderWorkflow' threw an exception during deserialization. Exception was thrown with error message 'Can not add activity in a Composite Activity which has built in children.'.} Another error ...Show All
Visual Basic Add text to a text box from a module
I'm upgrading a program I wrote in VB6 to VB2005 and am having a problem with updating a text box. I have a module that manages serial port communications. When data is received in the serial port buffer, it should update a text box (txtSerialIn) on a form (frmSerialInOut). Here's the code: Public Sub Handler( ByVal strInMessage As String ) frmSerialInOut.txtSerialIn.Text = strRXData & vbCrLf & frmSerialInOut.txtSerialIn. ...Show All
Visual Studio Express Editions Cannot Uninstall VWD Express
I downloaded and installed VWD Express about 5 weeks ago...used it and decided to spring for the full-blown Visual Studio package. I decided to uninstall VWD Express, but it won't let me. It returns the following message: :"Setup is unable to determine a valid ordering for the installation. See the error log for further details." The error log says: [02/04/06,00:24:34] Dependency Manager: [2] CDependencyManager::ValidateDep ...Show All
