Problema con il TIMER
ciao,
ogni volta che imposto il timer e clicco avvia, mi da questo errore: conversion from string "LA DATA CHE HO INSERITO" to type "Date" is not valid. qualcuno mi puo' dare una mano? questi sono i dettagli dell'errore: 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 "19/02/2007" to type 'Date' is not valid. at Microsoft.VisualBasic.CompilerServices.Conversions .ToDate(String Value) at WindowsApplication1.Form1.Timervlc_Tick(Object sender, EventArgs e) in C:\Vlc_vcr\Vlc_vcr\Form1.vb:line 102 at System.Windows.Forms.Timer.OnTick(EventArgs e) at System.Windows.Forms.Timer.TimerNativeWindow.WndPr oc(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.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- Cool-Recorder Assembly Version: 1.0.1.28102 Win32 Version: 1.0.1.0 CodeBase: file:///C:/Program%20Files/CoolRecorder%20By%20Coolstreaming1.0/Cool-Recorder.exe ---------------------------------------- Microsoft.VisualBasic Assembly Version: 8.0.0.0 Win32 Version: 8.0.50727.42 (RTM.050727-4200) 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.42 (RTM.050727-4200) 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.42 (RTM.050727-4200) 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.42 (RTM.050727-4200) 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.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll ---------------------------------------- System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- AxInterop.AXVLC Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files/CoolRecorder%20By%20Coolstreaming1.0/AxInterop.AXVLC.DLL ---------------------------------------- Interop.AXVLC Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files/CoolRecorder%20By%20Coolstreaming1.0/Interop.AXVLC.DLL ---------------------------------------- System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.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. |
sono sempre io e credo di aver capito perche' mi da questo problema pero' non so come risolverlo. allora io vivo in america e il mio computer americano ha il formato data: mese/giorno/anno mentre in italia (e quindi coolrecorder) si basa sul formato giorno/mese/anno. se potessi inserire manualmente la data, non ci sarebbero problemi (basta invertire mese e giorno), ma il problema e' che coolrecorder mi fa inserire la data solo attraverso il calendario (che e' americano) e non manualmente! mi potete aiutare, avete qualche idea?
|
Quote:
ciao si potrebbe essere un bug. Prova a cambiare il date time dal pannello di controllo di windows. |
il problema è già nella lista delle coseda fare, abbiate pazienza :)
|
All times are GMT +2. The time now is 08:17 PM. |
Powered by: vBulletin Version 3.0.7
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.