API VBA: Infinite Loop

by Corey Scheich » Fri, 29 Aug 2003 03:50:13 GMT



Why doesn't escape end an infinite loop in SolidWorks VBA Editor. It works
in the one for excel. Is there something else I could do.

Corey Scheich





Re: API VBA: Infinite Loop

by Tony O'Hara » Fri, 29 Aug 2003 05:36:50 GMT



Ctrl-Break should work. (traditional 'Basic' program language method)




works





Re: API VBA: Infinite Loop

by Corey Scheich » Fri, 29 Aug 2003 05:42:17 GMT



Gosh I wish I would have known that a long time ago. Would have saved me a
bit of trouble.

Thanks

Corey





Re: API VBA: Infinite Loop

by sldprt » Sat, 30 Aug 2003 02:01:29 GMT








my vb teacher did not tell a student that when we were writing a test.
he CTRL ALT DELETE to stop it.
i was laughing in my head.



Similar Threads

1. microsoft.public.word.vba.general >> replace header text: get section data in header to halt infinite loop VBA
VBA macro, which replaces header text when recorded, does NOT replace header text when called. I then forced macro into header and it replaces fine, but the ActiveWindow.ActivePane.View.NextHeaderFooter goes into an infinite loop. Tried getting section number using old WordBasic command (SelInfo(2)), as well as page number (SelInfo(3)) NewPg = WordBasic.SelInfo(3) then compairing "NewPg" with prior page variable "OldPg". Variables don't seem to fill. Any suggestions appreciated. THANK YOU.

2. microsoft.public.vb.bugs >> Problem with Form.ValidateChildren (infinite validation loop?)
When attempting to use the form.ValidateChildren() with multiple validation errors the code appears to get in an infinite loop among the various validation subroutines. With only one validation error on the form the problem does not appear to occur. Thank you for your help on this issue. -- Jeffrey A Heimberger, MCP Information Systems Assistant Stark Area Regional Transit Authority (SARTA) Ph. 330-454-6132 x 526 -- fax 330-454-5476 Voted #1 Transit in America

3. microsoft.public.vb.com >> Infinite loop querying remote WMI
I am using a GetObject statement to read the WMI on a remote pc. If the WinMgmt service is not working properly (remotely) the VB code hangs with a message ("waiting for an OLE.." etc etc). As this is not an error message the VB code is not capturing it and will progress no further and not allow me to quit out. Any Ideas? Otherwise - is there a way to return the remote RAM of a pc without using WMI? Matt

4. microsoft.public.vb.crystal >> Infinite loop with crystal control viewer
Hi: Here in my company we have been trying to figure out (for several days already) what is the weird reason that is doing the crystal control viewer (crviewer.dll) act this way. When we are previewing a report (that is using an Access Database as it source), we call this snippet of code... With CRViewer1 .EnableDrilldown = False .EnableGroupTree = False .Top = 0 .Left = 0 .Height = ScaleHeight .Width = ScaleWidth .Zoom (100) .DisplayBackgroundEdge = True .DisplayTabs = False .

5. microsoft.public.vb.general.discussion >> Calling code in DLL that has an "infinite Loop"
Hello, I'm trying to tie some hardware my company builds into a PC. I'm running Win98 on the PC and can access my hardware C++ functions in a DLL. Right now I'm checking if the hardware puts up some information then when the PC gets around to it, it reads the informaiton. This is leading to a lag in data because the PC can get busy with other things and not read the data right away. I'm wondering if there is a way to start a routine in the C++ dll that uses a near infinite loop to "interrupt" the vb6 program when data comes in by putting the data into something like text box.

6. Weird infinite loop

7. XP Setup in an infinite loop

8. GetWindow - Infinite Loop?

9. StrReverse() function - infinite loop

10. Macro stuck in infinite Dir loop


Post a new topic