User Profile

Collapse

Profile Sidebar

Collapse
Fred Ho
Fred Ho
Last Activity: Apr 6 '08, 12:51 PM
Joined: Oct 13 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Fred Ho
    started a topic Looking for a SMIL sample
    in XML

    Looking for a SMIL sample

    I have a question which is actually some how I believe related to the xml topics..

    I need to make a SMIL program to introduce the local tourist, I have some pictures and a mp3 file already to add to the smil program.
    As I find to make the attractive smil is not easy and I am looking to have some advice, if I can have a sample code which can be used.
    Thanks!
    See more | Go to post

  • Fred Ho
    started a topic How to view the jpg & tif files as OLE object

    How to view the jpg & tif files as OLE object

    I have added the OLE blunded object to view the pdf file with the code :
    OLE1.class="Ado be Acrobat 7.0"
    ....
    Besides, I can view the bmp file using the code
    OLE1.class="PAI NT"

    But what should I use or how the code change for jpg and tif files?
    Thanks a lot!
    See more | Go to post

  • Fred Ho
    replied to Access/Acrobat PDF Viewer
    I have sucessfully added the OLE bounded object at the main form.
    The OLE will display the pdf file when the preview button at the subform is clicked with the following codes:

    Private Sub Preview_Click()
    Form_ProjectDra wingForm.OLE1.C lass = "Adobe Acrobat 7.0"
    Form_ProjectDra wingForm.OLE1.O LETypeAllowed = acOLELinked
    Form_ProjectDra wingForm.OLE1.S ourceDoc = Me!ImageLink.Va lue
    Form_ProjectDra wingForm.OLE1.A ction...
    See more | Go to post

    Leave a comment:


  • Fred Ho
    replied to Access/Acrobat PDF Viewer
    Thanks for the previous suggestion!
    I have add a preview button at the subform and insert a OLE1 object at the main form call ProjectDrawingF orm.

    Private Sub Preview_Click()
    OLE1.Class = "Adobe Acrobat 7.0"
    OLE1.OLETypeAll owed = acOLELinkedOLE1 .SourceDoc = "C:\xnview\ " & Form![Text 14].value &".pdf
    OLE1.Action = acOLECreateLink
    OLE1.SizeMode = acOLESizeZoom
    ...
    See more | Go to post

    Leave a comment:


  • Fred Ho
    replied to Access/Acrobat PDF Viewer
    If I have to add the active x for pdf file at the main form to display the first row of record at the subform, can it be done? or I have to click the row of record at the subform then display the corresponding pdf at the active x display? (The subform consists of a row of scroll down text boxes...)
    How to do that in steps?
    Besides, will it be a lot of acrobat buttons occupy the screen when I use the active x to open the pdf file at...
    See more | Go to post

    Leave a comment:


  • Fred Ho
    started a topic Access/Acrobat PDF Viewer

    Access/Acrobat PDF Viewer

    I have an access database which has some text box as for input search citeria and a continous subform to display the search result.
    Pls teach me in steps how to add a viewer (or active x control element) to see the corresponding pdf file link to the record.
    Suppose the records in the ProjectRecord Form and has a field called imagelink which have the path of the pdf file.
    Wish to have the code shown.
    Thanks!
    See more | Go to post

  • Fred Ho
    started a topic Java for ImageProcessing
    in Java

    Java for ImageProcessing

    Dear Sir/Madam,

    I try to make a function for image processing using java, I have add a menu item "Add Icon" under the menu bar. The function should read a file Icon.gif and place the icon at the top left hand corner of the image.
    The following code is what I tried to do ...

    after checking the user whether to select 'add icon',
    if (s == "Add Icon") {
    mBufferedImage...
    See more | Go to post

  • Fred Ho
    started a topic Posterization for Blue Color
    in Java

    Posterization for Blue Color

    I know how to do posterization for image processing, such as below...

    public BufferedImage doPosterization (BufferedImage inputImage,
    int posterizationVa lue) {
    short[] posterize = new short[256];

    for (int i = 0; i < 256; i++) {
    posterize[i] = (short) (i - (i % posterizationVa lue));
    }

    BufferedImageOp op = new LookupOp(new...
    See more | Go to post

  • Fred Ho
    replied to How to set schedule at Window XP
    I have made 3 batch files:
    copy g:\abc\abc.mdb g:\abc\history\ abc1.mdb (batch file 1)
    copy g:\abc\abc.mdb g:\abc\history\ abc2.mdb (batch file 2)
    copy g:\abc\abc.mdb g:\abc\history\ abc3.mdb (batch file 3)
    the schedule will run after 3 days,
    how can I made the schedule can not run on every saturday and sunday?
    willl it replace the file automically if abc1,abc2 and abc3 is already existed? And how to modify...
    See more | Go to post

    Leave a comment:


  • Fred Ho
    replied to How to set schedule at Window XP
    So how can I make the schedule such that I can save the files for the backup at different location daily and the file names should look like..
    e.g. abc28-01-2008.mdb
    abc29-01-2008.mdb
    abc30-01-2008.mdb
    and after that more than 3 copies of the backup file, the new backup will replace the oldest one?
    Can I write the batch file to satify such requirements?
    And then I set the scheduler to run such...
    See more | Go to post

    Leave a comment:


  • Fred Ho
    started a topic How to set schedule at Window XP

    How to set schedule at Window XP

    I have a Access 2000 file saved at the shared drive and needed to make backup files at other location.
    I have heard about window xp have schedule function can do the work. But I do not know how and wish someone can kindly give me in steps how to set the PC can automitically make a backup each day after office hour ? (wish to keep 3 days backup and can replace the oldest file each day).
    Thanks a lot!
    See more | Go to post

  • Fred Ho
    started a topic Access Backup

    Access Backup

    I have a Access database, can anyone tell me in steps how to make or set the Access in order to generate a backup file when the mdb file is opened or closed?
    Thanks!
    See more | Go to post

  • Fred Ho
    replied to Access login interface
    I will make a login form for different users (guest/staff/admin) such that the guest not able to edit or change the existing record.
    So the database may need to be protected not to let them able to see the record table ( not let the guest to make modification ).
    As if the guest know the by-pass (i.e. press shift and click the file to open the mdb file) he may able to see the table in design view window if not protect or disable the...
    See more | Go to post

    Leave a comment:


  • Fred Ho
    replied to Access login interface
    Thanks for the previous reply!
    But I still have following question:
    1- If I have a login form already, how to set it to modal, pop up and acDialog??
    2 - after setting to modal the bypass problem can be solved?
    3- for checking the user (staff and admin) i think i will call the form for them which is able to edit but how to let them to add the records from excel using cut and paste the records in batch to access table of...
    See more | Go to post

    Leave a comment:


  • Fred Ho
    started a topic Access login interface

    Access login interface

    I have an access database, and want to make an login interface for (guest/staff/administarator) .
    The guest should just able to use the form with buttons search/print only.
    The staff able to use the other buttons for editing the records. The admin should able to modify the prog. vba and modify password as well.
    Pls teach me in steps how to make such login interface. (such as how to disable the by-pass function, how to make the...
    See more | Go to post

  • Fred Ho
    started a topic Java Debug
    in Java

    Java Debug

    How to debug the program:
    the Netbean say it loss precision, as a beginner of java, I am looking for the kindly help... thanks!

    public synchronized void compress(int threshold, int ratio) {
    // Loop through all audio data in the buffer

    for (int i=0; i<this.dataLeng th; i++) {
    int temp = Math.round(buff er[i]);
    // if clipping found restricting the range from -128...
    See more | Go to post

  • Fred Ho
    started a topic Show the search result at the form

    Show the search result at the form

    I wish to make a access db with a main form and a subform.
    After entering new Primary key the subform can show the relevany record -that is ok!
    But when I enter the infomation at the main form at the other text box for query, it modify the table content.
    how to make query using the other text box in the main form?
    and the record searched should be also shown in the main form and also the subform (not just using the primary...
    See more | Go to post

  • Fred Ho
    started a topic Problems from making a access database

    Problems from making a access database

    I have a form with several text boxs ( for several fields of records
    information)hop ing that user input at least one of the information to any of
    the field in the form and it will search the data sheet and if match will
    output the all the record information with the same form. (Pull down menu cannot work as more than thousands of records)
    Also the below is the subform to show the related project (that is the searched...
    See more | Go to post
No activity results to display
Show More
Working...