Link template and database

I am creating a template from a existing document that uses a database thru php for it's contents. For some reason When I save it as template ( i chooce update link) It does not show the images. Also it does not create the link properly. A couple of things to note :
The image is called by a database field from image folder.
link is also called upon from a database field.
They both work fine in the document but when I create a template or another document based on template the link and image does not work .  here are code from the template
<?php do { ?>
      <table width="800" height="38" border="0" align="center" cellpadding="0" cellspacing="0" class="tableborder2">
        <tr>
          <td width="637" align="left" valign="top"><p><span class="title"><br />
          </span><span class="tabl1title"><?php echo $row_mainpage['title']; ?></span><span class="otherinfo"><?php echo $row_mainpage['other_info']; ?></span><br />
          <span class="pricevendor"><a href="<?php echo $row_mainpage['../link_product']; ?>" class="pricevendor"><?php echo $row_mainpage['merchant']; ?></a></span><span class="moneynormal"> Price</span><span class="priceproduct"> $<?php echo$row_mainpage['price'] ; ?></span><span class="pricenote"> <?php echo $row_mainpage['price_note']; ?></span></p></td>
          <td width="163" align="left" valign="top"><li class="navigation3"> List Price : $<?php echo $row_mainpage['list_price']; ?></li> <li class="navigation3">Deal expire : <span class="style8"><?php echo $row_mainpage['deal_expire']; ?></span> </li>
          <li class="navigation3"> Added:  <?php echo $row_mainpage['date_created']; ?></li></td>
        </tr>
    </table>
      <table width="800" border="0" align="center" cellpadding="0" cellspacing="0" class="tableborder">
        <tr>
          <td width="150" align="center" valign="top"><a href="<?php echo $row_mainpage['../link_product']; ?>"><img src="image/<?php echo $row_mainpage['image']; ?>" width="125" height="125" border="0" align="left" /></a></td>
          <td width="650" align="left" valign="top"><p class="description"><?php echo $row_mainpage['description']; ?>
            <p> <a href="<?php echo $row_mainpage['../link_product']; ?>" class="click">Click here</a> <span class="shopdoedeal">to shop for this deal</span><br />
              <span class="pricenote"><?php echo $row_mainpage['shipping_info']; ?></span><br />
              <span class="taxinfo"><?php echo $row_mainpage['tax_info']; ?><br />
            </span><span class="buyinginstruction"><?php echo $row_mainpage['buying_instruction']; ?></span></p>
          <p> </p></td>
        </tr>
    </table>
      <?php } while ($row_mainpage = mysql_fetch_assoc($mainpage)); ?>
    <p><br />

You can use the templates for Oracle Enterprise Linux.
According to Readme:
"The oracle-rdbms-server-11gR2-preinstall package is installed in the templates
before the Oracle Linux 6 Update 4 templates. This package installs software
packages and sets system parameters that are required for Oracle single instance
and Real Application Cluster install for Oracle Linux Release 6.
This package creates the 'oracle' user, with an initial login group of 'oinstall',
a supplementary group of 'dba', and a home directory of /home/oracle. The
Oracle-validated package disables logins by the user 'oracle', and the password is
locked for the 'oracle' user by default. To enable the 'oracle' user account, log in
as the 'root' user to the guest virtual machine after it is booted."
If you choose to use OEL 6 Update 4 you can install the package using the package manager.

