dode513 Posted April 5, 2012 Report Share Posted April 5, 2012 Salut ma tot chinui de 4 luni sa fac un program in VB 2010(Visual Basic) Am facut interfata tot dar la final a aparut o problema nu pot deschide mincraft.jar din VB Cum fac help Quote Link to comment Share on other sites More sharing options...
sandabot Posted April 5, 2012 Report Share Posted April 5, 2012 Ce fel de program ? Da niste detalii , ce vrei sa faci cu minecraft.jar ? Quote Link to comment Share on other sites More sharing options...
dode513 Posted April 5, 2012 Author Report Share Posted April 5, 2012 Vreau sa imi deschida jocul (Minecraft)Am un buton il apas si imi deschide jocul aflat in minecraft.jar HELPP Quote Link to comment Share on other sites More sharing options...
M2G Posted April 5, 2012 Report Share Posted April 5, 2012 Rulezi din programul tau comanda java minecraft.jar Quote Link to comment Share on other sites More sharing options...
dode513 Posted April 5, 2012 Author Report Share Posted April 5, 2012 Rulezi din programul tau comandaUn COD daca s-ar putea ? Quote Link to comment Share on other sites More sharing options...
M2G Posted April 5, 2012 Report Share Posted April 5, 2012 Asa ca la prosti: Quote Link to comment Share on other sites More sharing options...
daNNy.bv Posted April 5, 2012 Report Share Posted April 5, 2012 in sub-ul de la button_click scri asashell("minecraft.jar")si neaparat programul sa fie in folderu unde se gaseste minecraft.jar Quote Link to comment Share on other sites More sharing options...
for16 Posted April 5, 2012 Report Share Posted April 5, 2012 shell("adresa fisierului minecraft.jar") Quote Link to comment Share on other sites More sharing options...
dode513 Posted April 5, 2012 Author Report Share Posted April 5, 2012 shell("adresa fisierului minecraft.jar")nu merge !!!! Quote Link to comment Share on other sites More sharing options...
dode513 Posted April 5, 2012 Author Report Share Posted April 5, 2012 in sub-ul de la button_click scri asashell("minecraft.jar")si neaparat programul sa fie in folderu unde se gaseste minecraft.jarNu merge Quote Link to comment Share on other sites More sharing options...
yoyois Posted April 6, 2012 Report Share Posted April 6, 2012 Off: Ai grija la dublu postOn: Shell("minecraft.jar") (Deschide fisierul!)Nu mergeCe eroare iti apare?Unde iti da erroarea? Ce se intampla? Quote Link to comment Share on other sites More sharing options...
SilviuSDS Posted April 6, 2012 Report Share Posted April 6, 2012 Daca tu incerci sa executi minecraft.jar atunci de ce naiba nu folosesti System.Diagnostics.Process.Start("minecraft.jar").Nu stiu daca merge sau nu pentru ca nu am incercat niciodata cu fisiere java. Declari System.Diagnostics ca namespace si apoi poti folosi direct Process.Start fara toata coada inainte si il poti folosi oriunde in fisier (subprograme, evenimente etc.); Quote Link to comment Share on other sites More sharing options...
daNNy.bv Posted April 8, 2012 Report Share Posted April 8, 2012 imposibil... Dami codul sursa.ca vad ca esti batut in cap Quote Link to comment Share on other sites More sharing options...
noVaLue Posted April 9, 2012 Report Share Posted April 9, 2012 ".jar" este un tip de arhiva, ca si rar. Nu ai cum sa executi acea arhiva decat deca vei utiliza programul specific si ala fiind java. In schimb poti extrage clasele si 'rula' clasa principala cu ajutorul jvm'ului din java. Dar din cate imi aduc aminte minecraft functioneaza prin acel executabil creat pe baza la jni. Nici nu stiu daca poti rula direct minecraft din arhiva. Quote Link to comment Share on other sites More sharing options...
SilviuSDS Posted April 10, 2012 Report Share Posted April 10, 2012 Greseala mea, nu stiu java deloc. Quote Link to comment Share on other sites More sharing options...
gogusan Posted April 10, 2012 Report Share Posted April 10, 2012 (edited) cu cmdShell("java.exe -jar " & pulamea.jar)sau cu proces startImports System.DiagnosticsProcess.Start("C:\program files\java\java.exe -jar d:\pulamea\pulamea.jar") Edited April 10, 2012 by gogusan Quote Link to comment Share on other sites More sharing options...
raynor009 Posted April 14, 2012 Report Share Posted April 14, 2012 Deci tu vrei sa faci un program care schimba numele jcuatorului la un Minecraft crackuit? Quote Link to comment Share on other sites More sharing options...