473,788 Members | 3,057 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Designer stuck in loop

We have a window named FormApplication which just happens to be our
mid parent window. When I open it in the designer, it is stuck in a
loop redisplaying a c1flexgrid. maxing out our cpu's. By attaching to
the process from another visual studio, I can get it to break on some
user code with this huge callstack, most of which is native. So are we
instantiating something in design mode that we should not be? Does
this mean anything to anyone? Is there any way to track dow the cause
of this?
> AdvancedSoftwar eDesigns.Window s.Forms.dll!Adv ancedSoftwareDe signs.Windows.F orms.FlexGrid._ flex_Paint(Obje ct sender = {ProductVision. Windows.Forms.F lexGrid}, System.Windows. Forms.PaintEven tArgs e = {ClipRectangle = {System.Drawing .Rectangle}}) Line 441 Basic
System.Windows. Forms.dll!
System.Windows. Forms.Control.O nPaint(System.W indows.Forms.Pa intEventArgs
e) + 0x57 bytes
C1.Win.C1FlexGr id.2.dll!
C1.Win.C1FlexGr id.Util.BaseCon trols.Scrollabl eControl.OnPain t(System.Window s.Forms.PaintEv entArgs
e = {ClipRectangle = {X=0,Y=223,Widt h=262,Height=67 }}) + 0x36 bytes
C1.Win.C1FlexGr id.2.dll!
C1.Win.C1FlexGr id.C1FlexGridBa se.OnPaint(Syst em.Windows.Form s.PaintEventArg s
e = {ClipRectangle = {X=0,Y=223,Widt h=262,Height=67 }}) + 0x35 bytes
System.Windows. Forms.dll!
System.Windows. Forms.Control.P aintWithErrorHa ndling(System.W indows.Forms.Pa intEventArgs
e = {ClipRectangle = {X=0,Y=223,Widt h=262,Height=67 }}, short layer,
bool disposeEventArg s = false) + 0x5b bytes
System.Windows. Forms.dll!Syste m.Windows.Forms .Control.WmPain t(ref
System.Windows. Forms.Message m) + 0x20b bytes
System.Windows. Forms.dll!Syste m.Windows.Forms .Control.WndPro c(ref
System.Windows. Forms.Message m) + 0x2e7 bytes
C1.Win.C1FlexGr id.2.dll!
C1.Win.C1FlexGr id.Util.BaseCon trols.Scrollabl eControl.WndPro c(ref
System.Windows. Forms.Message m = {msg=0xf (WM_PAINT) hwnd=0xd08b6
wparam=0x0 lparam=0x0 result=0x0}) + 0x1ef bytes
System.Windows. Forms.dll!
System.Windows. Forms.Control.C ontrolNativeWin dow.OnMessage(r ef
System.Windows. Forms.Message m) + 0xd bytes
System.Design.d ll!
System.Windows. Forms.Design.Co ntrolDesigner.D esignerWindowTa rget.DefWndProc (ref
System.Windows. Forms.Message m) + 0xb bytes
System.Design.d ll!
System.Windows. Forms.Design.Co ntrolDesigner.W ndProc(ref
System.Windows. Forms.Message m = {msg=0xf (WM_PAINT) hwnd=0xd08b6
wparam=0x0 lparam=0x0 result=0x0}) + 0xcca bytes
System.Design.d ll!
System.Windows. Forms.Design.Co ntrolDesigner.D esignerWindowTa rget.OnMessage( ref
System.Windows. Forms.Message m) + 0x46 bytes
System.Windows. Forms.dll!
System.Windows. Forms.Control.C ontrolNativeWin dow.WndProc(ref
System.Windows. Forms.Message m) + 0xd6 bytes
System.Windows. Forms.dll!
System.Windows. Forms.NativeWin dow.DebuggableC allback(System. IntPtr
hWnd, int msg = 15, System.IntPtr wparam, System.IntPtr lparam) + 0x75
bytes
[Native to Managed Transition]
[Managed to Native Transition]
System.Windows. Forms.dll!Syste m.Windows.Forms .Control.Update () +
0x6b bytes
System.Design.d ll!
System.Windows. Forms.Design.Be havior.Behavior Service.Adorner Window.Invalida teAdornerWindow (System.Drawing .Region
region) + 0x62 bytes
System.Design.d ll!
System.Windows. Forms.Design.To olStripItemBeha vior.ClearInser tionMark(System .Windows.Forms. ToolStripItem
item) + 0x1fd bytes
System.Design.d ll!
System.Windows. Forms.Design.To olStripItemBeha vior.OnMouseLea ve(System.Windo ws.Forms.Design .Behavior.Glyph
g) + 0x4d bytes
System.Design.d ll!
System.Windows. Forms.Design.Be havior.Behavior Service.InvokeM ouseEnterLeave( System.Windows. Forms.Design.Be havior.Glyph
leaveGlyph, System.Windows. Forms.Design.Be havior.Glyph enterGlyph =
{System.Windows .Forms.Design.T oolStripItemGly ph}) + 0x4e bytes
System.Design.d ll!
System.Windows. Forms.Design.Be havior.Behavior Service.Propaga teHitTest(Syste m.Drawing.Point
pt) + 0xaa bytes
System.Design.d ll!
System.Windows. Forms.Design.Be havior.Behavior Service.Adorner Window.WndProcP roxy(ref
System.Windows. Forms.Message m = {msg=0x200 (WM_MOUSEMOVE)
hwnd=0xa0a80 wparam=0x0 lparam=0x2d101d 3 result=0x0}, int x, int y) +
0x32 bytes
System.Design.d ll!
System.Windows. Forms.Design.Be havior.Behavior Service.Adorner Window.MouseHoo k.ProcessMouseM essage(System.I ntPtr
hWnd, int msg, int x, int y) + 0x172 bytes
System.Design.d ll!
System.Windows. Forms.Design.Be havior.Behavior Service.Adorner Window.MouseHoo k.MouseHookProc (int
nCode = 0, System.IntPtr wparam = 512, System.IntPtr lparam = 1241372)
+ 0x5f bytes
[Native to Managed Transition]
System.Windows. Forms.dll!
System.Windows. Forms.NativeWin dow.DefWndProc( ref
System.Windows. Forms.Message m = {msg=0x112 (WM_SYSCOMMAND)
hwnd=0xa0a80 wparam=0xf087 lparam=0x116fee 9 result=0x0}) + 0x94 bytes
System.Windows. Forms.dll!Syste m.Windows.Forms .Control.DefWnd Proc(ref
System.Windows. Forms.Message m) + 0xc bytes
System.Windows. Forms.dll!Syste m.Windows.Forms .Control.WndPro c(ref
System.Windows. Forms.Message m) + 0x38c bytes
System.Windows. Forms.dll!
System.Windows. Forms.Scrollabl eControl.WndPro c(ref
System.Windows. Forms.Message m) + 0x45 bytes
System.Design.d ll!
System.Windows. Forms.Design.De signerFrame.Ove rlayControl.Wnd Proc(ref
System.Windows. Forms.Message m = {msg=0x112 (WM_SYSCOMMAND)
hwnd=0xa0a80 wparam=0xf087 lparam=0x116fee 9 result=0x0}) + 0x26 bytes
System.Windows. Forms.dll!
System.Windows. Forms.Control.C ontrolNativeWin dow.OnMessage(r ef
System.Windows. Forms.Message m) + 0xd bytes
System.Windows. Forms.dll!
System.Windows. Forms.Control.C ontrolNativeWin dow.WndProc(ref
System.Windows. Forms.Message m) + 0xd6 bytes
System.Windows. Forms.dll!
System.Windows. Forms.NativeWin dow.DebuggableC allback(System. IntPtr
hWnd, int msg = 274, System.IntPtr wparam, System.IntPtr lparam) +
0x75 bytes
[Native to Managed Transition]
[Managed to Native Transition]
System.Windows. Forms.dll!
System.Windows. Forms.NativeWin dow.DefWndProc( ref
System.Windows. Forms.Message m = {msg=0xa1 (WM_NCLBUTTONDO WN)
hwnd=0xa0a80 wparam=0x7 lparam=0x116fee 9 result=0x0}) + 0x94 bytes
System.Windows. Forms.dll!Syste m.Windows.Forms .Control.DefWnd Proc(ref
System.Windows. Forms.Message m) + 0xc bytes
System.Windows. Forms.dll!Syste m.Windows.Forms .Control.WndPro c(ref
System.Windows. Forms.Message m) + 0x87a bytes
System.Windows. Forms.dll!
System.Windows. Forms.Scrollabl eControl.WndPro c(ref
System.Windows. Forms.Message m) + 0x45 bytes
System.Design.d ll!
System.Windows. Forms.Design.De signerFrame.Ove rlayControl.Wnd Proc(ref
System.Windows. Forms.Message m = {msg=0xa1 (WM_NCLBUTTONDO WN)
hwnd=0xa0a80 wparam=0x7 lparam=0x116fee 9 result=0x0}) + 0x26 bytes
System.Windows. Forms.dll!
System.Windows. Forms.Control.C ontrolNativeWin dow.OnMessage(r ef
System.Windows. Forms.Message m) + 0xd bytes
System.Windows. Forms.dll!
System.Windows. Forms.Control.C ontrolNativeWin dow.WndProc(ref
System.Windows. Forms.Message m) + 0xd6 bytes
System.Windows. Forms.dll!
System.Windows. Forms.NativeWin dow.DebuggableC allback(System. IntPtr
hWnd, int msg = 161, System.IntPtr wparam, System.IntPtr lparam) +
0x75 bytes

