Most Selected Forwards
Administrator's Request:
Till date we have received 299 Subscription confirmations out of the 431 odd posts (Current). From MSF#15 no more Posts to the Non Subscribers will be sent. To save our time and effort please send in ur Subscriptions at the Earliest. All those who have already sent the Subscriptions should also send the Confirmations. The inconvenience (!?!) caused is Regretted.
|
FUN STUFF :~)) |
|
|
GAG-BAG ;-|) |
|
|
NEW Hindi Section |
|
|
TechnicalZone ;=|) |
|
|
NEW Programmers Section |
|
As is evident from the Mails received most of the subscribers' fall in the "Software Developers Category". So we are starting a column in this MSF which will contain some useful and Technical Information for the Developers.
Kindly send in Mails indicating the intents to receive such articles (Others WILL NOT receive any such articles). In these mails please send in ur main Interest Language/Environment to Help us categorize this Section further.
P.S.: Will u like to receive this Weekly Mail as a downloadable Attachment too? Please Send ur intents as soon as possible to msfca@hotmail.com with Subject as "Attach It" for Yes and "Don’t Attach" for No
P.S.: The Non Subscribers will not be sent the Next Issue
Friends, due to some Constraints I will not be able to send the 16th MSF as a separate one
(After all I am on a Project too, yaar). Please bear with me!!! I Promise to send the 17th "before time". So here are the 15th and 16th MSFs (Most Selected Forwards):Fun Stuff
:~))Blonde Humor
There were 11 people hanging onto a rope that came down from a plane. Ten were blonde, and one was a brunette.
They all decided that one person should get off because if they didn't then the rope would break and everyone would die. No one could decide who should go, so finally the brunette said, "I'll get off."
After a really touching speech from the brunette saying she would get off, all of the blondes started clapping.
Problem Solved.
The Snowstorm
It was snowing heavily and blowing to the point that visibility was almost zero when the little blonde got off work. She made her way to her car and wondered how she was going to make it home. She sat in her car while it warmed up and thought about her situation. She finally remembered her daddy's advice that if she got caught in a blizzard she should wait for a snow plow to come by and follow it. That way she would not get stuck in the snow drift.
This made her feel much better and sure enough in a little while a snow plow went by and she started to follow it. As she followed the snow plow she was feeling very smug as they continued and she was not having any problem with the blizzard conditions.
After quite some time had passed she was somewhat surprised when the snow plow stopped and the driver got out and came back to her car and signaled for her to roll down her window. The snow plow driver wanted to know if she was all right as she had been following him for a long time.
She said that she was fine and told him of her daddy's advice to follow a snow plow when caught in a blizzard.
The driver replied that it was OK with him and she could continue if she wanted but he was done with the Walmart parking lot and was going over to K-Mart next.
Three Sons
There was this little old lady who was nearly blind and she had three sons who wanted to prove which one was the best son to her.
So son #1 bought her a 15 room mansion thinking this would surely be the best any of them could offer her.
Son #2 bought her a beautiful Mercedes with a chauffeur included thinking her would surely win her approval.
Son #3 had to do something even better than these so he bought her a trained parrot that had been training for 15 years to memorize the entire
Bible. You could ask of him any verse in the Bible and the parrot could quote it word for word. What a gift that would be.
Well, the old lady went to the first son and said, "Son, the house is just gorgeous but it's really much too big for me. I only live in one room, and it's much too large for me to clean and take care of. I really don't need the house, but thank you anyway."
Then she confronted her second son with "Son, the car is beautiful, it has everything you could ever want on it, but I don't drive and I really don't like that driver, so please return the car."
Next, she went to son number three and said, "Son I just want to thank you for that most thoughtful gift. That chicken was delicious."
Mental Disorder
A man who had been battling a mental disorder for years finally seemed to have improved to the point where it was thought he might be released. The head of the institution, in a fit of commendable caution, decided, however, to interview him first.
"Tell me," said he, "if we release you, as we are considering doing, what do you intend to do with your life?'
The inmate said, "It would be wonderful to get back to real life and if I do, I will certainly refrain from making my former mistake. I was a nuclear physicist, you know, and it was the stress of my work in weapons research that helped put me here. If I am released, I shall confine myself to work in pure theory, where I trust the situation will be less difficult and stressful."
"Marvelous," said the head of the institution.
"Or else," ruminated the inmate. "I might teach. There is something to be said for spending one's life in bringing up a new generation of scientists."
"Absolutely," said the head.
"Then again, I might write. There is considerable need for books on science for the general public. Or I might even write a novel based on my experiences in this fine institution."
"An interesting possibility," said the head.
"And finally, if none of these things appeals to me, I can always continue to be a teakettle."
Jump
Three patients in a mental institution prepare for an examination given by the head psychiatrist. If the patients pass the exam, they will be free to leave the hospital. However, if they fail, the institution will detain them for five years.
The doctor takes the three patients to the top of a diving board looking over an empty swimming pool, and asks the first patient to jump -
The first patient jumps head first into the pool and breaks both arms.
The second patient jumps and breaks both legs.
The third patient looks over the side and refuses to jump.
'Congratulations! You're a free man. Just tell me why didn't you jump?' asked the doctor.
'Well Doc, I can't swim!'
Arjun being disillusioned & Krishna trying to clear that
Krishna : Apne se badon ke email ka aadar samman karna seekho, Arjun.
Arjun : Main apne hi kul ke aadarniya logon ko junk email kaise bhej sakta hoon, Vasudev ?
Krishna : Is samay yeh tumhare mitra ya shatru nahi hain paarth. Vey keval mail-users hain. Isliye Net- dharm ka paalan karo. Login karo our bhejo junk mail by the dozen - yahi tumhara kartavya hai aur yahee tumhara dharm hai.
Arjun : Hey muraree! ise dekh kar to lagat hai mein software industry hee chod doon.
Krishna : Vats tum mohmaya mein fass gaye ho. Is jagat mein na koi tumhara hai, na tum kisi ke ho. Ye sabhee junk mail mein hee bhejta hoon,tum to ek nimitt matra ho. tum se pahle bhee ye junk mail thee or tumhare baad bhee rahegee. Is mohmaya se ooper utho, karm karo. Danadan junk mail bhejo.
Arjun : Kintu, iska parinam kya hoga, hey Devaki nandan ?!
Krishna : Vijay ya parajay tumhare vash mein nahi hai. Issliye parinam ke bare mein sochna band kar do. Tumhe Guru Dronacharya ne junk-shastra ki siksha dee hai (Netscape messenger mailbox ya MS Exchange) Use nasht mat hone do... jab bhi sensible stuff increase ho jaata hai, prithvi mein mera AOL account khulta hai. Aur main karodon junk mail bhej kar sabko pareshan kar deta hoon.
Arjun : Hey Keshav, Junk mail ka system se kya connection hai ?
Krishna : Junk mail junk mail hi hai, iska hardware se koi naata nahin. Haan yeh alag baat hain ki woh System ko overload kardeta hain.. Disk bhardeta hain.. Tumhara kaam iske baarein mein sochna nahin hain.. Jis tarah se aatma ek sharir ko chod kar doosre mein pravesh karti hai,usi tarah se junk mail bhi system to system travel karta hai.
Arjun : Junk mail ki paribhasha kya hai ?
Krishna : Isse na agni jala sakti hai, na varun bhiga sakti hai, na hi yeh jeeta ja sakta hai na hi haara ja sakta hai. Isse bhejne wale ka swayam Mahadev bhi kuch nahi bigad sakte hain.Junk mail amar hai.
Arjun : Hey Narayan ! Abhi mere saare fande clear ho gaye hain. Yashoda nandan aapne meree aankhe khol dee, nahin to mein is mohmaya mein pad ker saree junk mail khud hee padh leta. And friends.. thats the history of junk mails.. So, don't worry of the pros & cons of sending out junkies.. Tum to bas karm karo!!!!!
Subject: Judge me by the footprints I leave behind.... :~(
A story is told about a soldier who was finally coming home after having fought in Vietnam. He called his parents from San Francisco.
"Mom and Dad, I'm coming home, but I've got a favor to ask. I have a friend I'd like to bring with me." "Sure," they replied, "we'd love to meet him."
"There's something you should know," the son continued, "he was hurt pretty badly in the fighting. He stepped on a land mine and lost an arm and a leg. He has nowhere else to go, and I want him to come live with us."
"I'm sorry to hear that, son. Maybe we can help him find somewhere to live." "No, Mom and Dad, I want him to live with us."
"Son," said the father, "you don't know what you're asking. Someone with such a handicap would be a terrible burden on us. We have our own lives to live, and we can't let something like this interfere with our lives. I think you should just come home and forget about this guy. He'll find a way to live on his own." At that point, the son hung up the phone.
The parents heard nothing more from him. A few days later, however, they received a call from the San Francisco police. Their son had died after falling from a building, they were told. The police believed it was suicide. The stricken parents flew to San Francisco and were taken to the city morgue to identify the body of their son. They recognized him, but to their horror they also discovered something they didn't know, their son had only one arm and one leg. The parents in this story are like many of us.
We find it easy to love those who are good-looking or fun to have around, but we don't like people who inconvenience us or make us feel uncomfortable. We would rather stay away from people who aren't as healthy, beautiful, or smart as we are. Thankfully, there's someone who won't treat us that way. Someone who loves us with an unconditional love that welcomes us into the forever family, regardless of how messed up we are. Tonight, before you tuck yourself in for the night, say a little prayer that God will give you the strength you need to accept people as they are, and to help us all be more understanding of those who are different from us! There's a miracle called -Friendship- that dwells in the heart. You don't know how it happens or when it gets started. But you know the special lift it always brings and you realize that friendship is God's most precious gift! Friends are a very rare jewel, indeed. They make you smile and encourage you to succeed. They lend an ear, they hear a word of praise, and they always want to open their hearts to us.
A BEAUTIFUL STORY:
A woman came out of her house and saw 3 old men with long white beards sitting in her front yard. She did not recognize them. She said "I don't think I know you, but you must be hungry. Please come in and have something to eat."
"Is the man of the house home?", they asked.
"No", she said. "He's out."
"Then we cannot come in", they replied.
In the evening when her husband came home, she told him hat had happened. "Go tell them I am home and invite them in!"
The woman went out and invited the men in. "We do not go into a House together," they replied.
"Why is that?" she wanted to know.
One of the old men explained: "His name is Wealth," he said pointing to one of his friends, and said pointing to another one, "He is Success, and I am Love." Then he added, "Now go in and discuss with your husband which one of us you want in your home."
The woman went in and told her husband what was said. Her husband was overjoyed. "How nice!!", he said. "Since that is the case, let us invite Wealth. Let him come and fill our home with wealth!"
His wife disagreed. "My dear, why don't we invite Success?"
Their daughter-in-law was listening from the other corner of the house. She jumped in with her own suggestion: "Would it not be better to invite Love? Our home will then be filled with love!"
"Let us heed our daughter-in-law's advice," said the husband to his wife "Go out and invite Love to be our guest."
The woman went out and asked the 3 old men, "Which one of you is Love? Please come in and be our guest."
Love got up and started walking toward the house. The other 2 also got up and followed him. Surprised, the lady asked Wealth and Success:
"I only invited Love, Why are you coming in?"
The old men replied together: "If you had invited Wealth or Success, the other two of us would've stayed out, but since you invited Love, wherever He goes, we go with him. Wherever there is Love, there is also Wealth and Success !!!"
Where there is pain, we wish you peace and mercy.
Where there is self-doubting, we wish you a renewed confidence in Your Ability to work through them.
Where there is tiredness, or exhaustion, we wish you understanding, patience, and renewed strength.
Where there is fear, we wish you love, and courage.
Modern Hindi Shero-Shayari
tum aa gaye ho ;noor aa gaya hai
chalo teeno movie chalen
jee chahata hei kee tere nazuk honthon ko choom lu
jee chahata hei kee tere nazuk honthon ko choom lu.
magar teri bahti hui naak ne iraada badal diya
Maine tujhe sau-sau khat likhe,
tune kisi ka bhi jawab nahi diya;
kahin tere dil mein raddi ki tokri to nahi?
Badi der se jinki zulfon pe nazren jamaye baithe the
Badi der se jinki zulfon pe nazren jamaye baithe the
Paas jakar dekha to sardarji nikla (wah wah).
Jee karta hai ki teri nili nili aankhon main dub jaoon
Jee karta hai ki teree nili nili aankhon main dub jaoon
Splash !
Yeh aankhen hai ya neeli jheel?
Yeh aankhen hai ya neeli jheel?
So? What's the big deal?
#3
Geeky: Why is it that when you're driving and looking for an address, you turn down the volume on the radio?
Please send in ur answers to
msfca@hotmail.com with Subject as "GAG-BAG" (Exactly and nothing else)
Answers to Previous GAG Bags:
#1
Geeky: "I went to a job interview the other day, the guy asked if I had any questions. I said yes, just one, if you're in a car traveling at the speed of light and you turn your headlights on, does anything happen? He said he couldn't answer that. I told him sorry, but I couldn't work for him then."
Freeky: (Sender: Sangeetha <sangeetha@wipsys.soft.net>)
* You wake up with a start !
(You only be dreaming - travelling in a car at the speed of light !!!)
Techie: (Sender: NONE)
#2
Geeky: If nothing ever sticks to TEFLON, how do they make TEFLON stick to the pan?
<NO RESPONDERS YET!!! : lagta hai sab so gai hain>
Futura:
Next Topic HackingNEW
In this Series the First Article that we are covering is:|
Table Of Contents |
|
What Compression is? (MSF#12) Huffman Encoding (MSF#14) LZW (Current Issue) RLE Arithmetic Prologue… |
Four of Seven…
IV) LZW(Lempel Ziv Welch)
A) Encoding using LZW
LZW is a hashing algorithm, it is based on the idea of a dynamic vocabulary, shorthand for frequently repeated patterns. It is one of the tougher implementations along with arithmetic (which I'll get into later). This takes care of pesky patterns in a very creative manner as you'll see. This algorithm also by its nature is readily recompressed by a huffman or simple code table optimization.. Here we go...
LZW is more readily explained by an example, it is quite simple once you get the hang of it. We want to compress 'acbcbacbcbd' into its smallest form. First it becomes apparent that there are only 4 characters 'a','b','c',and 'd' so we add them to our chain table (the list of shorthands). To make(Note the -1 is just an end of table signifier):
|
Number |
0 |
1 |
2 |
3 |
4 |
|
Contents |
a |
b |
c |
d |
-1 |
Now to start the encoding process. We read the first character, it is an 'a'. Now we look for it in the table, it is already there, so we then read the next character, it is a 'c'. We now proceed to look for 'ac' in the table, it isn't there so we add it. We then write a 0 to the output because it was the first character in our added chain:
|
Number |
0 |
1 |
2 |
3 |
4 |
5 |
6 |
|
Contents |
a |
b |
c |
d |
-1 |
ac |
-1 |
Output: 0
Now, we look at the LAST character we read, it was a 'c', and is already in the table. We read the next character and it is a 'b', so we look for 'cb' in the table. It isn't there so we again, add it. We write a 2 to the output since the first character in this new search chain was a 'c'.
|
Number |
0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
|
Contents |
a |
b |
c |
d |
-1 |
ac |
cb |
-1 |
Output: 0,2
Now we look at the last character we read, it was a 'b' and is already in the table, so we read the next character. It is a 'c', so we look for 'bc' in the table.. Not there, so we add it and write a 1 to output since the first character in the added chain is symbolized by a 1 (from the number lookup).
|
Number |
0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
|
Contents |
a |
b |
c |
d |
-1 |
ac |
cb |
bc |
-1 |
Output: 0,2,1
The last character read was a 'c', but it is already in the search table, so we read the next character, it is a 'b'. So we look for 'cb' in the search table.. Hmm. it is already there. Reading the next character an 'a', we then look for a 'cba'. There is none, so we add it to the table and write a 6 to symbolize the first 2 character 'cb'(of 'cba'.. Make sure you get this..
|
Number |
0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
|
Contents |
a |
b |
c |
d |
-1 |
ac |
cb |
bc |
cba |
-1 |
Output: 0,2,1,6
The last character read was an 'a', but is already in the search table, so we look at the next character 'c'. 'ac' is also in the search table, so we read the next character, a 'b'. 'acb' is NOT in the table so we add it, and write a 5 to output since 'ac' are the first 2 characters of the added search string.
|
Number |
0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
|
Contents |
a |
b |
c |
d |
-1 |
ac |
cb |
bc |
cba |
acb |
-1 |
Output: 0,2,1,6,5
The next chain 'bcb' we add and write 7 to the output. The last chain 'bd' we add and write 1 to the output. Finally we add a 3 to the output for 'd' the last character in the file. This leaves us with the final search table and output:
|
Number |
0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
|
Contents |
a |
b |
c |
d |
-1 |
ac |
cb |
bc |
cba |
acb |
bcb |
bd |
Output: 0,2,1,6,5,7,1,3,4
Now you may ask, what is going on here.. Well in pseudo-code:
1: Initialize all startup tables
2: [c] <--- Blank temp var
3: K < - the next symbol from the input data
4: If [c]+K is present in search table??
{
then [c] < - [c]+K
Goto 3
}
{else: add [c]+K to table;
Output code for [c] to table;
[c] < - K;
Goto 3;
}
When you have completed this process be sure to save BOTH the output codes and the alphabet section of the LZW table (another option would be to just initialize the alphabet with all 256-characters before compression, so that you don't have to save a dynamic one to the file). Now keep in mind by the alphabet I don't mean the entire search table, I just mean the section that had 'abcd' (for the previous example). Also note that 8-bits is not always a preferable bit size for your numeric output. Depending on the number of entries in your table you may chose different bit sizes. Also keep in mind that a large bit size (ie 16-bits per output code), could be countered by a huffman backend.. This is a very effective implementation. Also keep in mind that your search table MAY fill up during compression and overflow. A good fix for this would be to detect when it is full, and to write some sort of EOF(to tell the decompressor where you reinited) code to the file, reinitialize all the tables, and continue where you left off.
B) Decoding using LZW
To decompress the data you must first read your alphabet(or if you had a fixed table, reinitialize it with all 256-characters). So for our last example, we would now have:
Input Chain: 0,2,1,6,5,7,1,3,4
|
Number |
0 |
1 |
2 |
3 |
4 |
5 |
|
Contents |
a |
b |
c |
d |
-1 |
.. |
(NOTE: Remember that in the compression process we will (nor did we) never meet a sequence of characters in which we can't convert into a chain)
We need 2 variable to hold the current + previous output codes. Reading the first code, a 0. We take the corresponding sequence from the table, in this case, an 'a'. We write this to the output chain. We take the second code, a 2, which is a 'c', and again write it to the table. Now we append this to the previous character to make 'ac'. We add this 'ac' to the table to get:
|
Number |
0 |
1 |
2 |
3 |
4 |
5 |
6 |
|
Contents |
a |
b |
c |
d |
-1 |
ac |
-1 |
Output: 'ac'
(NOTE: be sure to keep position after the alphabet in the output table a -1 , since it was a -1 in the input table)
Next, we read code 1, it corresponds to 'b', we again append it to the last character read to make 'cb'. We put this in the table too, and write a 'b' to the output string:
|
Number |
0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
|
Contents |
a |
b |
c |
d |
-1 |
ac |
cb |
-1 |
Output: 'acb'
The next code is 6, which stands for 'cb'. Now we take all but the last character of 'cb', and append it to the last read character to get 'bc' which we add to the table:
|
Number |
0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
|
Contents |
a |
b |
c |
d |
-1 |
ac |
cb |
bc |
-1 |
Output: 'acbcb'
The next code is a 5, which stands for 'ac', so we take all but the first letter of this chain and append it the the last read sequence ('cb') to get 'cba'.. We add this to the table, and continue as shown to get:
|
Number |
0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
|
Contents |
a |
b |
c |
d |
-1 |
ac |
cb |
bc |
cba |
-1 |
Output: 'acbcbacbcbd'
Perfect right? Wrong, there are minor problems, exceptions to the decompression process. For instance imaging that you have a 4 letter alphabet (like the above), but you're compressing a repititive chain of say 'bbb..'. The output would be a 1,5 (1 for the b,5 for the 'bb'). Well when the decompressor sees 1 it writes b, but when it sees 5, this value isn't in the table.. What should it do? So you must generate a 'bb' for #5, but how? Simply take the first character of the the last chain and append a 'b'(this 'b' comes from the full last read element, correct?) to it. This leaves you with 'bb' (which you store to element 5 of the search table), which allows the decompression process to continues normally.
In Pseudo-Code this would look something like:
1: Initialize all the strings (load them,etc)
2: [code]=1st code;
3: Output the first chain for [code]
4: [old_code]=[code]
5: [code] ;Next code in the stream
6: if [code] is in table
{ then: create chain for [code] to output
[.....] ; compilation for old
K < - first symbol for [code]
Add [...]+K to table;
[old_code]=[code]
}
{ else: [...] ;compilation for old
K= first symbol of [...];
Append [...] + K to output and it to search table.
[old_code]=[code]
}
7: Goto 5;
That's it! If you want more descriptive code, a full implementation can be found here..
C) Example Code
V) RLE (Run Length Encoding)
(To Be Continued…)
If u're EXPERT! in VB (though Non Experts also may TRY it out), try to send me the
How to Call MS-Access Macros from VB?
(P.S.: I want a working Program)
The best Solution will get published in this Weekly with a special Thanks Note. Please send your personal details (U Know what relevant to send) with this Code. Mail ur Code to
msfca@hotmail.com with Subject as "Participation Code" (Exactly, without the quotes, silly)(
For Generally whole of the Public! Especially the VB FANS ;-)))Techies - Printing to MS-DOS Window
I would like to create a module that has no visual objects. It just prints to a MS-DOS window and then exits. Is this possible?
Unfortunately, the only place that VB can print to is to windows and controls on the screen (You can print to the debug window within Visual Basic, but not outside of the debugger). Add that to the fact that Visual Basic applications are Windows applications, which cannot be run from a DOS session. You will get a message indicating that the application is Windows-based if you try to run it from a DOS prompt
Q & A - Loading Database Name at Runtime
I have used several ADO data controls as well as one data environment designer in my app. This appears to "hardcode" the path to my database forcing me to install my app on a user's computer in a directory structure similar to that which I have on my computer at design time. Is there some way to set the connectionstring and recordsource of these controls at runtime to something like App.path & "___.mdb"? Then the database path will be more generic. Or is this a drawback when using these rapid development tools?
The accepted way to do this is to store the database path in the user's registry. You can do this with most installation programs when the software is installed. You use the SaveSetting function to store a value to the registry, and the GetSetting function to retrieve the value. You can also use the API calls to write to other sections of the registry. Using the registry allows you to avoid hard-coding pathnames for databases right into your application.
Techies - Apparent Performance Problems
Could anybody tell me why this takes a 150Mhz Pentium with 64Mb of RAM just to run fast enough to catch MCI time output
Private Sub Rply_Timer_Run()
Dim ReplayTime As Long
Dim CTime As Long
Dim iTemp As Long
Dim iLong As Long
Dim j As Integer
ReplayIndex = 0
BaseData = 1000000000
Do While Rply = True
ReplayTime = SaveData(ReplayIndex).CDTime_Data
iLong = frmCD2.MMControl1.Position
iTemp = iLong And &HFF00 \ &H100
CDTime = iTemp / 10
CTime = CStr(iTemp) / 10
frmCD2.lblCDTime.Caption = Format(CTime / 100, "0.000")
frmCD2.lblCDTime.Refresh
If (ReplayTime >= CDTime And ReplayTime <= (CDTime + 10)) Then
OutData = SaveData(ReplayIndex).In_Out_Data
ReplayIndex = ReplayIndex + 1
OutputData = OutData - BaseData
OutputDataA = (CLng(OutputData) \10000)
OutputDataB = (CLng(OutputData \ 1000)) - (CLng(OutputDataA * 1000))
OutputDataC = (CLng(OutputData)) -OutputDataA * 1000000) + CLng(OutputDataB * 1000))
OutputDataA1 = CStr(OutputDataA)
OutputDataB1 = CStr(OutputDataB)
OutputDataC1 = CStr(OutputDataC)
PCDioOutPortA1 (OutputDataA1)
PCDioOutPortB1 (OutputDataB1)
PCDioOutPortC1 (OutputDataC1)
j = j + 1
Else
j = j + 1
End If
If j = 100 Then
DoEvents
j = 0
End If
Loop
End Sub
It sounds like you may need to put in a few DoEvents statements in your code. Even under Visual Basic 4.0, 32-bit, I've found that a DoEvents placed in the middle of some long-running or intensive code allows VB to catch up on processing Windows events. I would suggest putting the DoEvents immediately following the Refresh statement and any other statement that might cause a Windows event to occur
Request from the Administrator
"SUBJECT"
Whenever and wherever mentioned "the Subject in the Mail should have…", please adhere to the Exact wordings (Try Copying and Pasting). This is very important as we have configured the mailing system to transfer these specific mails to some folders and as there are 50+ mails arriving each day, the relevant mail may get lost
Compulsion or Choice:
Also, those of you (I’ve received only one Complaint from a LOTUS Notes Mailing system User) have been not receiving the MSFs in proper format (All mails in HTML format should appear as a Web Page and not with the HTML Syntax's) please check in your Mailing Systems to receive and send mails in HTML Format instead of Test Only format. Those , who cannot do this either through compulsion or by choice please go a step further and copy all the contents of the mail starting from <HTML> tag to the </HTML> tag and paste into the Notepad. Save the File with the extension: html. Close the Notepad file and Open this Recently created html file by double-clicking and bingo! u r in touch with us
Again thanx and …
Vikas Gupta
Hello friends,
It seems that some "New" Friends don't know about MSF !
"Ye MSF nahi jaanta...!" as said in One of the Indian (Hindi) Advt.
So Lets break the impasse...
MSF is a Free Weekly Mail containing the Jokes, "Interesting Thingees" as it is called. Its basically an Abbreviation of "Most Selected Forwards". B'coz nowadays all the Internet-ians (i suppose that's what we're called !) forward the mails b'coz its so time consuming to write personal mails to friends (so as to keep in contact and above all to indicate they they're still live and kicking). I think all of u will agree with me in that (though one of my closest friend don't agree to it, but i know that exceptions are always there, and she is an exception, that's why she is 'so' close!).
With the 11th MSF we started with a new Section For the Techies, by the Techies, containing the Technical Information of one of the most popular languages of our times (!?!) Visual Basic (Those who differ in opinion may be considered an exception and as said above, Exceptions are always ...). Though this Techies Section will not only be VB infested b'coz it depends upon the contributors to this Weekly what good to send...
So Keep forwarding mails so as to include in one of the Editions of MSF...
To become a registered contributor to MSF please send an EMPTY MAIL with Subject as "Contributor" without Quotes. The benefits of becoming the Registered Contributor will be evident in the due course of time !!! Rules, as everywhere, do strictly apply !
To become a regular subscriber to each MSF send an Empty mail with Subject as "Subscribe" without Quotes
Mail to:
msfca@hotmail.comThanks
Bye for now,
Vikas Gupta
Email:
vikasjee@hotmail.comWeb:
http://go.to/CyberADue to the Nature of Contents and the intent of this FREE Weekly the Articles or for that matter, any thing appearing in this Weekly the Administrator or the Author or for that matter, anybody cannot be held liable by anybody for any contentious or non-contentious issues