Newbie: browsing Windows servers on .local AD domain

Hello all,
I've added a new Mac Book to out .local domain and I can log on using my domain account. I have internet access after configuring the Proxy server settings.
However, I don't know how to go to our file servers? I've searched in finders but I can only see the various domains in .local but no specific shares that i know are available for Windows machines.
Any document I can read or a quick way of doing this? Will GPO s run on the Mac?
Thanks in advance.

Your Windows servers should show up in the "All" network location. Select a server and authenticate, and you will see the shares available on that server.
You can also use "connect to server" in the Go menu to connect to a specific server by IP address or DNS name. Use the form: smb://10.0.1.1 or smb://winserver.example.local
No, GPOs will not apply to Macs unless you are using a product like Centrify.

Similar Messages

  • How to reset windows 2008 R2 Local Administrator password

    Hi Team,
    I have forget windows 2008 R2 local admin password, the server is not in domain , is it any way to reset local administrator password.
    Regards,
    Triyambak
    Regards, Triyambak

    When your Windows Server 2008 R2 computer is still accessible, you can reset or change your administrator password with ease by the following steps.
    Step 1: Log in your Windows Server 2008 R2 computer through the administrator account.
    Step 2: Click on “Start” on the lower left corner of your screen, and hit “Control Panel”, and then doubt-click on "User Account".  
    Step 3: Choose “Make changes to your user account”, and then click on “Change your password”.
    Step 4: Now you will be asked to enter your current password, type in it.
    Step 5: Enter your new password and retype it to confirm your new password. You are optional to type in a word or phrase as the hint of the new password. It is highly recommended. 
    Another tip, Using a password recovery tool to recover WIndows server 2008 administrator password
    This is a universal WIndows password recovery method which can fix any Windows system password issue.
    1. Get Windows Password Rescuer and install it on another computer.
    2. Burn password reset disk into USB or CD/DVD device with Windows password recovery.
    3. Boot Windows server from password reset USB or CD disk
    4. Reset forgotten Windows server 2008 local or domain admin password without data loss.
    Detailed steps: http://www.wimware.com/how-to/reset-windows-server-2008-password.html
    I also have seen a way that users can use a Windows server 2008 install CD to reset the administrator password, you could search and have a try.  

  • Want to open a new browser window and display the html file in locale disk.

    Hi,
    I want to open a new browser window and display the html file in local drive. The below html applet work in local system successfully. But i deploy the same in web server (Tomcat) and try the same in client machine it does not work. Please help.
    Note:
    The class below fileopen.FileOpen.class i make it as a jar and put it in jre\ext folder at the client machine.
    ------------------------------------FileOpen.html(Tomcat)-----------------------------------------------------
    <html>
    <body >
    <applet code="OpenFile.class" archive="loadfile.jar" width="100" height="100">
    <param name="path" value="file://c:/open.html" />
    </applet>
    </body>
    </html>
    -------------OpenFile.java in server(Tomcat)--------------------------------------------
    public class OpenFile extends Applet implements ActionListener{
    String path = "";
    fileopen.FileOpen open = null;
    Button b = null;
    public void init(){
    path = getParameter("path");
    b = new Button("Open");
    b.addActionListener(this);
    add(b);
    public void actionPerformed(ActionEvent ae){
    try
    open = new fileopen.FileOpen(this,path);
    catch (Exception e){
    e.printStackTrace();
    -------------------------------------------FileOpen.java /Client JRE/ext----------------------------------------------------
    package fileopen;
    public class FileOpen
    AppletContext context = null;
    URL url = null;
    public FileOpen(Applet applet,String path)
    try
    if(null != applet){
    context = applet.getAppletContext();
    if (null != path)
    url = new URL(path);
    context.showDocument(url, "_blank");
    }catch(Exception ex)
    ex.printStackTrace();
    Please help to solve this issue very urgent.
    Thanks in advance.
    By,
    Saravanan.K.

    zzsara wrote:
    I want to open a new browser window and display the html file in local drive. ...Did you ever pause to consider how ridiculous that is?
    The best audience for applets is people off the internet. 'People off the internet' might be using a computer that has no (what was it?) 'open.html' in the root of the C: drive. In fact (shock horror) they may not even be running Windows, and would therefore probably have no 'C:' drive at all.
    If you do not intend to distribute this to people off the web, an application makes a lot more sense, but even then, you cannot rely on the document being there unless you 'put it there' (during installation, for instance).
    As the other poster intimated, applets can load documents off the local disk as long as they are trusted. Here is an example*, but note that it is not so rash as to presume any particular path or file, and instead leaves it to the user to choose the document to display.
    * The short code can be seen at SDNShare on the [Defensive Loading of Trusted Applets|http://sdnshare.sun.com/view.jsp?id=2315] post.
    On the other hand, a sandboxed applet can load any document coming from its own server via URL, or get showDocument(URL) to work. In that case, the JRE must recognize that the URL is from its own server, so the best way to form URLs for applet use is via the URL constructor
    new URL(getDocumentBase(), "path/to/open.html");That is how I form the URL in this [ sandboxed example of formatting source|http://pscode.org/fmt/sbx.html?url=/jh%2FHelpSetter.java&col=2&fnt=2&tab=2&ln=0]. Of course, in this case the applet loads the document, then parses the text to draw the formatted version, but the point is that an URL produced this way will work with showDocument(URL).
    I am pretty sure showDocument() in an applet off the internet will work with an URL pointing to a foreign (not its own) server, but it will not be able to load documents off the end user's local disks.
    I suggest a couple of things.
    - Try to express this problem in terms of what feature it is that you want to offer the end user. Your question jumps directly to a bad strategy for achieving ..who knows what? An example of a feature is "Shows the applet 'help' files on pressing F1".
    - A good way to indicate interest in a solution is to offer [Duke stars|http://wikis.sun.com/display/SunForums/Duke+Stars+Program+Overview] to match that interest.
    Edit 1:
    ..and please figure out how to use the CODE tags.
    Edited by: AndrewThompson64 on Sep 12, 2008 11:14 PM

  • Newbie query - Accessing Cookie in new browser window

    Hi - I have created a cookie in my JSP page. I could read from the same cookie in the same browser window.
    However when I try to read the cookie from another browser window, its not posisble.
    Can somebody throw some light?

    Can somebody throw some light?http://wikiwars.wikispaces.com/space/showimage/CondeDooku.jpg

  • Server 10.5 - Windows users cannot logon to domain

    Greetings,
    We are running Leopard Server 10.5.4 as an Open Directory Master and running the SMB service as a PDC for a few Windows clients. The Windows machines have joined the domain and users have been logging in and accessing their home folders and shared folders with no problems.
    All of a sudden, users get an error message when logging on saying that "the domain controller is down or otherwise inaccessible." When I log onto the machine locally as an administrator I can take the computer off of the domain, restart the computer, and then rejoin the domain with no problem, but users continue to get the error.
    I am puzzled as to why it can see the domain to join it, but then losses that ability when users attempt to login.
    Any help is appreciated and let me know if I have left information out that could be of use.

    My bet's on an incorrect home folder location.
    First things first. Make sure that the Sharepoint for the home folders is set up correctly.
    You can double check this as follows:
    In server admin: Select the server name right below where it says "Available servers"
    Click the file sharing tab at the top.
    Click the SharePoints button and the Browse button
    Click on your desired home folder location in the file browser.
    Below the file browser, click on the share point tab.
    Make sure "Enable Automount" is checked.
    Click the edit button.
    Make sure the directory is /LDAPv3/127.0.0.1
    Make sure the protocol is AFP
    Make sure that Use for "User home folders" is selected.
    Click okay and save your changes.
    Now to workgroup manager.
    Select your user and click the "Home" button
    Make sure that there's a home folder location selected. (ie the line is highlighted)
    Click the edit button. (it looks like a pencil)
    It's get a bit tricky here...
    Mac OS X Server/Share Point URL:
    It should look like this: afp://server.example.com/Users (assuming you're using the users folder)
    Path to Home Folder:
    You should ONLY have the shortname of your user here.
    Full path:
    It has to look like this: /Network/Servers/server.example.com/Users/shortname
    Note that I've put server.example.com where you should have the domain name of your server, and shortname where you should have the actual shortname for your user.
    Clear as mud?
    Hope it helps.
    -Graham

  • Finder is extremely slow looking on windows servers

    We have just setup 8 new Imac7.1 core 2 Duo intel 2.4Ghz with 2G of RAM. They are sitting on a windows based network and are added to our Domain. When a user uses the "find" feature and searches by filename on the windows file server, results can take up to 15 minutes. the users are drilling down a few folders to narrow the search a little. I have a windows XP machine on the same subnet and sitting in the same area as the Macs. I can search the same volume in about 1 minute or less look for the same file name. From the Macs, they can browse the same server and it is blazing fast. We have all the Macs on a gig network. The internet is fast and you can browse the servers fast. It is just the "find" feature that is so slow. Is there anything that can be done to speed this up. A service that needs to be running or shut off?

    You have no large file?? Really.. in the whole computer there is not a windows update file.. a backup file... a movie download file.. nothing.. ??
    Anyway that is irrelevant.. the issue is wireless.
    Download the latest drivers from the wireless manufacturer.
    You will need to find out what wireless card is used and locate the correct download for that model.
    On the Airport it is well worth doing the following tests.
    1. Change the name to SMB standard.. short no spaces pure alphanumeric.
    So if your wireless name is Fred Blog's Airport Extreme wireless
    Plesae change it to AEwifi
    2. Take off all security for a test.
    3. Set channels.. I am guessing the computers are only using 2.4ghz, so set 11,6, 1 in that order.
    No improvement.. just put the security back to WPA2 Personal with pure alphanumeric password..
    Try and test new drivers and use no firewalls on the computer.. ensure that the computer is correctly set for home network.
    Beyond that it is just incompatible.

  • Question about adding Windows 2012 R2 Domain Controller, into a native Windows 2008 R2 single forest domain

    I current have a two server domain, both Windows 2008 R2 and fully updated.   The two servers are on subnet 10.0.1.0 /24
    - Windows 2008 R2 Server A: 10.0.1.1 (DC, GC, FSMO, DNS)
    - Windows 2008 R2 Server B: 10.0.1.2 (DC, GC)
    AD Domain: COMPANY.LOCAL
    I have a second connected subnet, 192.168.1.0 /24) which is routed to the 10.0.1.0/24 subnet and I would like to install a Windows 2012 R2 server onto a server on that subnet and make it a domain controller with AD-Integrated DNS and DHCP for the 192.168.1.0
    /24 subnet.
    - Windows 2012 R2 Server C: 192.168.1.1
    What are the proper progression steps, in order to bring up the Windows 2012 R2 server and then add it to my COMPANY.LOCAL domain and then promote it do a DC/GC/AD-Integrated DNS server?   Are they anything like the following:
    1. Install Windows 2012 R2 server (Server C)
    2. Point Windows 2012 R2 server DNS servers at Server's A and B
    3. Perform AD prep to extend AD schema to support Windows 2012 R2 domain controllers
    4. Promote Windows 2012 R2 server to domain controller (install local DNS service on Server C, during this step)
    * Question:  Will Windows automatically create a DNS zone for the Windows 2012 R2 subnet (192.168.1.0/24) AND also include the DNS zone from the previous Windows 2008 R2 domain (10.0.1.0 /24)?  Or will I need to add the 10.0.1.0 /24 zone to the DNS
    server on Server C, even though the DNS from the Windows 2008 R2 domain is AD integrated?

    Hi,
    Regarding the issue here, please take a look into below articles:
    System Requirements and Installation Information for Windows Server 2012 R2
    http://technet.microsoft.com/en-us/library/dn303418.aspx
    Release Notes: Important Issues in Windows Server 2012 R2
    http://technet.microsoft.com/en-us/library/dn387077.aspx
    Install a Replica Windows Server 2012 Domain Controller in an Existing Domain (Level 200)
    http://technet.microsoft.com/en-us/library/jj574134.aspx
    Here is an example for promoting Windows Server 2012 to a DC, see:
    Step-by-Step Guide for Setting Up A Windows Server 2012 Domain Controller
    http://social.technet.microsoft.com/wiki/contents/articles/12370.step-by-step-guide-for-setting-up-a-windows-server-2012-domain-controller.aspx
    As the server is promoted to a DC, DNS Zones will be replicated and synchronized to it automatically whenever the new one is added to an AD DS domain,  bascially there is no special need to add zones,  for more information, please see:
    Understanding Active Directory Domain Services Integration
    http://technet.microsoft.com/en-us/library/cc726034.aspx
    Hope this may help
    Best regards
    Michael
    If you have any feedback on our support, please click
    here.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Viewing Windows servers in finder

    In Tiger, I was able to click on "Network" in finder and view all the Windows servers and computers on the domain my network connection was running through.
    Now in Leopard, I can see all the Macs that are connected on the network but I can't see any Windows servers or computers. I have to use the "connect to server" option to connect to any Windows servers instead of just double clicking on them. Does anyone know a solution to this problem?

    I found some other information on this on another site and I think it could be related to my smb.conf file possibly. I took a look at mine but I can't find anything that jumps out as needing to be changed or added.
    Here is a copy of my smb.conf file, I was hoping someone would be able to tell if something changed or added to it would relieve me of my issues:
    ; ============================================================================
    ; For the format of this file and comprehensive descriptions of all the
    ; configuration option, please refer to the man page for smb.conf(5).
    ; The following configuration should suit most systems for basic usage and
    ; initial testing. It gives all clients access to their home directories and
    ; allows access to all printers specified in /etc/printcap.
    ; BEGIN required configuration
    ; Parameters inside the required configuration block should not be altered.
    ; They may be changed at any time by upgrades or other automated processes.
    ; Site-specific customizations will only be preserved if they are done
    ; outside this block. If you choose to make customizations, it is your
    ; own responsibility to verify that they work correctly with the supported
    ; configuration tools.
    [global]
    debug pid = yes
    log level = 1
    server string = Mac OS X
    printcap name = cups
    printing = cups
    encrypt passwords = yes
    use spnego = yes
    passdb backend = odsam
    idmap domains = default
    idmap config default: default = yes
    idmap config default: backend = odsam
    idmap alloc backend = odsam
    idmap negative cache time = 5
    map to guest = Bad User
    guest account = nobody
    unix charset = UTF-8-MAC
    display charset = UTF-8-MAC
    dos charset = 437
    vfs objects = darwinacl,darwin_streams
    ; Don't become a master browser unless absolutely necessary.
    os level = 2
    domain master = no
    ; For performance reasons, set the transmit buffer size
    ; to the maximum and enable sendfile support.
    max xmit = 131072
    use sendfile = yes
    ; The darwin_streams module gives us named streams support.
    stream support = yes
    ea support = yes
    ; Enable locking coherency with AFP.
    darwin_streams:brlm = yes
    ; Core files are invariably disabled system-wide, but attempting to
    ; dump core will trigger a crash report, so we still want to try.
    enable core files = yes
    ; Configure usershares for use by the synchronize-shares tool.
    usershare max shares = 1000
    usershare path = /var/samba/shares
    usershare owner only = no
    usershare allow guests = yes
    usershare allow full config = yes
    ; Filter inaccessible shares from the browse list.
    com.apple:filter shares by access = yes
    ; Check in with PAM to enforce SACL access policy.
    obey pam restrictions = yes
    ; Make sure that we resolve unqualified names as NetBIOS before DNS.
    name resolve order = lmhosts wins bcast host
    ; Pull in system-wide preference settings. These are managed by
    ; synchronize-preferences tool.
    include = /var/db/smb.conf
    [printers]
    comment = All Printers
    path = /tmp
    printable = yes
    guest ok = no
    create mode = 0700
    writeable = no
    browseable = no
    ; Site-specific parameters can be added below this comment.
    ; END required configuration.
    Thanks again for all the help!

  • Browsing Windows File Shares not working

    I'm trying to integrate Macs into our Windows and Linux Network. After finally getting a stable Active Directory binding (Article TS3248 http://support.apple.com/kb/TS3248?viewlocale=en_US) the remaining challenge is for our users to browse for Windows (Samba) servers. That is, visible in "Networking" or the Side Panel under "SHARED".
    At the moment the users are able to connect to all file shares by using "Connect to Server ..." and typing "smb://host/share" so we know that Kerberos is working well (AD Integration). The variation "smb://someuser@host/share" and providing a password also works. When the file share is mounted it is displayed under "Shared"
    Searching on the net led me to check /private/var/log/samba/log.nmbd file. Every five minutes the following error message is logged:
    \[2011/03/16 13:04:04, 0, pid=113\] /SourceCache/samba/samba-235.5/samba/source/libsmb/nmblib.c:send_udp(793)
    Packet send failed to <WINS server IP>(138) ERRNO=No route to host
    This doesn't make sense since this host is pingable and is on the same subnet (i.e. no route). An additional observation is that Windows XP machines that are NOT bound to the domain are browsable. The problem applies both to Windows Server 2008 as well as CentOS 5.5 servers running Samba.
    Google search has turned up nothing. Based upon my experience with other Samba implementations, this may be a bug in OS X. Anyone out there having the same problem or a resolution?

    I have a similar problem, and have seen something somewhere about a difference in AD in windows 2003 server and Windows 2008 server based networks. It also seem to be related to the lack of wins in modern Windows 2008 R2 functional level domains. I haven't been able to rule this out yet, but the problem for me is similar. MAC client running 10.6.x cannot see Windows computers under shared unless it's already mounted. I haven't been able to test this with OS X 10.7 yet.    

  • Is a Windows registry error responsible for Firefox opening two browser windows whenever I use a hyperlink from a Word file?

    Whenever I use a hyperlink from an MS Word document, Firefox opens two windows instead of one. The first window is the one I need. The second contains a message that the page could not be found and the address bar contains the URL appended with "Firefoxhtml/shell/open/command".
    This problem is similar but NOT identical to one in MozillaZine headed "Windows error opening internet shortcut or local HTML file - Firefox". But none of the solutions in that article work for my problem: I've disabled all extensions but that hasn't helped. I've tried editing file types so that the DDE is removed (I'm not a teccie so have no idea what that means), but after following the instructions to the letter it doesn't seem to remove the DDE. Also I read that removing the DDE is not a good idea for people like me who need to open numerous firefox browser windows at one time. Furthermore, the MozzilaZine article refers only to problems opening a URL link in a MS Outlook email when Firefox is NOT running. My problem concerns the opening of URL links in MS Word when Firefox IS running!
    I've run countless different virus programmes, rootkit checkers etc but they all come up blank. However, I did come across guidance on this website: http://antivirus.about.com/od/windowsbasics/a/shellopen.htm which suggests that something may have altered the shell open command for two registry keys used by Firefox.
    # HKEY_CLASSES_ROOT\htafile\shell\open\command
    # HKEY_CLASSES_ROOT\htfile\shell\open\command
    The default value for each of these should be "%1" %*. But on my user, the default value reads:
    (for htafile) c:\windows\system32\mshta.exe "%1"%*
    (for htfile) c:\programfiles\windowsNT\hypertrm.exe"%1
    What should the value be for these two files?
    Can anyone sort this for me please? Bear in mind I'm not a teccie!

    Do a malware check with a few malware scan programs.<br />
    You need to use all programs because each detects different malware.<br />
    Make sure that you update each program to get the latest version of the database.
    *http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    *http://www.superantispyware.com/ - SuperAntispyware
    *http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    *http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    *http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    See also "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked and [[Searches are redirected to another site]]

  • Command to open a PDF generated Oracle Report in New browser window

    I know this is probably something for the Oracle Forums but I'll ask anyway because I can't find any info out there on this, without some extra work.
    I am generating a PDF file from 10g Oracle reports on Linux RHEL 5 and storing the PDF file to the server. I can send that PDF file directly to a printer with the "lpr" command and that part works fine.
    What I'm wanting to do now is "View" the PDF from within the server in a new window. We are using RHEL 5 (Linux) platform and I'm trying to see if there is a way to open the file with a "command line" command that will open it in a new browser window or new window period (opening it with Adobe Acrobat).
    Does anyone have a command that will do this? Otherwise, how has everyone else been handling this. The idea of just viewing the previously generated PDF Report file will save us overhead on our database servers because they won't have to re-run some of the same reports over and over.
    Any help and assistance is appreciated.
    Chris

    Several options:
    - If you only want to show the pdf to the client without printing, use destype=cache and use WEB.SHOW_DOCUMENT after the RUN_REPORT_OBJECT (for examples search the forms-forum, there are lots)
    -If you have to generate the pdf to a file to get it printed, you could
    +use WEBUTIL_FILETRANSFER.AS_TO_CLIENT after the printing to transfer the file to the client, then use CLIENT_HOST to view it.
    +map the appserver-directory you generate the report to as a virtual directory in the application-server then use WEB.SHOW_DOCUMENT to directly access the generated file via url.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • New browser window with javascript

    Hello,
    I'm trying to accomplish something similar to what has been
    discussed in other threads (Jess Learnin, 9/30/2008, and another
    thread from back in '07). I've tried the advice given in these
    threads and have had no luck. I would like to create a button to
    call a new browser window that displays a URL of my choosing. I'd
    like to specify the size and attributes of the new window. I've
    created a small dummy tutorial in order to work on this feature.
    I'm using the "Execute Javascript" option when configuring
    the button. I include the following javascript:
    window.open('
    http://lib.berkeley.edu/BIOS/index.html',
    'myWindow','height=400, width=700, toolbar=no');
    I have the Captivate button context set to "Current". I have
    deselected "Continue Playing Project" (though I've tried it with
    that option selected as well).
    I've tried prefacing the script w/
    "javascript:window.open...", but no luck.
    I'm testing the file on a development server, rather than
    from a local copy. When I test in Firefox, my movie simply stops
    when I click the button, without opening a new window or loading a
    web page. When I test in IE7, the movie stops and I get a message,
    "Error on page"; still no new window.
    I do notice that I'm currently running Flash Player 10. I'm
    using Captivate 3. When I publish my file, my options only go up to
    Flash Player 9, which is what I have chosen. I don't know if this
    would make a difference.
    I have also tried altering the standard.js file in the manner
    that jbradley88 suggested in the 9/30/08 thread, and using the
    corresponding javascript in the button properties window, with
    similar unsuccessful results.
    I have tried running the movie on a different computer, in
    case some local setting was somehow mucking things up. I get
    nothing.
    Any suggestions? If anyone's willing to take a look, I can
    send along my small dummy .cp file that I've been working on.
    Thanks in advance.
    -Kelly

    Hi John,
    Here's the exact javascript that I currently have associated
    with the button:
    void(window.open('
    http://lib.berkeley.edu/BIOS/index.html',
    'myWindow','height=400, width=700, toolbar=no'));
    I've tried multiple permutations, including placing
    "javascript:" in front of the script, both with and without the
    void().
    The message in IE7 just says "Error on page". It's not a
    pop-up message; it's just the small message that appears at the
    bottom left of the browser window in IE7 when a page fails to load
    properly. The message doesn't appear until I click on the button
    that's supposed to call the javascript. There's a yellow
    exclamation point icon that appears next to the "Error on page"
    message. When I click on that I get:
    "Problems with this Web page might prevent it from being
    displayed properly or functioning properly. In the future, you can
    display this message by double-clicking the warning icon displayed
    in the status bar."
    It also displays a pointer to the error:
    Line: 1
    Char: 111
    Error: Syntax error
    Code: 0
    URL:
    http://library11.berkeley.edu/bios/kelly/Practice_demo.htm
    I looked at the source for the page as displayed by IE7 (have
    also looked at the .htm and .js files generated by Captivate) and
    haven't seen anything obvious, but I'm somewhat unschooled in such
    matters.
    If it would help to see what it does, you can view the demo
    at the URL above.
    Thx again,
    Kelly

  • Want To Have Flash Project Open In New Browser Window

    Hi,
    My project outputs and plays perfect to Flash (let default to
    Flash 7) but when viewing it (via a link from a web page) it opens
    in a "next" window and at the end, if you use the X (EXIT) button
    from the player control bar it wants to close the browser window
    and does not take you back to the webpage (where I have the link to
    play). I cannot seem to find an option in the Preferences or during
    output to make the player open in a "new" browser window. Is it
    possible there is a browser setting for this instead of setting in
    Captivate? (IE 6 or 7) Thanks for any help/suggestions!

    Hi leh1, and welcome to the User Community for Captivate!
    The window in which any content plays is determined by the
    code contained for the link,
    in the web-page from which it is launched. In a nutshell,
    you add these parameters to the link when it is created in the
    "Parent" window.
    Below is a snippet from a Menu Builder project in which the
    links to "Project1" and "Project2" are set to open in a "New"
    window, without chrome (note the many "
    =no" following an equal sign), at a size of 720 pixels by
    540 pixels ... the snip below shows a link to "Project1.htm", a
    document containing a Captivate movie. I have bolded the specific
    entries that control the type window ("OpenCustomLink") and the
    size of that window ("width=720,height=540"):
    <P style="cursor: pointer; cursor: hand; position:
    absolute; left: 90px; top: 149px; text-decoration: none; font:
    normal 18pt Arial; color: #000000" title="Project 1" onclick="
    OpenCustomLink('project1.htm', '_blank',
    'scrollbars=no,status=no,
    titlebar=yes,toolbar=no,menubar=no,location=no,resizable=yes,
    fullscreen=no,
    width=720,height=540'); "
    onmouseover="this.style.color='#0000FF'; "
    onmouseout="this.style.color='#000000';">Project 1</P>
    (some spaces inserted to avoid horizontal scroll)
    All of which is to say, the target window is controlled from
    the link in the parent document. I wouldn't suggest you just
    copy-paste the above code, as I took liberties with it. I
    would suggest that you can do this yourself with your own
    HTML editor (Dreamweaver, etc.), or even better, get your local
    web-guru to do it for you.
    All the best!!
    .

  • ActionPerformed method not working when applet is loaded in browser window.

    Hey there guys. I need urgent help from anybody who has experience in deploying websites whose code is in java.
    I am having two problems as mentioned below...
    first, I have made a simple login screen using java swing and JApplet. there is a single button to login. the action performed for this button accesses a private method to check the username and password which are there in atext file. the applet is working perfectly in appletviewer but when i load the applet in a Internet Explorer window using HTML's Applet tag, the button is giving no response at all even when i enter the correct username and password.
    I guess it is either not calling the private function that is checking the username and password from the tes=xt file or it can not access the file. Please help as soon as possible as this is related to my college project.
    I am attaching the code herewith. Suggestions to improve the coding are also welcome.
    the second problem is that while writing my second program for generating a form which registers a user the html is not at all loading the applet into the browser and also if im trying to access a file to write all the details into the console is showing numerous amount of error after i press the button which i can't not understand. the only thing i can understand is that it is related to file access permissions. If anybody could put some light on the working of worker threads and thread safe activities of SwingUtilities.invokeandWait method it would be really appreciable.
    import java.io.*;
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import javax.swing.event.*;
    import javax.swing.plaf.*;
    <applet code = "UserLogin" width = 300 height = 150>
    </applet>
    public class UserLogin extends JApplet implements ActionListener, KeyListener {
         private JLabel lTitle;
         private JLabel lUsername, lPassword;
         private JTextField tUsername;
         private JPasswordField tPassword;
         private JButton bLogin;
         private JLabel lLinkRegister, lLinkForgot;
         private JLabel lEmpty = new JLabel(" ", JLabel.CENTER);
         private JPanel panel1, panel2;
         public void init() {
              try {
                   UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
                   SwingUtilities.invokeAndWait(new Runnable() {
                        public void run() {
                             LoginGUI();
              catch(Exception e) {
                   e.printStackTrace();
         public void start() {
              setVisible(true);
         public void stop() {
              setVisible(false);
         private void LoginGUI() {
              super.setSize(300, 150);
              super.setBackground(Color.white);
              lTitle = new JLabel("<HTML><BODY><FONT FACE = \"COURIER NEW\" SIZE = 6 COLOR = BLUE>Login</FONT></BODY></HTML>", JLabel.CENTER);
              lUsername = new JLabel("Username : ", JLabel.CENTER);
              lPassword = new JLabel("Password : ", JLabel.CENTER);
              tUsername = new JTextField(15);
              tPassword = new JPasswordField(15);
              bLogin = new JButton("LOGIN");
    //          bLogin.setEnabled(false);
              bLogin.addActionListener(this);
              bLogin.addKeyListener(this);
              panel2 = new JPanel();
              GridBagLayout gbag = new GridBagLayout();
              GridBagConstraints gbc = new GridBagConstraints();
              panel2.setLayout(gbag);
              panel2.addKeyListener(this);
              gbc.anchor = GridBagConstraints.CENTER;
              panel2.setMinimumSize(new Dimension(300, 200));
              panel2.setMaximumSize(panel2.getMinimumSize());
              panel2.setPreferredSize(panel2.getMinimumSize());
              gbc.gridx = 1;
              gbc.gridy = 1;
              gbag.setConstraints(lUsername,gbc);
              panel2.add(lUsername);
              gbc.gridx = 2;
              gbc.gridy = 1;
              gbag.setConstraints(tUsername,gbc);
              panel2.add(tUsername);
              gbc.gridx = 1;
              gbc.gridy = 2;
              gbag.setConstraints(lPassword,gbc);
              panel2.add(lPassword);
              gbc.gridx = 2;
              gbc.gridy = 2;
              gbag.setConstraints(tPassword,gbc);
              panel2.add(tPassword);
              gbc.gridx = 2;
              gbc.gridy = 3;
              gbag.setConstraints(lEmpty,gbc);
              panel2.add(lEmpty);
              gbc.gridx = 2;
              gbc.gridy = 4;
              gbag.setConstraints(bLogin,gbc);
              panel2.add(bLogin);
              panel1 = new JPanel(new BorderLayout());
              panel1.add(lTitle, BorderLayout.NORTH);
              panel1.add(panel2, BorderLayout.CENTER);
              add(panel1);
              setVisible(true);
         public void keyReleased(KeyEvent ke) {}
         public void keyTyped(KeyEvent ke) {}
         public void keyPressed(KeyEvent ke) {
              if(ke.getKeyCode() == KeyEvent.VK_ENTER){
                   String username = tUsername.getText();
                   String password = new String(tPassword.getPassword());
                   if(username.length() == 0 || password.length() == 0) {
                        JOptionPane.showMessageDialog(new JFrame(),"You must enter a username and password to login", "Error", JOptionPane.ERROR_MESSAGE);
                   else {
                        boolean flag = checkUsernamePassword(username, password);
                        if(flag)
                             JOptionPane.showMessageDialog(new JFrame(),"Username and Password Accepted", "Access Granted", JOptionPane.INFORMATION_MESSAGE);
                        else
                             JOptionPane.showMessageDialog(new JFrame(),"Username or password Incorrect", "Access Denied", JOptionPane.INFORMATION_MESSAGE);
         public void actionPerformed(ActionEvent ae) {
              String gotCommand = ae.getActionCommand();
              if(gotCommand.equals("LOGIN")) {
                   String username = tUsername.getText();
                   String password = new String(tPassword.getPassword());
                   if(username.length() == 0 || password.length() == 0) {
                        JOptionPane.showMessageDialog(new JFrame(),"You must enter a username and password to login", "Error", JOptionPane.ERROR_MESSAGE);
                   else {
                        boolean flag = checkUsernamePassword(username, password);
                        if(flag)
                             JOptionPane.showMessageDialog(new JFrame(),"Username and Password Accepted", "Access Granted", JOptionPane.INFORMATION_MESSAGE);
                        else
                             JOptionPane.showMessageDialog(new JFrame(),"Username or password Incorrect", "Access Denied", JOptionPane.INFORMATION_MESSAGE);
         private boolean checkUsernamePassword(String username, String password) {
              String user = null, pswd = null;
              try {
                   FileInputStream fin = new FileInputStream("@data\\userpass.txt");
                   DataInputStream din = new DataInputStream(fin);
                   BufferedReader brin = new BufferedReader(new InputStreamReader(din));
                   user = (String) brin.readLine();
                   pswd = (String) brin.readLine();
              catch(IOException ioe) {
                   ioe.printStackTrace();
              if(username.equals(user) && password.equals(pswd))
                   return true;
              else
                   return false;
    }PLEASE HELP ME GUYS......

    RockAsh wrote:
    Hey Andrew, first of all sorry for that shout, it was un-intentional as i am new to posting topics on forums and didn't new that this kind of writing is meant as shouting. Cool.
    Secondly thank you for taking interest in my concern.No worries.
    Thirdly, as i mentioned before, I am reading i file for checking of username and password. the file is named as "userpass.txt" and is saved in the directory named "@data" which is kept in the same directory in which my class file resides.OK - server-side. That makes some sense, and makes things easier. The problem with your current code is that the applet will be looking for that directory on the end user's local file system. Of course the file does not exist there, so the applet will fail unless the the end user is using the same machine as the server is coming from.
    To get access to a resource on the server - the place the applet lives - requires an URL. In applets, URLs are relatively easy to form. It might be something along the lines of
    URL urlToPswrd = new URL(getCodeBase(), "@data/userpass.txt");
    InputStream is = urlToPswrd.openStream();
    DataInputStream din = new DataInputStream(is);
    So the problem is that it is reading the file and showing the specific output dialog box when i run it through appletviewer.. Huhh. What version of the SDK are you using? More recent applet viewers should report security exceptions if the File exists.
    ..but the same is not happening when i launch the applet in my browser window using the code as written belowHave you discovered how to open the Java Console in the browser yet? It is important.
    Also the answer to your second question
    Also, the entire approach to storing/restoring the password is potentially wrong. For instance, where is it supposed to be stored, on the server, or on the client?is that, as of now it is just my college project so all the data files and the username and password wiles will be stored on my laptop only i.e. on the client only. no server involved.OK, but understand that an applet ultimately does not make much sense unless deployed through a server. And the entire server/client distinction becomes very important, since that code would be searching for a non-existent file on the computer of the end user.

  • How to pop up a new browser window to point to an external site

    Please help. we want to popup an new browser window when click on a button and the new window is pointing to an external web site.
    I can make it work to point to an external site in the same window. But that is not we want to.
    I do see some old posting about this but it does not work for us.
    Please anyone knows the detail of the steps and code, probably including any environment setting/configuration if required, response to this thread.
    thanks a lot in advance!
    ggu

    ggu,
    This is a gimmicky solution but it works and is reusable. Copy your button template and rename it POP_UP_BUTTON. Get rid of the #LINK# substitution string and replace it with:
    window.open('#BUTTON_ATTRIBUTES#')Put the URL you want to go to in the attributes section of the button. Put something like "TO_<DOMAIN>" in the button request so it is not totally gibberish and irrelevant. This would be much nicer if the apex engine did not include the "apex.submit()" code inside of the #LINK# substitution string. Or if they provided a second substitution string just for the URL specified.
    Here is the old code:
    <button value="#LABEL#" onclick="#LINK#" class="button-default" type="button">
      <span>#LABEL#</span>
    </button>here is the new code:
    <button value="#LABEL#" onclick="window.open('#BUTTON_ATTRIBUTES#')" class="button-default" type="button">
      <span>#LABEL#</span>
    </button>Cheers,
    Tyson Jouglet
    Edited by: Tyson Jouglet on Jun 17, 2011 8:50 AM

Maybe you are looking for

  • Show CustomerID with Most Attempts e.g. TopN = 1

    I have a requirement to show the maximum number of attempts (customer activity) for a single customer by date and then display the CustomerID of the single customer with the most attempts. Example Date,     MaxAttempts, CustomerID 9/12       12      

  • I am unable to install adobe digital edition 3 on windows 8. It does not open and gives an error message. Please help.

    I have downloaded and installed adobe digital edition 3 in my windows 8 laptop. But it fails to open. I get an error message saying "adobe digital edition has stopped working. A problem caused the problem to stop working correctly. Windows will close

  • Improper Loading of Application

    Hi, Our application sometimes doesnt load properly due to which images and hyperlinks are not being displayed. Can someone suggest to resolve this issue.

  • Wrong idoc

    i m new to ale idoc i have configured client 800 (sender) and client 910(reciever) idoc gets triggered from sender status 03 12 30 01 is fired . with idoc no. but in recieving client im not getting the idoc instead i m getting wrong idoc. n status 51

  • Spaces: passing parameters to portlet

    Does anybody know how i can pass a parameter from the URL to my portlet? I thought i would be the same as with the oracle portal but i'm wrong... I tried creating a page parameter on my space page and than pass that page parameter to my portlet. When