Hi,

Iam referencing a ActiveX Control in ASP.NET page.It will not be visible.

Code below

Imports System.Runtime.InteropServices
Imports XceedBackupLib
Public Class WebForm1
    Inherits System.Web.UI.Page

#Region " Web Form Designer Generated Code "

    'This call is required by the Web Form Designer.
    <System.Diagnostics.DebuggerStepThrough()> Private Sub 
InitializeComponent()

    End Sub

    'NOTE: The following placeholder declaration is required by the Web 
Form Designer.
    'Do not delete or move it.
    Private designerPlaceholderDeclaration As System.Object

    Private Sub Page_Init(ByVal sender As System.Object, ByVal e As 
System.EventArgs) Handles MyBase.Init
        'CODEGEN: This method call is required by the Web Form Designer
        'Do not modify it using the code editor.
        InitializeComponent()
    End Sub

#End Region
    Dim BackupProcess As New XceedBackupLib.XceedBackup
    Dim BackupJob As New XceedBackupLib.BackupJob
    Dim FileToBackup As New XceedBackupLib.FileSelection
    Dim ResultCode As New XceedBackupLib.bkpError
    Private Sub Page_Load(ByVal sender As System.Object, ByVal e As 
System.EventArgs) Handles MyBase.Load
        'Put user code to initialize the page here
        BackupProcess.License("BKP11-F7AZD-WUABD-74BA")
        BackupJob.BackupSetName = "Test"
        FileToBackup.FilesToProcess = "D:\RaviRam\*.doc"
        BackupJob.Selection = FileToBackup
        BackupJob.BackupFolder = "F:\"
        BackupJob.BackupSetName = "Manually launched backups"
        ResultCode = BackupProcess.Backup(BackupJob)
        If ResultCode = bkpError.berSuccess Then
            Response.Write("Backup successful.")
        Else
            Response.Write("Problem backing up files. Error: " + 
BackupProcess.GetErrorDescription(bkpValueType.bvtError, ResultCode))
        End If

    End Sub


End Class
 
I want to use some of the predefined events pf active x control in the 
page. how can
i do? can any one help me? it is urgent 

[Non-text portions of this message have been removed]



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to