Jul 3 '07
11 1805
Tom C wrote:
>
I've asked myself several questions, some of them not very polite, but
I keep getting the same dumb answers (from myself). If anyone has any
other suggestions, I am all ears.

Have you bound one or more of the C1FlexGrid Controls to a Database
using the "DataSource " property in the Design Window? If so, try
releasing this and see what happens.

Also, I think you wrote that you haven't generated any code as yet, so
try removing the "ToolStrip" control that shows in the CallStack, I've
had a problem with this failing to initialize in the past.

(Just my 2-cents worth!)

ShaneO

There are 10 kinds of people - Those who understand Binary and those who
don't.
Jul 4 '07 #11
On Jul 4, 1:47 am, ShaneO <spc...@optusne t.com.auwrote:
Tom C wrote:
I've asked myself several questions, some of them not very polite, but
I keep getting the same dumb answers (from myself). If anyone has any
other suggestions, I am all ears.

Have you bound one or more of the C1FlexGrid Controls to a Database
using the "DataSource " property in the Design Window? If so, try
releasing this and see what happens.

Also, I think you wrote that you haven't generated any code as yet, so
try removing the "ToolStrip" control that shows in the CallStack, I've
had a problem with this failing to initialize in the past.

(Just my 2-cents worth!)

ShaneO

