Search:

Type: Posts; User: PlausiblyDamp

Page 1 of 13 1 2 3 4

Search: Search took 0.11 seconds; generated 40 minute(s) ago.

  1. Replies
    4
    Views
    634

    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...
  2. 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...
  3. 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.
  4. 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.
  5. Re: How to Add Platform property in .vbproj file?

    vbproj files are for vb.net and not vb6 - which one are you using?
  6. 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.
  7. Replies
    6
    Views
    491

    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...
  8. 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....
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. Replies
    6
    Views
    330

    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...
  15. 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.
  16. Replies
    6
    Views
    330

    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...
  17. Replies
    6
    Views
    330

    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...
  18. 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...
  19. Replies
    8
    Views
    464

    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.
  20. Replies
    8
    Views
    464

    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...
  21. Replies
    8
    Views
    464

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

    Of what?
  22. Replies
    8
    Views
    464

    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...
  23. 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...
  24. Re: vb2010: why i get the 'NullReferenceException'?

    No point in running a game at such a high fps that nobody can actually perceive.
  25. 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?
  26. 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...
  27. 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...
  28. Re: vb2010: why i get the 'NullReferenceException'?

    I used 8, it should probably work if you drop it to 7 or maybe even 6
  29. 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.
  30. 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...
  31. Re: vb2010: why i get the 'NullReferenceException'?

    The attached zip is a really rough example of a VB Monogame app, it allows you to move a character around a screen and for no real reason a number of footballs bounce around in the background (I just...
  32. Re: vb2010: why i get the 'NullReferenceException'?

    Personally I just try to avoid the api if it is something dotnet can do itself. Looks like in this case the built in timers might not be good enough.

    Then again winforms itself isn't a good...
  33. Re: vb2010: why i get the 'NullReferenceException'?

    It is a lot closer to the system clock, so it can be more precise.
  34. VS 2010 Re: VB2010: how create a timer control using API?

    There are multiple timers in dotnet, you might want to try https://learn.microsoft.com/en-us/dotnet/api/system.timers.timer?view=net-8.0 or...
  35. Re: vb2010: why i get the 'NullReferenceException'?

    Rather than going to the api you might want to look at System.Timers.Timer instead of the timer control.
  36. Re: vb2010: why i get the 'NullReferenceException'?

    If you want the screen to update then you should be doing your drawing code in the Paint event, you shouldn't normally be creating your own graphics in the way you are doing. If you aren't doing a...
  37. Re: vb2010: why i get the 'NullReferenceException'?

    Which line does the exception occur on?

    Then again there are a lot of possible issues with that code... DoEvents is normally best avoided, and don't your form load run an infinite loop like that...
  38. VS 2010 Re: VB2010 - how draw Bitmap correctly on control?

    If you are just dealing with bmps, pngs, etc then .Net will take a lot of the effort out of doing things compared to VB6.

    If you are looking at creating a game and don't want to go to a full game...
  39. Thread: Dapper

    by PlausiblyDamp
    Replies
    9
    Views
    1,294

    Re: Dapper

    I tend to default to EF, always fancied Dapper but never got around to looking at it.
  40. VS 2010 Re: VB2010 - how draw Bitmap correctly on control?

    You would typically use the Graphics object provided by the control's Paint event - that will always be correct for the current size.
Results 1 to 40 of 484
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width