Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I need help Programing a new program.
#1
I need to know how to make the icon, program a media player, and program a Web-browser. Any Ideas?
#2
Well, this seems like a very large job. Well, WebBrowser tutorials and icon tutorials can be found here:


WebBrowser:
<!-- m --><a class="postlink" href="http://www.youtube.com/watch?v=5R8I1fYzBm0&feature=plcp&context=C34c3132UDOEgsToPDskIFjM_uTtAoE9sqlnE73sIm">http://www.youtube.com/watch?v=5R8I1fYz ... sqlnE73sIm</a><!-- m -->

Icon:
<!-- m --><a class="postlink" href="http://www.youtube.com/watch?v=BkO4EAsHvw0&feature=plcp&context=C322e31eUDOEgsToPDskK9c_-OCENEeHwzWSO_Mojs">http://www.youtube.com/watch?v=BkO4EAsH ... wzWSO_Mojs</a><!-- m -->

This reply made me realize that I talked really slow in my older videos.
My Blog | My Setup | My Videos | Have a wonderful day.
#3
Thanks! Any thing on Medea players or do you not know the code for that one yet?
#4
Hm, I don't really know the code for that yet, sorry!
My Blog | My Setup | My Videos | Have a wonderful day.
#5
One more question.
Is it possible to search For a file and open it threw Web Browser 1? If not then haw do you search for a file and have it open automatically or show up on Panel 2? This is the cod that I used
Code:
Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

        If CheckBox1.Checked = True Then
            WebBrowser1.Navigate(FileOpen, ComboBox1.Text)
        Else
            If ComboBox1.Text = "" Then
                MsgBox("Please enter website", MsgBoxStyle.Critical, "Brouser-Bus")
            Else
                WebBrowser1.Navigate(ComboBox1.Text)
            End If
        End If
    End Sub
(Note:I'm new at Visual Basic and I lurn fast but
Code:
WebBrowser1.Navigate(FileOpen, ComboBox1.Text)
didn't Work.) <!-- sSad --><img src="{SMILIES_PATH}/icon_e_sad.gif" alt="Sad" title="Sad" /><!-- sSad -->
#6
I do not know what the variable FileOpen is doing... but remove that from your code, and it should work!
My Blog | My Setup | My Videos | Have a wonderful day.
#7
I,m Trying to git it to search and automatically view a file in WebBrouser1.Is that possible?
#8
Well, what do you mean by search. Do you want the user to find the file themselves?
My Blog | My Setup | My Videos | Have a wonderful day.
#9
No, when I type in the File I wanna open into ComboBox1 I want WebBrowser1 to find it and automatically open it by itself threw WebBrowser1.... That is, If it's Possible.
#10
Well, This is kind of tedious to do, but you would need to scroll through every file in the computer, and see if it has the same name as your String "FileOpen". Here is the code that you are looking for:

Code:
Dim file As String = "readme.txt"
        Dim d As New System.IO.DirectoryInfo("C:/")
        Dim f As System.IO.FileInfo()
        f = d.GetFiles(file, IO.SearchOption.AllDirectories)
        If f.Length > 1 Then
            'There are multiple occurences of this file
        Else
            For Each element In f
                WebBrowser1.Navigate(element.FullName)
            Next
        End If
My Blog | My Setup | My Videos | Have a wonderful day.
#11
Access to the path 'C:\$Recycle.Bin\S-1-5-21-2123078216-1120606443-2303232418-500\' is denied.
Code:
f = d.GetFiles(file, IO.SearchOption.AllDirectories)
#12
Just surround the statement with a try/catch block, and when it catches an error just
Code:
continue For
My Blog | My Setup | My Videos | Have a wonderful day.
#13
What's a try/catch block?
#14
It is a segment of code that catches all errors in a code, so for example:

Code:
Try
Dim file As String = "readme.txt"
        Dim d As New System.IO.DirectoryInfo("C:/")
        Dim f As System.IO.FileInfo()
        f = d.GetFiles(file, IO.SearchOption.AllDirectories)
        If f.Length > 1 Then
            'There are multiple occurences of this file
        Else
            For Each element In f
                WebBrowser1.Navigate(element.FullName)
            Next
        End If
Catch ex As Exception
   Continue For
End Try
My Blog | My Setup | My Videos | Have a wonderful day.
#15
Now I just need to figure out how to make a Download manager and I’m dun. Can you help me?
#16
Well, I must mention that it does seem like I am doing your whole project for you.. But this is what this forum is here for!

Unfortunately, I am not sure how to make a download manager. Sorry!
My Blog | My Setup | My Videos | Have a wonderful day.
#17
Actually, I've been doing other stuff on it to and when I'm dun I'll post an attachment to show what all I've dun to it.

It's pretty cool to........ Or, At least, thats what me, my mom, and my frends thank.

Let me know what you thank Ones it's posted!
#18
How do you program timer1?


Possibly Related Threads…
Thread Author Replies Views Last Post
  help with making a simple program Yevzor 2 14,793 03-29-2013, 05:04 AM
Last Post: Yevzor
  How to Package MySql Connector and MySql Program? Moldraxian 3 14,754 07-20-2012, 12:23 PM
Last Post: brandonio21
  Still difficulties with username and password program selimaydi 4 18,423 10-18-2010, 07:45 AM
Last Post: selimaydi

Forum Jump:


Users browsing this thread: 1 Guest(s)