Include User Defined Language Items

I am currently developing an app that needs to let users
define their own editable text for some items.
I didnt want to include all of these options in the database
to avoid having a large database and lots of cfquery's so I though
having them in a file of some sort would be best, and just
including the file as needed.
So, having thought that I put a bunch of cfset's in the
language file and set all these variables, but then I realised that
someone could put a cfdump in there and have the app spit out
information that they shouldnt see.
So how can you let users define language items in a file and
load them as usable variables, but not allow them to put other CF
tags in that page?

Is it possible to use regex somehow to loop over a file that
contains lines like <varname = 'what you want'> and have
everything between the '' stored in an two dimensional array with
the variable name as the name?
Are there any suggestions about the best way to handle
this?

Similar Messages

  • Creating user defined pay items in a complex PO which will be created from an Approved requisition

    Hi,
    We want to create user defined pay items in a complex PO which will be created from an Approved Requisition.
    User will select the approved Req. through WebADI and update the pay Items which will be uploaded and a complex PO will be created with user defined Pay Items.
    Approach 1:
    The API po_interface_s.create_documents is running good but there is one issue with this API as below.
    When we add user defined pay items to the po_lines_locations interface table against a line they are also getting added to the complex PO correctly.
    But the issue is coming when the API is creating default shipment lines and distribution which we dont want.
    Is there any way to stop creating the default pay items and distributions?
    We only want the shipments we have entered in the po_lines_locations interface.
    We can delete the lines from the PO_line_locations and po_distributions base tables for the default lines but that will be the last option to do delete on base tables.
    Approach 2:
    We can also do the same with the open PO import interface but it is not linking the complex PO to the approved requisition from which it is created.
    Oracle mentioned that this is a future enhancement and this functionality is not available in standard PO import prog.
    We are trying for Approach 1 so any suggestions/solutions are appreciated to achieve the requirement.
    Regards,
    Sanket

    UDT cannot be created in sbo-common. You may create new db and work with table in this db (but it will be not UDT, but standard sql table), or create new company db only for this purposes and create UDT there.

  • Which text editor can use User Defined Languages?

    On Windows, Notepad++ is able to use User Defined Languages. On a mac, I know of no text editors that can use them. Not only that, my mac stubbornly refuses to acknoledge the existence of .ecl, .dnh, and other scripting languages. I bundled Notepad++ and used AppleScript to make an executable, but it is not funny when you have to manually open Notepad++, then search for your file, then open it, then do things with it rather then clicking the file for it to open.
    I would like to know if there are ANY text editors that can run User Defined Languages on a mac. Please do not tell me to use Winebottler to package Notepad; I already have Notepad++

    Or, put your text file on DropBox, using the iPad app and email a link to others, or put it on MobileMe (iDisk app) or sharevvia iWork (online sharing for Pages documents).
    Besides the word processing apps like Pages, there are a ton of notes and notebook apps which have various file sharing capabilities. Plain Text is a free plain text editor which links to a DropBox folder, e.g. And the Elements app will sync to DropBox and also let you email. There are many others.
    The trick is figuring out what you need--how much formatting, e.g.--and what type of access by your PC is most convenient. I use apps that sync to DropBox or MobileMe, so that those files are always accessible. Much as I love MobileMe for syncing my calendars, contacts and to do lists, I prefer DropBox for document access and I've found iWork unreliable.

  • User defined field:item master

    Hi,
    In item master data, I want to create a user defined field which is linked to an external table wherein the end-user can automatically upload new item master details into the sap appl frm an external table.

    Dear Ayesha,
    As far as I understand, what you would like to do is the following :
    1. A user adds some data into an external table.
    2. The user defined Field in SAP B1 is automatically updated with the data in the external table.
    If you would like to achieve the above, then I would suggest you to use one of the following methods :
    1. DTW to import the tables' content.
    2. Import/export option from Excel
    3. or an Addon created via the SDK.
    If I understood the issue incorrectly, please let me know.
    Regards
    Arshdeep

  • Interactive Reporting - Is there a way to include user defined js file?

    Hi,
    My struggle with Hyperion IR 11.1 Studio continues... This time I need to know if it is possible to put my own js file somwhere in Studio and make it visible to all my code inside Studio. I have some function ('classes') defined which I use extensively and every time I must copy all my js file to the System or UserSection sections which is really bad practice.
    regards,
    Paul

    I just put this call in the Document.OnStartup() event of most of my files:
    eval( (new JOOLEObject("Scripting.FileSystemObject")).OpenTextFile(-2, 1, "\\\\computername\\sharename\\library.js").ReadAll() );This requires you and your users to have read access to the file share, and may assume you are running on Windows.
    I've also found I can use Notepad++ as an external script editor for IR Studio. I include a couple of functions in my library to read and write .js files with the same name as the .bqy file and in the same folder.
    //     List all scripts in the active document
         ActiveDocument.OutputScripts = function(strOutputFile, blnDisplay) {
              var strOutput = "";
              var strScript = "";
              if (strOutputFile == undefined) {
                   strOutputFile = g_strUserTempPath + "\\scriptoutput.txt";
              if (typeof strOutputFile != "string") {
                   strOutputFile = g_strUserTempPath + "\\scriptoutput.txt";
              //     default blnDisplay to false
              if (blnDisplay == undefined) {
                   blnDisplay = false;
              if (typeof blnDisplay != "boolean") {
                   blnDisplay = false;
              //     Cycle through all of the event scripts in the active document.
              for (var i = 1; i <= ActiveDocument.EventScripts.Count; i++) {
                   strScriptName = ActiveDocument.EventScripts.Item(i).Name;
                   strScript = "/* new script */\r\n";
                   strScript += "//script:     " + strScriptName + "\r\n";
                   strScript += "//object:     ActiveDocument.EventScripts[\"" + strScriptName + "\"].Script = \r\n";
                   strScript += ActiveDocument.EventScripts.Item(i).Script;
                   strScript += "\r\n";
                   strOutput += strScript;
              //     Cycle through all of the sections in the ActiveDocument.
              for (var i = 1; i <= ActiveDocument.Sections.Count; i++) {
                   //     Is it a dashboard?
                   if (ActiveDocument.Sections.Item(i).Type == bqDashboard) {
                        //     Cycle through all of the event scripts in the dashboard.
                        strDashboardName = ActiveDocument.Sections.Item(i).Name;
                        for (var j = 1; j <= ActiveDocument.Sections.Item(i).EventScripts.Count; j++) {
                             strScriptName = ActiveDocument.Sections.Item(i).EventScripts.Item(j).Name;
                             strScript = "/* new script */\r\n";
                             strScript += "//dashboard:  " + strDashboardName + "\r\n";
                             strScript += "//script:     " + strScriptName + "\r\n";
                             strScript += "//object:     ActiveDocument.Sections[\"" + strDashboardName + "\"].EventScripts[\"" + strScriptName + "\"].Script = \r\n";
                             strScript += ActiveDocument.Sections.Item(i).EventScripts.Item(j).Script;
                             strScript += "\r\n";
                             strOutput += strScript;
                        //     Cycle through all of the shapes in the dashboard.
                        for (j = 1; j <= ActiveDocument.Sections.Item(i).Shapes.Count; j++) {
                             //     Cycle through all of the event scripts in the shape.
                             strShapeName = ActiveDocument.Sections.Item(i).Shapes.Item(j).Name;
                             for (var k = 1; k <= ActiveDocument.Sections.Item(i).Shapes.Item(j).EventScripts.Count; k++) {
                                  strScriptName = ActiveDocument.Sections.Item(i).Shapes.Item(j).EventScripts.Item(k).Name;
                                  strScript = "/* new script */\r\n";
                                  strScript += "//dashboard:  " + strDashboardName + "\r\n";
                                  strScript += "//shape:      " + strShapeName + "\r\n";
                                  strScript += "//script:     " + strScriptName + "\r\n";
                                  strScript += "//object:     ActiveDocument.Sections[\"" + strDashboardName + "\"].Shapes[\"" + strShapeName + "\"].EventScripts[\"" + strScriptName + "\"].Script = \r\n";
                                  strScript += ActiveDocument.Sections.Item(i).Shapes.Item(j).EventScripts.Item(k).Script;
                                  strScript += "\r\n";
                                  strOutput += strScript;
              try {
                   var oTS = ActiveDocument.g_fsoMain.CreateTextFile(false, true, strOutputFile);
                   oTS.WriteLine(strOutput);
                   oTS.Close();
                   if (blnDisplay) Shell(g_strWinPath + "\\notepad.exe", strOutputFile);
              catch (e) {
                   Console.Writeln("Scripts could not be output to " + strOutputFile);
              return strOutput;
         //     load scripts from a text file into the ActiveDocument
         ActiveDocument.InputScripts = function (strInputFile) {
              var strInput = "";
              var strScript = "";
              var strDashboardName = "";
              var strShapeName = "";
              var strScriptName = "";
              var objDashboardName;
              var objShapeName;
              var objScriptName;
              var strObjectName = "";
              //     validate input
              if (strInputFile == undefined) {
                   return "Input file name is required";
              if (typeof strInputFile != "string") {
                   return "Input file name must be a string";
              if (!ActiveDocument.g_fsoMain.FileExists(strInputFile)) {
                   return strInputFile + " doesn't exist."
              var oTS = ActiveDocument.g_fsoMain.OpenTextFile(0, false, 1, strInputFile);
              while (!oTS.AtEndOfStream) {
                   strInput = oTS.ReadLine();
                   if (strInput == "\/* new script *\/") {
                        if (strScriptName != "") {
                             //     load the previous script
                             try {
                                  objScript.Script = strScript.substr(0, strScript.length - 2);
                             catch (e) {
                                  Console.Writeln(strObjectName + ".Script could not be set.");
                        //     read the new script
                        strDashboardName = "";
                        objDashboard = new Object();
                        strShapeName = "";
                        objShape = new Object();
                        strScriptName = "";
                        objScript = new Object();
                        strObjectName = "ActiveDocument";
                        while (strInput.indexOf("\/\/object") == -1) {
                             strInput = oTS.ReadLine();
                             if (strInput.substr(0, 14) == "//dashboard:  ") {
                                  strDashboardName = strInput.substr(14);
                                  strObjectName += ".Sections[\"" + strDashboardName + "\"]";
                                  try {
                                       objDashboard = ActiveDocument.Sections[strDashboardName];
                                  catch (e) {
                                       Console.Writeln(strObjectName + " does not exist.");
                             if (strInput.substr(0, 14) == "//shape:      ") {
                                  strShapeName = strInput.substr(14);
                                  strObjectName += ".Shapes[\"" + strShapeName + "\"]";
                                  try {
                                       objShape = objDashboard.Shapes[strShapeName];
                                  catch (e) {
                                       Console.Writeln(strObjectName + " does not exist.");
                             if (strInput.substr(0, 14) == "//script:     ") {
                                  strScriptName = strInput.substr(14);
                                  strObjectName += ".EventScripts[\"" + strDashboardName + "\"]";
                                  if (strDashboardName == "" && strShapeName == "") {
                                       //     it's an ActiveDocument EventScript
                                       try {
                                            objScript = ActiveDocument.EventScripts[strScriptName];
                                       catch (e) {
                                            Console.Writeln(strObjectName + " does not exist.");
                                  else {
                                       if (strDashboardName != "" && strShapeName == "") {
                                            //     it's a dashboard eventscript
                                            try {
                                                 objScript = objDashboard.EventScripts[strScriptName];
                                            catch (e) {
                                                 Console.Writeln(strObjectName + " does not exist.");
                                       else {
                                            //     it's a shape eventscript
                                            try {
                                                 objScript = objShape.EventScripts[strScriptName];
                                            catch (e) {
                                                 Console.Writeln(strObjectName + " does not exist.");
                        strScript = "";
                   else {
                        strScript += strInput + "\r\n";
              //     load the last script
              try {
                   objScript.Script = strScript.substr(0, strScript.length - 2);
              catch (e) {
                   Console.Writeln(strObjectName + ".Script could not be set.");
              oTS.Close( );
         };I have set up a custom menu in IR Studio using Tools | Customize and included a Script Output var strTemp = ActiveDocument.Path.reverse();;strTemp = strTemp.substr(strTemp.indexOf(".")).reverse() + "js";;;ActiveDocument.wsdot_GlobalStartup.OutputScripts(strTemp, false);; item and a Script Input var strTemp = ActiveDocument.Path.reverse();;;strTemp = strTemp.substr(strTemp.indexOf(".")).reverse() + "js";;;ActiveDocument.wsdot_GlobalStartup.InputScripts(strTemp);; item. That way I have the ability to import/export scripting from any file, provided that my script library has been loaded. (So I have a menu item that loads the script library, too.)

  • ALV GRID - to include user defined buttons in the output

    Hi,
    Currently I am working on ALV grid output.
    Along with the standard buttons, I need to include my own push buttons.
    When I try to include it using pf-status like this,
    passing parameter  in alv
    I_callback_pf_status_set = G_status
    FORM STANDARD_02 USING EXTAB USING SLIS_T_EXTAB
    set pf-status 'PF_STATUS' EXCLUDING EXTAB.
    ENDFORM
    I have included Confirm and exit buttons
    In the output it shows only the button which I created .
    I want to get both standard buttons which gets displayed when using REUSE_ALV_GRID_DISPLAY and the newly created one .
    Plz help me to resolve this .
    I am just passing my own internal table values to the grid .
    Thanks in advance.
    Regards,
    Uma

    hi
    good
    create ur own GUI status in ur program using SET PF-STATUS '--'. now give that program name and pf status name while u r copying that standard status ie.,of ALV grid Go to transaction SE41 (Menu painter). In the initial screen give the program name SAPLKKBL In the status give STANDARD Then go to the menu bar.in that follow this menu User Interface>Copy--->Status. Then a pop up will appear to give ur program name and the status name.
    thanks
    mrutyun^

  • My user defined menu items not shown up in Main Menu

    Hi,
    I have some my own menu items need to add into Main Menu list, it works fine but only issue is the screen flash lot. Since all the menu items are in the form called "Main Menu" form then I tried to use oForm.Freeze(true) and oForm.Freeze(false) before and after adding menu items. Now the weird thing is though the screen doesn't flash but i can't see the new added menu items in the Main Menu form. But I can see them under the system menu Modules menu. Any idea?
    Thanks!
    Lan

    Hi All,
    After check the SDK help, I found the reason. I need to call oForm.Update() after. Now it works well.
    Lan

  • Identifying APIs & user-defined classes

    I have a class name in a string variable. Is it possible to identify whether that class is a Java API or user-defined class ? Please note that the identification has to be done thru code not manually.

    There is no clear distinction between Java API and user defined classes. What I mean is there is no rule to limit user to use java.util as their package name and create their own classes like java.util.CustomCollection. Although that is not recommended at all, but nothing prevents it. There is sun.* package which implements most of the java.* classes, do you consider those Java API? And there are third party classes such as org.omg.* etc. All these classes including user defined classes are treated equally with the JVM.
    So there is no clear distinction. The only thing you can do is to define a list of class names you consider Java API.
    Why do you want to seperate them if I may ask? Since the JVM doesn't care.
    --lichu                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • I want to set User-define characteristics'group in receiver in pa-cycle.

    I want to set User-define characteristics'group in receiver in pa-cycle.
    I want to create PA cycle.
    My pa structure included User-define characteristics.
    When I creat PA cycle, I want to set User-define characteristics'group in receiver in pa-cycle.
    How can I do it?

    I soved it using set(t-code : gs01)

  • How to pop-up a text box for a grid item on a user defined table?

    Hello,
    I have a user defined table with a grid & one of the columns is for comments. What I'm trying to do is to pop up a text box when double clicking in the column field. This would be the same as the Item Details column in the Sales Order ittems grid.
    Thanks,
    Ron

    Please post your question on SDK forum.  Only SDK could meet your need.
    Thanks,
    Gordon

  • How to fill the records from a User Define Table to PO item Grid

    Hi To all,
    I need to fill data from User Define table records into Purchase Order Item Grid.
    I created an UDF Filed in PO - Header Part - "PRS"(Filed Name)
    By using Formatted Search in itemcode column, i called a query,
    "Select itemcode, qty from (@user define tablename) where PRS = $http://OPOR.U_PRS"
    For eg:
    Output from querry
    ItemCode Qty
    ABC 1
    DEF 2
    DFG 7
    SDGD 9
    By using formatted search it is filling only first data in to itemcode column in PO Grid.
    Please help, how can i fill ALL the data in to my PO Grid?
    Thanks in Advance
    SAGAR

    The easisest way is to create datasource and the result bind to grid.
    Datasource:
               oDBDataSource = oForm.DataSources.DBDataSources.Add("@usertablename")
                Dim xoConditions As SAPbouiCOM.Conditions
                Dim xoCondition As SAPbouiCOM.Condition
                xoConditions = New SAPbouiCOM.Conditions
                xoCondition = xoConditions.Add
                xoCondition.BracketOpenNum = 1
                xoCondition.Alias = "u_zn"
                xoCondition.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL
                xoCondition.CondVal = "cond"
                xoCondition.BracketCloseNum = 1
                oDBDataSource.Query(xoConditions)
    binding (example for matrix, in grid is simillar)
                oMatrix.Clear()
                Dim cols As SAPbouiCOM.Columns
                Dim column As SAPbouiCOM.Column
                cols = oMatrix.Columns
                column = cols.Item("colX")
                column.DataBind.SetBound(True, "@usertable", "u_x")
    oMatrix.LoadFromDataSource()
    hoep it helps
    Petr

  • Linking a User Defined Field in Items table

    How to Link a User Defined Field in 'Item Master Data' table, to my own User Defined Table?
    Example:
    In Item Master Data table, I want to add 3 User Defined Fields, for e.g, Country, State and Region.
    When the value of Country combo is changed, values loaded in State and Region combos should change automatically.
    I'm storing the relationship between Country,State and Region in my own user defined table. I want to load the comboboxes with a query from that table.
    Or, if there's no solution to the above problem:
    when the Item Master data table is opened, can we launch our own form?
    Is there a way to specify that?
    Please reply me back.. I'm a beginner learning SAP.
    With Thanks in advance,
    Geetha
    Key: Loading a user defined field through Query defined by us.

    Geetha,
    You should search this forum on user defined fields as you will find many posts that may assist you with your question.
    HTH,
    Eddy

  • Item - The item is not a user-defined item

    I have added a user defined field in Marketing Documents -> Title.In short I have added a user defined field at the header level.I have used this field for certain calculations while adding inventory transfer.I have created a combo for this field and added values as,
    Private Sub AddSeries()
            Dim ddlSeries As SAPbouiCOM.ComboBox
            Dim objDTSeries As New DataTable
            Dim intI As Integer
            Try
                objForm = SBO_Application.Forms.GetForm("-940", 1)
                ddlSeries = objForm.Items.Item("U_ProdSeries").Specific
                strQuery = "Select Series,SeriesName FROM NNM1 WHERE ObjectCode=13"
                objDTSeries = GetData(strQuery)
                If objDTSeries.Rows.Count > 0 And ddlSeries.ValidValues.Count = 1 Then
                    For intI = 0 To objDTSeries.Rows.Count - 1
                        ddlSeries.ValidValues.Add(objDTSeries.Rows(intI).Item("Series"), objDTSeries.Rows(intI).Item("SeriesName"))
                    Next
                End If
            Catch ex As Exception
                SBO_Application.MessageBox("AddSeries()=" & ex.Message)
            End Try
        End Sub
    Also,I want to clear the combo for certain condition.For clearing the combo I have used the code as,
    Private Sub DeleteSeries()
            Dim ddlSeries As SAPbouiCOM.ComboBox
            Dim intI As Integer
            Try
                objForm = SBO_Application.Forms.GetForm("-940", 1)
                ddlSeries = objForm.Items.Item("U_ProdSeries").Specific
                While ddlSeries.ValidValues.Count > 0
                    ddlSeries.ValidValues.Remove(0, SAPbouiCOM.BoSearchKey.psk_Index)
                End While
            Catch ex As Exception
                SBO_Application.MessageBox("DeleteSeries()=" & ex.Message)
            End Try
        End Sub
    While Removing the value it gives error as,
    Item - The item is not a user-defined item

    Hello dilip
    try this code .i hope yure problem may be solved
    Private Sub AddSeries()
            Dim ddlSeries As SAPbouiCOM.ComboBox
            Dim objDTSeries As New DataTable
            Dim intI As Integer
            Dim oItem As SAPbouiCOM.Item
            Dim Rs As SAPbobsCOM.Recordset
            Try
                objForm = SBO_Application.Forms.GetForm("-940", 1)
                Rs = objMain.objCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
                oItem = objForm.Items.Item("ITEM ID").Specific
                ddlSeries = oItem.Specific
                strQuery = "Select Series,SeriesName FROM NNM1 WHERE ObjectCode=13"
                Rs.DoQuery(strQuery)
                Rs.MoveFirst()
                For k As Integer = ddlSeries.ValidValues.Count - 1 To 0 Step -1
                    ddlSeries.ValidValues.Remove(k, SAPbouiCOM.BoSearchKey.psk_Index)
                Next
                If (ddlSeries.ValidValues.Count >= 0) Then
                    While Rs.EoF = False
                        ddlSeries.ValidValues.Add(Rs.Fields.Item("Series").Value, Rs.Fields.Item("SeriesName").Value)
                        Rs.MoveNext()
                    End While
                End If
            Catch ex As Exception
                SBO_Application.MessageBox("AddSeries()=" & ex.Message)
            End Try
        End Sub

  • Item Code Auto Generation Based on User defined Tables

    I need the Item code like
    PRODUCT TYPE-ITEMGROUP-ITEMCODE-SUBITEM-BRAND-COLOR  e.g .FG-01-01-00-001-00.
    I created the following User define Tables and link to Item Master data
    U_PRO             - FOR PRODUCT TYPE
    U_GROUP        - FOR  ITEM GROUP
    U_ITEMCODE    - FOR ITEMCODE
    U_SUBITEM       - FOR SUB ITEM
    U_BRD              - FOR BRAND NAME
    U_COLOR         - FOR COLOR
    i need a formatted search in Item code to fetch the codes from the user defined  table
    i tried with the following
    SELECT T5.[Code]'-'T2.[Code]'-'T3.[Code]'-'T4.[Code]'-'T0.[Code]'-'T1.[Code] FROM [dbo].[@BRD]  T0 , [dbo].[@COLOR]  T1, [dbo].[@GROUP]  T2, [dbo].[@ITEMCODE]  T3, [dbo].[@SUBITEM]  T4, [dbo].[@PRO]  T5 INNER JOIN OITM T6 ON T5.Code = T6.U_PRO WHERE
    T5.[Code] = T6.[$U_PRO] AND 
    T2.[Code] = T6.[$ U_GROUP] AND
    T3.[Code] = T6.[$U_ITEMCODE] AND
    T4.[Code] = T6.[$U_SUBITEM] AND
    T0.[Code]  = T6.[$U_BRD] AND
    T1.[Code]  = T6.[$U_COLOR]
    showing errors. Can any one help me regarding this. I badly need the query for Auto generation of Itemcode

    Hi,
    How can you assign those UDF value without ItemCode in the first place?
    Thanks,
    Gordon

  • User Defined Fields/data items

    How can I add user defined fields on runtime in a pre-defined data blocks wiht the user defined attributes of data type, length and format masks.
    Ofcouse I should have those fields defined in DB first.
    Thanks for any help

    I have a similar need.
    I have a DB table that stores a list of questions and data types/sizes/usages of the answers required by the user of the form.
    In a multi-record database block, I currently list the questions, and supply a Text Item to capture the user's answers, and then provide validation code to check for the proper data type & number of characters.
    I would like to be able to use the data type/size/usage information that is stored with each question to create, at runtime, an appropriate item (numeric text item max length 3, or character drop-down list box, or character text item with an LOV, etc.) for each question record. In other words, one record could have a drop-down list box, while another record could have a numeric text item.
    I think that I can create separate fields for each type of item, and then enable/disable the fields when required, but this solution is less elegant than the programmatic solution that I desire.
    Is there a way to do this programmatically in Oracle Forms 6.0.5.0.2 for Windows, or with an OCX, or some other add-in? We do not have Oracle Applications in this group. Is there a way to get "FlexField" without having Oracle Applications?
    I agree that this is a normal requirement these days as administrator-type users (as opposed to data-entry end-users) of applications want to be able to dynamically customize the app for their usage.
    Oracle needs to address this issue by creating the ability in Forms/Reports to create customizable apps.
    Thank you in advance for any help you can provide.

Maybe you are looking for

  • Setting pages to open .doc files by default

    I have iWork '08 but not MS Word on my MBP. When I get an e-mail attachment that is a .doc file (or an .xls file), I need to save it to the desktop and then open it with Pages or Numbers. Same with old Word files--I can't just open them in Pages by d

  • Javax.mail.MessagingException: Could not connect to SMTP host:

    here is a part of my code import javax.mail.*; import javax.mail.internet.*; import java.util.*; public class Mail { /** Creates a new instance of PostMail */ public Mail() { public void postMail( String recipients[ ], String subject, String message

  • Plugin container wont close

    Running newest versions of FF and flash, win 98 with all updates. Avast anti virus free version. When running intensive flash apps the plug in will hang and crash. Using Proc Explorer I see plugin-container.exe has maxed my ram and swap space and the

  • Selecting a file name from a stack of cascaded files?

    Supose I have 5 cascaded files open which I renamed: Picture 1, Picture 2 and so forth. Can a script select lets say Picture 3? An action can not do this to my knowledge.

  • In NWDI at a time two user's chekout what will happen after chckin??

    Hi friends I'm Nageswar In NWDI at a time two user's chekout what will happen after chckin?? Please give me discretion abut Sync,check out, check in Options in NWDI... Thanks Nageswar