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 derfloh 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: *

  • Users: brew2
  • Order by date
  1. brew2

    Passing information

    Have used this successfully but in this case it does not work. I have data in one form to transfer to another. In the passing form is this code: Public ReadOnly Property Action() As String Get Return sAction End Get End Property Private Sub lvwDisplay_Click(ByVal...
  2. brew2

    Search for records

    Is there a shorter/better/more efficient way of doing this?
  3. brew2

    Search for records

    Am slowly learning VB 2005. Tuf transition for me. Want to check if there is data in a db. Here is what I have so far: Public Sub MTDatabase(ByRef bFound As Boolean) Dim dr As DataRow ds = New DataSet() cmd = New OleDbCommand("SELECT * FROM Members", cn)...
  4. brew2

    report width change

    Have an existing report - name tags two wide, 4 per page. Want to change the the width and height. The height change is no problem. What I can't find is the layout tab. Am using CR 9.2 Any help is greatly appreciated.
  5. brew2

    automation error

    Well, with all the discussion and programming tips, I uninstalled 2007 and then re-installed it. And voila! App works like a charm. Thanks for all the help. don't know where to start with the stars. maybe one for each?
  6. brew2

    automation error

    Whew! A lot of discussion. Many Thanks to all who brought my level up at least one notch. I need to ingest all of this stuff and then try to apply. Thank you.
  7. brew2

    automation error

    Bob Rhodes, earlier you said 'that means that the error was raised inside Outlook when you tried to construct the Application object'. Does that mean that Outlook 2007 could be the culprit? and therefore, if I want 2007, i'll need both versions of outlook? Thanks
  8. brew2

    automation error

    Thanks to all for their suggestions. Just un-installed 2007 and installed 2003. VB6 app works as it has before. Next step is to install 2007 again and try some of the suggestions here. Any ideas why it works with 2003 and not 2007? Thanks.
  9. brew2

    automation error

    Does the version of Outlook matter? This vb app was working fine with office 2003.
  10. brew2

    automation error

    yes to both.
  11. brew2

    automation error

    When trying to use Microsoft Outlook in an app I get an 'Automation Error. The specified module could not be found' error. Here is the code: Function SendOutlookMessage(ByVal sSubject As String, _ ByVal sBody As String, ByVal sSendTo As String, _ ByVal bShowOnly...
  12. brew2

    rich text format

    Found some examples which should work. thanks
  13. brew2

    rich text format

    this works in vb6 but as a newbie to vb2005 I am at loss to convert If rtfText.SelBold = True Then rtfText.SelBold = False Call BoldStatus(False) Else rtfText.SelBold = True Call BoldStatus(True) End If Also, after the font dialog box is opened (.showdialog)...
  14. brew2

    listview

    Thanks to both of you for the help.
  15. brew2

    listview

    Working with a listview the data is entered from Access into a collection. Then it is supposed to populate a listview with this code. CM is a set to a class of people. For Each CM In c sKey = Format(CM.ID, "0000") With lvwDisplay.Items Dim mItem As...
  16. brew2

    Read a value from Registry

    Sometime ago I came across Dev Ashish & Terry Kreft's code on reading values from the registry. (http://www.mvps.org/access/api/api0015.htm). This code is written for VB6. I am now trying to learn .net 2005 and have converted some of the code but not all. Has there been a conversion of the...
  17. brew2

    Listboxes and deleting records

    No collection needed. Cycled through the items in the lstbox deleted the highlited one, reset the seleceditem. Used a for each next and the items.count method. Thanks for the help.
  18. brew2

    Listboxes and deleting records

    The question is how to pick up the next item in the list to get the appropriate ID. Deleting with the appropriate ID is easy to do one at a time. Do you have any suggestions on how to loop and get the next and then add it to a collection?
  19. brew2

    Listboxes and deleting records

    Guess I did not make it clear that if lstbox2 has bunches (more than a hundred) of items, deleting one at a time is a time consuming task. Since the idea is to delete the item in lstbox1 and it has relations in lstbox two I am looking for some way to loop thru lstbox2, place them in a collection...

Part and Inventory Search

Back
Top