Welcome to Dream.In.Code
Getting VB.NET Help is Easy!

Join 136,264 VB.NET Programmers for FREE! Get instant access to thousands of VB.NET experts, tutorials, code snippets, and more! There are 2,216 people online right now. Registration is fast and FREE... Join Now!




possible to DL youtube videos?[vb.net2008]

 
Reply to this topicStart new topic

possible to DL youtube videos?[vb.net2008]

peperonikiller
11 Oct, 2008 - 05:55 PM
Post #1

New D.I.C Head
*

Joined: 11 Oct, 2008
Posts: 4

Hey, Im working on a program that is attatched... I would like to be able to download the videos in there default (.flv) format but not sure of the code... The second WebBrowser box is just an html with the embed code on it... any help would be appreciated.. im using vb.net 2008 express


Attached File(s)
Attached File  CoRE1RoCK_Helper_v0.1.zip ( 11.36k ) Number of downloads: 13
User is offlineProfile CardPM
+Quote Post

peperonikiller
RE: Possible To DL Youtube Videos?[vb.net2008]
13 Oct, 2008 - 08:20 AM
Post #2

New D.I.C Head
*

Joined: 11 Oct, 2008
Posts: 4

*bump* Bumped thread cuz nobody replied in the past few days, i really need your help guys... Thanks
User is offlineProfile CardPM
+Quote Post

gbertoli3
RE: Possible To DL Youtube Videos?[vb.net2008]
13 Oct, 2008 - 09:06 PM
Post #3

DIC at Heart + Code
Group Icon

Joined: 23 Jun, 2008
Posts: 1,046



Thanked: 17 times
Dream Kudos: 950
My Contributions
Try Googling it, but before we give you any help you need to show us your code.

Obviously you are just wondering how someone else did it, so why not go straight to the creator. Ask him if he will *bump* you in the right direction, better yet ask if he will give you the source. It says that it was created by Peperonikiller, all you have to do is register on his site then PM him your questions.
User is offlineProfile CardPM
+Quote Post

peperonikiller
RE: Possible To DL Youtube Videos?[vb.net2008]
14 Oct, 2008 - 03:30 AM
Post #4

New D.I.C Head
*

Joined: 11 Oct, 2008
Posts: 4

Your misunderstanding... I am peperonikiller. I dont need code specific to youtube really, i can figure that out myself... i just need to know how to get the video, or any .flv for that matter
User is offlineProfile CardPM
+Quote Post

gbertoli3
RE: Possible To DL Youtube Videos?[vb.net2008]
14 Oct, 2008 - 05:59 AM
Post #5

DIC at Heart + Code
Group Icon

Joined: 23 Jun, 2008
Posts: 1,046



Thanked: 17 times
Dream Kudos: 950
My Contributions
How did you make the program if you don't know how to get the video. You could just look at your source code.
User is offlineProfile CardPM
+Quote Post

peperonikiller
RE: Possible To DL Youtube Videos?[vb.net2008]
14 Oct, 2008 - 09:40 PM
Post #6

New D.I.C Head
*

Joined: 11 Oct, 2008
Posts: 4

QUOTE(gbertoli3 @ 14 Oct, 2008 - 06:59 AM) *

How did you make the program if you don't know how to get the video. You could just look at your source code.


i want to be able to save the .flv video.... as u can see u cant DL just the video from the code...
CODE

Public Class Form1

    Private Sub Button9_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button9.Click
        Process.Start("http://www.core1rock.site90.net")
    End Sub

    Private Sub Button8_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button8.Click
        Process.Start("http://www.core1rock.site90.net/ucp.php?mode=login")
    End Sub

    Private Sub Button7_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button7.Click
        Process.Start("http://www.core1rock.site90.net/ucp.php?mode=register")
    End Sub
    'This is a code to trap the link clicking event hope it will help to get the button clicking event.
    Private Sub WebBrowser1_DocumentCompleted(ByVal sender As Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted

        Dim olink As HtmlElement
        Dim olinks As HtmlElementCollection = WebBrowser1.Document.Links

        For Each olink In olinks
            olink.AttachEventHandler("onclick", AddressOf LinkClicked)
        Next
    End Sub
    Private Sub LinkClicked(ByVal sender As Object, ByVal e As EventArgs)
        Dim link As HtmlElement = WebBrowser1.Document.ActiveElement
        Dim url As String = link.GetAttribute("href")
        WebBrowser2.Url = New System.Uri(url)
        WebBrowser1.Url = New System.Uri("http://core1rock.site90.net/helpernews.html")

    End Sub

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        WebBrowser1.Url = New System.Uri("http://core1rock.site90.net/helpernews.html")
        WebBrowser2.Url = New System.Uri("http://core1rock.site90.net/blank.html")
    End Sub
    Private Sub Button10_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button10.Click
        Process.Start("http://users.smartgb.com/g/g.php?a=s&i=g18-22620-e1")
    End Sub
End Class

User is offlineProfile CardPM
+Quote Post

gbertoli3
RE: Possible To DL Youtube Videos?[vb.net2008]
15 Oct, 2008 - 05:44 AM
Post #7

DIC at Heart + Code
Group Icon

Joined: 23 Jun, 2008
Posts: 1,046



Thanked: 17 times
Dream Kudos: 950
My Contributions
I know Google has some programs you can download.
User is offlineProfile CardPM
+Quote Post

Portapro
RE: Possible To DL Youtube Videos?[vb.net2008]
28 Oct, 2008 - 02:37 PM
Post #8

New D.I.C Head
*

Joined: 28 Oct, 2008
Posts: 1

QUOTE(gbertoli3 @ 15 Oct, 2008 - 06:44 AM) *

I know Google has some programs you can download.


Yes it is possible, there are a lot of classes you can use.

Check out the webclient class on msdn, or just try "my.computer.network...".
but you need to have the real video url, which you can find in the pages source, just get the source, solve the link use the class.

To save it as .flv just rename it.



This post has been edited by Portapro: 28 Oct, 2008 - 02:37 PM
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/2/08 04:42AM

Live VB.NET Help!

VB.NET Tutorials

Reference Sheets

VB.NET Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month