cs_tomalex1
Messages postés29Date d'inscriptionmercredi 10 février 2010StatutMembreDernière intervention22 septembre 2011 19 janv. 2012 à 01:00
salut, voici l’erreur surement la même que Mimizanzan,
L'exception System.OutOfMemoryException n'a pas été gérée
Message="Mémoire insuffisante."
Source="System.Drawing"
StackTrace:
à System.Drawing.Drawing2D.PathGradientBrush..ctor(Point[] points, WrapMode wrapMode)
à System.Drawing.Drawing2D.PathGradientBrush..ctor(Point[] points)
à DesChiffresEtDesLettres.Forminscription.DesignBoxInscription(Graphics& gr) dans G:\D\Documents\Visual Studio 2008\Projects\chiffre et des lettre\Forminscription.vb:ligne 57
à DesChiffresEtDesLettres.Forminscription.boxinscription_Paint(Object sender, PaintEventArgs e) dans G:\D\Documents\Visual Studio 2008\Projects\chiffre et des lettre\Forminscription.vb:ligne 157
à System.Windows.Forms.Control.OnPaint(PaintEventArgs e)
à System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
à System.Windows.Forms.Control.OnPrint(PaintEventArgs e)
à System.Windows.Forms.Control.WmPrintClient(Message& m)
à System.Windows.Forms.Control.WndProc(Message& m)
à System.Windows.Forms.ScrollableControl.WndProc(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
à System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
à System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
à System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
à System.Windows.Forms.Control.DefWndProc(Message& m)
à System.Windows.Forms.Control.WndProc(Message& m)
à System.Windows.Forms.TextBoxBase.WndProc(Message& m)
à System.Windows.Forms.TextBox.WndProc(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
à System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
à System.Windows.Forms.UnsafeNativeMethods.IntCreateWindowEx(Int32 dwExStyle, String lpszClassName, String lpszWindowName, Int32 style, Int32 x, Int32 y, Int32 width, Int32 height, HandleRef hWndParent, HandleRef hMenu, HandleRef hInst, Object pvParam)
à System.Windows.Forms.UnsafeNativeMethods.CreateWindowEx(Int32 dwExStyle, String lpszClassName, String lpszWindowName, Int32 style, Int32 x, Int32 y, Int32 width, Int32 height, HandleRef hWndParent, HandleRef hMenu, HandleRef hInst, Object pvParam)
à System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
à System.Windows.Forms.Control.CreateHandle()
à System.Windows.Forms.TextBoxBase.CreateHandle()
à System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
à System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
à System.Windows.Forms.Control.CreateControl()
à System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)
à System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)
à System.Windows.Forms.Control.OnParentVisibleChanged(EventArgs e)
à System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)
à System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)
à System.Windows.Forms.Form.OnVisibleChanged(EventArgs e)
à System.Windows.Forms.Control.SetVisibleCore(Boolean value)
à System.Windows.Forms.Form.SetVisibleCore(Boolean value)
à System.Windows.Forms.Control.Show()
à DesChiffresEtDesLettres.Formpreface.Buttonplay_MouseClick(Object sender, MouseEventArgs e) dans G:\D\kevin\Documents\Visual Studio 2008\Projects\chiffre et des lettre\Formpreface.vb:ligne 55
à System.Windows.Forms.Control.OnMouseClick(MouseEventArgs e)
à System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
à System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
à System.Windows.Forms.Control.WndProc(Message& m)
à System.Windows.Forms.ButtonBase.WndProc(Message& m)
à System.Windows.Forms.Button.WndProc(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
à System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
à System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
à System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
à System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
à System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
à System.Windows.Forms.Application.Run(ApplicationContext context)
à Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
à Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
à Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
à DesChiffresEtDesLettres.My.MyApplication.Main(String[] Args) dans 17d14f5c-a337-4978-8281-53493378c1071.vb:ligne 81
à System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
à System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
à Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
à System.Threading.ThreadHelper.ThreadStart_Context(Object state)
à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
à System.Threading.ThreadHelper.ThreadStart()
InnerException:
cs_ShayW
Messages postés3253Date d'inscriptionjeudi 26 novembre 2009StatutMembreDernière intervention 3 décembre 201957 10 janv. 2012 à 17:58
Salut
as tu le vb2008 ou vb2010 ?
si oui
tu as télécharger le zip et après le deziper
dans le dosssier que s'ouvre clique sur le fichier
deschiffresetdeslettre.vbproj
attends que le projet s'ouvre et ensuite compile
tifial
Messages postés1Date d'inscriptionmercredi 30 novembre 2011StatutMembreDernière intervention10 janvier 2012 10 janv. 2012 à 17:30
Salut,
comment on le lance, je sais je suis un cancre...
cs_ShayW
Messages postés3253Date d'inscriptionjeudi 26 novembre 2009StatutMembreDernière intervention 3 décembre 201957 10 janv. 2012 à 12:10
Salut
je vois seulement maintenant ton commentaire problème de cache bon
bizarre pour tester j'ai telechargé du cs et ensuite compiler
et lancer je n'ai pas d'erreur
j'utilise le vb2008 pro
peut etre il faut le compiler sous framework 3.5
project -> properties -> compile -> advanced compiled option
et modifié le target framework
si cela ne marche pas n'oublie pas de remettre le framework original
merci
mimiZanzan
Messages postés301Date d'inscriptionlundi 27 février 2006StatutMembreDernière intervention17 décembre 2017 10 janv. 2012 à 01:17
Salut,
Le programme plante à l'ouverture de la Forminscription à la ligne
path_brush = New PathGradientBrush(face)...
J'ai utilisé VB 2008 Express Edition et VB 2010 Pro
19 janv. 2012 à 01:00
L'exception System.OutOfMemoryException n'a pas été gérée
Message="Mémoire insuffisante."
Source="System.Drawing"
StackTrace:
à System.Drawing.Drawing2D.PathGradientBrush..ctor(Point[] points, WrapMode wrapMode)
à System.Drawing.Drawing2D.PathGradientBrush..ctor(Point[] points)
à DesChiffresEtDesLettres.Forminscription.DesignBoxInscription(Graphics& gr) dans G:\D\Documents\Visual Studio 2008\Projects\chiffre et des lettre\Forminscription.vb:ligne 57
à DesChiffresEtDesLettres.Forminscription.boxinscription_Paint(Object sender, PaintEventArgs e) dans G:\D\Documents\Visual Studio 2008\Projects\chiffre et des lettre\Forminscription.vb:ligne 157
à System.Windows.Forms.Control.OnPaint(PaintEventArgs e)
à System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
à System.Windows.Forms.Control.OnPrint(PaintEventArgs e)
à System.Windows.Forms.Control.WmPrintClient(Message& m)
à System.Windows.Forms.Control.WndProc(Message& m)
à System.Windows.Forms.ScrollableControl.WndProc(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
à System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
à System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
à System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
à System.Windows.Forms.Control.DefWndProc(Message& m)
à System.Windows.Forms.Control.WndProc(Message& m)
à System.Windows.Forms.TextBoxBase.WndProc(Message& m)
à System.Windows.Forms.TextBox.WndProc(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
à System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
à System.Windows.Forms.UnsafeNativeMethods.IntCreateWindowEx(Int32 dwExStyle, String lpszClassName, String lpszWindowName, Int32 style, Int32 x, Int32 y, Int32 width, Int32 height, HandleRef hWndParent, HandleRef hMenu, HandleRef hInst, Object pvParam)
à System.Windows.Forms.UnsafeNativeMethods.CreateWindowEx(Int32 dwExStyle, String lpszClassName, String lpszWindowName, Int32 style, Int32 x, Int32 y, Int32 width, Int32 height, HandleRef hWndParent, HandleRef hMenu, HandleRef hInst, Object pvParam)
à System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
à System.Windows.Forms.Control.CreateHandle()
à System.Windows.Forms.TextBoxBase.CreateHandle()
à System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
à System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
à System.Windows.Forms.Control.CreateControl()
à System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)
à System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)
à System.Windows.Forms.Control.OnParentVisibleChanged(EventArgs e)
à System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)
à System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)
à System.Windows.Forms.Form.OnVisibleChanged(EventArgs e)
à System.Windows.Forms.Control.SetVisibleCore(Boolean value)
à System.Windows.Forms.Form.SetVisibleCore(Boolean value)
à System.Windows.Forms.Control.Show()
à DesChiffresEtDesLettres.Formpreface.Buttonplay_MouseClick(Object sender, MouseEventArgs e) dans G:\D\kevin\Documents\Visual Studio 2008\Projects\chiffre et des lettre\Formpreface.vb:ligne 55
à System.Windows.Forms.Control.OnMouseClick(MouseEventArgs e)
à System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
à System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
à System.Windows.Forms.Control.WndProc(Message& m)
à System.Windows.Forms.ButtonBase.WndProc(Message& m)
à System.Windows.Forms.Button.WndProc(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
à System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
à System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
à System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
à System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
à System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
à System.Windows.Forms.Application.Run(ApplicationContext context)
à Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
à Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
à Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
à DesChiffresEtDesLettres.My.MyApplication.Main(String[] Args) dans 17d14f5c-a337-4978-8281-53493378c1071.vb:ligne 81
à System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
à System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
à Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
à System.Threading.ThreadHelper.ThreadStart_Context(Object state)
à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
à System.Threading.ThreadHelper.ThreadStart()
InnerException:
10 janv. 2012 à 17:58
as tu le vb2008 ou vb2010 ?
si oui
tu as télécharger le zip et après le deziper
dans le dosssier que s'ouvre clique sur le fichier
deschiffresetdeslettre.vbproj
attends que le projet s'ouvre et ensuite compile
10 janv. 2012 à 17:30
comment on le lance, je sais je suis un cancre...
10 janv. 2012 à 12:10
je vois seulement maintenant ton commentaire problème de cache bon
bizarre pour tester j'ai telechargé du cs et ensuite compiler
et lancer je n'ai pas d'erreur
j'utilise le vb2008 pro
peut etre il faut le compiler sous framework 3.5
project -> properties -> compile -> advanced compiled option
et modifié le target framework
si cela ne marche pas n'oublie pas de remettre le framework original
merci
10 janv. 2012 à 01:17
Le programme plante à l'ouverture de la Forminscription à la ligne
path_brush = New PathGradientBrush(face)...
J'ai utilisé VB 2008 Express Edition et VB 2010 Pro
Cdt