11 Replies - 311 Views - Last Post: 06 December 2012 - 03:05 PM Rate Topic: -----

#1 Sand-Man  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 18
  • Joined: 13-November 12

Problem with dot replication.

Posted 06 December 2012 - 08:41 AM

guys im really stuck on how to code something, ive searched every but all i get is stupid answers about SQL replication of databases.Im trying to make a bacterial replication program ( very basic, just a dot,becoming two dots then four dots). also i want to be able to change the time settings i.e. 24 hours in real time is 24 seconds in the program. Please dont say try it yourself, also to keep the replication within a normal form sized page i.e. boundaries.ow us code because im a beginner and i hardly know much about coding just the basics. also if you could keep your answers very instructive as i may not understand you or how to do something. All help is appreciated.

in visual basic 2008

Is This A Good Question/Topic? 0
  • +

Replies To: Problem with dot replication.

#2 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9213
  • View blog
  • Posts: 34,599
  • Joined: 12-June 08

Re: Problem with dot replication.

Posted 06 December 2012 - 08:43 AM

So.. what's the question?
Was This Post Helpful? 0
  • +
  • -

#3 Sand-Man  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 18
  • Joined: 13-November 12

Re: Problem with dot replication.

Posted 06 December 2012 - 01:56 PM

the question is how do i do it :)
Was This Post Helpful? 0
  • +
  • -

#4 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9213
  • View blog
  • Posts: 34,599
  • Joined: 12-June 08

Re: Problem with dot replication.

Posted 06 December 2012 - 02:01 PM

Are you expecting someone to write the code for you?

Start with the screen.. typically grids are good for these.. what are grids? Two dimensional arrays. Any basic 'game of life' in vb.net can tell you how to do that.. or basic graphic tutorial show you how to use the window form's "paint event" to do some drawing.
Was This Post Helpful? 0
  • +
  • -

#5 Sand-Man  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 18
  • Joined: 13-November 12

Re: Problem with dot replication.

Posted 06 December 2012 - 02:06 PM

certainly not my freind. i just dont know where to start mate, im literally a noob in programming. and thanks :)
Was This Post Helpful? 0
  • +
  • -

#6 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9213
  • View blog
  • Posts: 34,599
  • Joined: 12-June 08

Re: Problem with dot replication.

Posted 06 December 2012 - 02:08 PM

I am not sure how to evaluate that. Do you know what an array is? Do you know how to the paint event works? Can you use a timer?
Was This Post Helpful? 0
  • +
  • -

#7 Sand-Man  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 18
  • Joined: 13-November 12

Re: Problem with dot replication.

Posted 06 December 2012 - 02:09 PM

i can use a timer, and i know arrays but not 2D arrays, and i also dont know what a paint event is.
Was This Post Helpful? 0
  • +
  • -

#8 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9213
  • View blog
  • Posts: 34,599
  • Joined: 12-June 08

Re: Problem with dot replication.

Posted 06 December 2012 - 02:12 PM

Okay dokey.. then before you head off on this path it might behoove you to get a better feel for VB.NET... I am not sure if I explain events, arrays, and the graphics object that any of it will make sense or you will get any benefit.
Was This Post Helpful? 0
  • +
  • -

#9 Sand-Man  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 18
  • Joined: 13-November 12

Re: Problem with dot replication.

Posted 06 December 2012 - 02:16 PM

cool, but do you reckon what i want to achieve is actually achievable? and would it take alot of knowledge and code to do it?

btw im sorry if this sounds like i just want to leech free code, but i dont know what else i can do :/
Was This Post Helpful? 0
  • +
  • -

#10 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9213
  • View blog
  • Posts: 34,599
  • Joined: 12-June 08

Re: Problem with dot replication.

Posted 06 December 2012 - 02:19 PM

Quote

cool, but do you reckon what i want to achieve is actually achievable?

Yes.. I've done it quite a few times before - example with the conway 'game of life'.

[quote]and would it take alot of knowledge and code to do it?
It takes more than none, right? I mean I gave you a list of keywords to read up on... so while it doesn't use super complex concepts it does require being familiar with programming and the language you are using.

Quote

btw im sorry if this sounds like i just want to leech free code, but i dont know what else i can do :/

... pick up a book on vb.net and start learning?
Was This Post Helpful? 1
  • +
  • -

#11 Sand-Man  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 18
  • Joined: 13-November 12

Re: Problem with dot replication.

Posted 06 December 2012 - 02:22 PM

ok then, ill try some stuff that you suggested. thanks for your help
Was This Post Helpful? 0
  • +
  • -

#12 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9213
  • View blog
  • Posts: 34,599
  • Joined: 12-June 08

Re: Problem with dot replication.

Posted 06 December 2012 - 03:05 PM

As an example - with thirty minutes and no project I was able to crank out the game of life I was talking about.

Attached Image

https://en.wikipedia...7s_Game_of_Life

See once you have a language and some understanding on programming concepts - a project or unfamiliar language becomes less of a hindrance and just an annoyance.
Was This Post Helpful? 1
  • +
  • -

Page 1 of 1