Search:

Type: Posts; User: matty95srk

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Preventing BlueTooth device to turn off

    Hi, my Bluetooth speaker doesn't have an app or settings where I can set inactive time. Unfortunately, its turning off after 3 minute of inactivity. How can I detect no sound for 2.59 and if there...
  2. Re: How to add a form control on top of a main form control

    @Shaggy, I would like not to use usercontrols as I dont want to handle events from a different form, so I m trying to have ideas. The only idea stable so far is:
    Dont add listbox to rtb as if i hide...
  3. Re: How to add a form control on top of a main form control

    Hi, thanks. So, I am trying to do so, if you check the last code i m trying to steal listbox to be in form1. Then, i am setting location which is 0,0 if i want to cover the rtb and i m setting the...
  4. How to add a form control on top of a main form control

    I have two forms. Form1 with richtextbox and form2 with listbox.

    I'd like to put listbox on top of richtextbox, docking it. I want to do exactly like this:


    form2.Controls.Remove(ListBox1)...
  5. Re: How to get YouTube PlayList video links.

    I thought I was clear.. My bad. So I just want to grab title and url. Anyway, I tried Youtube Api and this is returning max 50 songs for page. Then I am supposed to use nextpage Token, which is...
  6. Re: How to get YouTube PlayList video links.

    You are right and this is new to me.
    Is there a way to see it formatted while I'm looking to the source code?
    Anyway I tried with 3 different things:

    Dim json As String = RichTextBox1.Text

    ...
  7. How to get YouTube PlayList video links.

    Hi, I am trying to create a simple tool that will save the link and title from my playlist as many times a video is being deleted and there is no way to retrieve the name of it. Such a pity..
    So,...
  8. Re: How to set the Explorer window of a specific file as a child window of TopMost fo

    Hi jmcilhinney, I made some research, but I can't find something really "interesting".. And following you advise "An example is something that demonstrates a principle that you can then implement for...
  9. Re: How to set the Explorer window of a specific file as a child window of TopMost fo

    Hi thanks for your answer. So I ve been searching online but seriously a lot of codes are for process class...
    Could you give me an qwery advise?
    I found this which is the most interesting to me...
  10. Re: How to set the Explorer window of a specific file as a child window of TopMost fo

    Hmm is getting harder than i thought.
    What do you think about

    Imports System.Runtime.InteropServices

    Public Class Form1
    <DllImport("user32.dll", EntryPoint:="FindWindowW")>
    Public...
  11. Re: How to set the Explorer window of a specific file as a child window of TopMost fo

    Hi, you are right, I should atleast post what I've done/found in order to clarify I'm trying to move myself .
    So, I noticed that the way you are creating a process is influencing the way I should...
  12. How to set the Explorer window of a specific file as a child window of TopMost form?

    Hi, as title says, How can I set the explorer windows of a specifi file as a child window of my TopMost form?
    I've been reading online and I found out I should call SetParent function...
  13. Re: Check if a file exist in directory/subfolders and show its Explorer windows folde

    This was exactly the answer! How did you figured it out? Thanks!
  14. Re: Check if a file exist in directory/subfolders and show its Explorer windows folde

    What do you mean with that? Should I avoid LinkLabel? I don't thinkLinkLabel is responsible in this case.
    I was using this code:

    file = Directory.GetFiles(filepath,Filename,
    ...
  15. Re: Check if a file exist in directory/subfolders and show its Explorer windows folde

    Hi .paul. Thanks for your time helping me.
    So, your code is basically mine, but you use process start. I'm usint that class because process start is freezing the explorer window and it got some...
  16. Check if a file exist in directory/subfolders and show its Explorer windows folder

    I'm using this code in order to check if file exist. Unfortunately It doesn't search also in subdirectory.
    Code is:

    Private Async Function ParentMethod() As Task
    Dim filePath As String...
  17. Re: How to extract a link and some text from webpage with Webclient

    I will try to "play" a bit with substring methods.
    Edit:
    I wanted to share the solution I found for my case.
    I took a bit more html before the link and now I m sure 100% about i m getting just...
  18. Re: How to extract a link and some text from webpage with Webclient

    I would rather prefer to learn any .net solutions. I know about html agility pack since a long time, I've tried it, but I'm not that crazy about.
    I will choose to get text with xml solution.
    Thanks
  19. Re: How to extract a link and some text from webpage with Webclient

    I wanted to avoid a third party solution. I was thinking to use rwgular expression to exctract aĺl links and then filter the longest one.. what do you think? Also, do you advise me to
    xml parser...
  20. How to extract a link and some text from webpage with Webclient

    Hi, I would like to extract a link and some text information from a web page using webclient.
    The link to extract would be:

    <a class="btn btn-success btn-lg"...
  21. [vb.net]Share data between usercontrols.

    Hi, how can I pass data between user controls?

    form1 contains Usercontrol1 and form2 contains usercontrol2.

    Both usercontrols have the size of their respective forms.

    With usercontrol1 I...
  22. Re: How to prevent CancellationToken from being cancelled during downloadstring

    Hello Kareninstructor,
    Could you explain where I am calling ThrowIfCancellationRequested?

    Also, In you code sample I can just see this code, Am I right?...
  23. How to prevent CancellationToken from being cancelled during downloadstring

    Hi everybody, I'm populating a listbox from an async download string using httpclient.
    The listbox is slightly modified as I needed a scroll event and i found online a really cool class for it. ...
  24. Replies
    1
    Views
    241

    Make a timer async and thread safe

    Hi everybody, I want to make an async timer but I'm straggling a bit with thread safe.. I m not able not to call object from main thread. The code is this one:


    ...
  25. Re: [vb.net] How to use a progress bar while downloading through HttpClient

    Hi Karen thanks for your reply. I'd like to know where and how I should insert a Download in your code. My problem is that I know how to download, I just don't know how to make it work completely...
  26. [vb.net] How to use a progress bar while downloading through HttpClient

    Hi everybody,
    I want to use an async progress bar that show the download progress. I'm trying to do it using Progress <T> class.
    I've been trying a lots of codes but none of them is really async...
  27. Re: [vb.net] How to set text inside a Document of an Iframe with webbrowser

    no one?
  28. Re: [vb.net] How to send and receive messages with Telegram API

    Hi,

    I didnt find any documentation about how to send a message to a chat or channel without using any bot and then get the realtime history of that.
    The only docs i found online are about sending...
  29. [vb.net] How to send and receive messages with Telegram API

    HI everybody,
    I'm trying to create an internal chat for me and my friend on my application and suddenly It cames to my mind I can usetelegram API!
    Online is really full of documentation, but All...
  30. [vb.net] How to set text inside a Document of an Iframe with webbrowser

    Hi everybody,
    I'm trying to set text in this online notepad Textarea through webbrowser.
    It's the first time I find that code, which I really don't know how to extract.
    I'm using webbrowser...
  31. Replies
    17
    Views
    3,103

    Re: [vb.net] How to parsing a div style

    Hi, i have solved with


    Dim divs = WebBrowser1.Document.GetElementsByTagName("DIV")
    For Each div As HtmlElement In divs
    If div.GetAttribute("id") = ("convert-progress")...
  32. Replies
    17
    Views
    3,103

    Re: [vb.net] How to parsing a div style

    It doesn t return any value.. I have changed the progress bar with the textbox to show the value because the porgrrss value dont allow double... As u can see in the site, progresss bar's value % is a...
  33. Replies
    17
    Views
    3,103

    Re: [vb.net] How to parsing a div style

    no, no errors, but the progress bar have always 0 as value
  34. Replies
    17
    Views
    3,103

    Re: [vb.net] How to parsing a div style

    this is the code


    Dim parent As HtmlElement = WebBrowser1.Document.GetElementById("convert-progress")
    'Declare and load the HTML content
    Dim style As String =...
  35. Replies
    17
    Views
    3,103

    Re: [vb.net] How to parsing a div style

    Sorry but i have no understand..

    Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles...
  36. Replies
    17
    Views
    3,103

    Re: [vb.net] How to parsing a div style

    yes.. for this reason i m asking help in order to get the value of progress bar online every second..
  37. Replies
    17
    Views
    3,103

    Re: [vb.net] How to parsing a div style

    125701

    progress bar not increase... why?


    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
    'Declare and load the HTML...
  38. Replies
    17
    Views
    3,103

    Re: [vb.net] How to parsing a div style

    i want to do it:


    'Declare and load the HTML content
    Dim html As String = "<div class=""progress-bar"" id=""convert-progress""><div style=""width:1%""></div></div>"

    'Get the...
  39. Replies
    17
    Views
    3,103

    [vb.net] How to parsing a div style

    Hi, i want to parse this code html of a progress bar online

    <div class="progress-bar" id="convert-progress"><div style="width:1%"></div></div>

    i'm using webbrowser.. i've tried with outertext...
  40. Re: vb.net How to keep gui functional while webbrowser is navigating

    Sorry, but i don't have understand nothing... what is this this code???? hahaha uff :((
Results 1 to 40 of 53
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width