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
  • Content: Threads
  • 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 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.
  5. 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?
  6. 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.
  7. 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?
  8. 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.
  9. 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)...
  10. 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.
  11. 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...
  12. 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...
  13. ProtocolPirate

    DataGridView MouseWheel: How-to prevent three scroll msgs per detent

    Scrolling my VirtualMode DGV is very sluggish and it gets so far behind that it will continue scrolling long after you stop turning the mouse wheel. All other scrolling is fine, only mouse wheel scrolling is poorly behaved. I think the problem is that turning the mouse wheel one detent (one...
  14. ProtocolPirate

    Find Percentage: What is ExPc?

    The docs say: "To specify a granularity in the Get By Percentage operation 1. Place ExPc in the second four bytes of the data buffer." I can't find any reference to what ExPc is suppose to be on the Pervasive site.
  15. ProtocolPirate

    Hitting open from OpenFileDialog kills Background Worker

    I tried both adding an OpenFileDialog to my form and creating it in my code, but either way when I hit the Open button my background worker thread immediately halts without executing the RunWorkerCompleted method.
  16. ProtocolPirate

    How to sort a DataGridView by Date and Time fields

    When I sort a Date field I end up with the 1pm coming before 10am and 7am coming after 4pm. I've been trying to figure out how to do a custom sort, but I can figure out how to hook into a DGV to do a custom sort. Ultimately I want clicking on either the date or the time header to sort by both...
  17. ProtocolPirate

    Reusable code for marshaling structures?

    I would like to create a base class which can generically handle marshaling different table structures to unmanaged Brieve calls. I'm trying to avoid repeating the whole implementation for each different table structure. So I need to be able to do things like: 'Initialize the...
  18. ProtocolPirate

    How to invoke an STA delegate from an MTA thread? Is marshalling requi

    In a background worker threads are MTA, while UI threads must be STA. Attempting to instantiate a form class in a background worker throws an exception, so invocation of a delegate is required. My problem is that I have encapsulated all of my twain driver code into a plain class with no form...
  19. ProtocolPirate

    How to set Single Threaded Apartment model

    Somehow my project got into an MTA state, but I can't find a reference to MTA or STA anywhere in the entire solution. How do I set it back to STA?
  20. ProtocolPirate

    How do I determine which assembly gave the security violation?

    I get a System.Security.Permissions.SecurityPermission SecurityException on one of my assemblies at startup. The code works fine on and bombs only on Vista. So how do I determine what the Hell was the assembly that threw the error so I can find where to *start* looking?

Part and Inventory Search

Back
Top