ocx 폼으로 값을 넘기기
개발자 | 2008. 4. 30. 14:31
-- asp ---
<object id="testocx" classid="clsid:5F2F0A02-04D1-461B-AF6F-D16DAA5929DA" >
<param name="id" value="<%=session("id")%>"></param>
</object>
-- VB --
Dim aid As String
Private Sub UserControl_Initialize()
a = aid
b = "id : " + a
Text1.Text = b
End Sub
Public Property Get acceptid() As Variant
End Property
Public Property Let acceptid(ByVal id As Variant)
aid = id
End Property
'개발자' 카테고리의 다른 글
| Application Pool 재시작 하기 (0) | 2008.07.16 |
|---|---|
| 일자,날짜 구하기 함수 - 주,월요일,마지막날 (0) | 2008.05.02 |
| ASP 에서 OCX 실행 (0) | 2008.04.30 |
| 웹페이지(HTML)에서 직접 실행파일(exe) 실행시키기 (0) | 2008.04.30 |
| .NET 생명주기 (0) | 2008.04.30 |