There are 10 kinds of people - Those who understand Binary and those who
don't.
Problem solved. Turned out to be some bad references that must have
been causing a conflict.

Jul 5 '07 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

34
4931
by: Fred | last post by:
Hi, I'm currently checking out Python as an alternative to VB.Net to moving from VB, but can't find a GUI designer that is as good as VB. I tried wxDesigner and wxGlade, but neither lets me move the widgets around. I also tried Dialogblocks, but it seems to only handle C++ or XRC, not Python.
12
4905
by: reynoldscraigr | last post by:
Hi All, hope someone can see what wrong here I have the following function function RemoveMenuFromHoldArray(menuName) { var i = 0; for (i=0;i<=MenusToHoldOpen.length-1;i++) { if (MenusToHoldOpen == menuName) { MenusToHoldOpen.splice(i,1); return;
0
1369
by: Ward Bekker | last post by:
Hi, I am researching if it is possible to incorporate the web forms designer that is used by visual studio in another application. Hosting the WIN forms designer is already possible (see http://divil.co.uk/net/articles/designers/hosting.asp for an example) But the 1.0 / 1.1 framework didn't had the needed functionality to be able to host the WEB forms designer.
4
2609
by: Dave Taylor | last post by:
I've been using the dataset designer in Visual Studio to create typed datasets for my application by dragging over tables from the Server Explorer and dropping them into the designer. The problem is, when I modify these tables in SQL Server (typically adding fields and what not), there doesnt seem to be an easy way to update the typed dataset. If I delete the previous table definition and drop a new one on, all of the relationships are...
3
2323
by: Crazy Cat | last post by:
Hi, I'm developing an application that is basically a VB.NET front end to a SQL Server Express 2005 database -- right now I'm using VB.NET 2005 Express until my MSDN subscription gets delivered later this week. Here's the problem I'm experiencing -- I created several databound controls on a form and when I attempt to debug the application I get 6 errors, 16 warnings -- Warning 1 The variable 'JeopardyDataSet' is either undeclared or...
1
1600
by: dev | last post by:
Hi everyone, Is there a way to bind a control (TextBox) to an untyped public DataSet on a WinForm and have its columns appear in the designer under "databindings"? For example, in pseudo-code: public DataSet myDataSet = null; // could be exposed as a property (...) Form_Load(...) myDataSet = AnotherClass.GetDataSet(primaryKey);
0
999
by: sloan | last post by:
My Environment: VS2005 VS2005 SP1 Installed 3.0 Framework installed SilverLight 1.0 SDK Installed I've gotten back into actually coding up some SilverLight demos/projects.
2
1676
by: hexusnexus | last post by:
I wrote a simple algorithm and it keeps getting stuck in a loop. I guess I'm just to tired to figure it out: compcount= suitrank= trump=2 l,lt=0,0 while l<4: while lt<4:
1
1647
by: Cainnech | last post by:
Hi guys, I'm a bit stuck in an infinite loop. What I'm trying to do in the code below is to compare two arrays and if there's an item in array ALGEMEEN that is not in array ITEMS, I want to add it to ITEMS. Now the ITEMS-array looks like this: items=;
0
9655
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10363
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10172
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8993
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7517
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6749
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5398
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3670
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.