Hi, I'm fairly new to VB6. Although I really like the language I am a bit stuck with a problem that I have come across.

I want to create 6 random numbers using the Rnd function, they have to be between 1 and 30 (whole numbers) and they all have to be different. I have some code but it doesn't really work.
Any help would be greatly appreciated.

Hi,

Can you post your code here..?

Regards
Veena

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.