User Control Panel
Advertisements

HELP US, HELP YOU!

MSN Log Converter

 
Post new topic   Reply to topic    Bot Depot Forum Index -> Bots
View unanswered posts
Author Message
MSNanimac
Newbie
Newbie


Joined: 01 Feb 2008
Posts: 3


PostPosted: Wed Feb 06, 2008 7:41 pm    Post subject: MSN Log Converter Reply with quote

I've downloaded the MSN Log Converter - bot and like to create it in Visual Basic 2008 Express Edition, but there are a few problems with the converting in one "sub":

Sub UpdateProg(ByRef Percent As Object)
'Update the Progress Bar
'UPGRADE_ISSUE: PictureBox Methode PicProg.Cls wurde nicht aktualisiert. Klicken Sie hier für weitere Informationen: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="CC4C7EC0-C903-48FC-ACCC-81861D12DA4A"'
PicProg.Cls()
'UPGRADE_WARNING: Die Standardeigenschaft des Objekts Percent konnte nicht aufgelöst werden. Klicken Sie hier für weitere Informationen: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"'
'UPGRADE_ISSUE: PictureBox Methode PicProg.Line wurde nicht aktualisiert. Klicken Sie hier für weitere Informationen: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="CC4C7EC0-C903-48FC-ACCC-81861D12DA4A"'
PicProg.Line (0, 0) - (PicProg.Width / 100 * Percent, PicProg.Height), 0, BF
PicProg.Refresh()
End Sub

Please could you help me ?
I'm running under Windows Vista x64.
Back to top
JTW
God Like
God Like


Joined: 07 Mar 2004
Posts: 579
Location: Maidstone
Reputation: 67.1
votes: 4

PostPosted: Thu Feb 07, 2008 9:15 am    Post subject: Reply with quote

Hey
I don't know much about VB (should really since I'm meant to be learning about it) But it seems to me the problem is with the picturebox. Have you tried deleting it and replacing it with another called exactly the same thing?

JT

_________________
"Help us, Help you" - BotDepot
Back to top
dinnerbone
Member
Member


Joined: 07 Mar 2004
Posts: 136
Location: UK
Reputation: 54.3

PostPosted: Thu Feb 07, 2008 10:33 pm    Post subject: Reply with quote

The easy and foolproof fix to this would be to get the original VB6. VB Express is 10 years newer than the language the code was meant to be written in, and as such the converter doesn't always work 100%.

Otherwise, see what happens when you compile/run the code and see what happens. Post the code it stops running at and the error it gives if/when it stops working at run time.
Back to top
MSNanimac
Newbie
Newbie


Joined: 01 Feb 2008
Posts: 3


PostPosted: Sat Feb 09, 2008 11:19 am    Post subject: Reply with quote

Yes, but i dont know whether vb6 is compatible to Vista.
As i deleted this UpdateProg and all of its links and compiled it, the Program was running half a sec and then it disappeared.
I've found out that the PictureBox-Function is now only a function to display pictures and images ^^
I tried to replace the PicProg.Line-Function with the DrawRectangle-Method but i made something wrong because it doesnt work.
Do you know how i've got to replace
PicProg.Cls()
PicProg.Line (0, 0) - (PicProg.Width / 100 * Percent, PicProg.Height), 0, BF and
PicProg.Refresh() ?

Please could you help me ? ^^ thank you
Back to top
dinnerbone
Member
Member


Joined: 07 Mar 2004
Posts: 136
Location: UK
Reputation: 54.3

PostPosted: Sat Feb 09, 2008 9:18 pm    Post subject: Reply with quote

I haven't used VB6 in a while, I'm more of a VB.NET person, but I do know that it runs hell with vista, so you are right.
You can try getting a copy of VB.NET (I think VB.NET Enterprise is free. Orcas, the latest version, is free for BETA) and see if it converts the code for you (does in normal version, should still do in enterprise version). But to do it by hand, I haven't a clue how to get it vista compatable, sorry.
Back to top
Teario
Member
Member


Joined: 25 Jun 2004
Posts: 130
Location: Liverpool(home) or Derby(uni), UK
Reputation: 59.8
votes: 3

PostPosted: Mon Feb 11, 2008 1:55 pm    Post subject: Reply with quote

Looks like the picture box is only used for the conversion progress bar anyway so why dont you just remove all instances of it? From what I can guess about the output you posted, it has a picture box and it draws a line to show the progress 0-100%? That seems like a bit of a stupid way to do it in the first place, unless the same box is reused for more detailed output elsewhere in the program?
Back to top
MSNanimac
Newbie
Newbie


Joined: 01 Feb 2008
Posts: 3


PostPosted: Mon Feb 11, 2008 3:46 pm    Post subject: Reply with quote

Problem solved. I have installed Visual Basic 6 and compiled the converter. Now it runs! ^^

If someone likes to think about the PictureBox in VB2008, you can post it here. I'm out, and thank you for your replies Wink
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> Bots All times are GMT
Page 1 of 1

 



Protected by phpBB Security phpBB-TweakS
phpBB Security Has Blocked 9 Exploit Attempts.
Antispam Captcha Mod by phpbb-security.com
Powered by phpBB © 2001, 2005 phpBB Group