473,772 Members | 2,442 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 #1
11 1804
On Jul 3, 10:07 am, Tom C <tom_cla...@asd software.comwro te:
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(Obj ect 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.PaintE ventArgs
e = {ClipRectangle = {X=0,Y=223,Widt h=262,Height=67 }}) + 0x36bytes
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 }}) + 0x35bytes
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 *teAdornerWindo w(System.Drawin g.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.Desig n.Behavior.Glyp h
g) + 0x4d bytes
System.Design.d ll!
System.Windows. Forms.Design.Be havior.Behavior Service.InvokeM ouseEnterLeave( *System.Windows .Forms.Design.B ehavior.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.Poin t
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.ProcessMouse Message(System. IntPtr
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.MouseHookPro c(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
That would be mdi parent of course...

Jul 3 '07 #2
Hi Tom -

Do you have anything specified in the form's constructor? This code
will be run when the form is loaded in the designer. If so, that may
be the cause of your loops.

Cheers,

-Mark

Jul 3 '07 #3
On Jul 3, 10:52 am, "mark.mil...@bi naryswitch.com"
<mark.mil...@bi naryswitch.comw rote:
Hi Tom -

Do you have anything specified in the form's constructor? This code
will be run when the form is loaded in the designer. If so, that may
be the cause of your loops.

Cheers,

-Mark
Mark,

The window itself doesn't even have constructor sub other than what
happens in the designer written code. We do have a couple of instance
variables that are declared and instantiated such as an arraylist and
booleans.

Thanks,

Tom

Jul 3 '07 #4
Do you have any custom controls on the form which may be attempting to
run code in their constructors or OnLoad event handlers?

Thanks,

-Mark

Jul 3 '07 #5
Actually, when we're talking about custom controls, they are
essentially running inside of the designer; so any code that responds
to mouse movement, etc, may be running as well.

Thanks,

-Mark

Jul 3 '07 #6
On Jul 3, 11:16 am, "mark.mil...@bi naryswitch.com"
<mark.mil...@bi naryswitch.comw rote:
Actually, when we're talking about custom controls, they are
essentially running inside of the designer; so any code that responds
to mouse movement, etc, may be running as well.

Thanks,

-Mark
I just have no idea how to find it, if there is offending code
executing. We have 1 custom class on the window, a c1flexgrid, with 4
instances. Now this class is inherited by the window project from yet
another library that inherits from c1 but both of these contstructors
do little more than assign some boolean values. We have numerous
instances of this same control on other windows and it causes
absolutely no problems elsewhere.

I have a debug session running against the designer and it just runs
until I do a break all and then f10 and it steps into some user code
in our flexgrid library code and our flexgrid windows code but I don't
seen any calls other than native code so don't know any other way to
examine this.

Any ideas how I can find the offending code short of a lashing?

Tom

Jul 3 '07 #7
It's kind of hard to determine when I'm not looking at it...

Naturally, you can start asking yourself question such as:

What is different about this form and the ones the control is working
on?
Does this control support having multiple versions on one form/is
there any reason why it might not allow that?

....and if all else fails, you can start commenting out blocks of code
until you get it to work, and narrow down the problem that way...but
man, that's a brutal way to proceed.

When you do find the problem, there are code samples online (albeit,
buggy ones) that will return a boolean value indicating whether or not
you're in the designer. (I'm surprised there's nothing in the
framework for this by now.) You could wrap the code in that function,
or, ideally, rework your solution to avoid whatever pitfall you came
across.

I had a similar problem recently with an inherited form that behaved
irratically inside the designer. I chose to rework the solution,
because the aforementioned function only works due to a bug that will
hopefully be resolved soon.

Good luck, Tom,

-Mark

Jul 3 '07 #8
On Jul 3, 12:10 pm, "Mark S. Milley, MCAD (BinarySwitch)"
<mark.mil...@bi naryswitch.comw rote:
It's kind of hard to determine when I'm not looking at it...

Naturally, you can start asking yourself question such as:

What is different about this form and the ones the control is working
on?
Does this control support having multiple versions on one form/is
there any reason why it might not allow that?

...and if all else fails, you can start commenting out blocks of code
until you get it to work, and narrow down the problem that way...but
man, that's a brutal way to proceed.

When you do find the problem, there are code samples online (albeit,
buggy ones) that will return a boolean value indicating whether or not
you're in the designer. (I'm surprised there's nothing in the
framework for this by now.) You could wrap the code in that function,
or, ideally, rework your solution to avoid whatever pitfall you came
across.

I had a similar problem recently with an inherited form that behaved
irratically inside the designer. I chose to rework the solution,
because the aforementioned function only works due to a bug that will
hopefully be resolved soon.

Good luck, Tom,

-Mark
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.

Jul 3 '07 #9
create a backup of the form...
open it ...
delete the grids from the form.
add them back one by one - closing / opening form in between each
re-link any code to the control.

i know this is drastic, but it will either bring the problem to the surface
or simply make the problem disappear. just be sure to backup your current
form.

"Tom C" <to********@asd software.comwro te in message
news:11******** **************@ g4g2000hsf.goog legroups.com...
On Jul 3, 12:10 pm, "Mark S. Milley, MCAD (BinarySwitch)"
<mark.mil...@bi naryswitch.comw rote:
>It's kind of hard to determine when I'm not looking at it...

Naturally, you can start asking yourself question such as:

What is different about this form and the ones the control is working
on?
Does this control support having multiple versions on one form/is
there any reason why it might not allow that?

...and if all else fails, you can start commenting out blocks of code
until you get it to work, and narrow down the problem that way...but
man, that's a brutal way to proceed.

When you do find the problem, there are code samples online (albeit,
buggy ones) that will return a boolean value indicating whether or not
you're in the designer. (I'm surprised there's nothing in the
framework for this by now.) You could wrap the code in that function,
or, ideally, rework your solution to avoid whatever pitfall you came
across.

I had a similar problem recently with an inherited form that behaved
irratically inside the designer. I chose to rework the solution,
because the aforementioned function only works due to a bug that will
hopefully be resolved soon.

Good luck, Tom,

-Mark

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.

Jul 3 '07 #10

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

Similar topics

34
4926
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
4904
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
9621
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
9454
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10264
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
10106
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...
1
10039
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7461
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...
1
4009
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3610
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2851
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.