Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~2K People Reached
Favorite Tags

7 Posted Topics

Member Avatar for mcupryk

[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 …

Member Avatar for Andyc75
0
355
Member Avatar for troupm

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 …

Member Avatar for kvprajapati
0
190
Member Avatar for LuckyMan

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.

Member Avatar for Soulrage
0
446
Member Avatar for troupm

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, …

Member Avatar for Scottg1989
0
389
Member Avatar for troupm

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 …

Member Avatar for troupm
0
87
Member Avatar for kyakobi84

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 …

Member Avatar for troupm
0
163
Member Avatar for tgreer

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, …

Member Avatar for troupm
0
278

The End.