Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. basbrian

    word 2010 run-time error '91' but works on windows 7

    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...
  2. basbrian

    scrunched up text

    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...
  3. basbrian

    field value displays different

    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...
  4. basbrian

    deploying project that uses PDFCreator

    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...
  5. basbrian

    sqlexception error on executenonquery

    don't worry about this one, found the problem! I/O error - idiot operator
  6. basbrian

    sqlexception error on executenonquery

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

    Change font color in a checkedlistbox

    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...
  8. basbrian

    Print Word Doc without openning it

    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...
  9. basbrian

    How do I get formatted text from VB box into sql field

    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
  10. basbrian

    How do I get formatted text from VB box into sql field

    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...
  11. basbrian

    Problem openning and closing word documents

    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 =...
  12. basbrian

    tick items in checkedlistbox from items in listbox

    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
  13. basbrian

    tick items in checkedlistbox from items in listbox

    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
  14. basbrian

    Happy New Year to those who help the confused

    and those like me that are the confused :) I am very grateful for those who take the time to help others with their coding problems. THANKYOU.
  15. basbrian

    How do you clear (repopulate) a checkedlistbox

    Thanks for the advice. This has fixed my problem but I am going to look at your suggestions after the new year. dsposdel.Tables("jobpost").Clear()
  16. basbrian

    How do you clear (repopulate) a checkedlistbox

    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...
  17. basbrian

    Is checkedlistbox the way to go

    Thanks guys. Now the fun starts coding it. :)
  18. basbrian

    Is checkedlistbox the way to go

    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...
  19. basbrian

    navigation between forms

    Thanks. As I said I am very new to vb coding and I hve not heard of MDI's. This gives me a good place to start looking. Once again, thanks.

Part and Inventory Search

Back
Top