ThreadBoard ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
VB Help (Bots)
VB Help // BotsbrandonAug 14, 2001, 3:35pm
ok.....before i begin please know i've been doing this for a while and i
know a hellofa lot already. Well i have a fw question becuase i've learned a lot but i need to know how to do somethings. First of all how to save a ini file and how to load it on startup. lol this is kind of embarsing but you know the thing that creates menus at the top. Well as much as i know i havent figured out how to make it show a menu when you click it. Its just a blank Button that does nothing. I dunno what code i have to add for that. umm i think thats it...thanks ahead of time and to all those people like Eep and Wing and Lanezeri (if your still here) dont bother repling unless its relevent to the topic. -- - Brandon brandonAug 14, 2001, 3:44pm
oh....and VB only works under windows right? Does it work under 2000 , NT?
the derekAug 14, 2001, 4:00pm
should work on any...
to use an ini file you need to use the windows api dlls im sure someone here knoews a reference site but i do not now are you trying to get menus to appear on the form or when you right click the mouse button? [View Quote] brandonAug 14, 2001, 4:16pm
no menus like File Edit.......i donno what code will make a menu come out
when you click it [View Quote] lanezeriAug 14, 2001, 4:30pm
> First of all how to save a ini file and how to load it on startup.
I've attached a .bas file that does INI files.. I've had trouble with it lately.. you might have luck.. > lol this is kind of embarsing but you know the thing that creates menus at > the top. Well as much as i know i havent figured out how to make it show a > menu when you click it. Its just a blank Button that does nothing. I dunno > what code i have to add for that. When you go to the Menu Editor, you type "File" or whatnot, then you click "Next" then click the "->" arrow and type the info in, etc.. Need more help just ask.. > umm i think thats it...thanks ahead of time > and to all those people like Eep and Wing and Lanezeri (if your still here) > dont bother repling unless its relevent to the topic. Your welcome :-) > - Brandon lanezeriAug 14, 2001, 4:30pm
Forgot to attach it..
[View Quote] begin 666 INI.bas M071T<FEB=71E(%9"7TYA;64 at /2 B24Y)( at T*)R!$96-L87)A=&EO;G,-"D1E M8VQA<F4 at 1G5N8W1I;VX at 5W)I=&50<FEV871E4')O9FEL95-T<FEN9R!,:6( at M(FME<FYE;#,R(B!!;&EA<R B5W)I=&50<FEV871E4')O9FEL95-T<FEN9T$B M(%\-"BA">59A;"!L<$%P<&QI8V%T:6]N;F%M92!!<R!3=')I;F<L($)Y5F%L M(&QP2V5Y3F%M92!!<R!!;GDL($)Y5F%L(&QS4W1R:6YG($%S($%N>2P at 7PT* M0GE686P at ;'!L1FEL96YA;64 at 07, at 4W1R:6YG*2!!<R!,;VYG#0H-"D1E8VQA M<F4 at 1G5N8W1I;VX at 1V5T4')I=F%T95!R;V9I;&53=')I;F< at 3&EB(")K97)N M96PS,B( at 06QI87, at (D=E=%!R:79A=&50<F]F:6QE4W1R:6YG02( at 7PT**$)Y M5F%L(&QP07!P;&EC871I;VYN86UE($%S(%-T<FEN9RP at 0GE686P at ;'!+97E. M86UE($%S(%-T<FEN9RP at 0GE686P at ;'!$969A=6QT($%S(%\-"E-T<FEN9RP at M0GE686P at ;'!2971U<FYE9%-T<FEN9R!!<R!3=')I;F<L($)Y5F%L(&Y3:7IE M($%S($QO;F<L($)Y5F%L(&QP1FEL94YA;64 at 07, at 7PT*4W1R:6YG*2!!<R!, M;VYG#0HG($5N9"!$96-L87)A=&EO;G,-" at T*)R!';&]B86QS#0I';&]B86P at M4V5C=&]R($%S(%-T<FEN9PT*1VQO8F%L(%!A<F%M971E<B!!<R!3=')I;F<- M"D=L;V)A;"!686QU92!!<R!687)I86YT#0I';&]B86P at ;&YG4F5S=6QT($%S M($QO;F<-"D=L;V)A;"!S=')&:6QE3F%M90T*1VQO8F%L('-T<E)E<W5L="!! M<R!3=')I;F< at *B U, T*)R!%;F0 at 1VQO8F%L<PT*#0HG($9U;F-T:6]N<PT* M1G5N8W1I;VX at 3&]A9$E.22A">59A;"!396-T;W( at 07, at 4W1R:6YG+"!087)A M;65T97( at 07, at 4W1R:6YG+"!&:6QE3F%M92!!<R!3=')I;F<I#0H at (" at ;&YG M4F5S=6QT(#T at 1V5T4')I=F%T95!R;V9I;&53=')I;F<H4V5C=&]R+"!087)A M;65T97(L($9I;&5.86UE+"!S=')297-U;'0L($QE;BAS=')297-U;'0I+"!& M:6QE3F%M92D-"B at ("!)9B!L;F=297-U;'0 at /#X at ,"!4:&5N#0H at (" at (" at M($EF($EN4W1R*'-T<E)E<W5L="P at (CHB*2 \/B P($%N9"!);E-T<BAS=')2 M97-U;'0L(")<(BD at /#X at ,"!4:&5N#0H at (" at (" at (" at ("!)5F%L(#T at (B(- M"B at (" at (" at 16QS90T*(" at (" at (" at (" at 259A;" ](%1R:6TH<W1R4F5S M=6QT*0T*(" at (" at ("!%;F0 at 268-"B at ("!%;'-E#0H at (" at (" at ($US9T)O M>" B17)R;W( at 0V%L;&EN9R!!4$DB#0H at (" at 16YD($EF#0I%;F0 at 1G5N8W1I M;VX-" at T*1G5N8W1I;VX at 4V%V94E.22A">59A;"!396-T;W( at 07, at 4W1R:6YG M+"!087)A;65T97( at 07, at 4W1R:6YG+"!686QU92!!<R!3=')I;F<L($9I;&5. M86UE($%S(%-T<FEN9RD-"B at ("!L;F=297-U;'0 at /2!7<FET95!R:79A=&50 M<F]F:6QE4W1R:6YG*%-E8W1O<BP at 4&%R86UE=&5R+"!686QU92P at 1FEL94YA M;64I#0H at (" at 268 at ;&YG4F5S=6QT(#T at ,"!4:&5N($US9T)O>" B17)R;W( at >0V%L;&EN9R!!4$DB#0I%;F0 at 1G5N8W1I;VX-" at T* ` end builderzAug 14, 2001, 6:20pm
Visual Basic 5.0 and 6.0 *should* work on Windows 95 and up (including
Windows NT and 2000). However, some API calls and things are different in Windows 98 than from Windows 2000. Builderz Stuff-X - Bot & World Hosting Services http://aw.stuff-x.com/ PGP Key ID: 0xAC0E7073 (for non-commercial use) [View Quote] the derekAug 14, 2001, 11:55pm
|