Change background © Petar Jovanovic

1

Change background © Petar Jovanovic

offline
  • Pridružio: 26 Okt 2008
  • Poruke: 1560
  • Gde živiš: Sremski Mihaljevci

sta kazete za ovaj program? Smile

https://www.mycity.rs/must-login.png

ne znam kako da uradim da mi ovo stretch, center, tile radi pa ga jednostavno ostavite prazno... prijavi ce vam da popunite ali jednostavno recite ok... Smile ako ima neko neki predlog za to (code) bio bih sretan



Registruj se da bi učestvovao u diskusiji. Registrovanim korisnicima se NE prikazuju reklame unutar poruka.
offline
  • Banop  Male
  • Super građanin
  • Pridružio: 23 Maj 2009
  • Poruke: 1475

Kada hocu da ga startujem pojavi mi se ova greska




Predlozio bi ti da napravis bolju ikonicu jer ova je bas jadna.



offline
  • Pridružio: 26 Okt 2008
  • Poruke: 1560
  • Gde živiš: Sremski Mihaljevci

ovo je zato sto nemas instalniran net framework 2.0 ili neki drugi... ikonica ce biti druga. hvala banop

offline
  • Pridružio: 20 Jan 2010
  • Poruke: 142
  • Gde živiš: Beograd

neka greska a detalji greske su: Sad a bas je cool radio Sad
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.InvalidCastException: Conversion from string "" to type 'Double' is not valid. ---> System.FormatException: Input string was not in a correct format.    at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat)    at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat)    --- End of inner exception stack trace ---    at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat)    at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value)    at Change_background.Form2.SecA_TextChanged(Object sender, EventArgs e)    at System.Windows.Forms.Control.OnTextChanged(EventArgs e)    at System.Windows.Forms.TextBoxBase.OnTextChanged(EventArgs e)    at System.Windows.Forms.Control.set_Text(String value)    at System.Windows.Forms.TextBoxBase.set_Text(String value)    at System.Windows.Forms.TextBox.set_Text(String value)    at Change_background.Form2.RealSec_TextChanged(Object sender, EventArgs e)    at System.Windows.Forms.Control.OnTextChanged(EventArgs e)    at System.Windows.Forms.TextBoxBase.OnTextChanged(EventArgs e)    at System.Windows.Forms.Control.set_Text(String value)    at System.Windows.Forms.TextBoxBase.set_Text(String value)    at System.Windows.Forms.TextBox.set_Text(String value)    at Change_background.Form2.Timer1_Tick(Object sender, EventArgs e)    at System.Windows.Forms.Timer.OnTick(EventArgs e)    at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib     Assembly Version: 2.0.0.0     Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)     CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- Change background     Assembly Version: 1.0.0.0     Win32 Version: 1.0.0.0     CodeBase: file:///C:/Program%20Files/PjmSoft/Change%20background/Change%20background/Change%20background.exe ---------------------------------------- Microsoft.VisualBasic     Assembly Version: 8.0.0.0     Win32 Version: 8.0.50727.3053 (netfxsp.050727-3000)     CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll ---------------------------------------- System     Assembly Version: 2.0.0.0     Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)     CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Windows.Forms     Assembly Version: 2.0.0.0     Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)     CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System.Drawing     Assembly Version: 2.0.0.0     Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)     CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Runtime.Remoting     Assembly Version: 2.0.0.0     Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)     CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration>     <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box. Sad Sad

offline
  • Pridružio: 26 Okt 2008
  • Poruke: 1560
  • Gde živiš: Sremski Mihaljevci

da ta greska ne izgleda ovako:




ako tako izgleda onda nemas images.txt fajl... pri instalaciji nemoj menjati adresu instalacije. mrzi me da izmenim red koda pa mora da ide sa te... Smile

kad sednem onda cu sve popraviti sad samo pisite greske jer nema pohvala... Smile)

