- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
7 Posted Topics
[QUOTE=mcupryk]Dim substr As String = dr.Item(4) if substr is {System.DBNull} substr = "" if substr is "" then do not do substr = substr.Substring(0, 2) else substr = substr.Substring(0, 2) I need this in vb.net[/QUOTE] I'll give it a shot: Depending on wether or not the value is coming from …
My brain hurts again. I want to take a collection of PointF objects and crate a path that is the outer perimiter of the collection, so that I don't get a criss-cross problem. I'm assuming no wierd shapes with undercuts; just a collection of 'border' points. The best I could …
LuckyMan- you may want to check out "Regular Expressions" on msdn or even Google; it is native to VB .NET (and Pearl, etc) and has powerful string parsing functions that, I hope, will make everything much easier.
A friend of mine came up with this while bored in class; I made it into a little VB .NET app. The goal is to drop the numbers 1-9 onto a 9x9 grid without repeating the same number in any row or column. I'm betting there is an easy pattern, …
This is as much of a Math question as it is a Programming issue, but I thought I'd put it out there. I want to map X,Y,Z (or Width,Depth,Altitude) to isometric, civil-engineering type 120 degree view. That's the graph paper with triangles instead of squares; I think there could be …
Without your source code I can't be sure, but this should work for the random country proplem (it's a bit inelegant, I admit): [COLOR=DarkSlateBlue] Public Function GetRandomCountries(ByVal AllCountries As Collection, ByVal ReturnQty As Integer) As Collection 'Use Country object instead of String here if possible Dim RandomCountries As New Collection …
A friend of mine came up with this while bored in class; I made it into a little VB .NET app. The goal is to drop the numbers 1-9 onto a 9x9 grid without repeating the same number in any row or column. I'm betting there is an easy pattern, …
The End.
troupm