Search results for query: *

  • Users: andrews
  • Content: Threads
  • Order by date
  1. A

    Question what is the error?

    I use vb.net 2022 and during debugging I get an error that I don't understand, in a code there is a code line where I increase a variable integer several times, until it suddenly stops when increasing to 8, the error according to the error message says that it exceeds the array index, but this...
  2. A

    Resolved Watch windows

    In vb.net 2022, when I debug and set a stop in the code I can see the windows autos and call stack but I I have to see window watch1 , how to do? Thanks for any response
  3. A

    Resolved split a textfile

    Dear moderator, I have the following problem. I want to split an existing text file consisting of 1 line: "87,65,28,63,27,56,8,329" into an array myarray of strings like myarray(0) = "87",myarray(1) = "65", myarray(2) = "28" .... The split separator is dim ch = cchar(",") I can't find a solution...
  4. A

    Resolved to split text files

    Dear moderator, I want to change a text file with lines into a contiguous text. The text file consists of lines like "15,28,55" but which also end with what I think is something like vbcrl.f I can't get rid of the latter but this is necessary because I want to convert the entire merge...
  5. A

    Resolved making a public sub

    I code a sub in a module : public sub readgrid ..... and so on There is an error : the first character must be an upper case ??? When I change the name in Readgrid and I want to play the sub then there is a new error : Declaration expected What is going on? Thanks for any response
  6. A

    Question split question

    I have a textfile with many lines and want to place all the words separately in an array() as string but there are different separators like " " or " " or " " , but always spaces is there a solution to split each line automatically in one time? Thanks for any resonse
  7. A

    error ? where ?

    I get always the same error in de watch mode but is there a error ? see the monitor view, thanks for any response
  8. A

    Question Listbox is not working

    When I write the coding text , Form1.ListBox1.Items.Add("nu wel") every where , I don't see anything in my listbox1 in the debugging mode. And in the properties I see nothing what can be the reason. Mystery?
  9. A

    Resolved how to calculate in vb.net the nth root for biginteger

    how to calculate in vb.net the nth root for biginteger ? I could not find a solution for that question Thanks for any response
  10. A

    Question diagnostic sessie

    I do calculations that need to be done quickly and I also see that the diagnostics session is active. My question is, what use is this for the user and can I stop it because this will probably reduce the speed of the calculations
  11. A

    Question imports dll

    I have a project in vb.net and a file wisaw.dll that was usefull in my old PC in vb.net 2010. But now in visual basic 2022 i want to take this in the referenties but i could not imports that in the modules Thanks for any response
  12. A

    Resolved problem

    I do not understand why in a sub i have written dim w as double dim nm as string nm = "5.2356" w = cdbl(nm) but i see in de debug that w = 5000 ? what do i wrong ? Thanks for any response
  13. A

    Question changing colors

    I am using visual basic 2022 from the visual studio 2022 and i hope that i am on the right place for this question How can i change the color of all the code text f.e. in black becaus now it is very disturbing Thanks for any response
  14. A

    changing colors in codetext

    I started with visual basic 2022 and added a button to the form1.design. Then I tapped the button and came to form1.vb where I placed a function. However, the code text in that function is colored in different colors that I want to change, how to do that. Thanks for any answer
  15. A

    installing visual studio 2022

    I installed Visual Studio 2022 on my new PC (Windows 11). But what I have seen in the applications that there are two notifications, both Visual Studio 2022 and Visual Studio 2022 Preview. Does that mean I installed it twice? If so, can I try to delete the latter? A second problem is that I had...
  16. A

    Question twee gescheiden vensters in een lijst

    ik heb waarschijnlijk een alternatieve knop geduwd. Mijn codelijst verschijnt nu in twee vensters op twee plaatsen, maar dat wil ik niet.
  17. A

    Question buttons on my screen

    ‎Hello‎ ‎I want to place buttons on my screen and a calculated number on places.‎ ‎I do not know much about this subject.‎ ‎For example, I can place the buttons in an array where I can determine the location and location on the screen.‎ ‎It concerns about 600 buttons‎ ‎Thanks for any reply‎
  18. A

    StackOverflowException

    Hi, I use a recursion and after some trials (45) I got a StackOverflowException . What to do ? Thanks for any response
  19. A

    Resolved hashset to remove items

    My question. I have hs as hashset(of integers) And always f.e. with items 57,54,51,43,28,26,5,4 , the numbers are always ordered from high to law How can I delete on the most fast way all the numbers starting from 51 to the last number Thanks for any response
  20. A

    dictionary, item ad random

    My question, can I reach ad random an item in my dictionary? And take then the value of the key of that item something like : dim n as integer = rand.next(1,mydic.count +1) or another way
Back
Top