Click here to Skip to main content
15,921,174 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How to protect a windows service from being SIG-KILL'd, even by Full Control Account? Pin
_Khallaf7-Dec-08 12:55
_Khallaf7-Dec-08 12:55 
GeneralRe: How to protect a windows service from being SIG-KILL'd, even by Full Control Account? Pin
Dave Kreskowiak7-Dec-08 13:06
mveDave Kreskowiak7-Dec-08 13:06 
GeneralRe: How to protect a windows service from being SIG-KILL'd, even by Full Control Account? Pin
Tom Deketelaere8-Dec-08 1:24
professionalTom Deketelaere8-Dec-08 1:24 
AnswerRe: How to protect a windows service from being SIG-KILL'd, even by Full Control Account? Pin
Christian Graus7-Dec-08 11:22
protectorChristian Graus7-Dec-08 11:22 
GeneralRe: How to protect a windows service from being SIG-KILL'd, even by Full Control Account? Pin
_Khallaf7-Dec-08 11:33
_Khallaf7-Dec-08 11:33 
GeneralRe: How to protect a windows service from being SIG-KILL'd, even by Full Control Account? Pin
Christian Graus7-Dec-08 11:48
protectorChristian Graus7-Dec-08 11:48 
QuestionUrgent: RAS COnnection, one problem Pin
Member 21678366-Dec-08 8:50
Member 21678366-Dec-08 8:50 
QuestionRandom number but in increments of X Pin
gerryR.com6-Dec-08 7:24
gerryR.com6-Dec-08 7:24 
Hi all

I'm working on something where a random num is generated between 0 and a user defined number. I need the random numbers to be in increments of 15 instead of 1

e.g. random numbers between 0 and 90 would only be

0 15 30 45 60 75 90

I figure I can do this by generating the random numbers between 1 and 7 for the above example and then substitute:

15 for 1
30 for 2 etc. etc.

But just though I'd ask here in case there's an easier way?

Appreciate a point in the right direction,

rgds
gerryR

Below is my rand function

Private Function genRand(ByVal intX As Integer) 'Function used to generate a random number between 0 and a given number
        Dim intRandNo As Integer
        intRandNo = Int(Rnd() * intX)
        Return intRandNo
End Function

GeneralRe: Random number but in increments of X Pin
Luc Pattyn6-Dec-08 7:50
sitebuilderLuc Pattyn6-Dec-08 7:50 
GeneralRe: Random number but in increments of X Pin
gerryR.com6-Dec-08 8:32
gerryR.com6-Dec-08 8:32 
GeneralRe: Random number but in increments of X Pin
Luc Pattyn6-Dec-08 8:54
sitebuilderLuc Pattyn6-Dec-08 8:54 
QuestionHow to determin The cell and the row user entered info in Datagridview Pin
Silva_A6-Dec-08 6:25
Silva_A6-Dec-08 6:25 
AnswerMaybe Use e.rowindex Pin
David Mujica7-Dec-08 5:15
David Mujica7-Dec-08 5:15 
QuestionHow do Save info from datagridview and textbox in sql 2000 databse Pin
Silva_A6-Dec-08 6:17
Silva_A6-Dec-08 6:17 
QuestionHow do Save info from datagridview and textbox in sql 2000 databse Pin
Silva_A6-Dec-08 6:11
Silva_A6-Dec-08 6:11 
AnswerRe: How do Save info from datagridview and textbox in sql 2000 databse Pin
Mycroft Holmes6-Dec-08 15:16
professionalMycroft Holmes6-Dec-08 15:16 
Questionalphabetical button search Pin
acevedo6-Dec-08 3:03
acevedo6-Dec-08 3:03 
AnswerRe: alphabetical button search Pin
Wendelius6-Dec-08 3:45
mentorWendelius6-Dec-08 3:45 
Questionok how do i add images to a listview from a text file ? Pin
ls780h6-Dec-08 2:51
ls780h6-Dec-08 2:51 
AnswerRe: ok how do i add images to a listview from a text file ? Pin
Wendelius6-Dec-08 3:40
mentorWendelius6-Dec-08 3:40 
QuestionHi help need in .OCX Pin
Senthil S5-Dec-08 22:24
Senthil S5-Dec-08 22:24 
AnswerRe: Hi help need in .OCX Pin
Christian Graus5-Dec-08 22:37
protectorChristian Graus5-Dec-08 22:37 
QuestionBluetooth... Pin
Agus Budianto5-Dec-08 4:43
Agus Budianto5-Dec-08 4:43 
QuestionHow can I add DoubleClick event for a button Pin
Abraham15-Dec-08 4:02
Abraham15-Dec-08 4:02 
GeneralRe: How can I add DoubleClick event for a button Pin
Luc Pattyn5-Dec-08 4:17
sitebuilderLuc Pattyn5-Dec-08 4:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.