Results 1 to 1 of 1

Thread: [2005] TextBox and ComboBox Help

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2007
    Posts
    1

    [2005] TextBox and ComboBox Help

    I have only just found this site so i just wanna say hi to everyone here.

    I'm a beginner at VB 2005 I've been looking at source code and see what i can learn off that but most source code is fro VB 6 and its totally different compared to VB 2005 but I'm still learning so please bare with me.

    Anyway i will get to the point I'm making a program that links to a site i all ways use and I've add a Textbox and ComboBox and a Command Button to it Project so i can do a search using words and the category it uses if you know what i mean this is what I've got so far i can't get the category bit to work

    Code:
    'Open Internet Explorer
            Dim IE
            IE = CreateObject("InternetExplorer.Application")
            IE.Visible = True
            IE.Navigate("http://www.nzbmatrix.com/nzb-search.php?search=" &   txtsearch.Text & cmbcat.Text)
            'Open Internet Explorer
    txtsearch = TextBox
    cmbcat.text = ComboBox

    what i want it to do is when i add a Item to the ComboBox say like "TEST" i want it to make it so

    "TEST" = &cat=1

    So when you search for something using my project it will say

    Code:
    "http://www.nzbmatrix.com/nzb-search.php?search="[THE WORD YOU ENTER] [THE CATEGORY YOU SELECT]
    
    "http://www.nzbmatrix.com/nzb-search.php?search="vbcode&cat=1
    I know the message is long but i couldn't think of any other way of putting it hope this help you to see what i mean

    Thanks for any reply
    Last edited by bballuk; Mar 18th, 2007 at 02:36 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width