Microsoft Visual Basic 6.0 for PC Logo

Related Topics:

A
Anonymous Posted on Feb 03, 2014

How to make a horoscope code to visual basic 6.0

1 Answer

Mohit Shrivastava

Level 2:

An expert who has achieved level 2 by getting 100 points

Hot-Shot:

An expert who has answered 20 questions.

Corporal:

An expert that has over 10 points.

Mayor:

An expert whose answer got voted for 2 times.

  • Expert 43 Answers
  • Posted on May 08, 2014
Mohit Shrivastava
Expert
Level 2:

An expert who has achieved level 2 by getting 100 points

Hot-Shot:

An expert who has answered 20 questions.

Corporal:

An expert that has over 10 points.

Mayor:

An expert whose answer got voted for 2 times.

Joined: Oct 15, 2009
Answers
43
Questions
1
Helped
9758
Points
110

Private Function Horoscope(pBirthDate As Date) As String
Dim pMonth As Integer
Dim pDay As Integer
pMonth = Month(pBirthDate)
pDay = Day(pBirthDate)
If pMonth = 3 Then
If pDay >= 21 Then 'And pDay <= 31 Then
Horoscope = "Aries"
Else
Horoscope = "Pisces"
End If
ElseIf pMonth = 4 Then
If pDay >= 20 Then 'And pDay <= 30 Then
Horoscope = "Taurus"
Else
Horoscope = "Aries"
End If
ElseIf pMonth = 5 Then
If pDay >= 21 Then 'And pDay <= 31 Then
Horoscope = "Gemini"
Else
Horoscope = "Taurus"
End If
ElseIf pMonth = 6 Then
If pDay >= 22 Then 'And pDay <= 30 Then
Horoscope = "Cancer"
Else
Horoscope = "Gemini"
End If
ElseIf pMonth = 7 Then
If pDay >= 23 Then 'And pDay <= 31 Then
Horoscope = "Leo"
Else
Horoscope = "Cancer"
End If
ElseIf pMonth = 8 Then
If pDay >= 23 Then 'And pDay <= 31 Then
Horoscope = "Virgo"
Else
Horoscope = "Leo"
End If
ElseIf pMonth = 9 Then
If pDay >= 23 Then 'And pDay <= 30 Then
Horoscope = "Libra"
Else
Horoscope = "Virgo"
End If
ElseIf pMonth = 10 Then
If pDay >= 23 Then 'And pDay <= 31 Then
Horoscope = "Scorpio"
Else
Horoscope = "Libra"
End If
ElseIf pMonth = 11 Then
If pDay >= 22 Then 'And pDay <= 30 Then
Horoscope = "Sagittarius"
Else
Horoscope = "Libra"
End If
ElseIf pMonth = 12 Then
If pDay >= 22 Then 'And pDay <= 31 Then
Horoscope = "Capricorn"
Else
Horoscope = "Sagittarius"
End If
ElseIf pMonth = 1 Then
If pDay >= 20 Then 'And pDay <= 31 Then
Horoscope = "Aquarius"
Else
Horoscope = "Capricorn"
End If
Else 'If pMonth = 2 Then
If pDay >= 19 Then 'And pDay <= 29 Then
Horoscope = "Pisces"
Else
Horoscope = "Aquarius"
End If
End If
End Function

5 Related Answers

Anonymous

  • 7 Answers
  • Posted on Jan 14, 2009

SOURCE: cannot install

Hey,u need first to install that, IIS(Internet Information Service) component because this is web technology.

Ad
smb_146

Syed Bilal

  • 252 Answers
  • Posted on Dec 05, 2009

SOURCE: visual basic

chck oout these pages
http://www.vbcode.com/

http://msdn.microsoft.com/en-us/library/aa984064%28VS.71%29.aspx

http://www.vbcodesource.com/vbLinks.php

http://www.a1vbcode.com/

http://www.codeguru.com/vb/


Anonymous

  • 1 Answer
  • Posted on Feb 23, 2011

SOURCE: how to run matlab .m files from visual basic 6

can you help me how to solve the videp basic problem in matlab?

