How to add image file while creating addon...pathsetup?

Hi friends,
i have a problem while creating addon.
while creating addon we can add all the files(.vb,xml).but if i add image files(.bmp,.jpg)they are not displayed in runtime.
--how to add image file while creating addon..?
we are useing SAP Business One 2005A(6.80.317)SP:01 PL:04

Somebody knows like I can indicate to him to a button that I have in a form, that accedes to the image in the route where will settle addon? I have this, but it does not work to me
oButton.Image = IO.Directory.GetParent(Application.StartupPath).ToString & "\CFL.BMP"

Similar Messages

  • How to add shipping instructions while creating SO

    Hi All,
    I'm using the BAPI_SALESORDER_CREATEFROMDAT1 to create Sales Order.
    I want to add shipping instructions while creating each orders.
    How do I pass this information to the backend with this BAPI?
    Thanks
    Thruna

    Somebody knows like I can indicate to him to a button that I have in a form, that accedes to the image in the route where will settle addon? I have this, but it does not work to me
    oButton.Image = IO.Directory.GetParent(Application.StartupPath).ToString & "\CFL.BMP"

  • How to add Trip reason while creating a Travel request

    Hi,
    I want to add Trip reason while creating a Travel request . I have not been able to maintain FTPT_REQ_HEAD through sm30. Urgent help required

    Hi,
    There is no customizable table for travel reason
    FTPT_REQ_HEAD is not maintanable
    This is standard SAP, and in field REQUEST_REASON you can enter the description that you want and system will allow you do that. The same thing with field " 1st destination"
    You add any description and it will be recorded and available for next entries in TP04
    Hope this answer to your question
    Best regards
    Tarek

  • How to add the Drawings while creating Inspection Plan

    Dear all,
    As we can attach the files in QM01 - Create Notofication thru "Choose an Object" .
    In similiar way can  "Choose an Object" object can be attached to Insp. plan or any other way to attach drawing.

    in case of inspection if want to see the the drawing during Result recording then
    You can create a document in Cv01n & attach  drawing document ........
    then
    1.use it in Inspection Method & attach inspection method in the inspection lot.
    2.use it in PRT as document  & attach it in inspection.
    In case of notification DMS( document mgt system-CV01n) can be used & attached in Notificaton.
    Regards
    Sujit

  • How to add Freight Charges while creating PO

    At the time of creation of Purchase Order, the custom duty and the freight
    charges are not known.(Sometimes we know the freight charge)
    But when the supplier submit the invoice both these
    Custom duty and the freight charges are included, Now how do I go about
    matching the invoice. Do I need to go and modify the PO for the difference
    before I do the matching of PO with the invoice.
    Any suggestions would be appreciated

    Hi,
    I think you need to enable a DFF at PO header to provide the fright charges, this could be the one solution for your requirement.
    Regards,
    Kevin.

  • How can I add image files to a executable jar file ?

    Could you tell me how can I add image files to executable jar file ?
    package structure:
    ../com/Main.class
    ../images/..

    Please don't cross post, and read this
    http://forum.java.sun.com/thread.jsp?forum=31&thread=271751
    I've answered the question in the New To Java thread.

  • How [Insert|Add] Image into Opening PDF file with Acrobat SDK.

    Hi Guys,
    I'm trying to insert|add image file into opening PDF file with specified location (X|Y) and scale (Width|Hight) but got many of troubles
    If use third party like iTextSharp or something else thing become simple but i want to use Acrobat SDK to do this
    Any suggestion or idea?
    Any help appreciated.

    Thank for your interested.
    I use VB.NET and Acrobat
    Here is some my code:
    Try
       If File.Exists(T(0)) Then
       Dim AcroAVDoc As AcroAVDoc = Ap.GetActiveDoc
       Dim AcroPDDoc As AcroPDDoc = AcroAVDoc.GetPDDoc
       Dim AcroPDPage As Acrobat.AcroPDPage = AcroPDDoc.AcquirePage(Integer.Parse(T(3)))
       Dim data() As String = T(1).Split("^")
       Dim imgX = data(0)
       Dim imgY = data(1)
       Dim imgWidth = data(3)
       Dim imgHight = data(4)
       'TODO: insert into opening PDF file
       Return 1
       End If
       Catch ex As Exception
       End Try
    I don not know what to do next to insert an image (JPEG, PNG, ..) into PDF file.
    Can you show me or suggest some solution, idea?
    Thank in advance.

  • How to add PDF files into a slides? (Flash 8)

    I am new to flash and I am using Macromedia Flash 8. My task is simple enough: I need create a Presentation with Screens from PDF files: I have 10-12 PDF files which I want convert into flash presentation.
    I have read this tutorial:
    http://w3.id.tue.nl/fileadmin/id/objects/E-Atelier/Phidgets/Software/Flash/fl8_tutorials.p df
    Chapter 11: Basic Tasks: Create a Presentation with Screens.
    I'm having trouble how to add PDF files into a slides: I want insert a whole pdf file as separate slide, without splitting pdf file into separate elements: pictures, text, etc. I tried import pdf file into Flash, wheen import there is shown prompt how program should process this pdf file(add in stage, library, as keyframes, etc) , not clear which option is correct for my task. What I got is pdf file splitted into multiple images, text, - which is not what I want. I want keep PDF files without changes, preserve original design and formatting, just convert this pdf into flash, so presentation will consist of PDFs organized in correct order, then add navigation buttons and some effects. How to solve this task?

    Just to avoid potential confusion... PDF is an Adobe format, but Flash 8 is/was not.  Flash 8 came out before Adobe bought Macromedia.  Even today, I don't believe anything has been done to accomodate direct integration of PDF content in Flash.

  • How to include image file in ard

    Dear members,
    I have to include one more menu next to reports menu in sap B1. I need to include the picture symbol.
    Can anybody inform me how to include the image file while making the add-on.Normally we include the exe file and dll files.Is there any specific methods to include the image.Please kindly let me know.
    Regards,
    Venkatesh.R

    in srf attached image button.
    and write code
    Dim img As SAPbouiCOM.PictureBox
                    img = oForm.Items.Item("14").Specific
                    SPath = CurDir() '.Remove(Len(CurDir) - 3, 3)
                    img.Picture = (spath & "\Avijit.bmp")
    Spath is nothing butthe location where u put all files .
    regards,
    Avijit

  • How to add image to webdynpro screen . ?

    How to add image to webdynpro screen . ?

    hi,
    right click ur application and then click on create mime object.
    with Mime Objects u cn upload doc , jpeg, or giff files from our local system into the webdypnpro system .
    You can even try creating the MIME objects in webdynrpo abap .
    Right click on ur component->mime object->import
    after importing you can see that image into your component as MIME object .Now insert a UI element image into your view layout .
    Go to the source property of IMAGE element and select F4 option , u will find a window is opening with some tabs
    Select tab COMPONENT IMAGES and component name select your component .
    You will find the image which you have imported into this section just select the image and save it.
    In the transaction sicf/bc/webdynpro , u cn check your component name there you can view the mime objects created by you .
    also refer the SAP online help :
    http://help.sap.com/saphelp_crm50/helpdata/en/46/bb182fab4811d4968100a0c94260a5/content.htm
    to knw more abt mime repositories.
    http://help.sap.com/saphelp_nw04/helpdata/en/f3/1a61a9dc7f2e4199458e964e76b4ba/content.htm
    regards,
    Amit

  • How to add images into a java application (not applet)

    Hello,
    I am new in java programming. I would like to know how to add images into a java application (not an applet). If i could get an standard example about how to add a image to a java application, I would apreciated it. Any help will be greatly apreciated.
    Thank you,
    Oscar

    Your' better off looking in the java 2d forum.
    package images;
    import java.awt.*;
    import java.awt.image.*;
    import java.io.FileInputStream;
    import javax.imageio.ImageIO;
    import javax.swing.*;
    /** * LogoImage is a class that is used to load images into the program */
    public class LogoImage extends JPanel {
         private BufferedImage image;
         private int factor = 1; /** Creates a new instance of ImagePanel */
         public LogoImage() {
              this(new Dimension(600, 50));
         public LogoImage(Dimension sz) {
              //setBackground(Color.green);      
              setPreferredSize(sz);
         public void setImage(BufferedImage im) {
              image = im;
              if (im != null) {
                   setPreferredSize(
                        new Dimension(image.getWidth(), image.getHeight()));
              } else {
                   setPreferredSize(new Dimension(200, 200));
         public void setImageSizeFactor(int factor) {
              this.factor = factor;
         public void paintComponent(Graphics g) {
              super.paintComponent(g);
              //paint background 
              Graphics2D g2D = (Graphics2D) g;
              //Draw image at its natural size first. 
              if (image != null) {
                   g2D.drawImage(image, null, 0, 0);
         public static LogoImage createImage(String filename) { /* Stream the logo gif file into an image object */
              LogoImage logoImage = new LogoImage();
              BufferedImage image;
              try {
                   FileInputStream fileInput =
                        new FileInputStream("images/" + filename);
                   image = ImageIO.read(fileInput);
                   logoImage =
                        new LogoImage(
                             new Dimension(image.getWidth(), image.getHeight()));
                   fileInput.close();
                   logoImage.setImage(image);
              } catch (Exception e) {
                   System.err.println(e);
              return logoImage;
         public static void main(String[] args) {
              JFrame jf = new JFrame("testImage");
              Container cp = jf.getContentPane();
              cp.add(LogoImage.createImage("logo.gif"), BorderLayout.CENTER);
              jf.setVisible(true);
              jf.pack();
    }Now you can use this class anywhere in your pgram to add a JPanel

  • Add image files to DVD-ROM

    When using iDVD '09 to create a slideshow, I select the option to "Add image files to DVD ROM". As expected, my finished DVD contains the DVD-ROM Contents folder, and after digging down into a few more sub-folders I get to the original photos used to create the slideshow. So far so good. However, inside the folder containing the slideshow images there is another sub-folder that is always named "originals" which contains a second set of identical images.
    This "originals" folder is only created when I use photos from the iPhoto library in my DVD. If the slideshow photos are sourced from a folder somewhere using the finder I do not get the the second set of images.
    At first I thought maybe iDVD was placing a copy of the original unedited iPhoto images and a copy of the edited iPhoto images onto the DVD, but the 2 sets of images are absolutely identical as far as I can tell.
    Anyone know why iDVD is placing 2 sets of images onto the DVD?

    Just made an interesting discovery. I went back through some older DVDs looking at the DVD-ROM contents folders. On my older DVDs, the main set of images are all those used in the slideshow, while the "originals" folder contains the unmodified copies of only those photos that were modified in iPhoto. The "originals" folder could therefore contain the same number of photos if all were modified, less if only some of them were modified, or none at all if you didn't modify any of them in iPhoto.
    So it would appear that iDVD is indeed supposed to follow the same "original" and "modified" structure of iPhoto in order to archive both versions onto the DVD. This is obviously the correct behaviour and is a very clever feature for Apple to include, but it doesn't appear to be working with the newer versions of iDVD.
    The older DVDs I have where this has worked correctly were created on my old iMac with iDVD 6. All the incorrect DVDs I have with 2 identical sets of photos were created since buying my new MBP. I started off with iDVD '08 on the MBP and I'm now using iDVD '09. So there is either something wrong with my system, or there has been a bug in iDVD since the '08 version (suppose it could be an iPhoto bug as well).
    I would like to know if anyone else has checked the DVD-ROM folder on their DVDs to see if the main images and those in the "originals" folder are identical. This would apply to iDVD '08 and '09 and only if you sourced the slideshow images through iPhoto. If I'm not alone then it would appear to be an Apple bug.

  • How to send image file through mail without   any attachment

    Plz tell  me how to send image file through mail without any attachment  ( i mean not converting  that image into pdf or any format )  i want to send that text or image  through mail .

    Hi Sandeep,
    I think you can setup the type of email in Shared office Settings in transaction S016.
    There is an option called <Preset document classes>
    You choose this pushbutton to branch to the maintenance screen for the document classes that are directly displayed to users in the Business Workplace for selection when they use the Create function. The name under which the documents are displayed can also be maintained.
    http://help.sap.com/saphelp_nw70/helpdata/en/6c/69c30f418d11d1896e0000e8322d00/content.htm
    Haven't tried it though.
    Regards,
    Siddhesh

  • How to add multiple table when creating add on using b1de

    Hi all,
    Plz help me
    How to add multiple table when creating add on using b1de.
    Thanks

    Hi dns_sap,
    Can you explain a little better what you are trying to accomplish? Is it to create UserTables and UserFields in the database, when the addon runs the first time?
    If so, you can use the following code
    Add User Table
            Try
                Dim lRetCode As Long
                Dim oUDT As SAPbobsCOM.UserTablesMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserTables)
                oUDT.TableName = TableName
                oUDT.TableDescription = TableDescription
                oUDT.TableType = TableType
                lRetCode = oUDT.Add
                '// Check for error when adding the Table: if lRetCode = 0 the table was created; if lRetCode = -2035 the table already exisits
                If lRetCode <> 0 Then
                    oApplication.MessageBox("Error: " & lRetCode.ToString & ", " & oCompany.GetLastErrorDescription)
                End If
            Catch ex As Exception
                oApplication.MessageBox(oCompany.GetLastErrorDescription)
            Finally
                System.Runtime.InteropServices.Marshal.ReleaseComObject(oUDT)
                oUDT = Nothing
                lRetCode = Nothing
                GC.Collect()
            End Try
    Add User Field
    Try
                Dim lRetCode As Long
                Dim oUDF As SAPbobsCOM.UserFieldsMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields)
                oUDF.TableName = TableName
                oUDF.Name = FieldName
                oUDF.Description = FieldDescription
                oUDF.Type = FieldType
                lRetCode = oUDF.Add
                '// Check for error when adding the field: if lRetCode = 0 the field was created; if lRetCode = -2035, the field already exists
                If lRetCode <> 0 Then
                    oApplication.MessageBox("Error: " & oCompany.GetLastErrorCode & ", " & oCompany.GetLastErrorDescription)
                End If
            Catch ex As Exception
                oApplication.MessageBox(oCompany.GetLastErrorDescription)
            Finally
                System.Runtime.InteropServices.Marshal.ReleaseComObject(oUDF)
                oUDF = Nothing
                lRetCode = Nothing
                GC.Collect()
            End Try
    Regards,
    Vítor Vieira

  • I want to add image in column is it possible then how to add image in data base what data type we need to do

    I want to add image in column is it possible then how to add image in data base  what data type we need to give we required any casting  please show me one example
    jitendra

    Hi again,
    Several points that can help more:
    1. If you are working with Dot.Net, then I highly recommend read the first link that you got! This is nice and simple coding. Another option is this link which is even better in my opinion:
    http://www.dotnetgallery.com/kb/resource21-How-to-store-and-retrieve-images-from-SQL-server-database-using-aspnet.aspx
    2. As i mention above both link use the column's type image. There are several other option of working with Files. In most of my applications architecture I find that it is better to use a column which let us use any type of file and not an image column.
    In choosing the right column's type for your needs basically your fist question should be if if you want to store your data inside relational database environment or outside relational environment. It is a good idea to look for blogs on this issue. Next
    if you chose to store your data inside then you need to chose the right column type according to your server version. I highly recommend to look for blogs on the differences between those column's types: IMAGE, 
    Check those links:
    To BLOB or Not To BLOB: Large Object Storage in a Database or a Filesystem
    http://research.microsoft.com/apps/pubs/default.aspx?id=64525
    FILESTREAM feature of SQL Server 2008
    http://msdn.microsoft.com/library/hh461480
    FileTables feature of SQL Server 2012
    http://technet.microsoft.com/en-us/library/ff929144.aspx
    Compare Options for Storing Blobs (SQL Server)
    http://technet.microsoft.com/en-us/library/hh403405.aspx
    Binary Large Object (Blob) Data (SQL Server)
    http://technet.microsoft.com/en-us/library/bb895234.aspx
    Managing BLOBs using SQL Server FileStream via EF and WCF streaming
    * Very nice tutorial!
    http://petermeinl.wordpress.com/2012/02/20/managing-blobs-using-sql-server-filestream-via-ef-and-wcf-streaming/
    [Personal Site] [Blog] [Facebook]

Maybe you are looking for

  • Error when calling the business services with Encryption - MustUnderstand h

    I was getting this error when i invoke my business service through Oracle Service Bus Console: *<faultstring>* *MustUnderstand headers:[{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security] are not understood* *

  • Font has become so small cannot read e-mail.

    font size is unreadable-how do i make it back to default setting

  • How to turn off mobile service and leave wifi on - iPhone 5

    how do I turn off the cellular mobile phone service but leave wifi on when I am travelling (I have a second phone for travel use). Is it really as easy as hitting OFF on cellular in iOS6?

  • Movie won't override / record over

    Hello all. I'm working on a project that will be exhibited that requires me to switch between two movies while recording. While movie 1 plays, movie 2 records. As movie 2 plays, movie 1 records. If I start my computer and run the program, it'll run w

  • RPTIME00-10-20-30_Urgent

    Hi, i want to know what is RPTIME00-10-20-30.i know their meaning bt where cn i see this and do the necessary setttings. plz tel me the steps to access this. help wld be realy appreciated. TC. thanx in advance.