Adobe Javascript from within Excel VBA

I have some limited experience with Excel VBA and Adobe Javascript separately, but have never tried to put them together. I am rather baffled by the use of “DoJavaScript” from within Excel VBA. I have a number of Illustrator JavaScripts that do various tasks (mostly measure and set properties on illustrator drawing objects to determine some geometric metrics). I wanted to run these scripts from within Excel VBA (they run without problem when directly called into Illustrator). My hope was to pass a few real numbers from VBA into the JavaScript before one ran to set some run parameters and then get a few real numbers back out from the JavaScript back into VBA. I cannot seem to get even the simple DoJavaScript command given in the Adobe VBscript reference to run. Reading other posts that seem somewhat related it is not clear if I am doing something very simple wrong, or if my understanding of the use of the DoJavaScript command is misguided. Anyone able to shed some light on this?
My last try was this simple test...almost directly from the Adobe reference:
Private Sub SetScale_CommandButton1_Click()
Set appRef = CreateObject("Illustrator.Application")
Set myNumberOfDocuments = appRef.DoJavaScript("documents.length;")
MsgBox myNumberOfDocuments
End Sub
I am really hoping to be able to run javascripts that are a few hundred lines long....but if I cannot even get something simple to go then I am about to give up on it.
Thanks for any suggestions

Carlos;
I am most grateful! ... I was stumped on that for hours, thought I had tried about every combinatory possible, and was about to give up on getting the DoJavaScript  method to work. There are few examples of this on the web, so for anyone else who would like a bit more verbose  example I post below is a simple VBA sub-routine that uses a javascript function to return the number of selected objects in the current active illustrator document and displays that number in a message box in excel. Simple example, but it was the sort if thing I was looking for all over the web before Carlos’ help.
Cheers,
Brian
Private Sub ObjectNum()
Set appRef = CreateObject("Illustrator.Application")
      tmp$ = "function myfunction() {"
      tmp$ = tmp$ + "var idoc = app.activeDocument;"
      tmp$ = tmp$ + "var sel = idoc.selection;"
      tmp$ = tmp$ + "var numobj = sel.length;"
      tmp$ = tmp$ + "return numobj;};"
      tmp$ = tmp$ + "myfunction();"
numobj = appRef.DoJavaScript(tmp$)
MsgBox numobj
End Sub

