Search:

Type: Posts; User: PlausiblyDamp

Page 1 of 13 1 2 3 4

Search: Search took 0.11 seconds.

  1. Replies
    18
    Views
    476

    VS 2019 Re: Process faster in nested for loops

    VB.Net does have Structures - they could be used instead of a class, although the reasons for using one over another aren't always as straight forward as they might be in VB6.
  2. Replies
    18
    Views
    476

    VS 2019 Re: Process faster in nested for loops

    Sorting a multi-dimensional array on just one dimension isn't a straight forward thing - https://steemit.com/utopian-io/@cheretta/sorting-a-multi-dimensional-array-in-net gives some ideas on how you...
  3. Replies
    18
    Views
    476

    VS 2019 Re: Process faster in nested for loops

    What format is the data from the tool saved as? Whatever the format it is probably better to load it into a class and then process it like Shaggy said here...
  4. Re: VS 2022 can't put database into datasource

    Did you try the suggestion from post 4, https://www.vbforums.com/showthread.php?903085-VS-2022-can-t-put-database-into-datasource&p=5636984&viewfull=1#post5636984 to see if you can identify what is...
  5. VS 2005 Re: Resource filepath with id using res:// protocol

    Did you look at the link I posted back in https://www.vbforums.com/showthread.php?903059-Resource-filepath-with-id-using-res-protocol&p=5636853&viewfull=1#post5636853 as that explains what a windows...
  6. Replies
    6
    Views
    223

    Re: Ltrim to trim textbox

    The various Trim commands just remove whitespace, also if you are using .Net you are probably better with one of the Trim methods on the string type -...
  7. VS 2005 Re: Resource filepath with id using res:// protocol

    For starters you can't use resx files, this works with the more traditional Windows resource files.

    Secondly, are you expecting to access this via Internet Explorer?
  8. Re: List of Anonymous objects

    You can't return a list on anonymous types, but you can return a list of Tuples e.g.



    static void Main(string[] args)
    {
    var results = GetStuff();
    foreach (var result in results)
    ...
  9. Re: Everything is Nullable???

    https://learn.microsoft.com/en-us/dotnet/csharp/nullable-references gives a bit more background on nullable reference types and some of the ways you can control it.
  10. VS 2005 Re: Resource filepath with id using res:// protocol

    When you talk about the res:// protocol are you refering to https://learn.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/platform-apis/jj710218(v=vs.85) or something...
  11. Replies
    5
    Views
    1,652

    Re: Master to Master Azure DevOps

    I am not aware of a single place to view branch policies, in the past I have always just gone into the Branches section of Repos and checked each branch individually. Normally not an issue as I tend...
  12. Re: How to Add Platform property in .vbproj file?

    Although the error was the same it is a completely different problem, the solution you have linked to is only relevant for a VB.Net project. With VB6 you can only create a 32-bit x86 dll / exe so...
  13. Re: How to Add Platform property in .vbproj file?

    VB6 doesn't have this option as there is no choice other than x86.

    It might help if you explained a bit more about what you are trying to do and why you think you need to change this setting.
  14. Re: How to Add Platform property in .vbproj file?

    Then you won't have a vbproj file and VanGoghGaming's comment about VB6 only targeting x86 is true.
  15. Re: How to Add Platform property in .vbproj file?

    vbproj files are for vb.net and not vb6 - which one are you using?
  16. Re: installed 8.0.36 alongside 5.7 How to access 8 from commandline, it takes me to 5

    https://dev.mysql.com/doc/refman/8.0/en/connecting.html that tells you how to connect using a different port.
  17. Replies
    6
    Views
    1,304

    Re: how optimizate the programming?

    Also get familiar with a good benchmarking / performance profiler if you really want to see what different algorithms and performance tweaks actually change. Be aware that modern compilers can often...
  18. Re: mysql 8 cannot drop some databases I created, others do drop?

    IIRC this error can be caused by you not having permissions to drop the database (unlikely if you created them) or by something preventing the folder containing the database files from being deleted....
  19. VS 2010 Re: VB2010: how get more timer precision?

    That logic isn't really proving your point - or your need for a more precise / faster timer; fps is how quickly you can update the screen - it has nothing to do with how much other work you are...
  20. Re: How do I reverse pitch in a C# Console App? Fix error with ''Inverse'' in ''FFT''

    So which line was giving the build error? What was the error message?

    Regardless of what you think, that method doesn't return anything. That is what the error messages is telling you.

    In fact...
  21. Re: How do I reverse pitch in a C# Console App? Fix error with ''Inverse'' in ''FFT''

    There is nothing to "write to return what's void", void means the method doesn't return anything.

    FFT.Inverse(flippedSpectrum) presumably just modifies the data passed in. Try putting...
  22. Re: How do I reverse pitch in a C# Console App? Fix error with ''Inverse'' in ''FFT''

    The error message tells you the problem, FFT.Inverse doesn't return anything (it returns 'void') therefore you can't assign the result of calling it to a variable. Perhaps it performs the action in...
  23. VS 2010 Re: vb2010 - how add a VB6 dll on VB2010 project?

    If you add a reference to a COM dll then you should get the interop dll generated automatically, if you build your app and then check the folder where the .exe is generated then can you see the...
  24. Replies
    6
    Views
    441

    VS 2019 Re: Get status code with HttpClient

    Typically AggregateException is thrown by code executing as part of the Task Parallel Library or PLinq, if you are getting an AggregateException then you probably want to investigate the exception's...
  25. VS 2010 Re: vb2010 - how calculate the hit direction?

    If the wall Top is less than 10 then you still need to use -speed.Y, not +speed.Y - -speed.Y is the same as saying speed.Y *= -1 so you are flipping the direction.
  26. Replies
    6
    Views
    441

    VS 2019 Re: Get status code with HttpClient

    Don't just catch Exception instead catch https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httprequestexception?view=net-8.0 as this will give you the status code if an error occurs. If...
  27. Replies
    6
    Views
    416

    VS 2019 Re: DLL Based Project

    1 - A sln file isn't required, a solution is a way to group multiple projects. If you have a single project then the .sln isn't needed.

    2- A dll is designed to be a reusable library, it is there...
  28. VS 2010 Re: vb2010 - how calculate the hit direction?

    If you are tracking the direction of movement as a speed in X and a speed in Y e.g. using something like a 2d Vector then a perfect reflection would just be inverting the relevant speed.

    e.g if...
  29. Replies
    8
    Views
    562

    VS 2010 Re: VB2010 - how create a Game Loop?

    You would have to look up the various message constants in either the online docs, or via the various .h files in the SDK. There isn't anything built in that automatically gives you them.
  30. Replies
    8
    Views
    562

    VS 2010 Re: VB2010 - how create a Game Loop?

    https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.control.wndproc?view=windowsdesktop-8.0 gives a very basic example of how to Override WndProc, I only suggested that because in your...
  31. Replies
    8
    Views
    562

    VS 2010 Re: VB2010 - how create a Game Loop?

    Of what?
  32. Replies
    8
    Views
    562

    VS 2010 Re: VB2010 - how create a Game Loop?

    You can override the WndProc method if you want a more traditional Windows message pump approach.

    Application. DoEvents really won't be any good if you want predictable framerates, if you want the...
  33. VS 2010 Re: VB2010: how get more timer precision?

    Why this obsession with trying to get timers with the smallest interval? Why this obsession with using a timer to try and drive your fps as high as possible?

    Firstly... Timers are not the idea way...
  34. Re: vb2010: why i get the 'NullReferenceException'?

    No point in running a game at such a high fps that nobody can actually perceive.
  35. Re: vb2010: why i get the 'NullReferenceException'?

    Why do you think you need more than 60fps? Can you tell the difference in quality between 60 and 4,000 fps?
  36. Re: vb2010: why i get the 'NullReferenceException'?

    Because it is capped to 60fps by default. I said that in the post, if you look at the code there is a comment telling you what to change to remove the fps limit.

    In reality though you wouldn't...
  37. Re: vb2010: why i get the 'NullReferenceException'?

    In that case I am not sure what to suggest, the first time might be a bit slow as it needs to restore the various nuget packages. Then again it still only took a minute or so on mine for the first...
  38. Re: vb2010: why i get the 'NullReferenceException'?

    I used 8, it should probably work if you drop it to 7 or maybe even 6
  39. Re: vb2010: why i get the 'NullReferenceException'?

    If you look in the .vbproj file find and remove the following line


    <PublishAot>true</PublishAot>


    and see if that helps.
  40. Re: vb2010: why i get the 'NullReferenceException'?

    Ah, the project was created in vs 2022 and uses the latest version of dotnet.

    I think you can still get older versions of Monogame that might work on 2010.

    Might also work with vs code if you...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width