We have an add-in that lists names of bookmarks that the user selects and it pastes the bookmark into the current document. this has been working fine on a windows 7 pc running word 2010. when we run it on a windows 10 pc with word 2010 we get a runtime error '91' object variable or with block...
thread149-1611991
I am having the same problem as reported in the closed thread above. I had to do a report very similar to an existing report, so I did a save as and started working on the new report. When I added a new text box and typed in the text and then clicked outside the box the text...
I am working on a laboratory database and I am having trouble with a field displaying differently. when I run a select with "result to grid" the field displays as an arrow pointing north, an "o", a vertical line with a small hypen out the middle on the right side and a "C". in result to text...
I am at the last stages of my first Visual Studio 2008 vb.net project. I use within the project PDFCreator to create a pdf file. All working fine. I am now trying to "setup and deploy" my project using the setup wizard.
On my test pc, it installs without error. However, when I run the program...
hi, still trying to figure out vb :). this code was working and then I added an insert trigger on the table in this qyuery. now I get an Sqlexception was unhandled error - subquery returned more than 1 row. how do I fix this???
Thanks
Dim cninsert As New SqlConnection(connectionString)
Dim...
Hi, I am trying to change the color of some lines in a checkedlistbox(CLB). I have included the code that I use to load the CLB and some code that I have found that changes the color in a list view box. Is it possible to change the color of the font in a CLB? I am very new with VB.net and still...
From a Visual Studio 2008 form I create and save a word 2003 word document for an employee selected from a dropdown list. I am trying to add a button to my form that will allow the user to view (printpreview) the document and print it if required. I am trying to work out how to printpreview the...
Sorry for the confusion. What I meant was -
Dim fdesc as string 'should this be string or something else
fdesc = me.form1_desc.rtf 'richtextbox on form
I have a richtext box(on a visual studio 2008 form) that I copy & paste formatted text from a word doc in to. I want to be able to save this to a sql server 2005 DB field. I then want to read this field and put it into a word doc with its formatting.
Problem 1 - How do I get a formatting...
I am trying to create a word document from a template. I am getting the word file save as screen when I thought the save as line would do this for me.
'Start Word and open the document template.
oWord = CreateObject("Word.Application")
oWord.Visible = True
oDoc =...
Thanks Riverguy, whatever they are paying you is not enough. :)
However, I did have to change
MyListBox.Items(j).ToString = MyCheckedListBox.Items(i) to
MyListBox.Items(j).item(0).ToString = MyCheckedListBox.Items(i).item(0).tostring
for it to work.
Thanks alot for the timely response.
Brian
I have a checkedlistbox that contains a list of all codes and a listbox that contains the codes that have been assigned to an employee. when the listbox is loaded I want to put a tick in the checkbox of the corrosponding code in the checkedlistbox.How can I do this?
Thanks in advance
Brian
I have a form that has 2 combo boxes and a checkedlistbox. Combo1 contains a position number,combo 2 contains positions. When the user selects a pos no it populates combo2 with the pos desc and then lists responsibilites for that position in the checkedlistbox. When I select another pos no or...
Doing my first project in Visual Studio 2008 and very new to vb. To simplify things, I have 3 tables in a DB, employee, delegations and emp-delegates. I have a drop down list to select the emp no. I was then going to use a checkedlist box to display all the delegations and have the delegations...
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.