Click here to Skip to main content
16,005,734 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Web Service for Playing Media Player Pin
Dave Kreskowiak8-Apr-09 17:40
mveDave Kreskowiak8-Apr-09 17:40 
GeneralRe: Web Service for Playing Media Player Pin
lynn10078-Apr-09 18:42
lynn10078-Apr-09 18:42 
GeneralRe: Web Service for Playing Media Player Pin
Dave Kreskowiak9-Apr-09 4:08
mveDave Kreskowiak9-Apr-09 4:08 
GeneralRe: Web Service for Playing Media Player Pin
lynn10079-Apr-09 16:17
lynn10079-Apr-09 16:17 
GeneralRe: Web Service for Playing Media Player Pin
dojohansen9-Apr-09 4:30
dojohansen9-Apr-09 4:30 
GeneralRe: Web Service for Playing Media Player Pin
lynn10079-Apr-09 16:34
lynn10079-Apr-09 16:34 
QuestionFaulting applicationon windows 2k3 server Pin
Vikas Salvi7-Apr-09 22:38
Vikas Salvi7-Apr-09 22:38 
QuestionBookMarks in webbrowser Pin
britishcolumbia7-Apr-09 18:35
britishcolumbia7-Apr-09 18:35 
Im creating a web browser for a friend, and one of his requests is that I should have favourites/bookmarks built in. Im trying to do this by reading and writing to a text file. Can anyone fix my mistakes? This doesnt work at all.

'To load the favourites on startup:    
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        For Each item As String In "C:/Program Files/Testfile.txt"
            ComboBox1.Items.Add(item)
        Next
    End Sub

    'To add the content of a textbox to your favourites   
    Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button6.Click
        texty.Text = WebBrowser1.Url.ToString()



        'If My.Settings.Favourites.Contains(texty.Text) Then
        ' MessageBox.Show("It has been in your favourites!")
        'Else
        '


        ComboBox1.Items.Add(texty.Text)

        Dim objStreamWriter As StreamWriter

        'Pass the file path and the file name to the StreamWriter constructor.
        objStreamWriter = New StreamWriter("C:\Program Files\Testfile.txt")

        'Write a line of text.
        objStreamWriter.WriteLine(texty.Text)

        

        'Close the file.
        objStreamWriter.Close()


        'End If
    End Sub




    Private Sub ToolStripButton2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ToolStripButton2.Click
        WebBrowser1.Navigate(ComboBox1.Text)

    End Sub

AnswerRe: BookMarks in webbrowser Pin
Dave Kreskowiak8-Apr-09 1:28
mveDave Kreskowiak8-Apr-09 1:28 
GeneralRe: BookMarks in webbrowser Pin
britishcolumbia8-Apr-09 13:03
britishcolumbia8-Apr-09 13:03 
GeneralRe: BookMarks in webbrowser Pin
Luc Pattyn8-Apr-09 13:18
sitebuilderLuc Pattyn8-Apr-09 13:18 
GeneralRe: BookMarks in webbrowser Pin
britishcolumbia8-Apr-09 16:57
britishcolumbia8-Apr-09 16:57 
GeneralRe: BookMarks in webbrowser Pin
dojohansen9-Apr-09 4:48
dojohansen9-Apr-09 4:48 
GeneralRe: BookMarks in webbrowser Pin
Dave Kreskowiak8-Apr-09 13:29
mveDave Kreskowiak8-Apr-09 13:29 
QuestionCommand prompt from windows application... Pin
RA|-|UL PATEL6-Apr-09 20:35
RA|-|UL PATEL6-Apr-09 20:35 
AnswerRe: Command prompt from windows application... Pin
Alan N6-Apr-09 23:36
Alan N6-Apr-09 23:36 
AnswerRe: Command prompt from windows application... Pin
i gr814-Apr-09 2:32
i gr814-Apr-09 2:32 
QuestionCannot run exe if path exceeds 128 characters Pin
msmits6-Apr-09 20:34
msmits6-Apr-09 20:34 
AnswerRe: Cannot run exe if path exceeds 128 characters Pin
Dave Kreskowiak7-Apr-09 4:07
mveDave Kreskowiak7-Apr-09 4:07 
GeneralRe: Cannot run exe if path exceeds 128 characters Pin
msmits7-Apr-09 19:22
msmits7-Apr-09 19:22 
GeneralRe: Cannot run exe if path exceeds 128 characters Pin
msmits7-Apr-09 19:23
msmits7-Apr-09 19:23 
GeneralRe: Cannot run exe if path exceeds 128 characters Pin
Dave Kreskowiak8-Apr-09 1:23
mveDave Kreskowiak8-Apr-09 1:23 
AnswerFound the problem and solution!!!! Pin
msmits7-Apr-09 23:53
msmits7-Apr-09 23:53 
QuestionCreating a project without Visual studio Pin
k3rkiran6-Apr-09 20:20
k3rkiran6-Apr-09 20:20 
AnswerRe: Creating a project without Visual studio Pin
PIEBALDconsult7-Apr-09 14:03
mvePIEBALDconsult7-Apr-09 14:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.