Results 1 to 12 of 12

Thread: Classes

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2002
    Posts
    37

    Classes

    Can someone pls help me to understand how I am to make this work?

    Ty
    Attached Files Attached Files

  2. #2

    Thread Starter
    Member
    Join Date
    Nov 2002
    Posts
    37

    Question

    Hello everyone........Fisrt I wanted to thank you all for helping with my last assignment. I am now working on this new one and I have the class code mostly done but I am having some trouble with a few things....Would anyone be interested in looking at what i have done so far and maybe give me a push in the right direction?

  3. #3
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    well , it's better to send the ziped file. a mean what you've done till now

  4. #4
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    done but without classes , can you tell me some info about the classes you want to create .
    Attached Files Attached Files

  5. #5

    Thread Starter
    Member
    Join Date
    Nov 2002
    Posts
    37
    First of all I wanna kiss ya!!!

    I will send you what my Instructor sent out to me this afternoon as an example of how to use the class.....he said there should be one Class.......actually I will send you the Class I made and Zip up the file my Instructor sent out and I will most definatley "sp" see what I can do with the finished project you sent. THANK YOU!!!!



    Public Class CNames
    'Sandwhich Prices
    Private Const mc_decSOnePrice As Decimal = 3D
    Private Const mc_decSTwoPrice As Decimal = 3.5D
    Private Const mc_decSThreePrice As Decimal = 3.95D
    Private Const mc_decSFourPrice As Decimal = 4.5D

    'Sandwhich Names
    Private Const mc_sSanName1 As String = "Glinda, the Good Sanwhich"
    Private Const mc_sSanName2 As String = "The Wicked Sandwitch of the west"
    Private Const mc_sSanName3 As String = "Hagatha"
    Private Const mc_sSanName4 As String = "Burt"

    'Bread Prices

    Private Const mc_dBreadOnePrice As Decimal = 0.25D
    Private Const mc_dBreadTwoPrice As Decimal = 0.55D
    Private Const mc_dBreadThreePrice As Decimal = 0.4D



    'Bread Names
    Private Const mc_sBreadOne As String = "white"
    Private Const mc_sBreadTwo As String = "Wheat"
    Private Const mc_sBreadThree As String = "Rye"



    'Cheese Price
    Private Const mc_decCheesePrice As Decimal = 0.75D

    'Extra Cheese Price
    Private Const mc_decExtraCheese As Decimal = 0.75D

    'Condiments
    Private Const mc_decCondimentPrice As Decimal = 0.1D

    'Condiment Names
    Private Const mc_sConName1 As String = "Tomatoes"
    Private Const mc_sConName2 As String = "Pickles"
    Private Const mc_sConName3 As String = "Onions"
    Private Const mc_sConName4 As String = "Anchovies"


    Public ReadOnly Property sSandwhichName(ByVal pv_iID As Integer, ByVal pv_iID As String) As Integer
    Get
    If pv_iID = 1 Then



    End If
    End Get
    End Property



    End Class
    Attached Files Attached Files

  6. #6
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Hi , thanx for the kiss
    I was away for the last days .Did I promise to send you my class? I guess so
    here you go , I coded it myself and I want everyone give it a look and send me back any comments coz this is my forth class.

    If you got confused of any part just show me that line .
    Have Fun.
    Pirate

  7. #7
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    I always forget the attach file
    Attached Files Attached Files

  8. #8

    Thread Starter
    Member
    Join Date
    Nov 2002
    Posts
    37
    Hey!!!

    Thank you so much ......this helped me tremendousley!!

  9. #9
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    how was your assignment???
    good luck

  10. #10

    Thread Starter
    Member
    Join Date
    Nov 2002
    Posts
    37

    Thumbs up

    I got an A!! Thank You so much!!!

  11. #11
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    happy to hear that.

  12. #12

    Thread Starter
    Member
    Join Date
    Nov 2002
    Posts
    37

    Exclamation Help me again?

    Pirate......

    Was wondering if you would be willing to help me out again? I am truly stuck......and I am desperate for some help.

    Thank You

    Please reply

    Nicky

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width