jel ima neko ideju kako da resim poziciju slike?? ja sam probao da upisem u registre tipa: za centar My.Computer.Registry.SetValue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System\", "WallpaperStyle", "0") za tile My.Computer.Registry.SetValue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System\", "WallpaperStyle", "1") i za stretch My.Computer.Registry.SetValue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System\", "WallpaperStyle", "2")

ali to nece i kad hocu rucno da ga podesim, desni klik na dekstop\ properties\dekstop\pozicija... nece, kao da je enabled=false dok taj kljuc u registrima ne obrisem... molim vas neki savet Smile

offline
  • Pridružio: 20 Jan 2010
  • Poruke: 142
  • Gde živiš: Beograd

imam taj txt fajl...samo ne razumem zasto nece da radi slide show! Sad

offline
  • Ričard  Male
  • Lavlje srce
  • Supermoderator
  • Zver!
  • Electro maintenance engineer
  • Pridružio: 28 Nov 2006
  • Poruke: 13744
  • Gde živiš: Vršac

Meni nije jasno kako moze da nedostaje .net 2.o ili neki drugi?

Kako ja kontam, programer bi trebao da zna koje komponente upotrebljava, ili mozda gresim?

offline
  • Srđan Tot
  • Am I evil? I am man, yes I am.
  • Pridružio: 12 Jul 2005
  • Poruke: 2483
  • Gde živiš: Ljubljana

To su programeri u razvoju... kad par puta napravi program sa istom greskom, naucice kako da ga resi i zbog cega se javljao.

@Peki_92
Nije lose za pocetak, mada bih ti savetovao da za sada ne pravis programe koji se instaliraju (kad napravis program, samo zazipuj exe i sve sto treba da ide uz njega pa ce korisnik da ga raspakuje tamo gde vec drzi programe koje hoce da testira... kad budes imao konacnu verziju bez gresaka, onda razmisljaj o instaleru) i koji cackaju po regstry-ju (ako slucajno poresan key promenis/obrises, mozes prilicno da zeznes sistem svojim programom... moze cak da se desi da sistem vise nece da se pokrene pravilno).
U svakom slucaju, samo nastavi tim tempom i uskoro ces razbijati Smile

offline
  • Pridružio: 26 Okt 2008
  • Poruke: 1560
  • Gde živiš: Sremski Mihaljevci

Napisano: 07 Jul 2010 0:08

a sta bi sa mojim pitanjem?? Smile pozicija slike... promenicu ikonicu i omogucicu da program cita fajlove sa adrese na kojoj se sam program nalazi. kod mene program savrseno radi od kako je stvoren. Smile hvala vam

Dopuna: 08 Jul 2010 18:36

Evo ga sa prepravkama povodom fajlova... fajlovi "images.txt" i "history.txt" moraju biti na istoj adresi gde se nalazi "change background.exe"...

https://www.mycity.rs/must-login.png

ocekujem nove komentare

offline
  • Veljko
  • Pridružio: 29 Jul 2008
  • Poruke: 615
  • Gde živiš: Zemun

Nije wont, nego want Smile


Nije sreenshoot, nego screenshoot

Ko je trenutno na forumu
 

Ukupno su 837 korisnika na forumu :: 33 registrovanih, 7 sakrivenih i 797 gosta   ::   [ Administrator ] [ Supermoderator ] [ Moderator ] :: Detaljnije

Najviše korisnika na forumu ikad bilo je 3466 - dana 01 Jun 2021 17:07

Korisnici koji su trenutno na forumu:
Korisnici trenutno na forumu: A.R.Chafee.Jr., Andrija357, Arahne, cenejac111, Dimitrije Paunovic, Dimitrise93, doktor1964, Dovla, dushan, Georgius, ksyyaj, Kubovac, ladro, laganini123, Lieutenant, Litostroton, Luka1998, maiden6657, Marko Marković, mercedesamg, mik7, mikrimaus, Mlav, mnn2, naki011, nebkv, robertino, ruger357, Stoilkovic, vathra, YugoSlav, ZetaMan, zlaya011