| |
| |
| |
|
Page: 1 2 3 4 5 6 7
Comments:
<0> oh ok, ty <0> someone know Dis***embly? 0FAC21CD mov eax,dword ptr [ecx+eax*4] <0> from some reason, my vb crash each time i'm trying to run my program 0_o <0> (in the IDE) <0> hi, i found vb bug ^^ <0> if you write an enum and use the keyword Me, it will crash ^^ lol <1> huh <2> "***embly", not "dis***embly" and that random bit of stuff has no meaning <2> And ***uming you have the latest service packs installed, it's not an issue <2> Your "bug", that is <2> erm, enum <2> nvm <2> Yes, that bug exists <0> :) <3> http://arstechnica.com/news.ars/post/20070105-8559.html <2> bout time
<3> 37 terabyte by the end of the decade so they say <3> anyone care to tsape back it up? <3> or, store teh internut on them? <2> u will need 3 for teh intarnet. <2> lollerz <4> uhhh... the first? <4> what the hell is lacie marketing then? <2> hahah noob u can't download the interwebs <4> and it says 37TB drives within the next decade, not by the end of THIS decade <5> when all else fails blame it on elnino <5> didn't get a raise last week? elnino. <5> burned dinner last night? elnino. <6> poopy diaper? el nino <7> hello <7> If Environ("os") = "Windows_NT" Then IsXp = True <7> and isxp is <7> Global IsXp As Boolean <7> anyone can see any problem with this ? <1> uh <1> it might not be xp? <1> could be nt <1> could be 2000 <7> yeah well, but i mean do you think it will give an error when compiled ? <7> i compiled it, and when i tried to run it on my laptop it kept giving me type mismatch <7> this is driving me insane <1> whats environ return <7> it returns a string <7> i tried it on the debuger <2> which line gives you Type Mismatch? <7> this line <7> i remove it the program works fine <2> Where is IsXp defined? <7> i put it back in "type mismathc" <7> its defined on a module as global <2> Paste that line here <7> i did <7> scroll up <2> No, not THAT line <2> the line I was just taalking about <7> which one ? <2> the definition of IsXp <7> Global IsXp As Boolean <8> that line cant give you a type mismatch =\ <2> Repace it with this: <7> Smirker did you figure it out ? <2> If Environ("os") = "Windows_NT" Then <2> isXp = True <2> End If <2> NOW which line fails? <7> ok <7> hold on <7> no, wait <7> its working fine in this computer <2> yeesh <7> but after i compile it and everything i try it on the laptop its giving me the error <7> i mean when i run the exe file <2> Then I'd be willing to bet it's NOT that line <7> i remove it, the program runs fine <2> But what does that line DO?
<2> It sets IsXp to true <7> yes thats it <7> this is confusing <2> You think it may be THAT that causes it, and not the line? <2> That somewhere else, something checks isXp, which causes different code to run, which generates the error? <7> i will tell you how i figured out that line is causing the problem, <2> Comment out the Environ() line, and replace it with: IsXp = True <2> Recompile, and run on the laptop <7> i put msgbox "before" and msgbox "after" <2> don't care <7> i saw the before then type mismatch <2> don't care <7> :\ <2> [18:44:19] <2> Comment out the Environ() line, and replace it with: IsXp = True <2> [18:44:22] <2> Recompile, and run on the laptop <2> See if you get the error or not <7> ok <7> type mismatch <7> isxp=true !!!! <2> Wrong <2> Unless, of course, IsXp is defined somewhere ELSE <2> Search for it, and see if it is defined in more than one place <8> XTCi: http://support.microsoft.com/kb/189249 <8> fool proof =\ <2> He thinks "*booleanVar* = True" is a type mismatch.. think he'd have a chance with that? <2> :) <8> it says copy to a module, etc :P <7> lol its not me who thinks that its type mismatch <8> XTCi: just do as the microsoft site says <7> its the stupid VB <8> to check the OS version with that code: type: <2> No <8> If getVersion() = "Windows XP" Then MsgBox "YOUVE GOT THE JOB!!!" <2> VB is a hell of a lot more intelligent than you, XTCi <2> even on code you wrote <2> [18:47:22] <2> Unless, of course, IsXp is defined somewhere ELSE <2> [18:47:32] <2> Search for it, and see if it is defined in more than one place <2> Or, just do what Smirker said. if you can. <7> i did not find it defined somewhere else <8> XTCi: do as i said <2> This is the point I was trying to make, follow along: <2> If that ENTIRE line is there, IsXp is set to true <2> if that ENTIRE line is not there, IsXp is false <2> Somewhere else in the program, it must USE that variable for something, to do or not do something <2> If IsXp = True Then <2> *do something* <2> Else <2> *do something else* <2> End If <2> If you REMOVE the line, code further in the program is not executed <8> exactly Teycho, and XTCi, instead of trying to defend yourself, just go to the site i said, and use the code i wrote you, then all will be well. <2> So the problem is almost certainly NOT with that line of code, but in fact somewhere else <8> especially when youre asking for help <2> And very inexperienced in the language <2> and likely programming in general <8> anyway, have to finish writing this damn billing system =o bills are due to be sent out tomorrow :\ <8> bbl yo <2> enjoy <7> lol i did not mean to insult the language or anything, and if i were you guys i would think that i am wrong, <7> but anyway, thanks for trying to help <2> I bet you're going to ignore that entire paragraph I typed out, aren't you? <2> So be it <7> i did not ignore it <2> Then do you see the point I was making? <7> i will try to do it microsoft way <7> thanks <8> XTCi: when asking for help, forget your honour. never forget that ;p *BBL WORK for real* <7> ok, i admit it. Teycho you were right, it was somewhere else :P <4> it's ok.. teycho is big on forgiveness <5> el nino. <4> coincidentally, he's also big on receiving blowjobs... hint hint <7> lol
Return to
#vb or Go to some related
logs:
#india behanchod #india phmailer problem #india #kl #chat-world #chat-world #linux #kl
|
|