Similar Messages

  • Data Model damaged, Cannot connect to Access 2013 from within Excel 2013

    Hello,
    Recently I am not able to use PowerPivot for Excel 2013 and I cannot connect to my Access 2013 database tables from within Excel 2013. Whenever I try to click on a slicer in my Excel worksheet, it gives me the following error: "Excel was unable to load
    a necessary component. This component might have been damaged or deleted. Reinstall the client software or data source driver software for your database."
    I am using Microsoft Office Pro Plus 2013 on Windows 7, 64-bit version. I have tried reinstalling Microsoft SQL Compact Edition 2005 and reinstalling Office 2013. I have run out of ideas and am a loss what to do next ? 
    Can anyone help point in the right direction for a possible solution to this problem ??? 
    Would appreciate all help.
    Thank you.
    ~Maneesh
    The problem with being punctual is, there's nobody there to appreciate it !!!

    Hi
    This is the forum to discuss questions about apps for office develop. For your question is more about Excel, I will move this thread to the TechNet forum for
    Excel
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly
    can either share their knowledge or learn from your interaction with us.
    Thank you for your understanding.
    Best Regards
    Lan
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How do I integrate adobe reader from within a wxwidgets project?

    Obviously I'm new to the world of adobe pdf reader.  I would like to integrate pdf reader from within a wxwidgets application I am writing.   I am trying to accomplish the following.
    1.  Control the size, positioning and what options are available of a pdf viewer and have it part of a frame that we control the general look and feel.
    2.  Highlight search words found within the article (from a previously executed search that brought me to the article)
    This project will be used to display millions of technical and scientific papers.  There will be no cost to access the papers or to even publish new ones.  The is being done by a non-profit society.  They will be peer-reviewed and Authors will have total control of their content without feer of unauthorized modification.
    We currently display the pdf by calling a webbrowser and that works, but so far I haven't found a way to communicate through the browser to the pdf plug-in so I can accomplish #2 above.
    I see two possibilities on going forward.
    A.  Find a way to communicate with the plug-in via the xulrunner browser.
    B.  Integrate an adobe object directly from within our program and then communicate with it.  (this options seems like a more likely candidate to establish comminication, but then there is an issue of getting it within the project and distributed to the end user - So far we have managed to avoid any installation procedure).
    Could someone give me a good starting point on what I might have to do to go forward to access the reader so that I can highlight the search words?
    I would really appreciate any help or direction that I can get.
    Jay Potter

    This will not technically a cross-platform project.   For now I'm doing all my development in windows, Although in the future I might have a parallel development in mac.
    I did some testing on the open parameters as you suggested and was quite disappointed.  When I "searched" for a word, it did not highlight all the matches, but just one at a time.  I also found that if I searched for two words that the order of the words changed the results.  In one case by reversing the order I not only didn't get any highlights but the article would not even display.  So far I am not impressed.
    At this point I'm more inclined to integrate the reader directly in the project.  Assuming that is possible, I would like to manually highlight all the occurances of a set of words without relying upon the search mechanism.  Can I do this in the API?

  • Open Multiple PDFs from within excel using VBA

    Hi,
    I'm using excel 2010 and would like to open pdfs based on filenames I have listed in excel.
    I attached a little of my code below which gives an idea of what I'm doing.
    First question:
    Is there a way to open mutiple files so that they are in one "instance" of adobe?
    The way this currently works, is it opens up a whole new window for each file which can make desktop very cluttered.
    Second question:
    Our pdfs are actually in Sharepoint and so what I am first doing, is converting the URL to point to a mapped directory of the Sharepoint Site.
    For this to work, the user must first map the sharepoint directory to a specific drive letter.
    I'm wondering if there's a way to pass an actual URL via a shell command so I can skip the mapped drive bit?  When I try it, it doesn't open the file.
    Thanks!
    My current vba:
    'sFileName = full URL of the file in sharepoint
         'Replace URL with Mapped Directory
            sFileName = Replace(sFileName, "http://aamteams.alv.autoliv.int/sites/alvgmbu/", "A:\")
         'Replace slashes in URL
            sFileName = Replace(sFileName, "/", "\")
         'Test if file exists before opening so adobe doesn't hang up on opening
            If Dir(sFileName) = "" Then
                A81_Try_Opening_In_Adobe = False
                Exit Function
            End If
            l_strProg = GetDefaultProgram(sFileName)
            'Execute function to open PDF
            Shell l_strProg & " " & sFileName, vbNormalFocus

    Hi Test,
    We would like to open directly in adobe for the following reasons:
    1.  The users like opening our pdfs in adobe over browsers by a large margin.
    2.  If we use a mapped drive and adobe, you can see the filenames in the start bar which is important when you have multiple files.
        If you open in browser (like we do today), you only see the left side of URL
        Left side of URL is always the same so it does no good to see what file your in.
    3.  We have had issues where sometimes the pdfs open "blank" until I refresh the browser.
    4.  We are also looking for a way to make a local cache of most common files for faster loads.
    But maybe I will give shell execute a try if it can find a local copy first in the code.
    Then open in browser as last resort.
    Using either shell or shell execute, is it possible to open multiple adobe files in the same instance or will we always have to get one instance for every pdf?
    Thanks for the help!

  • Cant create adobe files from multiple excel or word files

    This is the first time I have placed anything on this forum so please forgive me if I am in the wrong p
    lace.  I have been frustrated by an error message I get when I try to convert multiple excel files or word files to
    PDF.  The files exist on a network location, and when I select 5 or 6 at random
    and then right click and choose "Convert to PDF", the operation bombs with a message that reads:
    "The file you selected does not contain any data (zero length file).  Please select another file."  I can
    not find anything on this on Adobe's website, or google.  I used to d
    o it fine until a few days ago, now it won't convert and I get the above message.  Anybody have any idea?  I a
    m using Windows XP SP3 and Office 2007 SP1.  Thanks
    Steve Szabo

    I can copy these files to the local drive and do the operation fine.  I can also convert files that are already on the hard drive.
      Just cannot convert the ones that are in the network location.  I used to be able to do it, but not now.
    Steve

  • Start Hyperion Retrieve from within Excel?

    <p>Am wondering if there is a way to start Hyperion Retrieve fromwithin Excel using VBA (or whatever).</p><p>TIA</p><p>Jean</p>

    Yesterday I just had another user report the similar issue with with office complaining that the file was not checked out therefor upload (check-in) was failed.
    Please see the version and build number of MS Office
    Forgot to say, we are all on the same release and updates for MS Office as well as IE.

  • Wss3 Issues with user check in files from within excel or word 2010

    I have got a user reporting that he is experiencing (and it is getting more and more often) that when a file is checked out in excel or word, he then edit it, followed by clicking check in on the File tab within either excel or word. He then gets error see
    image below.
    Just wonder if anyone has seen this before? and where do I start...?
    i have checked the site collection is about 12 GB in size, there are quite a few subsites in the area where this user is working, there are about 150 subsites, 3 levels... our wss3 version is 12.0.0.4621

    Yesterday I just had another user report the similar issue with with office complaining that the file was not checked out therefor upload (check-in) was failed.
    Please see the version and build number of MS Office
    Forgot to say, we are all on the same release and updates for MS Office as well as IE.

  • How should we communication with Adobe Anywhere from within a panel?

    We are adding a panel to Premiere to help automate the workflows that use Anywhere.  We have found the API that lets us get the Session, Sequence an Selected Item URLs.  However, when we load these using jQuery's Ajax object, we are are getting a 403 to our OPTIONS request because it seems to default to trying to use CORS because we added the Cookie header.  We are able to do load the URLs on a Mac using the same panel with no problem.  The question is should we be able to make Cross Domain requests from the panel, or will we run into the same issues with as with the browsers?  We have a web application that is also making requests, but we are able to get aroudn the cross domain issues be using a proxy in Apache, but since the panel is hosted inside Premiere, I don't know were we would set that up.  Maybe there is a better way to communicate with the anywhere server, otherwise we may need to create our our CORS compliant service to send calls through.
    Thanks.

    Hi,
    I sent you my email address via private message.
    Just to reiterate... unlike browsers, CORS is supported and enabled by CEP in HTML5 extensions. You should just use normal JS functions, there is nothing CEP specific you need to do.
    In light of that, you may have spotted a bug. Please send me the extension so I can take a look.
    Best regards,
    Hallgrimur

  • Need to checkout MS Project file from Excel VBA

    I have a VBA Excel macro that can open an MS Project file, and extract data.  It works fine when the MS Project file is on my hard drive or other location where no check out is required.  But often the MPP files I need to access are stored in SharePoint,
    in document libraries, that have checkin/checkout enabled.  I am aware of the the way to do this for an Excel file, such as the following code snippet.
     ' Determine if workbook can be checked out.
     If Workbooks.CanCheckOut(Filename:=docCheckOut) = True Then
      Workbooks.CheckOut (Filename:=docCheckOut)
     Else
      MsgBox "You are unable to check out this document at this time."
     End If
    I need to be able to do the same thing for MPP files.  Here is the code I have; however, I get a compile error on the CheckOut line, indicating "wrong number of arguments or invalid property assignment".  My research suggests that I should
    get this compile error, as it only works on certain collections.  Even the line containing "CanCheckOut", while it does not give me a compile or run time error, it does not return the proper response.
     Dim mpApp As MSProject.Application
     Set mpApp = New MSProject.Application
     AppActivate "Project Professional"
     ' Determine if mpp file can be checked out.     
     If mpApp.CanCheckOut(mppFileToOpen) = True Then
      mpApp.CheckOut (mppFileToOpen)
         Else
             MsgBox "Unable to check out this document at this time."
        End If
    Is there a way to checkout an MS Project file stored in SharePoint from within Excel VBA?  Thanks.
    Ray

    Rod,
    Thanks very much.  This was, indeed, the solution.  Don't know how I could have missed this.  
    I did run into some issues with ensuring proper object references, checking back in, and being able to handle files that may be on a laptop, SharePoint site with checkout requirements, or SharePoint site without checkout requirements.  Also faced an
    issue checking back in; part of my macro opens the MPP file (that is checked out), acquires various pieces of data, then runs a macro in the MPP file that exports data to an excel spreadsheet.  After this macro runs (does a save-as using a map), check
    in is no longer possible.  Fortunately, I could checkout the MPP file, open it, get all the required data elements, make a few changes to the MPP file, check it back in (but not close), then run the macro, then close without saving.  In the end,
    it all works like a champ.  Thanks very  much for your advice.
    Ray

  • Simple Excel VBA question

    OK, while I'm not a newbie to VBA, I've never tried to set a cell from within a VBA function.  Based on what I've read, this should work:
    Public Function SetCell(value As Integer) As Boolean
        SetCell = True
        Range("A1").value = value
    End Function
    The call to this function is in cell A2:
    =SetCell(1)
    When I run this, I ALWAYS get "#VALUE!", and A1 doesn't get set.  If I set a breakpoint on the first line of the function, the value being passed in is 1.
    Anyone have any ideas?

    Re:  user defined function (UDF)
    A function called from a worksheet can only return a value to the cell containing the function.
    This limitation was instituted many years ago because of security concerns.
    Give this modification a try...
    Public Function SetCell(ByRef Ivalue As Double) As Double
      SetCell = Ivalue * 2
    End Function
    Note that "value" was changed to Ivalue - Vba already has claim to "value".
    Also, "Double" is the default data type for numeric cells.
    Jim Cone
    Portland, Oregon USA
    free & commercial excel programs (n/a xl2013)
    https://jumpshare.com/b/O5FC6LaBQ6U3UPXjOmX2

  • Cannot open pdf docs from within Eudora.  Registry problem?

    My email client is Eudora, which has worked well for many years, but it recently lost the ability to open pdf email attachments in Adobe Reader from within it.
    I have tried the  standard file association solution and that has not helped.
    I am posting to see if anyone thinks my problem is caused by registry settings, and if so, if you can give me a lead on which settings to change and what to change them to.  Here are details.
    I am currently using Eudora 5.2.  Adobe Reader 9.4 is my default pdf viewing software and OS is Vista Home Premium SP2.
    I was recently given a nuance product, pdf converter pro 7, which set itself as my default pdf viewer.
    I have succeeded in restoring Adobe Reader as my default pdf viewer (e.g., in Windows Explorer and Internet Explorer), but now, when I try to click on a pdf attachment in Eudora, the file doesn't open and the following pops up in an error box:
    "This file  does not have a program associated with it for performing this action.  Create an association in the Set Associations control panel."
    I have gone to the associations control panel and set Adobe Reader as my default program for opening pdf files.  However that has had no effect on the problem in Eudora.
    The attachments to emails in Eudora have the little Adobe pdf icon next to the file name and have a .pdf extension, but all I get when I click on them is the error message.  If I right-click on the attachment's file name, I get a context menu, but if I click on "open with..." and then select to always open with Adobe Reader, the pdf attachment does not open and nothing changes.
    If I try to use the context menu to do a "save as," to save the attached pdf somewhere on my hard drive, everything looks fine, except the pdf is not saved to the other folder.
    Other files attached to my emails open fine from Eudora, as always (e.g., Word documents), just as pdf documents used to do for many years.
    I can go to Eudora's attachments folder in Windows Explorer and open the attached pdfs from there, and they open in Adobe Reader and work fine.  However, that takes time to hunt them down in the hundreds of attachment files, which I would rather avoid.
    I tried reinstalling Eudora.  The problem persists.
    I assume nuance's pdf converter pro 7 hijacked an Adobe Reader registry setting, or maybe a Eudora registry setting, but I have not been able to find it and would not know what to do if I did.
    Any suggestions for a fix will be appreciated.

    No, I can't, sorry.
    ForexForecast L.T.D
    www.previsioniforex.info

  • Executing Stored Procedure within Excel

    I am in the middle of setting up an Excel spreadsheet that will execute a stored procedure I have created and return the results to Excel. Pretty much following the example set here: 
    http://datapigtechnologies.com/blog/index.php/running-a-sql-stored-procedure-from-excel-with-dynamic-parameters/
    But, the problem I am stuck on and unable to yet find an answer to, is can I execute the procedure from within Excel and instead of specifying a parameter enter a WHERE clause. At the moment the last step of my stored procedure is:
    SELECT * FROM MY_TABLE
    WHERE ([PRODUCT] LIKE 'DESK-%') AND (NOT([DISCOUNT VALUE] IS NULL))
    But, I cannot find if it is possible to execute this from within Excel. I am not sure if it I am able to set the WHERE as a parameter which may be the way I should be going about this. 
    Thanks.

    Are you invoking a stored procedure, or are you sending a SELECT statement (ad-hoc query) to the SQL Server?  It seems like you are sending an ad-hoc query.
    If that is the case, I would not put the entire WHERE clause as a parameter. I would do it something like this:
    "SELECT * FROM MY_TABLE WHERE ([PRODUCT] LIKE '" & Range("B2").Value & "%') AND (NOT([DISCOUNT VALUE] IS NULL))"
    That assumes that the parameter that you want to use is in cell B2.
    Ideally, I would prefer not to use ad-hoc queries. Instead, create a stored procedure which takes the Product type as a parameter.  There are lots of examples on the net on how to query SQL Server from Excel via a stored procedure with parameters.

  • [AS & JS] [CS4] Execute javascript from actionscript

    Hi,
    I've written a folder action in Actionscript to open a Indesign file. I would like to execute a javascript that a wrote before. Is it possible to launch a javascript from within a actionscript? Does the actionscript wait to continue until the javascript is completely executed?
    Thanx
    John

    Scott,
    I have no idea how I got this new OTN Id? Tell me what you know!
    I signed on using what I believe is my regular Email Address, but I am no longer attached to the old OTN Id. And I no longer have the gold medal next to my name. Isn't that sad :(
    I really ticks me that we are still (after how many years with Oracle) unable to change our Email Address and keep the same account. What is that with Oracle? Can't anyone teach those people good design (like don't use an externally supplied key as the internal identifier for your customer). I recently sold my Web Domain, and so my Email Address will soon change. The new owner is allowing me to keep my Email Address until Feb 2008.

  • Problem with controlling Annotations from Excel VBA

    Hi,
    I have a PDF document that has plenty of sticky notes attached to it. These sticky notes have been added by multiple authors on all pages of the document. I am trying to import the contents of these sticky notes, their author and the page number to an excel spreadsheet.  I am using Excel 2007 and Acrobat Professional 9.0.
    This is the code that I am currently using to import the sticky notes, but the problem that I am facing is that when I run the macro -
    Same sticky note contents, author and page numbers are imported multiple times
    Not all sticky notes are imported, only some of them appear in the final excel spreadsheet
    When I compare the number of sticky notes to that in the original PDF file, the number is correct. But the content is repeated content and that is the reason why only some of the sticky notes are imported.
    This is an activity that I need to do on regular basis and the number of sticky notes that I need to import to excel may range between 100 to 200. It is really difficult to do this task manually, so an excel VBA macro could prove really helpful.
    Sub ImportComments_Click()
    Dim Fpath As String
    Dim WordObj As Object
    Dim wbkOutput As Excel.Workbook
    Dim iRow As Integer
    Dim i, j, k As Integer
    Dim lRet As Long
    Dim objAcroAVDoc As New Acrobat.acroAVDoc
    Dim objAcroPDDoc As Acrobat.AcroPDDoc
    Dim numPages As Long
    Dim lAnnotscnt As Long
    Dim Subtype As String
    Dim NumComments As Long
    Dim AcroApp As Acrobat.AcroApp
    Dim objAcroPDPage As Acrobat.AcroPDPage
    Dim annot As Acrobat.AcroPDAnnot
    Sheets("Defect Log").Select
    Range("L3").Activate
    Fpath = ActiveCell.Value
    Sheets("Defect Log").Select
    Range("A1").Activate
    i = 0
    Do While (Not (IsEmpty(ActiveCell.Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 1).Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 2).Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 3).Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 4).Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 5).Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 6).Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 7).Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 8).Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 9).Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 10).Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 11).Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 12).Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 13).Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 14).Value)))
    i = i + 1
    ActiveCell.Offset(1, 0).Select
    Loop
    iRow = i + 1
    Set wbkOutput = ActiveWorkbook
    lRet = objAcroAVDoc.Open(Fpath, "")
    Set objAcroPDDoc = objAcroAVDoc.GetPDDoc
    numPages = objAcroPDDoc.GetNumPages()
    Set objAcroPDPage = objAcroPDDoc.AcquirePage(0)
    For k = 1 To numPages
    lAnnotscnt = objAcroPDPage.GetNumAnnots()
    For m = 0 To lAnnotscnt - 1
    If lAnnotscnt = 0 Then Exit For
    Set objAcroPDAnnot = objAcroPDPage.GetAnnot(m)
    If (objAcroPDAnnot.GetContents <> "" And objAcroPDAnnot.GetSubtype = "Text") Then
    Cells(iRow, 5).Value = k
    Cells(iRow, 2).Value = objAcroPDAnnot.GetContents()
    Cells(iRow, 11).Value = objAcroPDAnnot.GetTitle()
    iRow = iRow + 1
    End If
    Next m
    Set objAcroPDPage = objAcroPDDoc.AcquirePage(k)
    Next k
    lRet = objAcroAVDoc.Close(1)
    Set objAcroAVDoc = Nothing
    Set objAcroPDAnnot = Nothing
    Set objAcroPDPage = Nothing
    Set objAcroPDDoc = Nothing
    End Sub

    Make sure you are current with 9.x patches, just on general principles.
    The code seems fine – nothing jumping out at me.
    You can also look at using the JSObject methods and trying this via the JavaScript stuff – that will give you more access to the Annotation information…
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Thu, 24 Nov 2011 04:25:12 -0800
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: Problem with controlling Annotations from Excel VBA
    Problem with controlling Annotations from Excel VBA
    created by apreeti<http://forums.adobe.com/people/apreeti> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/4044740#4044740

  • Acrobat 9.0 Standard. Setting PDF file password from Excel VBA

    Acrobat 9.0 Standard. Setting PDF file password from Excel VBA
    Hi: I am trying to find a call to set the password of a PDF file that I am creating from Excel Workbook using a VBA call.
    I basically have this Excel VBA code that works fine and creates a file.
                pBook.PrintOut Copies:=1, preview:=False, ActivePrinter:="Adobe PDF", _
                               PrintToFile:=True, collate:=True, PrToFileName:=PSFileName
                ' Convert the postscript file to .pdf
                Dim myPDF As PdfDistiller
                Set myPDF = New PdfDistiller     
                myPDF.FileToPDF PSFileName, "", ""
    BUT, I need to set the password on this PDF file and do not see an option to do so.
    Can you provide a solution for this situation? Appreciate your response in advance.
    Thanks.

    There is no way to set password programmatically using any other dll or any other kit?
    I am creating a bunch of PDF files for users programmatically but then they have to go in and set password themselves? This is very inconvenient for users.

Maybe you are looking for

  • What's going on with JAVA, Can't load POGO games?

    Please let me know about JAVA.  I can't get POGO games to load and some chat rooms on other websites won't load ????

  • Does the iPhone 4S have a shutter on the camera?

    A month or so back my iPhone camera had something half blocking the lens. I was just wondering, is this the camera shutter? Or does the iPhone even have a shutter?

  • Reading Japanese Text

    Hi, I have a standalone program that would like to read in a text file and display in the textarea. The problem is, the text file is encoded in Japanese using JIS, EUC, and SJIS. Is there a way for me to detect, upon opening the file, which decoder t

  • Help!  Fonts unreadable the Symbol A in a box!

    All of the characters for fonts for icons are now the letter "A" in a box. All drop down menus as well! I'm suspecting this has something to do with a software update I was NOT supposed to do... I have a Mac Mini non-Intel.

  • Classloader exception in Java debugger built using JDI - Please reply

    Im a newbie to java & ive been trying to develop a simple java debugger & ive been getting the following set of exception ir-respective of ip file given to debug Exception:::java.lang.ClassLoader.loadClass(java.lang.String, boolean) Exception:::java.