Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old July 20th, 2005, 04:17 AM
eurickadennisse eurickadennisse is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Posts: 1 eurickadennisse User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 27 m 5 sec
Reputation Power: 0
Send a message via Yahoo to eurickadennisse
Unhappy help me

can anybody help me make a program in vb6 that can select customers randomly???? please help me......

Reply With Quote
  #2  
Old July 31st, 2005, 06:14 PM
PurpleGerbil PurpleGerbil is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Location: Bradford, West Yorkshire, England
Posts: 11 PurpleGerbil User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 27 m 13 sec
Reputation Power: 0
The customers you are wanting to select, where are they stored?

In a database, text file ?????

how many do you want selecting? etc

Reply With Quote
  #3  
Old July 31st, 2005, 10:19 PM
Slick Willy Slick Willy is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Location: Idaho
Posts: 34 Slick Willy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 h 42 m 14 sec
Reputation Power: 4
Post your code please so we can see what you are trying to do

Reply With Quote
  #4  
Old August 2nd, 2005, 05:59 AM
sheeba's Avatar
sheeba sheeba is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Jul 2005
Posts: 678 sheeba User rank is Corporal (100 - 500 Reputation Level)sheeba User rank is Corporal (100 - 500 Reputation Level)sheeba User rank is Corporal (100 - 500 Reputation Level)sheeba User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Week 3 Days 5 h 8 m
Reputation Power: 5
S Post your code

Reply With Quote
  #5  
Old August 3rd, 2005, 06:04 PM
Paidblow Paidblow is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 37 Paidblow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 h 4 m 3 sec
Reputation Power: 4
An algorith for that would be to assign a number with each entry whether the names are in a db or a file

Then create a sub which generates a random number for extracting the names.

The VB functions for this are:

Randomize

RND

Code:
Int((Límite_superior - límite_inferior + 1) * Rnd + límite_inferior)


Hope it helps.

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingVisual Basic Programming > help me


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT