MarcoDissel's Q&A profile
Visual Studio Tools for Office Orphan Winword.exe with PIA
Hey I am using PIA to run thru documents and convert hyperlinks, using VS2005. To date, PIA has been very helpful, but I have a problem with it leaving an orphan Winword.exe process behind after the process has finished. I use the PIA in a class, which has the following code to instantiate and destroy the object. Imports Word = Microsoft.Office.Interop.Word ... Private _app As Word.Application Public Sub New() _app = New Microsoft.Office.Interop.Word.Application() End Sub Protected Overloads Overrides Sub Finalize() Dim intRefCount As Integer = 1 While intRefCount > 0 intRefCount = System.Runtime.InteropServices.Marshal.Relea ...Show All
.NET Development .Net Windows service and custom properties
Hello all! I'm having a heck of a time trying to find any information about adding a custom property to a windows service. As an example, if you look at the properties dialog on the SNMP service you will notice that it has two additional tabs that are used for configuring that service. I would like to do the same thing for my custom service. Can someone point me in the right direction I'm using VB.NET 2003 but any information in whatever flavor would be great. Thanks! Dan Did you ever find a solution for this I've been trying to accomplish the same thing. ...Show All
Visual Studio Team System Team Build: Object reference not set to instance of an object
We're currently using Beta 3 Refresh. When I build the solution locally I receive no errors, but when running a build through Team Build, I receive 462 "Object reference not set to instance of an object." How can I go back through each project and check that everything is correct if I don't receive errors when I build locally Build started 3/30/2006 9:36:06 AM. __________________________________________________ Project "C:\ARRM\Build\ARRM\ARRM_NoTest\BuildType\TFSBuild.proj" (EndToEndIteration target(s)): Target InitializeEndToEndIteration: UpdateBuildNumberDropLocation BuildNumber='ARRM_NoTest_20060330.2' DropLoc ...Show All
Windows Forms Wizard Control for .NET
Hello, I am looking for a control for my new application that acts exactly the same as a tab but without the tabs. Is there any way of removing the tabs in the Windows forms control without changing the offset ...Show All
SQL Server Adding Integration Services Node in Server Management Studio
Hi, Am just getting started with SSIS. Based on an article I saw online, I would expect to find an "Integration Services" node in Server Management Studio, but I don't see this node. I'm trying to create and execute a simple package. Running... Microsoft SQL Server 2005 - 9.00.1116 (Intel X86) Apr 9 2005 20:56:37 Copyright (c) 1988-2004 Microsoft Corporation Beta Edition on Windows NT 5.2 (Build 3790: Service Pack 1) ...on a named instance. Thanks, krog Any additional information about this I also recieve "Access denied" ...Show All
Visual Studio Render Report PDF Encoding...
Does anyone know how to render a report from the ReportViewer or Export the report to .PDF and display Chinese. I have a report that has Chinese Characters, and when i export it to PDF, all I get are question marks in place of the Chinese Characters. I have downloaded and installed the Report Viewer language pack, and the report viewer buttons are in chinese, I even created ny own render print buton, but still it doesn't work. I have all the Adobe Reader Language packs, etc. It might have something to do with the encoding, but I cannot find anything about it. Not even from Microsoft site. Here is my code to render: Protected ...Show All
Windows Forms Windows service
Hi, i tried a simple windows service and got the following error message when i run it "error 1053: the service did not respond to the start or control request in a timely fasion " anyone know why and how to solve the problem. Thank you. Goto Services in Computer Management and make yourself the logon user of the service and&nbs ...Show All
Visual Studio Team System Where exactly is CustomDictionary.xml really supposed to go?
I added it to the project, FxCop doesn't pick it up. Ditto putting it in the targetdir Ditto on the Docs...Application Data\Microsoft FxCop\1.312 dir. Or do I need to change the project file somehow Michael, Just so I am clear about what you are saying when you say "the final version of FxCop that's integrated in VS Team System"... you're saying the shipping version of Visual Studio 2005 (i.e. not Beta 2) will not include rules that use the spell-checker Thanks. Guy ...Show All
Visual Basic TreeView
When working with a treeview, I understand how to select a node by clicking on it. However, if you are working with your tree in code, I am confused how to address/select a specific node. Say I wish to loop thru my tree tree starting at a specified point and collapse all the child nodes of it that have have children. Example: Base Level 1 Level 2 Level 2.1 Level 2.2 Level 3   ...Show All
SQL Server Can't uninstall books Online CTP Preview
It shows in Add/Remove Programs. I had ASP.NET 2.0 installed and Add/Remove Programs tells me I need 2.0 before I can Install Books Online. But I'm trying to Uninstall Books Online. I uninstalled 2.0 with no effect. I reinstalled 2.0 with no effect. I searched Program Files and the Register and can't find Book Online. It won't go away. How to get rid of it Thank you. Gaile, I had the exact issue. Your help above sold my issue perfectly. All I did was install only the .NET Framework I needed and my BOL uninstalled just fine. Thanks, Scott ...Show All
Visual Basic RishTextBox
I use a richtextbox for runtime status messaging in my application. I use the .appendtext feature to add a new line whenever I need to report some event such as saving/loading or some trapped exception. What I would like to be able to do is control the formatting of each new appended text line. For instance, if I have just trapped an exception and wish to inform the user of the fault, I would like to change the forecolor of the next appended string to red to get the users attention. Is there anyway for me to set the font/color of a string that I am going to append to a text box without affecting the total text in the ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How can I output 3D screenshot to asp page
I would like to output the 3D screenshot to browser. I found the directX can output screenshot to file, such as: SurfaceLoader .Save(dialog.FileName, ImageFileFormat .Jpg, _device.GetBackBuffer(0, 0, BackBufferType .Mono)); But I wish I could output directly to my ASP page. So I can render the screen shot in browser directly. Thanks for help. PS: A lot of existing examples in ASP is rendering bitmap, such as setting Response object's OutputStream by Bitmap: Bitmap.Save (Response.OutputStream, ImageFormat.Jpeg) You can take the screenshot and write to to the page, by setting the MIME type, and writing the ...Show All
Visual C# Uploading to FTP from either a filesystem or a website
This code works, but I was wondering if there was a cleaner way to do this. When I upload to FTP from another website, first I download to the filesystem somewhere and then I upload this file to the ftp site. There must be a more direct way to do this, without using the user's filesystem. In my code, there are two parts, one is the case of the upload file located on the filesystem and the second is the case when the upload file is located on the website. The only major difference between the two cases is highlighted in bold. If anybody has sample code, clear suggestions, or links that directly address my situation, it would be much appreciat ...Show All
.NET Development Two values behave as one
Hi to all! I wonder, is there a datastracture, or perhaps a method, which supports that the combination of two values behaves as one. For instance, two values: a and b. Combined: ab or ba that are represented in a same way. Kind regards, Nele I'm not sure what you are asking. ab and ba would be new variables. You can do string ab = a + b; is that what you mean ...Show All
Microsoft ISV Community Center Forums VBA Excel Macro to delete rows based on column conditions
I am trying to write a macro that will take a file, open it up then based on conditions in 3 colums delete the row. So if the value in Colum Q,T & W is zero then that row will be deleted. All three columns have to be 0. so far I have: Sub Text_File_to_Excel() ' ' Text_File_to_Excel Macro ' Macro recorded 4/13/2004 by C4TXL ' ' myFile = Application.GetOpenFilename("Text Files,*.txt") Workbooks.OpenText _ FileName:=myFile, _ Origin:=xlWindows, _ StartRow:=1, _ DataType:=xlFixedWidth, _ FieldInfo:= _ Array(Array(0, 1), Array(8, 1), Array(19, 1), Array(49, 1), Array(50, 1), Array(80, 1), _ Array(8 ...Show All
