Visual Basic Help!

Discussion in 'Programming' started by busterbattle, Nov 8, 2011.

  1. #1
    Hi, I have created a radio player in visual basic. The stream works fine. It's using windows media player. I have exported the radio player as an .exe.I dont know how to embed that radio player on my website?I've been racking my brain all day, I've got a headache now!If someone can help me and talk me through the steps on how to create an embed code so i can use the radio player i have created.
     
    busterbattle, Nov 8, 2011 IP
  2. Just need it

    Just need it Active Member

    Messages:
    146
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #2
    you can port the codes to Active X instead of windows form application and then use them on the website. I am not into Visual Basic since a very long time but I still remember that once I ported my calendar program to work with my website.
     
    Just need it, Nov 9, 2011 IP
  3. busterbattle

    busterbattle Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks for this. This may sound silly but how do I port the code to Active X?Any help would be appreciated.
     
    busterbattle, Nov 9, 2011 IP
  4. Just need it

    Just need it Active Member

    Messages:
    146
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #4
    when you first select to create a new project in visual basic you get a dialog box that ask you to choose an application type that you are going to create. You can either choose to create a web Browser application (or similar option) or in Projects properties just change the application type and make it a web browser active X.
    I am not using Visual basic but .NET so cant help you exactly but that option must be there in the dialog box.
     
    Just need it, Nov 9, 2011 IP
  5. busterbattle

    busterbattle Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Hey,Thanks for your quick reply. When I try to do a web browser application, i'm not sure how to make a radio player. all the instructions online tell me to use "windows form application" to create a radio player. Also in project properties, its not letting to change it to web browser active x.Below is the code I've made in Visual Basic for the radio player.

    Debug
    x86
    2.0
    {91C524A5-DBF5-4AA7-9CA9-062E9187A485} WinExe $safeprojectname$.My.MyApplication $safeprojectname$ $safeprojectname$ 512 WindowsForms v4.0 Client

    x86 true full true true bin\Debug\ $safeprojectname$.xml 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022

    x86 pdbonly false true true bin\Release\ $safeprojectname$.xml 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022
    On
    Binary
    Off
    On Form Form1.vb Form True Application.myapp True True Resources.resx True Settings.settings True Form1.vb VbMyResourcesResXFileCodeGenerator Resources.Designer.vb My.Resources Designer MyApplicationCodeGenerator Application.Designer.vb SettingsSingleFileGenerator My Settings.Designer.vb {6BF52A50-394A-11D3-B153-00C04F79FAA6} 1 0 0 aximp False {6BF52A50-394A-11D3-B153-00C04F79FAA6} 1 0 0 tlbimp False True
     
    busterbattle, Nov 9, 2011 IP
  6. Just need it

    Just need it Active Member

    Messages:
    146
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #6
    I guess you have pasted it from the debug window ?
     
    Just need it, Nov 9, 2011 IP
  7. busterbattle

    busterbattle Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Yes. Is there another code? I am not sure. I really appreciate your help.
     
    busterbattle, Nov 9, 2011 IP
  8. Just need it

    Just need it Active Member

    Messages:
    146
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #8
    which version of visual basic you are using ? you can send me the source and I'l then check'em out.
     
    Just need it, Nov 9, 2011 IP
  9. busterbattle

    busterbattle Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    I am using visual basic 2010 express. How do I send you the source? I have exported the player as an .exe. Does that help?
     
    busterbattle, Nov 9, 2011 IP
  10. busterbattle

    busterbattle Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Hey, did you have Any luck?
     
    busterbattle, Nov 9, 2011 IP
  11. mahadevanrm

    mahadevanrm Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    hey that is very simple ... select file and press make exe that will create exe file after that u can use that exe file.
     
    mahadevanrm, Nov 17, 2011 IP
  12. busterbattle

    busterbattle Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Hi, I have made it an exe file but how do I embed that into a website? The player I have made in Visual Basic, I want to embed that on a website.
     
    busterbattle, Nov 17, 2011 IP