Anonymous

  • 1 Answer
  • Posted on Sep 20, 2012

SOURCE: how to make a horoscope code to visual baisc 6.0

How to make horoscope using visual basic 6.0?

Anonymous

  • 38 Answers
  • Posted on Oct 19, 2012

SOURCE: what is the code for round robin in visual basic 6.0

That's not a question easily answered in the sense of a "language" (like VB, C or otherwise).

Round-Robin is actually a term for sharing a "time-slice"...

Meaning.. lets say there are 3 parties... each want 70% utilization of the processor (or time)... But.. obviously... 100% is all you have.

So.. How do you "fairly" share the time? There's a couple of ways, round-robin (for interrupts for example on x86 based processors) is a method.

What it means is-- regardless of how much time you want, or need.. the kernel (Operating system) will give you so long to get "whatever you are doing"...Done.

If you don't get it done in time... the next guy gets to do his job..for a similar amount of time... and the next guy.. and then..say-- back to you.

Hence..Round-Robin.. we all get a slice, and if we don't get it done in-time... next time around we'll another slice to get more work done... maybe the other 1 or 2 or N guys... are done, and we'll get move time..maybe others have joined in, and we'll get less-- its to-be-determinned at run-time...

That's not a code answer... I know.. but the question was a little abstract, if you can be more specific (code wise), I may be able to give more of an example..but for now, explaining WHAT it is may be more useful.

Ad

Add Your Answer

×

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

2helpful
1answer
2helpful
1answer

Can give an example of search command code?in visual basic 6.0

If you click on the following link you will find tutorial of Visual Basic and You will als so find example commands including some examples for parameter searches http://www.daniweb.com/software-development/visual-basic-4-5-6/threads/109244

hope it helpss rick

If you need further help, reach me via phone at https://www.6ya.com/expert/richard_b70d968cd1a1d293

0helpful
1answer

How to download visual basic 6 portable??

click on the link below to download it!
http://www.mediafire.com/?8zukiyimjkt
2helpful
2answers

How to try the visual basic 6.0 what website

Hey
Download the latest version here

Inside the new version should be the option to work under the same conditions as visual basic 6 (without .net and other components).

Look for preferences or options
Hope this helps
-Ryan
0helpful
1answer

How to install microsoft visual basic 6.0

  • Open the Web page for Microsoft Visual Studio on your computer.
  • 2 Start the download by clicking the "Download" button. Put the file somewhere where you can find it easily, such as your desktop.
  • 3 Locate the setup file "vbrun60sp5.exe" on your hard drive.
  • 4 Double click the setup file to start the installation wizard.
  • 5 Read the license agreement and click the "accept" box to begin installation.
  • 6 Follow the instructions provided by the installation wizard to install the program.


  • Read more: How to Install Visual Basic 6 ' eHow.com http://www.ehow.com/how_5896501_install-visual-basic-6.html#ixzz16RqHSTGS
    76helpful
    3answers

    Product id of visual studio 6 enterprise edition

    Hi,

    you can use dummy product id:
    112-11111 (second box as many 1's as can)

    Thanks.
    0helpful
    1answer

    Visual basic 6.0

    just go to this website that will suggest u that which is the best book for visual basic 6.0

    http://www.amazon.com/Learn-Program-Visu...

    http://www.amazon.com/Visual-Basic-6-Scr...


    good luck

    0helpful
    1answer

    Connection of Oracle9i with Visual Basic 6

    if oracle scott
    password tiger
    if not acccepted go to control panel ,administrative services put
    oracle services manually & start it.
    ur's kishore chowdary.(+919441133420)
    Not finding what you are looking for?

    656 views

    Ask a Question

    Usually answered in minutes!

    Top Microsoft Computers & Internet Experts

    Grand Canyon Tech
    Grand Canyon Tech

    Level 3 Expert

    3867 Answers

    k24674

    Level 3 Expert

    8093 Answers

    Brad Brown

    Level 3 Expert

    19187 Answers

    Are you a Microsoft Computer and Internet Expert? Answer questions, earn points and help others

    Answer questions

    Manuals & User Guides

    Loading...