Search:

Type: Posts; User: Beanoid

Page 1 of 4 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    9
    Views
    937

    Space exploration software

    im writing code to go to the moon. this is what i have done.

    dim moon as
    now what?
  2. Replies
    6
    Views
    956

    Re: Backgroundworker and Clipboard.Gettext()

    i have altered my code not to rely on clipboard.gettext as it seems to have issues when called continuously from a loop
  3. Replies
    6
    Views
    956

    Backgroundworker and Clipboard.Gettext()

    i have a function that i can call from the main thread that works fine, i want to add it to a background worker as it is part of a long running loop

    Private Sub BackgroundWorker1_DoWork(sender...
  4. Replies
    13
    Views
    1,203

    VS Code Re: Catch Statements Not Catching?

    i have had a similar problem where the exception seems to occur before the try block , maybe try
    Private Sub cmdExpandNode_Click(sender As Object, e As EventArgs) Handles Button4.Click
    Try
    ...
  5. Replies
    9
    Views
    1,737

    Re: For Loop - Need individual Values

    I cant see anything obvious maybe try creating instance variables for each zone

    For i As Integer = 0 To MyFacility.Count - 1
    Dim currentZone = MyFacility.List(i)

    Try
    If...
  6. Replies
    9
    Views
    1,737

    Re: For Loop - Need individual Values

    DR_FanShutdown, _ostatus.Value, and Fan._FanKill need to be global? maybe they are the cause . possible their values are being overwritten in each iteration of the loop

    if they dont need to be...
  7. Re: VB6/RC6 Question: changing properties of created widget

    as far as i am aware RC6 doesn't provide a direct way to access widgets by their keys.. Maybe Olaf can enlighten us all.
  8. Re: VB6/RC6 Question: changing properties of created widget

    I'm not sure if i am understanding your question completely, but if i am you need to loop through the Widgets collection of the container control (e.g., C1Panel,) and find the widget with the...
  9. Re: How to change image contained in DataGridView cell

    you can handle the CellClick event and modify the cell's value accordingly.



    Private Sub DataGridView1_CellClick(ByVal sender As Object, ByVal e As DataGridViewCellEventArgs) Handles...
  10. Re: Debugging and execution of scripting-language(or VB6 code)

    things to consider with SLT.

    Identifying Symbols during Parsing:
    As you parse the code and generate the Abstract Syntax Tree (AST), you'll encounter various identifiers (symbols). These...
  11. Re: SendMessage not working when sending to x64 target program... What is the solutio

    Imports System.Diagnostics
    Imports System.Runtime.InteropServices

    Public Class Form1
    Const CB_SETCURSEL As Integer = &H14E
    Const ComboBoxCtrlID As Integer = &HE06A6 'Use Spy++ (or...
  12. Re: SendMessage not working when sending to x64 target program... What is the solutio

    The issue you are facing is likely related to the differences in inter-process communication (IPC) mechanisms between 32-bit and 64-bit applications. When you use SendMessage to interact with a...
  13. Replies
    8
    Views
    1,129

    VS 2022 Re: HTTP request SSL connection

    you cant bypass it you would have to emulate the steps taken by the browser to generate the correct hash by sending multiple request in the correct order, but the problem is , is that the website...
  14. Replies
    8
    Views
    1,129

    VS 2022 Re: HTTP request SSL connection

    the problem is with the postdata, the hash generated is a response from google captcha, you cant send more then 1 request with the same hash, 184360184361
  15. Replies
    8
    Views
    1,129

    VS 2022 Re: HTTP request SSL connection

    when i send your postdata with headers created with chrome i still get ...
  16. Replies
    8
    Views
    1,129

    VS 2022 Re: HTTP request SSL connection

    im not sure i fully understand your issue, are you getting a different response in fiddler when you send the request from a web browser such as chrome?
  17. Replies
    12
    Views
    1,398

    Re: updating form1 from module thread

    i didnt know you could do that.. erm... how do you do that?
  18. Replies
    12
    Views
    1,398

    Re: updating form1 from module thread

    i am already doing that and it works but really i want to call it from a module , my form has thousands of lines of code in it and i want to transfer parts of code into modules to make it easier to...
  19. Replies
    12
    Views
    1,398

    updating form1 from module thread

    form1 code

    Private Sub Startbtn4_Click(sender As Object, e As EventArgs) Handles Startbtn4.Click
    Dim thread As New Thread(AddressOf thread4)
    thread.Start()
    End Sub...
  20. Replies
    5
    Views
    865

    Re: section of code not executing

    yes i am using vs2022.thank you i will give that a try, i tried targeting my framework at 3.5 instead of 4.8 but it would mean i would have to rewrite half the code in app
  21. Replies
    5
    Views
    865

    Re: section of code not executing

    the problem was with
    postreq.headers.add("accept") you cant add the except header this way and must be done via
    postreq.accept = "blabla". i have been having such a headache with VS2022, it...
  22. Replies
    5
    Views
    865

    Re: section of code not executing

    if i remove the custom headers , all the lines that contain
    postreq.headers.add(bla,bla) it works ,
  23. Replies
    5
    Views
    865

    section of code not executing

    i have an issue where the bottom section of code doesn't execute. it will cycle through the lines i have highlighted with breaklines and then completely ignore the lines of code beneath184002
  24. Re: extracting integers from a text file and totalling them up

    no your solution works perfectly for what i need , but as a novice i like to understand the code instead of just copy and paste
  25. Re: extracting integers from a text file and totalling them up

    ahhhh so using "\d: Match any character between 1- 9" would not work when using decimal numbers
  26. Re: extracting integers from a text file and totalling them up

    worked perfectly thank you, i dont understand the "\d*" part of the code
  27. Re: extracting integers from a text file and totalling them up

    i am writing to and from a text file and the text file when loaded is displayed in a richtextbox and is displayed exactly as shown above , i cant figure out how to loop through the richtextbox line...
  28. Re: extracting integers from a text file and totalling them up

    i tried


    Dim TempJobtotal As Decimal = 0
    Dim Jobtotalstring As String
    For i = 0 to RichTextBox1.Lines.count - 1
    Jobtotalstring =...
  29. Re: extracting integers from a text file and totalling them up

    with dday's code im not sure what i am supposed to be declaring pattern as
  30. Re: extracting integers from a text file and totalling them up

    this is what i did but you can see that on the line that contains "Jobtotalstring = Split(RichTextBox1.Text" there is no line index so it is just adding up the first line over and over


    ...
  31. extracting integers from a text file and totalling them up

    hi all just struggling on best way to do this


    this is contents of my richtextbox

    15/04/2021 Job Total Income £300 Job Description ngdhghghghhg Wages Paid £120 Expenses £50 ...
  32. VS 2015 Re: read text file to an array, sort array, choose certain lines for display in a lis

    something along these lines, hope it points you in the right direction.


    for i = 0 to yourarray.count - 1
    if yourarray(i).contains("Cell 1") then
    listbox1.items.add(yourarray(i))
    end if...
  33. VS 2015 Re: read text file to an array, sort array, choose certain lines for display in a lis

    you say it is sorting the array in the proper order? then ask how to sort the array in the proper order? im a bit confused

    as for adding items to the listbox

    you can loop through your array to...
  34. Replies
    3
    Views
    1,613

    VS 2017 Re: Help with a keylogger!

    i doubt you will get help with that
  35. Re: common causes for virus scanner to detect false positive

    i have read up on the Heuristics virus which was detected, and i have read that checking for internet connectivity using goolge can cause a false positive.


    Public Function...
  36. common causes for virus scanner to detect false positive

    for some reason i am getting messages from user that their virus scanner is detecting my app as a virus, and i have no idea why, it bascially just sends httpwebrequest and uses geckofx browser. no...
  37. Replies
    3
    Views
    1,371

    Re: httpwebrequest view response before redirect

    yes i have used that solution before, but i was hoping there would be a easier way
  38. Replies
    3
    Views
    1,371

    httpwebrequest view response before redirect

    i am try to catch a response from a webrequest that is in the second redirect out of 3, issue is that "Response = Request.GetResponse()" is only called after all the redirections are finished...
  39. Replies
    3
    Views
    801

    Re: Return string value from function

    is it possible to return multiple values from a function?
  40. Replies
    3
    Views
    801

    Return string value from function

    i have been doing this to get a return form a function


    public Name as string

    Private Function Post()
    name = "john"
    End Function

    Private Sub Button5_Click(sender As Object, e As...
Results 1 to 40 of 153
Page 1 of 4 1 2 3 4



Click Here to Expand Forum to Full Width