Click here to Skip to main content
15,888,803 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to Convert existing C# Windows Application to C# Web Application.. Pin
V.18-Mar-07 23:35
professionalV.18-Mar-07 23:35 
AnswerRe: How to Convert existing C# Windows Application to C# Web Application.. Pin
Colin Angus Mackay19-Mar-07 1:21
Colin Angus Mackay19-Mar-07 1:21 
AnswerRe: How to Convert existing C# Windows Application to C# Web Application.. Pin
Dave Kreskowiak19-Mar-07 1:44
mveDave Kreskowiak19-Mar-07 1:44 
AnswerRe: How to Convert existing C# Windows Application to C# Web Application.. Pin
Vasudevan Deepak Kumar19-Mar-07 5:33
Vasudevan Deepak Kumar19-Mar-07 5:33 
QuestionSalvaging source code with Reflector, recompiling code with changes. Pin
Nostromo7718-Mar-07 19:53
Nostromo7718-Mar-07 19:53 
AnswerRe: Salvaging source code with Reflector, recompiling code with changes. Pin
Sun Rays18-Mar-07 20:23
Sun Rays18-Mar-07 20:23 
GeneralRe: Salvaging source code with Reflector, recompiling code with changes. Pin
Nostromo7719-Mar-07 4:56
Nostromo7719-Mar-07 4:56 
Questioncom component on aspx page Pin
Vishal Marya18-Mar-07 19:49
Vishal Marya18-Mar-07 19:49 
i have created a simple activex control.
it loads successfuly on the aspx page. it displays its user interface as created. ( one text box and a command button )

following is the vb6 code for the activex control

Option Explicit
Dim displaytext_value As String

Private Sub Command1_Click()
Text1.Text = displaytext_value
End Sub


Public Property Get displaytext() As String
displaytext = displaytext_value
End Property

Public Property Let displaytext(ByVal vNewValue As String)
displaytext_value = vNewValue
End Property

Private Sub UserControl_ReadProperties(PropBag As PropertyBag)
displaytext_value = PropBag.ReadProperty("displaytext", "")
End Sub

Private Sub UserControl_WriteProperties(PropBag As PropertyBag)

PropBag.WriteProperty "displaytext", displaytext_value, ""

End Sub

-----------------------------------------
following is the aspx page code

<object style="Z-INDEX: 110; LEFT: 304px; WIDTH: 176px; POSITION: absolute; TOP: 296px; HEIGHT: 176px"
="" codebase="TestCtl.ocx" classid="clsid:4C86F415-A10F-4785-B7D0-549A37D20F08" viewastext="">
<param name="_ExtentX" value="4657" />
<param name="_ExtentY" value="4657" />
<param name="displaytext" value="this is a test control" />



-------------Now the Problem ----------------------------

this control is loaded in the page when its opened in the web browser.

But on click of the command button , value of displaytext property i.e.
"this is a test control" should be displayed in the textbox.
and that is Not Happening.

if i use this control in vb.net windows application. it works and value is displayed

Any Suggestions.

Thanks


Vishal Marya

Questionabout window.close() Pin
Sebastian T Xavier18-Mar-07 19:48
Sebastian T Xavier18-Mar-07 19:48 
AnswerRe: about window.close() Pin
Ziyad Mohammad18-Mar-07 20:44
Ziyad Mohammad18-Mar-07 20:44 
GeneralRe: about window.close() Pin
Sebastian T Xavier18-Mar-07 21:01
Sebastian T Xavier18-Mar-07 21:01 
AnswerRe: about window.close() Pin
Vasudevan Deepak Kumar19-Mar-07 5:35
Vasudevan Deepak Kumar19-Mar-07 5:35 
QuestionProblem with access of folder Pin
Sun Rays18-Mar-07 19:41
Sun Rays18-Mar-07 19:41 
AnswerRe: Problem with access of folder Pin
Elina Blank19-Mar-07 3:56
sitebuilderElina Blank19-Mar-07 3:56 
AnswerRe: Problem with access of folder Pin
Vasudevan Deepak Kumar19-Mar-07 5:36
Vasudevan Deepak Kumar19-Mar-07 5:36 
GeneralRe: Problem with access of folder Pin
Sun Rays19-Mar-07 22:37
Sun Rays19-Mar-07 22:37 
QuestionSunday dates in Datagrid ............... Pin
Member 387988118-Mar-07 18:38
Member 387988118-Mar-07 18:38 
AnswerRe: Sunday dates in Datagrid ............... Pin
Sun Rays18-Mar-07 20:08
Sun Rays18-Mar-07 20:08 
Questionxslt.Transform Pin
tonymathewt18-Mar-07 18:14
professionaltonymathewt18-Mar-07 18:14 
AnswerRe: xslt.Transform Pin
DavidNohejl18-Mar-07 23:09
DavidNohejl18-Mar-07 23:09 
Questionrepeater controll Pin
Tauseef A18-Mar-07 13:07
Tauseef A18-Mar-07 13:07 
AnswerLots of ways Pin
Sun Rays18-Mar-07 20:13
Sun Rays18-Mar-07 20:13 
AnswerRe: repeater controll Pin
Ziyad Mohammad18-Mar-07 20:22
Ziyad Mohammad18-Mar-07 20:22 
Questioncan't make otbound connections Pin
Mridang Agarwalla18-Mar-07 8:11
Mridang Agarwalla18-Mar-07 8:11 
Questiondraw on web form Pin
no need to tell name18-Mar-07 8:10
no need to tell name18-Mar-07 8:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.