Search:

Type: Posts; User: KBConsole

Page 1 of 3 1 2 3

Search: Search took 0.06 seconds.

  1. Replies
    6
    Views
    1,730

    VS 2019 Re: Settings Are Not Working

    I had no clue what you meant with "that element" however:
    Deleted the App.config file from the project/solution folder.

    Works like a charm now ^^

    Thanks for the hint mate,

    KBC
  2. Replies
    1
    Views
    704

    VS 2019 Re: Create News & Updates Menu

    If you want to swap between forms:


    Form1.show
    Me.Close

    Form2.show
    Me.Close
  3. Replies
    6
    Views
    1,730

    VS 2019 Re: Settings Are Not Working

    System.Configuration.ConfigurationErrorsException
    HResult=0x80131902
    Message=Configuration system failed to initialize
    Source=System.Configuration.ConfigurationManager
    StackTrace:
    at...
  4. Replies
    4
    Views
    810

    VS 2019 Re: Bug with Resource Images

    Local resources will search you computer for a path. If you move or rename the image in your computer in any way it will not be able to find it anymore. If you want to release your app you will also...
  5. Replies
    6
    Views
    1,730

    VS 2019 Re: Settings Are Not Working

    NOTE:* I'm using StringCollection type in the settings
  6. Replies
    6
    Views
    1,730

    VS 2019 [RESOLVED] Settings Are Not Working

    Application settings seemingly trigger crashes now.

    I had no issues with it when using older version of .NET
    But now this issue comes up

    183282

    When trying to retrieve or store information:
  7. VS 2019 Re: Bitmaps From Stream & Bitmap Headers

    Howdy fellow programmers,

    After 4 days of debugging reading every single byte manually, it finally works ...
    I need some sleep but keep hope a better "wheel" is always possible and I'll prove...
  8. VS 2019 Re: Bitmaps From Stream & Bitmap Headers

    Should I post this in a less VB focused forum ?
  9. Replies
    29
    Views
    4,516

    Re: Listbox Randomize and shuffle words

    I apologize and didn't mean to change to subject of the thread.

    While I would definitely debate on the "Split" function based on the strict definition of legacy, Paul brought some interesting info...
  10. Replies
    29
    Views
    4,516

    Re: Listbox Randomize and shuffle words

    Oh neat so as a more recent function it's trying to compensate for the lack of "TrueRandom" in coding by generating random numbers different from the previous one.

    Thanks for the explanation,
    ...
  11. Replies
    29
    Views
    4,516

    Re: Listbox Randomize and shuffle words

    Unless they plan to remove the function from .Net libraries (and they don't since it's still supported in yet unreleased version of .Net) it's not soon to be legacy.
    VB6 is legacy. Active .Net...
  12. Replies
    29
    Views
    4,516

    Re: Listbox Randomize and shuffle words

    So an equivalent of Rnd() 0-9 followed by another Rnd() between the lower and upper bounds of the array ? (But more recent)
    This seems like 2 operations instead of 1 but there's probably something...
  13. Replies
    29
    Views
    4,516

    Re: Listbox Randomize and shuffle words

    He may be right about me using older functions so if he does give an alternative it may be of more help to you.

    I hope you can achieve your project the way you want it.
  14. Replies
    29
    Views
    4,516

    Re: Listbox Randomize and shuffle words

    I provide help with what I know works for sure.
    Sorry you have an issue with that maybe I should stop helping out ?

    You could have suggested something, instead of sh* on older techniques I'd be...
  15. Replies
    29
    Views
    4,516

    Re: Listbox Randomize and shuffle words

    Private Function RandomString(ByVal Text As String) As String

    Dim wordArray() As String = Split(Text)
    Dim wordCount As Integer = wordArray.Length - 1
    Dim randomNumber As...
  16. Replies
    29
    Views
    4,516

    Re: Listbox Randomize and shuffle words

    I gave you step by step instructions. If you read a tiny bit on the language you're using you'd be able to figure this out.

    Here's what I previously told you but now as code (you might need to...
  17. Replies
    29
    Views
    4,516

    Re: Listbox Randomize and shuffle words

    Add your strings properly trimmed to a New List(Of String).
    Get the integer value of the ".length" property and randomize a number between 0 and that value.
    The name of that function is Rnd() if...
  18. Re: [RESOLVED] how do i convert comma strings to newline

    A pretty impressive amount of pre-built functions are available in .NET to help deal with commonly occurring needs.

    https://docs.microsoft.com/en-us/dotnet/api/system.string.replace?view=net-5.0
    ...
  19. VS 2019 [RESOLVED] Bitmaps From Stream & Bitmap Headers

    I'm unsure whether to post this in VB.net or Graphics. *

    I have been messing with bitmap graphics for a while previously tried the "SetPixel" and "LockBits" methods.

    SetPixel was way too slow...
  20. VS 2019 Re: Faster Bitmap SetPixel & Memory Management

    I indeed do create a byte array but then copy it to the bitmap data setting the array to "nothing" should in theory unallocate the memory for the array and avoid the garbage collector issue am I...
  21. VS 2019 Faster Bitmap SetPixel & Memory Management

    Howdy people,

    I have recently been experimenting with the Bitmap.SetPixel function. While it does work fine it's incredibly slow and I was interested in faster methods to edit Bitmaps pixel by...
  22. Re: [RESOLVED] Arrays- Sorting and initialization

    Try the following:

    For Each coordinate In coordinates
    coordinates.Append(New Point(12, 11))
    Console.WriteLine("C: " & coordinate.ToString())
    Next
  23. Re: [RESOLVED] Arrays- Sorting and initialization

    Oh, interesting so ".Add" is a Sub that belongs to the List object and directly modifies it's value but ".Append" is a function of IEnum and returns an enumerable value that can be converted to a...
  24. Re: Arrays- Sorting and initialization

    Facepalm*, Thank you.
  25. Re: Arrays- Sorting and initialization

    Tried the following and the output tells me the list is empty:


    Dim coordinates As New List(Of Point)
    coordinates.Append(New Point(1, 1))
    coordinates.Append(New Point(100, 10))...
  26. Re: Arrays- Sorting and initialization

    Lists might be easier but they still give out the issue #2 from what I posted.
    Thanks for the suggestion though.
  27. [RESOLVED] Arrays- Sorting and initialization

    Howdy people,

    .Net Arrays are slightly confusing to me and these two issues came up.

    1) I have a 2 dimensional array of integers representing 2D coordinates (X,Y) what would be the best way to...
  28. VB.NET - Drawing Lines From Scratch (Bresenham)

    Howdy fellow programmers,

    Learning to draw lines on a computer screen is part of the basic useful stuff.
    Reinventing the wheel being my main focus I looked around to find out how, but most if...
  29. VS 2019 Re: Visual Studio Gone Mad, Rise of the machines etc.

    You're right (the image is fine on my pc though it's the preview that's blurry or it lost quality in the upload process).

    Dim PixelCounter As Integer = 0
    For Y = StartY To EndY
    ...
  30. VS 2019 Visual Studio Gone Mad, Rise of the machines etc.

    Either I'm being very blind to the issue or I need to disable the error manager thingy somehow.

    I have errors on variables that don't exist and IF's are no longer allowed for programmers(ouch)....
  31. Re: Get number of PC's using an exe file on the LAN

    You could loop trough your range of local ip addresses and ping for valid active devices on your LAN.
    Basic I/O will let you know if it's a PC or another device type.

    Once your have all active...
  32. Replies
    3
    Views
    1,018

    Re: Microphone Output hears the music i play

    You can simply record audio files and play those in your game.
    Do you mean LIVE interaction eg: talking to your players as they play ?
  33. VS 2019 Re: Triangle Rasterization - 3D Graphics - VB.NET

    Thanks for the info, I'll make some sort of debug function to output values of two adjacent faces to the console in real time and spend a while reading those xD



    Yes sir it is, hence why I try...
  34. VS 2019 Triangle Rasterization - 3D Graphics - VB.NET

    Hello again people, been a while.

    I have been working on a 3D graphics engine for around a year or so but very on and off(so maybe 2 months of work). It worked nice and clean when using the...
  35. VS 2019 Trouble with assigning the result of a function to a property

    Hi, my issue is that I can't seem to be able to assign a function's return value to an instance of a Class of same type:


    Dim MTranslate_Z As Matrix3D = Matrix3D.Create_Scale(2, 2, 2)

    For Each...
  36. Replies
    2
    Views
    2,543

    VS 2019 GDI+ Performance Issue

    I have been trying to achieve a simple 3D engine in VB.NET and it's visually pretty good.
    (Except i still need to add a Z-Buffer or Painter's algorithm to properly show concave shapes)
    177768
    My...
  37. Re: Classes & Class Libraries: Best practices and other imponderables.

    Here's another question while at it; What are the differences/advantages between these two examples:

    Public Class SystemUser
    Dim su_Username As String
    Public Property...
  38. Re: Classes & Class Libraries: Best practices and other imponderables.

    So the Math Class (assuming it was made in VB and not C#) is basically a Module that contains the constants PI and E as well as some functions to do operations on numeric data types ?



    Neat so...
  39. VS 2010 Re: How to ignore saving records that can make duplicate before inserting to database

    Why not just fetch "Firstname" and "Lastname" from DB1 and DB2, concatenate them and compare both lists, if one is different copy user from DB1 to DB2.
  40. Classes & Class Libraries: Best practices and other imponderables.

    This thread has for goal to gather the POV and experience of fellow VB.NET programmers regarding the creation of Classes and Class Libraries.
    Any questions on the subject or links to documentation...
Results 1 to 40 of 81
Page 1 of 3 1 2 3



Click Here to Expand Forum to Full Width