Copy Word Doc Bookmarks from One Document to another (VB.net) I am try to copy bookmark from one word doc to another, find all the bookmark and select them etc. I can create the bookmark in the second word doc, with the correct name. The problem is set the location of the bookmark Any help here would be great WrdDoc is the destination doc WrdTemplate is the s... 9 Apr 2010 06:43
Owner Drawn form background problems vs 2005 vb.net windows form app. Doing a simple gradient background on a form: Protected Overrides Sub OnPaintBackground(ByVal e As System.Windows.Forms.PaintEventArgs) MyBase.OnPaint(e) Dim r As Rectangle = ClientRectangle Dim b As Brush = New System.Drawing.Drawing2D.LinearG... 8 Apr 2010 17:28
Treeview duplicate nodes (VB.NET 2008) When populating a Treeview in code, I am getting "duplicate" nodes. They appear in the treeview, but don't seem to exist when I iterate through the node collections. This is what I get: http://www.emick.us/Capture.JPG and this is my code. I am baffled. Scott Emick Public Class MainForm Private Su... 10 Apr 2010 10:12
Gridview order I've got a Gridview and a xmldatasource How can I show the gridview rows in reverse order? ... 8 Apr 2010 20:51
Accessing Sub Menu Items In VB.NET, I create a File menu. One of the File Menu items is "Recent Projects". Using the following Code, I can add sub-menu items to drop down below "Recent Projects." mnuRecentProjects.DropDownItems.Add("Test Item 4") mnuRecentProjects.DropDownItems.Add("Test Item 5") mnuRecentPro... 9 Apr 2010 07:48
ASP Tab Control Does anyone know of a customizable tab control for ASP.Net? I'm not looking for a whole suite of controls, just the one. ... 8 Apr 2010 02:55
Single v. Double Help Why is 'ans1' true if double and false for single? Module Module1 Sub Main() Dim x As Double / Single Dim y As Double / Single Dim ans1 As Boolean Dim ans2 As Boolean x = 0.3000000000000001 y = Math.Round(x, 2) ans1 = y = 0.3 ans2 =... 7 Apr 2010 19:11
Use a static form of the EventLog class? I'm developing a Windows Service in VB.Net. In the Visual Studio Programmer's Guide for the .NET Framework - How to: Log Information About Services, the following statement is made: By default, all Windows Service projects have the ability to interact with the Application event log and write information and ex... 8 Apr 2010 09:30
How to tell if folder item is file or folder? Hi all. Now I am processing data in folders. I get a listing of folder contents and have to test to determine whether item is folder or file. I have this routine: strPath is previously set with valid data, strType is previously defined. Dim objDI As New System.IO.DirectoryInfo(strPath) For Each objFS... 8 Apr 2010 12:37
null reference exception could result at runtime vbnet 2008 express how to avoid the compiler warning: Variable 'ArrayObjects' is used before it has been assigned a value. A null null reference exception could result at runtime. given Dim ArrayObjects() As AcadEntity ....some code... Try ReDim ArrayObjects(0) ArrayObjects(UBound(ArrayObjects)) = o... 8 Apr 2010 12:37 |