Search:
Type: Posts; User: PlausiblyDamp
Search:
Search took 0.12 seconds; generated 35 minute(s) ago.
-
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...
-
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...
-
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.
-
Then you won't have a vbproj file and VanGoghGaming's comment about VB6 only targeting x86 is true.
-
vbproj files are for vb.net and not vb6 - which one are you using?
-
https://dev.mysql.com/doc/refman/8.0/en/connecting.html that tells you how to connect using a different port.
-
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...
-
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....
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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.
-
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...
-
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...
-
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...
-
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.
-
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...
-
-
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...
-
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...
-
No point in running a game at such a high fps that nobody can actually perceive.
-
Why do you think you need more than 60fps? Can you tell the difference in quality between 60 and 4,000 fps?
-
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...
-
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...
-
I used 8, it should probably work if you drop it to 7 or maybe even 6
-
If you look in the .vbproj file find and remove the following line
<PublishAot>true</PublishAot>
and see if that helps.
-
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...
-
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...
-
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...
-
It is a lot closer to the system clock, so it can be more precise.
-
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...
-
Rather than going to the api you might want to look at System.Timers.Timer instead of the timer control.
-
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...
-
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...
-
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...
-
I tend to default to EF, always fancied Dapper but never got around to looking at it.
-
You would typically use the Graphics object provided by the control's Paint event - that will always be correct for the current size.
|
Click Here to Expand Forum to Full Width
|