Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Johanes

Member
  • Content Count

    60
  • Joined

  • Last visited

Awards


This user doesn't have any awards

About Johanes

  • Title
    Member

Recent Profile Visitors

570 profile views
  1. So basically after days of researching i finally found a way to detect if my player(green square) is intersecting with another picturebox. but my code makes it so that i have to write down which picturebox it is thats intersecting. Private Function IntersectWith() As Boolean Dim recInter As Rectangle recInter.Location = MyPlayer.PointToScreen(New Point(0D, 0D)) recInter.Size = New Size(MyPlayer.Width, MyPlayer.Height) Dim ChkPass As Rectangle ChkPass.Location = Floor2.PointToScreen(New Point(0D, 0D)) ChkPass.Size = New Size(Floor2.Width, Floor2.Height) Dim doesIntersect As Boolean = recInter.IntersectsWith(ChkPass) Return doesIntersect End Function example.. Picturebox1 is player.. Picturebox2 is Mayor. Picturebox3 is Bandit. can i ask is there a better way to find out which picturebox it is that my player is intersecting so that i can run it into a function? or if you have a better way to implement intersection/collision could you please share it?
  2. yeah.... i was searching amazon for Nvme and im like.. daim they expensive...
  3. Here's a link https://www.gigabyte.com/ph/Motherboard/Z370-HD3-rev-10/sp#sp
  4. see.. i dont know jack shit if (PCIe x4/x2 SSD support) means that it can support NVme then i didnt know that.
  5. Yeah i dont think my Motherboard supports Nvme anyway...
  6. So im thinking of upgrading my M.2 Storage.. Im still new in the M.2 Business, so i need help.. this is my M.2 specification.. 1 x M.2 connector (Socket 3, M key, type 2242/2260/2280/22110 SATA and PCIe x4/x2 SSD support) My question is will this WD Blue 3D NAND 1TB Internal PC SSD - SATA III 6 Gb/s, M.2 2280, Up to 560 MB/s - WDS100T2B0B be supported in my Motherboard?
  7. So basically.. i Ordered an MSI But instead i got Amazon link is here https://www.amazon.com/gp/product/B07XZ21HH7 So my question is.. Should i keep it? i know it has a better CPU but i kinda wanted the 1650 GTX... but then also its gonna be a real hassle to ship the laptop back to the USA.. Since i live in the Philippines. Need opinion plz.
  8. AAAGHH... switching from Python to VB.net and datatype manipulation is soo weird >.>
  9. thanks for all the replies.. i am still rapping my head with this and all this new ideas are helping me greatly.
  10. yeah i would love to know how to do that class thing as well.. but we haven't discussed that in our school yet.. the code already has a for loop statement in it. its just the taking the string and making it into decimal thats giving me a hard time >.>
  11. well the string would look like this "Apple - P20.00" in the list.. so i want to split this string to "Apple - P" "20.00" and then take the "20.00" and turn it into a decimal so that i can total it...
  12. Public Class Form1 Public listProdAndPrice As New List(Of String) Public totalPrice As New Decimal Public splitValue As New Decimal Private Sub Button1_Click(sender As Object, e As EventArgs) Handles btnAddToList.Click lsbProdAndPrice.Items.Clear() listProdAndPrice.Add(txbProdName.Text & " - P" & txbProdPrice.Text) For Each lsbItems In listProdAndPrice lsbProdAndPrice.Items.Add(lsbItems) splitValue = Next End Sub End Class (Code is not complete) im just stuck with this problem Q.Q i want to split a string from a list and take the value that i wanted and turn it into a decimal so i can compute it into its total (Here is what my form looks like) my main problem is i want to split a string and then turn a string into a decimal. here is an example of the form when its populated.
  13. its fine atleast your helping in the forum
  14. aaaaa.. i had an idea it was something like dat... damn you VB.net >.< thanks.. ill use @minibois solution for now ^^
  15. Severity Code Description Project File Line Suppression State Warning BC42105 Function 'CheckOperation' doesn't return a value on all code paths. A null reference exception could occur at run time when the result is used. BasicCalculator C:\Users\mah name\Google Drive\School Stuffs\Computer Prog\.Net Files\BasicCalculator\BasicCalculator\BasicCalcModule.vb 13 Active here it is ^^
×