Chris2 Posted June 16, 2013 Author Share Posted June 16, 2013 when i withdraw currency from my bank. as an example lets say 400.000 goldit will only withdraw a random number like 5000my bank withdraw looks like```' bankPrivate Sub picBank_DblClick()Dim bankNum As Long ' If debug mode, handle error then exit out If Options.Debug = 1 Then On Error GoTo errorhandler DragBankSlotNum = 0 bankNum = IsBankItem(BankX, BankY) If bankNum <> 0 Then If GetBankItemNum(bankNum) = ITEM_TYPE_NONE Then Exit Sub If Item(GetBankItemNum(bankNum)).Type = ITEM_TYPE_CURRENCY Then CurrencyMenu = 3 ' withdraw lblCurrency.Caption = "How many do you want to withdraw?" tmpCurrencyItem = bankNum txtCurrency.text = vbNullString picCurrency.Visible = True txtCurrency.SetFocus Exit Sub End If WithdrawItem bankNum, 0 Exit Sub End If ' Error handler Exit Suberrorhandler: HandleError "picBank_DlbClick", "frmMain", Err.Number, Err.Description, Err.Source, Err.HelpContext Err.Clear Exit SubEnd Sub```i can't see the error :/ Link to comment Share on other sites More sharing options...
Stein Posted June 16, 2013 Share Posted June 16, 2013 The issue isn't there, it's on PicCurrency Link to comment Share on other sites More sharing options...
Chris2 Posted June 17, 2013 Author Share Posted June 17, 2013 > The issue isn't there, it's on PicCurrencysweet so it's not me being blind :pdo you happen to know where the "error" is? Link to comment Share on other sites More sharing options...
Zeno Posted June 17, 2013 Share Posted June 17, 2013 I don't, but I bet you'll find it if you search your source for PicCurrency. VB6 has a pretty good built-in search function. :) Link to comment Share on other sites More sharing options...
Chris2 Posted June 18, 2013 Author Share Posted June 18, 2013 > I don't, but I bet you'll find it if you search your source for PicCurrency. VB6 has a pretty good built-in search function. :)yea i already found PicCurrency but i dont know what the issue is :) Link to comment Share on other sites More sharing options...
Zeno Posted June 18, 2013 Share Posted June 18, 2013 > yea i already found PicCurrency but i dont know what the issue is :)Based on Stein's advice, search your _code _using search term "PicCurrency" to find where the error is. He doesn't mean it's visually or literally on the picture, but that it happens where the code for PicCurrency is. Link to comment Share on other sites More sharing options...
Stein Posted June 18, 2013 Share Posted June 18, 2013 I assume it is, that's where I remember an issue being at anyway. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now