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...
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...
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.
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?
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)...
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.
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...
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...
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...
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.
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.
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...
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...
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...
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?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.