Click here to Skip to main content
15,890,282 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionVPL GUI Pin
80noos0819-Aug-09 11:28
professional80noos0819-Aug-09 11:28 
QuestionASP.NET not executing Oracle query Pin
Hammad Mansoor18-Aug-09 20:45
Hammad Mansoor18-Aug-09 20:45 
AnswerRe: ASP.NET not executing Oracle query Pin
Kalyan_A19-Aug-09 3:08
professionalKalyan_A19-Aug-09 3:08 
QuestionObfuscator Pin
Suren_112618-Aug-09 18:39
Suren_112618-Aug-09 18:39 
AnswerRe: Obfuscator Pin
Moreno Airoldi18-Aug-09 22:51
Moreno Airoldi18-Aug-09 22:51 
GeneralRe: Obfuscator Pin
Hristo-Bojilov19-Aug-09 1:41
Hristo-Bojilov19-Aug-09 1:41 
GeneralRe: Obfuscator Pin
Moreno Airoldi20-Aug-09 0:06
Moreno Airoldi20-Aug-09 0:06 
QuestionASP.Net Activex problem Pin
smamidi18-Aug-09 11:53
smamidi18-Aug-09 11:53 
Hello all,

I have a problem using activex in my asp.net webpage..
I have developed an activex control code:

Public str As String
Public lastpath As String

Event Acceptpath(str As String)

Private Sub Drive1_Change()
Dir1.path = Drive1.Drive
End Sub

Private Sub Submit_Click()
Text1.Text = Dir1.path
RaiseEvent Acceptpath(Dir1.path)
End Sub

Public Property Let Last(path As String)
lastpath = path
PropertyChanged "Last"
MsgBox (lastpath)
End Property

Public Property Get Last() As String
Last = lastpath
End Property

'Public Property Let Last(path As String)
'lastpath = path
'PropertyChanged "Last"
'End Property

Private Sub Last_Click()
Dir1.path = lastpath
MsgBox (lastpath)
End Sub

Private Sub UserControl_Initialize()
Dir1.path = "E:\Myproject\controls"
End Sub

Private Sub UserControl_ReadProperties(PropBag As PropertyBag)
lastpath = PropBag.ReadProperty("Last")
End Sub

Private Sub UserControl_WriteProperties(PropBag As PropertyBag)
Call PropBag.WriteProperty("Last", lastpath)
End Sub

I have created the CAB file and added to the asp.net page so I can see activex in my page when i run the code but when I send values to the activex control it is not showing any thing.. ASP.Net web code:
<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>
<code>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>My ActiveX control<title>   
           
</head>
<body>

<OBJECT ID="UserControl1" 
CLASSID="CLSID:A9CC0BA6-38B7-4CCA-9244-648EA26F5FD1" 
codebase="Project1.CAB#version=1,0,0,0>
<PARAM name="Last" value="E:\myproject" /></OBJECT>;
   <form id="form1" runat="server">
   
    </form>

</body>
</html>



any help with this code...

So that i can send the values and retrive from Activex...

Thanks
MSK
QuestionMessage Removed Pin
18-Aug-09 6:20
professionalN_tro_P18-Aug-09 6:20 
AnswerRe: Program Icon when using a Setup Project Pin
Moreno Airoldi18-Aug-09 7:52
Moreno Airoldi18-Aug-09 7:52 
GeneralMessage Removed Pin
18-Aug-09 10:12
professionalN_tro_P18-Aug-09 10:12 
GeneralRe: Program Icon when using a Setup Project Pin
Moreno Airoldi18-Aug-09 14:26
Moreno Airoldi18-Aug-09 14:26 
GeneralMessage Removed Pin
20-Aug-09 10:14
professionalN_tro_P20-Aug-09 10:14 
GeneralRe: Program Icon when using a Setup Project Pin
Moreno Airoldi20-Aug-09 22:48
Moreno Airoldi20-Aug-09 22:48 
QuestionEnterpriseLibrary 4.1 Pin
Helfdane18-Aug-09 4:42
Helfdane18-Aug-09 4:42 
QuestionExport DataSet To Excel [modified] Pin
#realJSOP18-Aug-09 2:53
mve#realJSOP18-Aug-09 2:53 
AnswerRe: Export DataSet To Excel [modified] Pin
Eddy Vluggen18-Aug-09 5:21
professionalEddy Vluggen18-Aug-09 5:21 
QuestionMSBuild [modified] Pin
Tristan Rhodes18-Aug-09 0:45
Tristan Rhodes18-Aug-09 0:45 
QuestionHow to change type of JIT compiler Pin
Rohit Kulkarni18-Aug-09 0:33
Rohit Kulkarni18-Aug-09 0:33 
AnswerRe: How to change type of JIT compiler Pin
Eddy Vluggen18-Aug-09 1:52
professionalEddy Vluggen18-Aug-09 1:52 
GeneralRe: How to change type of JIT compiler Pin
Rohit Kulkarni18-Aug-09 23:15
Rohit Kulkarni18-Aug-09 23:15 
QuestionNeed some help with socket programming. Pin
Soumya9217-Aug-09 22:18
Soumya9217-Aug-09 22:18 
QuestionRe: Need some help with socket programming. Pin
Mark Salsbery19-Aug-09 6:47
Mark Salsbery19-Aug-09 6:47 
QuestionRe: Need some help with socket programming. Pin
Soumya9220-Aug-09 1:24
Soumya9220-Aug-09 1:24 
QuestionRe: Need some help with socket programming. Pin
Mark Salsbery20-Aug-09 6:39
Mark Salsbery20-Aug-09 6:39 

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.