Im having a strange problem here. When im reading from my db in my perl script, everything goes fine. However when I write to the db, the perl script goes from 1% CPU load to 60% CPU load, and stays there. This happens every now and then so not every time when writing to the db. What could cause...
i have written the following PHP function that masks a string with ***'s and then unveils 1/3 of its original letters to form a hint:
$length = strlen($answer);
$hint = "";
for ($x=0;$x<$length;$x++){
$hint .= "*";
}
for ($x=0;$x<($length/3);$x++){
$ran = rand(0,$length-1);
$hint[$ran] =...
I have the following code
Dim objFSO As FileSystemObject
Dim objTS As TextStream
Dim strPath As String
Dim strLine As String
Set objFSO = New FileSystemObject
strPath = "c:\vb\files.txt"
Set objTS = objFSO.OpenTextFile(strPath, ForReading)
Do While objTS.AtEndOfStream = False...
I have a number of objects in my form, lets say they are labels.
label1
label2
label3
label4
label5
i want to change all the labels .caption using a loop:
for x = 1 to 5
label<x>.caption = 'test'
next x
but i dont know how to do this. For example, i tried
for x = 1 to 5
tmp = 'label' + x...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.