Solved

Windows NT

Posted on 2000-02-25
3
144 Views
Last Modified: 2013-12-28
What is the "demarc" or point of demarcation?
0
Comment
Question by:wkstan
3 Comments
 
LVL 3

Expert Comment

by:Dassa
ID: 2557453
Is this what you are after, if not you may to expand on your question.

From : http://support.microsoft.com/support/kb/articles/Q138/0/68.asp

The information in this article applies to:

Microsoft Visual Basic Standard, Professional, and Enterprise Editions, 16-bit and 32-bit, for Windows, version 4.0

--------------------------------------------------------------------------------


SUMMARY
A Visual Basic 4.0 form object can exist in five possible states:



Unloaded


Created but not loaded


Invisible but loaded (hidden)


Visible


Unloaded but control is loaded


Four of these states (1, 3, 4, and 5) existed in Visual Basic version 3.0 also. The new state in Visual Basic version 4.0 is the "Created but not loaded" state.



MORE INFORMATION

Unloaded
In this state the form hasn't been loaded yet. It does not exist.
Created But Not Loaded
This is new in Visual Basic version 4.0. To explain this state, it is beneficial to think of the form as having two parts: a code part and a visual part. Think of the code part as including all the methods and properties that may be defined in the form module (this part is new in Visual Basic version 4.0). Think of the visual part as all the rest such as the form properties in the Property window (this part is same for Visual Basic version 3.0 and Visual Basic version 4.0).

In Visual Basic version 4.0, forms are objects. When you use an auto- instantiating variable to refer to a user-defined property or method (that is, any member in the code part), the Form object is created but not loaded (that is, only the code part of it is loaded). This means that the Initialize and Terminate Events for the form are invoked.

Say there is a Sub procedure called MyMethod defined in the form module. Then the following code illustrates the semi-loaded state of a form:
   Dim x As New Form1
   x.MyMethod
Invisible But Loaded (Hidden)
In this state, the form is loaded and then its Visible property is set to False. The line of demarcation for this state is the execution of the Form_Load() event.
Visible
The normal state of the form being loaded and then shown.
Unloaded But Control is Loaded
You get into this state by loading the form, setting a reference to a control on the form, and then unloading the form. The reference to the control still stays alive.

This can be a very dangerous state to leave your form in because on unloading the form, the code in the Form_Unload() event is executed, yet the form and its controls are not destroyed. The Form object and all the objects it contains still exist. What's more, they will be loaded back into memory, with all their current property values and states, the moment your code uses that control reference, even if its just to query a property of the "loaded" control. The dangerous part is that the Form_Load() event will not be executed. It is as if you just made the form visible again.
0
 
LVL 20

Expert Comment

by:hes
ID: 2558333
Demarc
The "demarcation point", or the point where the telephone company's wiring stops and your wiring begins. In other words, the phone company will charge you extra for any wiring work performed on your side of the demarc.

0
 

Accepted Solution

by:
onnog earned 100 total points
ID: 2558934
The demarcation point is the point where the responsibilities of a phone company ends. From that point on to your connecting devices, you are responable for the correct operations of cabling and devices connected to the line.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Update 11/3/2014 - Although the below article will get you to relocate the WINSXS folder, Microsoft has finally released a utility to reduce the size of the WINSXS folder. For some reason, it's not that straightforward. It only works on Windows 2008…
Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now