Forums | Email a Colleague | FAQ

Dr. Website Archives

Dr. Website® Archives 2002

Jan 10, 2002
    Question:
    Dear Dr. Website:
    Is there a way that I can use Java Applets in Flash? Thankx,

    Answer:
    I hate to answer both questions with a "no," but unfortunately, no, you = can't use a Java applet within a Flash application. And even if you = could, it would probably not be the best way of doing something (and it = could probably be done in Flash alone anyway).
    Thanks

    --Dr.Website

    Question:
    Dear Dr. Website:
    I am a third year student at informatics and I have to do a web site = for a client. Here is what's my project about: I have to create a web = site for a company which deals with CDs and in order to do that, I have = to create a database first due to online selling which they are planning = to do. I started to design the database with Sybase SQL Anywhere Studio = tools( PowerDesigner, ISQL and InfoMaker) and now I have to create a = local search engine which will be able to search the database online, = creating a querry and displaying a report to the online user. Please = advice me and if it's possible give me the source code( written in = JavaScript or another scripting language) or just give me some tips.

    Answer:
    While I'm not familiar with Sybase SQL Anywhere Studio, I am very = familiar with the use of a database online. Assuming your database uses = normal SQL queries, you may want to create your query directly in the = database and use the SQl statement (query) to query your database = online. If you were using MS Access, there is a tool built in that lets = you export the query and database using ASP (active server pages). There = may be something similar in your SQL Anywhere Studio. You can use VBScript or ASP to poll your database, or you can use PHP if = you're comfortable developing in that language. In the end, use whatever = programming language you are familiar with, or use a WYSIWYG tool such = as Drumbeat 2000 to create the code for you (Macromedia owns Drumbeat = 2000 now, and includes it in their own "studio"). Thanks, and good luck = with your project.
    Thanks,

    --Dr.Website

    Question:
    Dear Dr. Website:
    How can I make certain pages not have an address window, is there a way I can do it with html on the page I don't want the address window to appear. Hope to hear from you Thanks

    Answer:
    You can open the window from a link like this:

    <SCRIPT LANGUAGE=3D"JavaScript"> <!--//
    function openit(sURL){ newwindow=3Dopen(sURL,"newwin","scrollbars=3Dyes,toolbar=3Dyes,directorie= s=3Dyes,menubar=3Dyes,resizable=3Dno,status=3Dno,width=3D500,height=3D400= "); }
    file://--> </SCRIPT> </head> <body >
    <A HREF=3D"javascript:openit('close.html')"=20 onClick=3Dopenit('close.html');>View Agreement</A> </BODY> </HTML>

    As you can see, you can also open the window using various other = options, such as toolbars, menus, scrollable, etc.
    Thanks

    --Dr.Website ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ForumsEmail a Colleague · FAQ