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...
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...
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.
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...
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)...
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.
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 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...
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 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...
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...
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.