A Few More Questions

Discussion in 'Programming General' started by 0h n035, May 6, 2008.

A Few More Questions
  1. Unread #21 - May 22, 2008 at 5:31 AM
  2. 0h n035
    Joined:
    Feb 1, 2007
    Posts:
    163
    Referrals:
    0
    Sythe Gold:
    0

    0h n035 Active Member

    A Few More Questions

    Bummer didn't work... But there is some good news... I was fiddling around with some form settings... And I got SetParent to work :D That's that question gone :)

    And also, I think I've answered done of my own questions up there. Just wanna know if it's right. The question was:

    In the code above, why does it have (0) and (1)? My guess: When it splits it it adds the index stuff.

    Ex: You've got "Hello;Gday". You call that strSplit. You then use:
    Splitted() = Split(strSplit, ";")

    It then makes it so Hello becomes Splitted(0) And Gday becomes Splitted(1). So yeah, my guess is it indexs each split. Am I right?

    EDIT: I found out it was the SetTransparency code that stuffed up the SetParent stuff. Is there any other way to add transparency to my form?

    EDIT2: Also, does anyone have the Full Version of the Latest Chameleon Button thing. In the demo, Galaxy looked really nice, but I've only got up to KDE 2. I also noticed there was a Chameleon Frames one aswell. If anyone has the full version of either of these (Latest version Pl0x), please let me know.

    EDIT3: ANOTHER Problem. I get: Sub or Function Not Defined on:

    If IsFound(HTML, "Not Found")

    lblRank = FormatNumber(GetRank(Index + 1), 0)
    lblXP = FormatNumber(GetXP(Index + 1), 0)
    lblXPLvl = FormatNumber(GetXPNeeded(Val(lblLevel(Index)) + 1) -

    You might recognize this from FlameWish. I'm using it for mine :p

    Anyway... It works in prjClient and it worked at my dad's. But recently, my USB stopped working, so I had to get my dad to email it. When he did that, EVERY file stuffed up, replacing each new line with a []. And now this. I don't have Option Explicit, and when I opened my form in Notepad, I got rid of:

    Attribute VB_Name = "DragFrame"
    Attribute VB_GlobalNameSpace = False
    Attribute VB_Creatable = False
    Attribute VB_PredeclaredId = True
    Attribute VB_Exposed = False.

    Not sure what it is, but nothing happens when I get rid of it. Halp?
     
  3. Unread #22 - May 22, 2008 at 8:36 AM
  4. Covey
    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    A Few More Questions

    How did you manage to post 3 duplicate posts in the space of 1 and a half hours?

    Also your "edit3" problem is because you do not have a function called "IsFound" replace it with the built in vb function "InStr" and it will work.
     
  5. Unread #23 - May 22, 2008 at 5:09 PM
  6. 0h n035
    Joined:
    Feb 1, 2007
    Posts:
    163
    Referrals:
    0
    Sythe Gold:
    0

    0h n035 Active Member

    A Few More Questions

    Sorry, It was saying it couldn't connect to the database before so I didn't know any of these posts were made.

    And I've already replaced it with InStr, but the other ones still don't work. None of them needed any declaration when I was testing this a my dads.

    EDIT: Nevermind. I was really tired yesterday and just noticed I forgot the functions XD
     
  7. Unread #24 - May 23, 2008 at 2:27 AM
  8. Covey
    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    A Few More Questions

    GetRank, GetXp and GetXPNeeded are all functions.
    You obviously don't have them in your project.
     
< Beginner needs help with VERY basic C++ program | Executing and external program? >

Users viewing this thread
1 guest


 
 
Adblock breaks this site