(Resolved) Trying to create an Event Tree
VBForums
by cafeenman
2h ago
Nodes2.zip OK, I've got it exactly figured out. It's now counting correctly AND giving me back a Tree that I like (although it might take a lot of rolls to do that). Using a seed of 250 I'm getting back branches as deep as 12 which is more than enough. I can tweak numbers to adjust this. I'm shooting for around 5K total nodes. Sometimes it comes back with 13K and some times it comes back with 1,300. If you have guts and a few minutes to watch numbers scroll, try the new upload with a Seed of 250. It does work but it can take a minute. Also too, this is a Tool to Build a Tool. I mocked u ..read more
Visit website
Trying to create an Event Tree
VBForums
by cafeenman
3h ago
Nodes.zip I mentioned I'm trying to create a game. I know nothing about it except I play a lot of PC games - mostly rpgs. I don't know how to use Big0 or game theory or really much of anything that applies. I just want to see what I can do. If I decide to stick with creating games then I'll learn more and look back and realize how lame my first attempt was. :) So the problem is that a random event gets chosen. The fewer of those there are, the faster the game gets old. I want a huge top-level (for a one-person game developer) set of choices. Say 250 or more at least. But then I want the tr ..read more
Visit website
VS 2022 help scraping data from website
VBForums
by vampiro
7h ago
Hi, I need help with scraping certain data of websites. the current code that i have works fine for some Code: Dim bookmarkNodes As IEnumerable(Of HtmlNode) = htmlDocument.DocumentNode.SelectNodes("//a[@rel='bookmark' and @title and not(.//time[@class='entry-date' and not(@datetime='')])]") but some use the this code Code: <h3 ><a href="https://somewebisteref" >data that i want to scrap</a></h3> <div > or Code: <a href="https://somewebsite" title="data i need"> the title part of my code again works for some but not all. i would like to be able to still ..read more
Visit website
Moderators: How do I delete duplicate history files in CodeBank?
VBForums
by SearchingDataOnly
14h ago
I'd like to know how to delete duplicate history files in CodeBank. Thanks ..read more
Visit website
Did DragDrop UIAccess requirements get raised?
VBForums
by fafalone
17h ago
I was disappointed to find that simply enabling UIAccess on a token wasn't enough to get cross-elevation drag drop to work, but everything I've read on here and elsewhere suggested running from \Program Files and having any signature was good enough. But now I've jumped through all those hoops and it's still not working, despite UIAccess still being enabled on the token when done 'properly' (i.e. through the manifest, rather than my original shenanigans of hijacking tokens and using undocumented APIs). I did this in PowerShell: New-SelfSignedCertificate -DnsName fafalone@example.com -Type Co ..read more
Visit website
VS 2015 show connected scanners to the user in a list
VBForums
by amsashraf
18h ago
Hi Dears I need to know how to get the connected scanners name in a list to display it to the user to let him choose which one to use how it can be ..read more
Visit website
Version Control with twinBASIC in 2024
VBForums
by VB6 Programming
20h ago
Mike Wolfe of nolongerset.com has provided instructions for adding version control to twinBASIC... Step-by-step instructions for integrating version control into your twinBASIC development operations in 2024. nolongerset.com/version-control-with-twinbasic-2024/ Attached Images   ..read more
Visit website
Line Shape vs Line Draw
VBForums
by LorinM
1d ago
On a form surface I set the color to magenta. I place a shape component Line on the form surface. I then draw a red line Line()-() on the form surface. I then move and color the shape line x1,y1 x2,y2 green. The shape green line is near the drawn line. The shape green line does not disturb the form surface color but covers part of the green line letting the form color show through. How do I make it so this coverup does not happen? I am not familiar with shape Line DrawMode. Is that what I need to understand ? A little tutorial please. Thank you ..read more
Visit website
[RESOLVED] DoEvents does not resume from its last position - why?
VBForums
by T3mp0
1d ago
Please help me understand why, at some point, DoEvents does not resume from its last position (marked in the code below). It will work a few times and then, after DoEvents, the code is not executed and is stuck at bProcessing()=True. This is how (in a simplified form) looks my code. It's a server (using standard Winsock) that handles connections from a couple of connected clients (hence the Index to identify them): Code: Private Sub sckServer_DataArrival(Index As Integer, ByVal bytesTotal As Long)     lBytes(Index) = bytesTotal ' Count received data for each client (Index)   ..read more
Visit website
DoEvents does not resume from its last position - why?
VBForums
by T3mp0
1d ago
Please help me understand why, at some point, DoEvents does not resume from its last position (marked in the code below). It will work a few times and then, after DoEvents, the code is not executed and is stuck at bProcessing()=True. This is how (in a simplified form) looks my code. It's a server (using standard Winsock) that handles connections from a couple of connected clients (hence the Index to identify them): Code: Private Sub sckServer_DataArrival(Index As Integer, ByVal bytesTotal As Long)     lBytes(Index) = bytesTotal ' Count received data for each client (Index)   ..read more
Visit website

Follow VBForums on FeedSpot

Continue with Google
Continue with Apple
OR