Similar Messages

  • Linking Template and non Template pages

    So here is the problem I am trying to link my template pages to some pages I based off of them and saved as a different name. Now I can't get them to work I type the links the right way and everything, but when I click them they do nothing. Can anyone help?

    Hi Liam, thanks for your help. Let me try to be a little clearer: I have used a Dreamweaver template to design my new site, I have changed up each page as my own with updated content. When I try to go back and link the pages that are not named the same as the original Dreamweaver template, I can not get it to work or link those pages. Basically the only pages that are working are pages linked to outside websites (ex. "search" linked to google.com,  that works fine).
    So what is odd to me, if I leave the page named the same as it labeled on the template it works fine, (ex. three column, when left as three column title it does work fine). However, if I take that page and rename it (ex. three column, and rename it "Contact Me" it will not work). I can see the pages labeled but they are not active or live.
    I do not know if the issue is because of using a template or what I am doing wrong. I have not included {tag_pagecontent} because I did not see if listed anywhere on my template. So I do need to add this? On each page?
    Thanks again for your help and any other suggestions would be great.

  • Templates and document relative linking.

    Im trial using DW cs5 and find that if i make a template and then
    use that template to make pages it doesnt make document relative links.
    Instead it makes links relative to my local drive. ie c/documents/foo.
    Even if I have the template file with document relative links, when I make the page it turns into local relative and to upload this to a server wont work.
    Am I missing something ?
    I can figure it out.
    CS4 did this fairly easy.
    Cheers

    I dont know how to fix this.
    My site is set to relative document linking and the template is linked that way but when I make a new page from template it reverts to local linking.
    instead of ../../ images , I get c://documents/ etc.
    I dont know whats going on.

  • How to create database link between oracle9i database and oracle10g

    How to create database link between oracle9i database and oracle10g
    oracle9i database name "Prod" windows server 2003 ( 172.x.x.x)
    oracle10g database name "TEST" sun solaris 9 (165.x.x.x.x)
    Please help me on this

    For connections between 10.2 and 9.2 the 9.2 end MUST be at 9.2.0.4 or higher. Connections between 10.2 and 9.2.0.1, 9.2.0.2 or 9.2.0.3 are not supported.
    Connections between 10.2 and 9.0.1 was never been supported.
    Cheers !!!!
    Bhupinder

  • Re-linking Motion assets, templates and filters etc.

    Hi, can anyone help me with re-linking my Motion assets, templates and filters? They're currently stored on an external hard drive. I've now managed to upgrade my macbook pro HD and would like to have then on my internal HD. So which folders do I place them in and how do I link them to their new location so that Motion recognises them?
    Also I will have to do this for my whole Final Cut HD suite so will it be the same process for Soundtrack Pro, DVD studio pro and Livetype etc?
    Thank

    The locations are stored in the file /Library/Preferences/com.apple.proapps.plist. If you don't have the developer tools installed, try something like PlistEdit Pro to open the file.
    http://www.fatcatsoftware.com/plisteditpro/

  • Global_name and database link

    I have Windows XP with 10.2.0.1.0
    I have made my database global_name to be junk.points.com.
    And, I create a database link as:
    create database link preview using 'xxxxx';
    the db_link is preview.point.com.
    However, if I use the following command:
    create database link preview.system using 'xxxxx';
    the db_link is preview.system instead of preview.system.points.com.
    I expect the db_link should be preview.system.points.com. Please help.
    Thanks

    Hi,
    Specify the complete or partial name of the database link. If you specify only the database name, then Oracle Database implicitly appends the database domain of the local database.
    If the value of the GLOBAL_NAMES initialization parameter is TRUE, then the database link must have the same name as the database to which it connects. If the value of GLOBAL_NAMES is FALSE, and if you have changed the global name of the database, then you can specify the global name.
    Defining a CURRENT_USER Database Link: Example
    The following statement defines a current-user database link to the remote database, using the entire service name as the link name:
    CREATE DATABASE LINK remote.us.oracle.com
    CONNECT TO CURRENT_USER
    USING 'remote';
    The user who issues this statement must be a global user registered with the LDAP directory service.
    Please view the below document.
    http://www.stanford.edu/dept/itss/docs/oracle/10g/server.101/b10759/statements_5005.htm
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/ds_admin002.htm
    And please check the db links you posted one is having __.point.com
    and the other one is having ___.points.com
    Please make sure you are using the GLOBAL_NAMES set true and displaying correct dblink .
    Hope this will be helpful :)
    Thanks,
    Balaji K.

  • Question on templates and updating linked files

    OK I have a master template file. Let's say it is named
    a.dwt. I used a.dwt to create another template (b.dwt) that had
    more content on it than a.dwt. I would use b.dwt to create a group
    of similar looking pages which still had all the elements of a.dwt
    but also the additional content of b.dwt.
    Now if I make a change to the a.dwt template, all pages
    created from a.dwt change except b.dwt. So either I forgot to
    create the b.dwt by going to file->new->page from
    template->and then save it as a .dwt OR maybe it's not possible
    to have a secondary template that gets updated when the first
    template gets updated thus causing all pages from the secondary
    template to get updated?
    Is there any way to go back and make b.dwt update
    automatically whenever a.dwt gets updated? The scenario I have
    right now is that I have to make certain site changes on both a.dwt
    and b.dwt instead of just making the change on a.dwt and that
    change flowing into b.dwt and its spawned pages.

    >I think what possibly happened is that I opened a.dwt and
    then made the
    > addition of the form element to a.dwt but then simply
    saved as b.dwt
    > instead of
    > FILE | New From Template
    Yes, I think that's a possible scenario.
    > There will be about 15 pages that will look the same
    (have the
    > same form) except that at the top it will say "Send mail
    to Person X"
    > where
    > Person X will change.
    I see. Are you using "mailto:" on each of those forms? This
    method of
    sending form data is notioriously unreliable, you know? It
    depends on a)
    your visitor's browser knowing what to do with such a link,
    and b) your
    visitor's email client knowing what to do with such a link,
    and c) your
    visitor not being put off by the security alert message that
    may pop up when
    they click. Nevermind the fact that it fails completely in
    public locations
    that do not have an email client installed.
    Why not do this the right way with server scripting? In that
    case you could
    have a single page with a single form, and let the visitor
    select a name as
    the recipient from a list/menu field.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Johnny the boy" <[email protected]> wrote
    in message
    news:[email protected]...
    >I think what possibly happened is that I opened a.dwt and
    then made the
    > addition of the form element to a.dwt but then simply
    saved as b.dwt
    > instead of
    > FILE | New From Template
    >
    > Thus when I made changes to a.dwt, they did not
    propagate to pages created
    > from b.dwt
    >
    > I am asking you what I should do. Should I create a new
    page from a.dwt
    > and
    > then paste in the form code (which is the additional
    code that
    > differentiates
    > it from a.dwt)? There will be about 15 pages that will
    look the same
    > (have the
    > same form) except that at the top it will say "Send mail
    to Person X"
    > where
    > Person X will change.
    >
    > Or should I nest the templates by doing your steps:
    > 1. Create a.dwt.
    > 2. Spawn a child from a.dwt with FILE | New From
    Template..., and select
    > a.dwt
    > 3. Edit this child, as needed, and then SAVE IT AS A
    TEMPLATE, e.g., FILE
    > |
    > Save as Template....
    >
    > I do not understand how there will be a complex
    maintenance price. The
    > behavior that I would be looking for is that if I had to
    make an addition
    > or
    > edit of the navigation using a.dwt, the change would
    carry over to the
    > b.dwt
    > template and it's pages.
    >
    > I am kind of leaning towards copying the code that is
    already present for
    > the
    > forms spawned from b.dwt and then pasting it into a
    brand new page that is
    > spawned from a.dwt but I don't know if that's the best
    way to do it or if
    > there
    > would be consequences.
    >

  • Portal and Database Links

    We are running Portal 3.0.9.8.0. I am wondering if anyone has come across away to disable the ability of users to create database links.

    Hi,
    You can do it only by revoking the "create database link" or "create public database link" privilege from the database schema
    to which the portal user is connected.
    For example say there is a user "erin" mapped to the database schema portal30, then you should go to the
    "Administer Database" tab and edit the schema using the "Schemas" portlet. In the roles tab remove "create pubic database link"
    or "create database link" privilege.
    This might help. But be careful not to remove the privilege from the portal schema, unless you do not want to create any
    database links as the portal schema.
    Thanks,
    Sharmila

  • Owb and database link creation

    hi everybody....
    I installed oracle 10g and owb on the samo machine (windows xp). When trying to create oracle module in owb it is required to create database link (is there any workaround?). But how can I create database link to local database when connected to local database???? Can anybody help me???
    thanks in advance

    thanx for your reply... I alredy tried everything.. but I always get this error:
    Testing...
    Failed.
    SQL Exception
    Repository Error:SQL Exception..
    Class Name: CacheMediator.
    Method Name: getDDEntryFromDB.
    Repository Error Message: ORA-28546: connection initialization failed, probable Net8 admin error
    Oracle instance works properly.. but I can not create Oracle module from OWB. Here is my tnsnames.ora file:
    ORCLANTI.LOCAL.HOST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = antix.login.net)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orclanti)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    here is my sqlnet.ora file
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    NAMES.DEFAULT_DOMAIN= local.host
    and here is my listener.ora file
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = E:\ora10g)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = orclanti.local.host)
    (ORACLE_HOME = E:\ora10g)
    (SID_NAME = orclanti)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = antix.login.net)(PORT = 1521))
    username and password are correct and db link name is ok!
    Now, do I have to enter SQL*Net connect string or hostname and oracle service name???
    I repeat... I already tried almost every combination!
    Thanks again
    maybe this is an Oracle configuration error because I am pretty new to this RDBMS :)
    another question:
    1. is ti possible to create a database link to local database (for example if I am connected to local database on my machine can I create database link from that database to same database but for another schema)???
    Message was edited by:
    antix

  • I have taken pictures of items that are linked to a database that I am building.  How can I bypass importing into iPhoto and simply downloading the images as "files" not "photos" so I can access them with my database?  thanx.

    I have taken pictures with both my Sony camera and my iPhone of items that are linked to a database that I am building, as well as my website.  How can I bypass importing the images into iPhoto and simply downloading the images as "files" not "photos" so I can access them with my database?  thanx.

    If your Sony has a removable memory card you can use a card reader to copy the image files from to a folder on your Desktop and then move them anywhere you'd like.
    Since the iPhone doesn't have a removable memory card you can try using Image Capture to see if you can manually upload the files to a folder on the Desktop. 
    If you have to import the photos, which are image files, into iPhoto you can then export them out of iPhoto to the Desktop and go from there to your database.  Just because they are in iPhoto doesn't prevent you from using them elsewhere.
    OT

  • Link between data dictionary and database

    Hi friends,
    I have created  a ztable through SE11 and when i activated it a copy of it gets created in the database.
    know i know that iam creating it at the application layer level now when upon activation how does it gets created in database.
    what exactly is the linkage between application and database.
    can any one tell me
    Regards
    Satish Kumar

    Hi
    In the databse it's created a table with the same name of dictionary table, u should get a book of SQL command, or see the SQL command in Internet, for example search the command CREATE TABLE
    Max

  • Can I download all custom xml templates from database

    Hi,
    We are going to implement VSS ( Version Software Management Tool ) to manage the version / history of all custom objects.
    For that we need to download all custom objects on another server.
    it is very tedious and time consuming to download individual xml template from front end.
    How can I extract all custom templates from database? Is there any tool available ?
    Regards,
    Jay

    You can only sync to one computer.
    If you still have your old computer copy the iTunes media library over to your new MAC.
    see this link Syncing to a "New" Computer or replacing a "crashed" Hard Drive

  • Fillable PDFs and databases, what's it all about?

    Hi Everyone
    I'm using Adobe Pro 9 with LC built in and I started using LC forms to collate data from colleagues, basically I created a form then distributed it via email and people would then fill it in and send it back to me. I would collate this into a PDF responses file then export into a csv file. However I'm using Access Databases alot now and have been scouring these forums to see if there is anyway to directly link LC and Access, and indeed there is. Yet after reading many many words on ths I'm more confused than ever, so here is what I'm trying to achieve, so I really would appreciate any help. I've designed a form on LC, this was done by first designing a corresponding table in Access and setting up the connection, so that the fields in the form are bound to the table fields, I've even used the "SQL Query" option to get round the auto incrementation issue. So far so good. Now I need to email that form to all our intended users - none of whom have access to the Access database  - the form is blank and carries no information at all, they will fill it in and email it back to me, I then want to extract that data directly into the database, is this pssible and how.
    Thanks in advance to all.
    Steppedweller

    When th euser submits information back you can program the submit button to send back th eentire PDF or just the data. If you choose just the data you will get an XML data file. Now you can open your version of the form (with the database connectivity in it)  and import the data file into your form. All fields will be filled as if the user typed the info into th eform and you can use your database buttons to do what you wish with it.
    If you have Acrobat then you do not need to worry about the Reader Extensions part. By default Reader does not have the functionality in it to allow database connections and saving of the PDF locally. This functionality can be turned on by using Reader Extensions. This is done on a form by form basis. By having your users send the data file there is no local save requirement and if you are using Acrobat there is no need for Reader Extensions to allow database connectivity.
    Make sense?
    Paul

  • Re: what is difference between sap locking and database locking

    hi,
        what is difference between sap locking and database locking. Iam locked the table mara by using lock objects.
    But iam unable to unlock the mara table. I give u the coding. Please check it.
    REPORT zlock .
    CALL FUNCTION 'ENQUEUE_EZTEST3'
    EXPORTING
       MODE_MARA            = 'S'
       MANDT                = SY-MANDT
       MATNR                = 'SOU-1'.
    call transaction 'MM02'.
    CALL FUNCTION 'DEQUEUE_EZTEST3'
         EXPORTING
              mode_mara = 'E'
              mandt     = sy-mandt
              matnr     = 'SOU-1'.
    IF sy-subrc = 0.
      WRITE: 'IT IS unlocked'.
    ENDIF.

    Hi Paluri
    Here is the difference between SAP locks and Database locks, i will try to find the solution to your code.
    Regards
    Ashish
    Database Locks: The database system automatically sets database locks when it receives change statements (INSERT, UPDATE, MODIFY, DELETE) from a program. Database locks are physical locks on the database entries affected by these statements. You can only set a lock for an existing database entry, since the lock mechanism uses a lock flag in the entry. These flags are automatically deleted in each database commit. This means that database locks can never be set for longer than a single database LUW; in other words, a single dialog step in an R/3 application program.
    Physical locks in the database system are therefore insufficient for the requirements of an R/3 transaction. Locks in the R/3 System must remain set for the duration of a whole SAP LUW, that is, over several dialog steps. They must also be capable of being handled by different work processes and even different application servers. Consequently, each lock must apply on all servers in that R/3 System.
    SAP Locks:
    To complement the SAP LUW concept, in which bundled database changes are made in a single database LUW, the R/3 System also contains a lock mechanism, fully independent of database locks, that allows you to set a lock that spans several dialog steps. These locks are known as SAP locks.
    The SAP lock concept is based on lock objects. Lock objects allow you to set an SAP lock for an entire application object. An application object consists of one or more entries in a database table, or entries from more than one database table that are linked using foreign key relationships.
    Before you can set an SAP lock in an ABAP program, you must first create a lock object in the ABAP Dictionary.

  • How to match a fingerprint template from database ?

    i now can save a fingerprint template from database using this code..
    Dim fingerprintData As MemoryStream = New MemoryStream
    Template.Serialize(fingerprintData)
    fingerprintData.Position = 0
    Dim br As BinaryReader = New BinaryReader(fingerprintData)
    Dim bytes() As Byte = br.ReadBytes(CType(fingerprintData.Length, Int32))
    Dim cmd As SqlCommand = New SqlCommand("INSERT INTO fininger_table VALUES(@FIRSTNAME, @LASTNAME, @FINGERPRINT)", conn)
    cmd.Parameters.Add("FIRSTNAME", SqlDbType.VarChar).Value = CaptureForm.tboxFname.Text
    cmd.Parameters.Add("LASTNAME", SqlDbType.VarChar).Value = CaptureForm.tboxLname.Text
    cmd.Parameters.Add("FINGERPRINT", SqlDbType.Image).Value = bytes
    conn.Open()
    cmd.ExecuteNonQuery()
    conn.Close()
    and i fetch the data when the form is load..
    conn.Open()
    Dim cmd As New SqlCommand("SELECT * FROM Fininger_table", conn)
    Dim rdr As SqlDataReader = cmd.ExecuteReader()
    Dim MemStream As IO.MemoryStream
    Dim fpBytes As Byte()
    While rdr.Read()
    fpBytes = rdr("FINGERPRINT")
    MemStream = New IO.MemoryStream(fpBytes)
    Dim template As New DPFP.Template(MemStream)
    OnTemplate(template)
    ' template.DeSerialize(MemStream)
    End While
    rdr.Close()
    conn.Close()
    and now i'm stuck..i dont know how to match the fingerprint from the database to verify the user..
    plz help me out..tnx in advance
    btw im using a DIGITAL PERSONA FINGERPRINT READER..with the OTW SDK

    Hello My dear Brother 
                    I am zaid Ahmad khan would like to help you and this is the working code please see this and you will have the solution 
    Imports System.Data.SqlClient
    Imports DPFP
    Public Class Form1
        Private WithEvents verifyControl As DPFP.Gui.Verification.VerificationControl
        Private matcher As DPFP.Verification.Verification
        Private matchResult As DPFP.Verification.Verification.Result
        Private allReaderSerial As String = "00000000-0000-0000-0000-000000000000"
        Public template As DPFP.Template
        Private userTemplateColumn As String = "Template"
        Private userIDColumn As String = "ID"
        Dim bytes As Byte()
        Private Sub CreateDPControl(ByRef control As DPFP.Gui.Verification.VerificationControl)
            Try
                control = New DPFP.Gui.Verification.VerificationControl()
                control.AutoSizeMode = Windows.Forms.AutoSizeMode.GrowAndShrink
                control.Name = "verifyControl"
                control.Location = New System.Drawing.Point(0, 0)
                control.ReaderSerialNumber = "00000000-0000-0000-0000-000000000000"
                control.Visible = True
                control.Enabled = True
                control.BringToFront()
                Me.Controls.Add(control)
            Catch ex As Exception
                MessageBox.Show("exception")
            End Try
        End Sub
        Private Function ConnectString() As String
            Dim connectionString As String
            connectionString = "Server=localhost;database=bs;User ID=sa;Password=123"
            Return connectionString
        End Function
        Private Sub VerifyBiometric_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            matcher = New Verification.Verification()
            matchResult = New Verification.Verification.Result
            CreateDPControl(verifyControl)
        End Sub
        Private Sub verifyControl_OnComplete(ByVal Control As Object, ByVal FeatureSet As DPFP.FeatureSet, ByRef EventHandlerStatus As DPFP.Gui.EventHandlerStatus) Handles verifyControl.OnComplete
            Dim dataSet As DataSet = New DataSet()
            Dim adapter As SqlDataAdapter = New SqlDataAdapter()
            Dim sqlCommand As SqlCommand = New SqlCommand()
            Dim ctr = 0
            Try
                Dim max As Integer = 0
                Dim cn As New SqlConnection(ConnectString())
                cn.Open()
                sqlCommand.CommandText = "Select templateBytes7 from userthumbs where id='1029'"
                sqlCommand.CommandType = CommandType.Text
                sqlCommand.Connection = cn
                Dim lrd As SqlDataReader = sqlCommand.ExecuteReader()
                Dim usr
                While lrd.Read()
                    usr = lrd("templateBytes7")
                End While
                bytes = Nothing
                bytes = usr
                template = New DPFP.Template()
                template.DeSerialize(usr)
                'Perform match
                matcher.Verify(FeatureSet, template, matchResult)
                If matchResult.Verified Then
                    EventHandlerStatus = Gui.EventHandlerStatus.Success
                    MsgBox("Verified!")
                    Me.Hide()
                    MessageBox.Show("Done")
                Else
                    EventHandlerStatus = Gui.EventHandlerStatus.Failure
                    MsgBox("Please Try Again!")
                End If
            Finally
            End Try
        End Sub
        Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        End Sub
    End Class

Maybe you are looking for