Search:

Type: Posts; User: sinner0636

Page 1 of 6 1 2 3 4

Search: Search took 0.13 seconds.

  1. VS 2017 Grab multiple text from a web-pages source

    hi
    i have a question coded a code that gets the text from a webpages html source with a webbrowser i want to be able to search a webpages html source for the strings i need this code below grabs...
  2. Replies
    4
    Views
    795

    Re: [RESOLVED] VB Errors - Exception Names

    yeah agree but that is a lot of coding come up with something better to error handle exceptions in a quick dirty way



    Try
    'Run Code
    Catch ex As Exception
    Call...
  3. Replies
    4
    Views
    1,044

    Re: Scanning Files - "Access Denied"

    I figured it out with readwrite an a boolean like to see your code though your prob talking about the (CreateFile API) right? :)!

    http://vbnet.mvps.org/index.html?code/fileapi/createfile_inuse.htm...
  4. Replies
    4
    Views
    1,044

    Re: Scanning Files - "Access Denied"

    Correct i have been coding for years in realbasic yea VB no here is the same question i asked 7 years ago in RB

    http://forums.realsoftware.com/viewtopic.php?f=1&t=36066&hilit=fileinuse

    But i am...
  5. Replies
    1
    Views
    1,244

    Windows - Ram Cleaner

    hello
    i am building a ram cleaner would anyone know how to get the memory size of each processes that was cleaned so i can get the total size that was cleaned?



    Declare Function...
  6. Replies
    4
    Views
    1,044

    Scanning Files - "Access Denied"

    Hello
    i am getting a access denied when recursive searching a hard-drive some files get a access denied even with my app running as admin is there any other ways to test and check if file is locked...
  7. Replies
    4
    Views
    795

    Re: VB Errors - Exception Names

    Your right think i might have got it more simple then what i thought i may be wrong though its giving the exception names the right way



    Public Sub SomeSub
    Try
    'Code
    Catch ex As Exception...
  8. Replies
    4
    Views
    795

    [RESOLVED] VB Errors - Exception Names

    hello
    i was wondering if there was some way you can loop the exception names in vb and return the name of the exception that you got?



    Public Sub MYSub()
    Try
    'Code
    Catch ex As Exception...
  9. Replies
    7
    Views
    1,426

    Re: VB - Error Log

    Ok i figured it out !




    Public Sub ExceptionLog(ByVal stkTrace As String, ExceptionName As String, ExceptionMessage As String)
    Dim Path As String
    Try
    If...
  10. Replies
    7
    Views
    1,426

    Re: VB - Error Log

    like i want to display this line as the location but not sure if it will change



    Module1 ScanJunkFiles




    Dim fs1 As FileStream = New FileStream(UserDesktop + "\ErrorLog.txt",...
  11. Replies
    7
    Views
    1,426

    Re: VB - Error Log

    want display the location without manually having to type each function or subs name for example this will give you the vb line number




    Public Function NthField(ByVal expression As...
  12. Replies
    7
    Views
    1,426

    Re: VB - Error Log

    Public Sub ExceptionLog(ByVal msg As String, ByVal stkTrace As String, ByVal title As String)

    If Not DirExists(UserDesktop + "ErrorLog.txt") Then
    ...
  13. Replies
    7
    Views
    1,426

    [RESOLVED] VB - Error Log

    hi
    i was wondering if there is a way to clean up errors in vb when calling the stack trace with a msgbox shows the results but do u have to manually
    replace the strings to make it cleaner looking...
  14. Replies
    10
    Views
    1,680

    Re: Listviews - Checkbox Clicked Value

    ty for the tutorial
  15. Replies
    10
    Views
    1,680

    Re: Listviews - Checkbox Clicked Value

    ty guys finally got it working yay



    Private Sub ListView1_ItemCheck(ByVal sender As Object, ByVal e As System.Windows.Forms.ItemCheckEventArgs) Handles ListView1.ItemCheck
    If...
  16. Replies
    10
    Views
    6,179

    Re: [RESOLVED] ListView - Save And Load Items

    that was when i trying to start programming in vb6 but i have only been programming in vb.net for past two months or so i programmed in real basic for a lot of years a lot of the code i do is...
  17. Replies
    10
    Views
    1,680

    Re: Listviews - Checkbox Clicked Value

    i see what you mean about the e properties and the items now that i have the index "RowIndex" from a public integer from the e's index but its still acting like it dont want to change at the right...
  18. Replies
    10
    Views
    1,680

    Re: Listviews - Checkbox Clicked Value

    i am already using same kinda method for my select all select none labels



    Private Sub Label1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label1.Click
    ...
  19. Replies
    10
    Views
    1,680

    Listviews - Checkbox Clicked Value

    hi
    i have a question about a list-views check-boxes i have a list-view with only two columns. I would like to try to change the text of the second column to the check-boxes value of that row that...
  20. Replies
    10
    Views
    6,179

    Re: ListView - Save And Load Items

    ok ty
  21. Replies
    10
    Views
    6,179

    Re: ListView - Save And Load Items

    here is the code i converted from VB6 code above to load save a txt file to listview would it be good idea to save with a button on the form other then using the closing form event to save the...
  22. Replies
    10
    Views
    6,179

    Re: ListView - Save And Load Items

    i found a example got it working for the stream read from the saved txt. The problem i am having now is when i check a checkbox i want the sub item that is the second columns rows text to change to...
  23. Replies
    10
    Views
    6,179

    Re: ListView - Save And Load Items

    yeah started reading a bit about the stream writer/reader starting to put it togeather just trying to figure out how to read it back



    Me.ShowInTaskbar = False
    Me.MinimizeBox = False
    ...
  24. Replies
    10
    Views
    6,179

    [RESOLVED] ListView - Save And Load Items

    Hello
    i have a two column listview i wanted to know if someone has a method of saving and loading listviews contents! Thanks


    im new to vb.net this is a vb6 code i used in my programs to load...
  25. Replies
    2
    Views
    532

    Debbuger Mode - Application Path

    Hello
    i was wondering how i can get the debber application path that way i can still do things that i would when not running in debug mode i kinda have it but not 100% can this be done? thanks
    ...
  26. Replies
    3
    Views
    764

    Re: Arrays - Removing Strings

    works perfect ty :)
  27. Replies
    21
    Views
    2,030

    Re: Harddrive - Format Free Space

    ty for the advice you guys are awesome i am definitely sticking with Option Strict On Option Explicit On for now on in all my programs :)
  28. Replies
    3
    Views
    764

    [RESOLVED] Arrays - Removing Strings

    hi
    i have a question about arrays and how i can remove a filtered item from the array i checked out some of the language reference about single-dimension arrays did not see much about removing items...
  29. Replies
    2
    Views
    1,228

    Form - TopMost

    hello

    i have a question about a forms topmost for say if i have a settings window or a about window and i want it to be topmost over the main forms window
    but i would like it to only top most...
  30. Replies
    21
    Views
    2,030

    Re: Harddrive - Format Free Space

    so do you guys when you code do u like to keep one of the error catching options on or do you keep all of them on and if you keep all of them on will they suggest the errors wrong?
  31. Replies
    21
    Views
    2,030

    Re: Harddrive - Format Free Space

    yep :) i like Option Strict a lot better seems i just added it and caught a bunch of stuff like this for example i did not use 'As String'

    i see a lot of people half way coding like this when...
  32. Replies
    21
    Views
    2,030

    Re: Harddrive - Format Free Space

    yeah i see what you mean srry not that great yet with vb.net i have only been using it for few weeks i used to code for years in realbasic here is one my apps in rb i coded few years ago can make a...
  33. Replies
    21
    Views
    2,030

    Re: Harddrive - Format Free Space

    is there a way to get the progress bar glow highlight thing to stop blinking tried to set it to blocks but still glow blink updates?
  34. Replies
    21
    Views
    2,030

    Re: Harddrive - Format Free Space

    i use all the nthfields to split and remove the dots from the size to get a numeric only value for the progress bar otherwise it will look like this below



    Dim ProgessFreeSpace As...
  35. Replies
    21
    Views
    2,030

    Re: Harddrive - Format Free Space

    PERFECT si the geek thanks base



    Dim ProgessFreeSpace As String = NthField(FormatSize(HarddriveAvailableFreeSpace), ".", 1)
    Dim ProgessTotalSize As String =...
  36. Replies
    21
    Views
    2,030

    Re: Harddrive - Format Free Space

    I tried this so this will be easier to show ya



    ProgressBar1.Maximum = NthField(FormatSize(HarddriveTotalFreeSpace), ".", 1)
    ProgressBar1.Value =...
  37. Replies
    21
    Views
    2,030

    Re: Harddrive - Format Free Space

    this is what i want it to look like here is a pic of my windows drive same size as my apps above but only problem is

    these (HarddriveAvailableFreeSpace HarddriveTotalFreeSpace) are the same size...
  38. Replies
    21
    Views
    2,030

    Re: Harddrive - Format Free Space

    this label just filters out the dots splits the . and the space with the GB so it looks like the image below is my app


    Label6.Text = NthField(FormatSize(HarddriveAvailableFreeSpace), ".", 1) + ...
  39. Replies
    21
    Views
    2,030

    [RESOLVED] Harddrive - Format Free Space

    hello
    i am trying to get a hard drives free and total space to display in a progressbar not sure what im doing wrong here any ideas?




    Private Sub Form1_Load_1(ByVal sender As System.Object,...
  40. Replies
    4
    Views
    829

    Re: Page Panel - With Pages

    cant use that quizControl paul newer version vb then mine i want a multi-page panel so i can add controls on them and i can easily hide the controls buy flipping to the next panel how can you hide...
Results 1 to 40 of 235
Page 1 of 6 1 2 3 4



Click Here to Expand Forum to Full Width