Hello,
I am creating a Word table using a VB.net application. I have it working with the following declaration:
Dim table As Word.Table = myRange.Tables. Add(myRange, intRowCount, 5)
I always want the table to have 5 columns. I would like the number of rows to be dynamic, or at least be able to add rows on the fly.
Is there an easy way to use a Word table with a dynamic number of rows?...
User Profile
Collapse
-
Dynamic row count in Word table
-
How to see if Word is opened from VB.net
Hello,
I am using Word to create some reports from VB.net. Is there a way to see if Word is already open? Can I just use the current open Word instance or do I need to create a new Word instance from within VB.net even if Word is already open?
Thanks!
LegaIT -
Thank you for your suggestion. It worked great! -
How do I get rid of multiple instances of Word
Hello,
I have a VB.net application that creates reports from database information. I am able to create the reports fine. The problem is each time I create a report my application starts a new instance of Word instead of just adding a document to the current application. I use the following code to create each report. If I take the New out I get an error.
Dim objWord As New Word.Applicatio n
... -
How do I get rid of the carriage control in text box
Hello,
I have a text box that I would like the user to be able to type in the beginning of the entry, press <enter> and go to the correct record. I have it working correctly for a one line text box. When I increase the text box to multi-line I get an unwanted result. When the user enters text and presses enter I go to the correct record as I want. The problem is that the carraige control stays in the text box. So my record... -
Getting available databases
Hello,
I am using VB.net. I would like to allow the user to pick a database to use on an SQL server. Is there a way to get a list of available database on a server?
Thanks!
LegalIT -
Create Word document, add a template
Hello,
I am a bit confused with using Word from VB.net. I would like to create a file name, then create a file with that file name. After the file is created I want to add a template. Since the template is from a server and used by multiple users I only want to add it. Then when the Word document is closed hopefully it won't ask if the user wants to save changes to the template. Can someone help me with the simple open, add the... -
Open application from email
Hello,
I have a VB application that tracks in-house requests. I would like to send an email with a link to the application and an entry ID as an argument, then have the application open and read the entry ID. Any suggestions on how to do this?
Is there a way to open a windows application from a link? Or another way to open an application from within an email?
Thanks!
LegalIT -
View Word document Read only (from a Viewer?)
Hello,
Using VB.net I want to view a Word document (already created) in Read Only mode. Is there a way to show it in a viewer or something so that it can't be changed or saved under a different name?
Thanks!
LegalIT -
Book on Word Add-ins for VB.net
Hello,
I am a fairly experienced VB.net programmer. I would like to start using Word add-ins. Does anyone know a good book about Word Add-ins for VB.net?
Thanks!
LegalIT -
Finding position of horizontal scroll bar VB.net
Hello,
I have an application that loads a set of database records into memory. I then have buttons to move to the first, next, previous or last record.
I would like to add a horizontal scroll bar so that the user can skip around; to the middle, towards the end, etc. I'm not sure what event to use to allow a user to move the scroll bar but then capture the value when the mouse button is released. When I try MouseCaptureCha nged... -
It is just a history log of task assignments. Sometimes the person who was assigned the task is busy so someone else does the task. In this case the manager wants to be able to go in and change the "history"....Leave a comment:
-
Reloading DataGridView
Hello,
I am using VB.net.
I have a DataGridView that is loaded with a transaction history from a database by a call to a subroutine called LoadHistory(). I have three buttons that open new forms, one allows a transaction to be edited, one allows a transaction to be added and one that allows a transaction to be deleted. The transaction changes are being correctly loaded into the database. When I close the forms I would... -
I figured it out from your suggestions. Thank you both!!!
LegalITLeave a comment:
-
Capture <ctrl> t from a textbox
Hi,
I am trying to capture the sequence <ctrl> t from a textbox to automatically fill in the current date. I can see how to capture an individual character but I am having trouble catching the sequence.
I am using VB.net.
Any suggestions would be greatly appreciated!
Thanks
No activity results to display
Show More
Leave a comment: