User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 391,671 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,043 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 19 of 19
Search took 0.01 seconds.
Posts Made By: troupm
Forum: VB.NET Nov 15th, 2005
Replies: 1
Views: 1,484
Posted By troupm
Solution Re: X,Y,Z to Isometric? My brain hurts.

I think i figured it out after all. X and Z (for rectaliniar objects only) become

(X or Z) * [inversetangent(sqrt(3))]/2

while Y remains the same

More of a math question it seems; lo siento.
Forum: Geeks' Lounge Nov 15th, 2005
Replies: 22
Views: 2,787
Posted By troupm
Re: Number Game: '81'

I actually had never heard of Sudoku puzzles before coding the 81 game. The 'Cheat' code uses just what you cited: no same rows/columns allowed. I am loathe to attempt a more complex Sudoku puzzle,...
Forum: VB.NET Nov 15th, 2005
Replies: 0
Views: 1,885
Posted By troupm
Help Draw the perimiter of a PointF collection?

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...
Forum: Geeks' Lounge Nov 15th, 2005
Replies: 22
Views: 2,787
Posted By troupm
Re: Number Game: '81'

Cheers. Let me know if you find a general solution- I can't solve my own puzzle!
Forum: VB.NET Nov 15th, 2005
Replies: 1
Views: 1,484
Posted By troupm
Help X,Y,Z to Isometric? My brain hurts.

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...
Forum: VB.NET Nov 15th, 2005
Replies: 1
Views: 15,929
Posted By troupm
Re: Check to see if null

I'll give it a shot:

Depending on wether or not the value is coming from a DB call (DB.Null.Value) or from a naked object (= Nothing), try this:

'FROM DATABASE CALL:

if dr.Count >= 4 Then 'Try not...
Forum: VB.NET Nov 15th, 2005
Replies: 11
Views: 4,015
Posted By troupm
Re: I'm looking for words counter code

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...
Forum: VB.NET Nov 15th, 2005
Replies: 1
Views: 1,454
Posted By troupm
Solution Re: anyone can help me, plzzz???

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):



Public Function GetRandomCountries(ByVal AllCountries As Collection,...
Forum: Geeks' Lounge Nov 15th, 2005
Replies: 22
Views: 2,787
Posted By troupm
Re: Number Game: '81'

Indeed. Brute force is cheating, though... ;)
Forum: Geeks' Lounge Nov 15th, 2005
Replies: 22
Views: 2,787
Posted By troupm
Re: Number Game: '81'

Exactly. And yet, I asill suspect that there is a intuitive way to complete the grid regardless of the initial state. Sadly, I was never good with a Rubick's Cube- Matricies are not my strong point.
Forum: Geeks' Lounge Nov 15th, 2005
Replies: 22
Views: 2,787
Posted By troupm
Solution Re: Number Game: '81'

A valid question. A random placement of the first 1-9 will almost never fit the (1-9)/(2-1)/(3-2)... pattern; in fact, I should exclude that explicitly. Here's a sample screenshot (the green squares...
Forum: Geeks' Lounge Nov 15th, 2005
Replies: 22
Views: 2,787
Posted By troupm
Re: Number Game: '81'

I dig. Still, it's rewarding to pull a good idea from the aether, even if only to find out that it's been popular and remained difficult to solve, no?
Forum: Geeks' Lounge Nov 14th, 2005
Replies: 22
Views: 2,787
Posted By troupm
Re: Number Game: '81'

I should have mentioned that the first nine numbers are placed randomly...
Forum: Geeks' Lounge Nov 13th, 2005
Replies: 22
Views: 2,787
Posted By troupm
Re: Number Game: '81'

Mia Culpa- poor form.
Forum: Geeks' Lounge Nov 13th, 2005
Replies: 11
Views: 2,683
Posted By troupm
Re: Logic Puzzle discussion

Interesting- I had never heard of Sudoku puzzles before. Perhaps the concept is more challenging than I had thought. Thanks for the reply.
Forum: Geeks' Lounge Nov 13th, 2005
Replies: 11
Views: 2,683
Posted By troupm
Re: Logic Puzzle discussion

This little guy just presents the scenario and enforces the rules. I honestly don't know if it's easy or hard to solve, but it should always be possible to fill the grid with a little planning. I did...
Forum: Geeks' Lounge Nov 13th, 2005
Replies: 11
Views: 2,683
Posted By troupm
Help Re: Logic Puzzle discussion

This may be an oldie, but it's one of my favorites:

Standing ankle deep in the snow, you find youself in front of a small cabin. There are no windows, and the structure is shut tight. On the outside...
Forum: Geeks' Lounge Nov 13th, 2005
Replies: 11
Views: 2,683
Posted By troupm
Help Re: Logic Puzzle discussion

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...
Forum: Geeks' Lounge Nov 13th, 2005
Replies: 22
Views: 2,787
Posted By troupm
Number Game: '81'

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...
Showing results 1 to 19 of 19

 
All times are GMT -4. The time now is 2:06 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC