Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: ProtocolPirate
  • Order by date
  1. ProtocolPirate

    Multiple Projects in a Solution?

    How do you add already existing projects to a new solution?
  2. ProtocolPirate

    Can VS2008 publish such that .NET 3 is not required for installs?

    I upgraded a VB project from VS2005, but now installations require .NET 3 on the target machine, even though my project only asks for .NET 2. Dot NET 3 takes 3 times longer than .NET 2 to load and install, so I would rather stick with 2 at this time. My project only lists .NET 2 as a dependency...
  3. ProtocolPirate

    MoveLeft parameters for .NET Word interop?

    I want to move left two characters after a selection.find executes, backspace twice (over spaces) and insert insert a single character of a different font (an X in arial black) of equal width. Find I figured out, but I can't figure out where to find the imported constants are for the unit type...
  4. ProtocolPirate

    How to Publish Excel and Word Files w/ My App?

    Sorry, wrong forum. I meant this to go to the VB.NET forum. It is about ClickOnce deployment in Visual Studio.
  5. ProtocolPirate

    How to Publish Excel Files w/ My App?

    It is using ClickOnce deployment in Visual Studio 2005 but it wouldn't deploy XLS and DOC files. As it turns out the default Build Action in the Properties pane is set to None for XLS and DOC files that you include in your resources. All you have to do is set the Build Action to content (the...
  6. ProtocolPirate

    How to Publish Excel Files w/ My App?

    I assume that I am suppose to add the files either to resources or settings, but I can't figure out how to reference them once I've put them there.
  7. ProtocolPirate

    How to Publish Excel and Word Files w/ My App?

    Where do I put them, with the resource files, or the settings files? And how do I reference them once I put them there?
  8. ProtocolPirate

    How to get Excel.Application for sheet imbedded in Word via AddOLEObje

    I need to be able to get access to the Excel object that is imbedded in a Word document. I imbed it myself using AddOLEObject, but then I need to turn the gridlines off in the sheet in order to print.
  9. ProtocolPirate

    Imbed an Excel Sheet in a Word Doc W/OUT Every Excel Grid Visible

    I know how to turn off gridlines for an Excel object in VB.NET by running oXL.ActiveWindow.DisplayGridlines = False, but how do you get the oXL object for a spreadsheet that you have just imbedded in a Word document using AddOLEObject? I need to be able to imbed an Excel spreadsheet in a Word...
  10. ProtocolPirate

    Imbed an Excel Sheet in a Word Doc W/OUT Every Excel Grid Visible

    When imbedded in a Word document, all of the worksheet grid lines with no border appear in gray, rather than blank as they should. What a useful feature!! Thank you so much Microsoft... Can I salvage this, or am I going to have to convert this to a PDF and import that instead?
  11. ProtocolPirate

    Which version of .NET has the System.Management namespace?

    I've got .NET 2.0 loaded and it is not present. What version of .NET has this namespace? I need to map network drives.
  12. ProtocolPirate

    Which version of .NET has the System.Management namespace?

    I'm trying to find map network drives without using an ugly shell command to call "net use" and I've found that there is a serious limitation to the old windows API calls to WNetAddConnection2 (can't map drives by a different user name on a completely different drive, which is quite ugly too)...
  13. ProtocolPirate

    Excel Interop: Workbooks.Add throws exception 800a03ec

    No, that is not .NET syntax. I don't remember how I fixed this, but it was not connected to any of the usual cases associated with that exception number.
  14. ProtocolPirate

    Excel Interop: Workbooks.Add throws exception 800a03ec

    My VB.NET program works great on my machine, but on our 2003 server with Office 2007 installed the Workbooks.Add method fails with this mysterious exception.
  15. ProtocolPirate

    Memory Leak Detector for VB.NET?

    Btrieve (and old database) is much older than COM. There are no COM objects here.
  16. ProtocolPirate

    Memory Leak Detector for VB.NET?

    I think that the leaks are in the marshaling. I'm calling a DLL for Btrieve (an old database) which I do not believe is a COM object. I downloaded the trial of GlowCode and got more information. I still can't get the line number of the leaks allocation, but I can at least get the function, and...
  17. ProtocolPirate

    Memory Leak Detector for VB.NET?

    I ran the trial versions of Memory Validator and .NET Memory Profiler, but I couldn't get any useful information out of either. I have unmanaged code that I am marshaling data to and from which clearly has leaks, and I also have an OCX for scanning that has even bigger leaks. Whatever happened...
  18. ProtocolPirate

    How to prevent MouseWheel msgs from scrolling a DataGridView?

    There is no Handled member of the MouseEventArgs class. That is only present for Key events.
  19. ProtocolPirate

    How to prevent MouseWheel msgs from scrolling a DataGridView?

    I can't answer your question, but I can tell you that it is getting that information from the mouse settings in windows not something it is doing on it's own." What information? I'm not looking for data values, I'm trying to prevent scrollbar messages from automatically being generated by...
  20. ProtocolPirate

    How to prevent MouseWheel msgs from scrolling a DataGridView?

    I want to control the scrolling directly from the MouseWheel handler because the automatic message translation converts one mousewheel click to three separate one line scroll messages. My VirtualMode DataGridView is overwhelmed by all the redrawing, scrolls slowly and getting a backlog in the...

Part and Inventory Search

Back
Top