VC++ dialog base problem

i would like to open outlook express in my dialog-based VC++ program, however I don't know how to set the "To" address externally for Outlook Express. would any expert help me to solve the problem, thx

If Outlook is the default email client on the system, you could use ShellExecute and specify a "mailto" url like MailTo:[email protected]
You can find alot more information about this if you use google.
I don't know if Outlook has a good activex interface, but you might try investigating that route as well.
Hope this helps.
Bilal Durrani
NI

Similar Messages

  • "Dialog box "PROBLEM WITH SHORTCUT"

    When my T40 p starts up I keep getting the following message, over and over again until I close the system tray IBM Connect bar. 
    "Dialog box “PROBLEM WITH SHORTCUT”
    The drive or network connection that the shortcut IBM Access Support.lnk refers to is unavailable.  Make sure that the disc is properly inserted to the network resource is available, and then try again. "
    Help!

    You'll need to find your iTunes folder. It's usually located on your main hard disk under My Documents/My Music/iTunes. Copy this whole folder to another hard drive (if possible) or burn it on a CD (probably will take more than one--depending upon how large your library is) or DVD. Once you have a good backup of your library, try downloading and reinstalling iTunes.

  • Quesion on fragile base problem

    Hi,
    I like to know how JAVA addesses the fragile base problem. I understand fragile base problem occurs when you want to add a new feature to a base programs, it requires the modification of all the children class to also inherit the new feature. This takes a lot of effort and it's error prone. I kind of know that polymorphism concept is the feature Java added to address the problem but I don't have a solid picture of how it handles the problem. Can anyone provide some info on this. Thanks.

    Sorry, I probably did not mean adding new features. I
    think what I am trying to say is supposedly we change
    a method in the parent class to return a String,
    previously a Integer. If we don't retrofit the
    children class, it will cause the program to fail
    compiling. If the program uses deep inheritance, just
    one single change might require a lot of work to
    retrofit. So, how would a developer design the
    application to avoid this problem? Unless you are overriding or extending the method this isn't the case. Really it's not so much a parent - child problem as it is a general application problem. Everywhere you are calling this method will no longer compile.
    One solution that always works is to make the change and let the compiler tell you what other code needs to be fixed. Java doesn't have any answers for this problem though some IDEs do as the previous poster mentioned.
    The best way to avoid something like this is to have a good design. I can't think of any good examples of when this could happen. Usually deeply inherited classes should be almost completely stable. If not, maybe that method should't be part of the base class at all. Changing a method to return a String instead of an Integer is a huge change. Really you are talking about changing its purpose. Maybe if you gave a better example I could understand a little better.

  • Dialog Box  Problem in BDC Program...

    Hi friends,
    I am facing a problem while  creating service entry sheet no  throgh bdc ( Tcode ML81N) . I use 'no disply' mode in call transaction method.
    whenever i regarding in our development client there is no dialog box with the following screen.  But in QAS server it displays the same. I have already include the following code in my bdc program. But the dialog box  been displayed finally. Our user doesn't require this interaction. Kindly give solutions.
    perform bdc_dynpro      using 'SAPLMLSR' '0110'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'IMKPF-BLDAT'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=OK'.
    perform bdc_transaction using 'ML81N'.
    Thanks & Regards,
    SP.Manavalan.

    Hi,
    Thanks for reply.
    I have checked log using SM37, it is not showing any error.
    Log details are as follows...
    Date       Time     Message text                                                                             Message class Message no. Messag
    08.05.2010 11:47:10 Job started                                                                                00           516          S
    08.05.2010 11:47:10 Step 001 started (program ZSDB_J1I5_REG_UPDATE_BDC, variant 1101_1_RMA, user ID STK)      00           550          S
    08.05.2010 11:47:20 Job finished                                                                                00           517          S

  • JSF with Infragistics Dialog window problem

    Hi All,
    First of all i would like to thank you all for your previous valuable suggestions. Currently i am working on JSF 1.1 application with Infragistics components. We implemented 'City Search' functionality where a command Link will be displayed once the user clicks on that link a small dialog window to perform city search will be opened. Now my question is once we access the link 'City Search', the command button 'Add' to submit the form is not working properly. I need to click the command Button twice to submit my request.
    If i didn't access 'City search' command Link, then action is submitted as soon as when i click on 'Add' command button once.
    Actual jsp file is 'add_client.jsp'.
    included jsp file which contains 'City Search' link is 'zipcode_search.jsp'.
    Any help will be highly appreciated.
    Thanks & Regards
    Vijay

    Hi,
    Please explain how did you solve your problem. I am facing the same problem.
    Regards,
    Kaustubh.

  • Af:dialog cancel problem on new VO row

    Using 11.1.1.4.
    I have an af:popup that contains an af:dialog which itself contains enterable components mapped to VO attributes, the first being an af:selectOneChoice (body-part list). The body-part list draws from an LOV setup on the underlying VO attribute. The LOV RowSet is initialized in the model tier for the row each time the popup is invoked to ensure it contains all the values allowed.
    Everything works fine except when:
    a) user adds a new row to the underlying VO and invokes the popup to initialize the new row values, and
    b) user selects a value out of the body-part list, and
    c) user elects to Cancel the dialog
    The PopupCanceledEvent fires a Delete Operation on the underlying VO in the above case, to remove the new row just added.
    All this works fine, but if the dialog is now invoked either for another new row, or for an existing row, the body-part list shows the value that was selected at b) above and not the value as it is in the Model row (this has been verified). If I add and delete the row using the Delete Operation off an icon above the VO table (outside the dialog), then no issues. The problem doesn't correct itself unless / until user goes in to the dialog again and completes the add row process by hitting the dialog OK button. User can then delete this new row using the icon, and then edit and add operations all work fine again.
    Everything in the model looks fine, the problem just seems to be that the UI components in the dialog aren't initializing properly from the values I know to be in the model WHEN AND ONLY WHEN the dialog has been canceled on the add of a new row (cancel of an edit doesn't cause the problem). I've tried various PPR requests to try and sync the components up with the bound values, but no luck.
    Does anyone have any suggestions as to what might be going on here ?
    Thanks,

    Thanks, again that's fixed it up. Appreciate the support.
    I put a ResetUtils.reset(body-part-list component) in the bean member handling the PopupCanceledEvent and it all works fine now. Don't really understand what's going on here, and why the manual reset is required for this item, but it's working ...
    Thanks again,

  • ADF dialog framework problem

    I am using the "old" dialog framework in ADF 11G.
    I create two pages. One page "pops" the other with dialog:page2 and usewindow.
    This works fine when i create a simple web project.
    But when i create the same code in a ADF ViewController project the second window opens in the same window as the first one.
    Is this a bug?
    Johnny

    Hi Frank,
    This will show you my problem:
    1. create new application
    2. choice fusion web application
    3. press finish
    4. created JSF page main:
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <af:document>
    <af:form>
    <af:commandButton useWindow="true" action="dialog:popup" text="commandButton 1"/>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    5. created JSF page popup:
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <af:document>
    <af:form>
    <af:outputText value="outputText1"/>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    6. create Faces navigation rule:
    <?xml version="1.0" encoding="windows-1252"?>
    <faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee">
    <application>
    <default-render-kit-id>oracle.adf.rich</default-render-kit-id>
    </application>
    <navigation-rule>
    <navigation-case>
    <from-outcome>dialog:popup</from-outcome>
    <to-view-id>/popup.jspx</to-view-id>
    </navigation-case>
    </navigation-rule>
    </faces-config>
    7. run the main page
    8. using ie 7 the main page shows
    9. push the button: no pupup, instead the "popup-page opens in same window as my main page
    Can I mail you the project, somehow?

  • Dialog Box Problem

    i have created dialog box manually using stage and modility. the problem is when the dialog box executes the code following dialog box
    gets executed before closing the dialog box. i want to use it like confirmation box in swing. i want to stop further execution of code till yes/no button of dialog box clicked.please suggest... please help me....

    Ok, so it doesn't look like there is an easy way to do modality in JFX. I had thought since Swing does and JFX uses the same threading model that it should be do-able, but from what I can tell, Swing does some serious magic under the covers to make modal dialogs work.
    Your best bet probably is to use callbacks instead. Make your own dialog window and instead of doing something like this:
    int choice = MyDialog.show("Are you sure you want to do that?");
    if (choice == MyDialog.OK)
        doTheAction();
    } Do something more like:
    MyDialog dialog = new MyDialog("Are you sure you want to do that?");
    dialog.setOnOk(new EventHandler<ActionEvent>()
        public void handle(ActionEvent actionEvent)
            doTheAction();
    });In fairness, that is probably a bit more 'correct' anyway and inline with the JFX style of doing things (although it is more code).
    Here's some very, very rough code for doing something like what you want. You could obviously customise the class to take an enum of the button options available etc. It could all be improved a lot.
    public class TestApp extends Application
        public static void main(String[] args) throws Exception
            launch(args);
        public void start(final Stage stage) throws Exception
            StackPane rootPane = new StackPane();
            FlowPane contentPane = new FlowPane();
            BorderPane dialogContent = new BorderPane();
            dialogContent.setStyle("-fx-background-color: white");
            dialogContent.setCenter(new Label("This is a dialog"));
            final Dialog dialog = new Dialog(dialogContent);
            dialog.setOnOk(new EventHandler<ActionEvent>()
                public void handle(ActionEvent actionEvent)
                    System.out.println("Ok selected");
            dialog.setOnCancel(new EventHandler<ActionEvent>()
                public void handle(ActionEvent actionEvent)
                    System.out.println("Cancel selected");
            Button showDialogButton = new Button("Show Dialog");
            showDialogButton.setOnAction(new EventHandler<ActionEvent>()
                public void handle(ActionEvent actionEvent)
                    dialog.show(stage);
            contentPane.getChildren().add(showDialogButton);
            rootPane.getChildren().add(contentPane);
            BorderPane glassPane = new BorderPane();
            glassPane.setStyle("-fx-background-color: rgba(200, 200, 200, 0.5)");
            glassPane.visibleProperty().bind(dialog.showingProperty());
            rootPane.getChildren().add(glassPane);
            Scene scene = new Scene(rootPane, 300, 300);
            stage.setScene(scene);
            stage.show();
        private class Dialog extends Popup
            private BorderPane root;
            private EventHandler<ActionEvent> onOk;
            private EventHandler<ActionEvent> onCancel;
            private Button cancelButton;
            private Dialog(Node content)
                root = new BorderPane();
                root.setPrefWidth(200);
                root.setPrefHeight(200);
                root.setStyle("-fx-background-color: white; -fx-border-width: 1; -fx-border-color: gray");
                root.setTop(buildTitleBar());
                root.setCenter(content);
                root.setBottom(buildButtonBar());
                getContent().add(root);
            public void setOnOk(EventHandler<ActionEvent> onOk)
                this.onOk = onOk;
            public void setOnCancel(EventHandler<ActionEvent> onCancel)
                this.onCancel = onCancel;
            public void setContent(Node content)
                root.setCenter(content);
            private Node buildTitleBar()
                BorderPane pane = new BorderPane();
                pane.setStyle("-fx-background-color: #0000aa; -fx-text-fill: white; -fx-padding: 5");
                pane.setOnMouseDragged(new EventHandler<MouseEvent>()
                    public void handle(MouseEvent event)
                        // not sure why getX and getY don't work
                        // double x = getX() + event.getX();
                        // double y = getY() + event.getY();
                        double x = event.getScreenX();
                        double y = event.getScreenY();
                        setX(x);
                        setY(y);
                Label title = new Label("My Dialog");
                pane.setLeft(title);
                Button closeButton = new Button("X");
                closeButton.setOnAction(new EventHandler<ActionEvent>()
                    public void handle(ActionEvent actionEvent)
                        hide();
                pane.setRight(closeButton);
                return pane;
            protected Node buildButtonBar()
                FlowPane pane = new FlowPane(6, 6);
                pane.setAlignment(Pos.CENTER);
                Button okButton = new Button("OK");
                okButton.setOnAction(new EventHandler<ActionEvent>()
                    public void handle(ActionEvent actionEvent)
                        hide();
                        if (onOk != null)
                            onOk.handle(actionEvent);
                pane.getChildren().add(okButton);
                Button cancelButton = new Button("Cancel");
                cancelButton.setOnAction(new EventHandler<ActionEvent>()
                    public void handle(ActionEvent actionEvent)
                        hide();
                        if (onCancel != null)
                            onCancel.handle(actionEvent);
                pane.getChildren().add(cancelButton);
                return pane;
    }

  • PSD print dialog box problem.

    I recently upgraded to CS5 Extended and cannot figure out the source of this problem. This is the first time I have tried to print from PSD CS5.
    I have a PSD photo placed in a document sized 130.25mm deep x 110mmwide. I am trying to print on an Epson R2400 Inkjet.
    When I open the Print Dialogue box, the image of the photo at left, is incorrect in scale and cropping because the frame around it, which I understand represents the document size, is 89.96mm x 89.96mm, and is too small for the PSD photo. All the Scaled Print Sizes do is make size changes within the 89.96 x 98.96 frame. There are no controls for document size in the Print Settings. It appears to be automatic.
    I would have expected the frame to match the size of 130.25mm x 110mm that I created for the document.
    I can tick bounding box and adjust image size and cropping but I cannot adjust the 89.96mm x 89.96mm frame to allow for a larger, 130.25mm print.
    I created a new file of a different size, placed a different photo and tried to print it. Same problem exactly. The printer works fine but images must be sized to fit within the 89.96mm x 89.96mm area. Obviously there is something wrong.
    Can anyone tell me wether the frame size is a function of PSD or is it the the Epson driver which dictates the size. Surely the Epson printer driver will obtain its information from my PSD document settings.
    Can anyone tell me what the frame represents (document or paper size), and what dictates its size setting please.?

    The paper size is selected within the "Print Settings" dialog. That's what the frame (and the numbers above the preview) represent.
    The image size and position control the size of the image on the selected paper size.

  • Dialog popup problem Jdev 10.1.3.1 ADF Faces

    I am having a problem with the behavior of my dialog popups, as follows:
    1. The first time (in the first row) I click the CommandLink, the dialog popup opens and the display occurs. When I hit the close button on the dialog window, the return listener method in a request Scope managed bean fires.
    2. I click on the Command Link in the second row. The dialog opens, again with the correct values being passed. This time, when I hit the Close button, the window closes, but the ReturnListener method does not execute.
    3. Hit the command link in the third row. The link registers a click, but the popup does not appear.
    Here is the Command Link:
    <af:column sortProperty="Nsn" sortable="true"
    headerText="#{bindings.CILOneProjROViewObj.labels.Nsn}">
    <af:commandLink text="#{row.Nsn}" action="dialog:Nsn"
    useWindow="true" windowHeight="200"
    windowWidth="500" partialSubmit="true"
    returnListener="#{project_go.resetProcessScope}"
    immediate="false">
    <af:setActionListener from="#{row.Nsn}"
    to="#{processScope.holdNsn}"/>
    <af:setActionListener from="#{row.Sos}"
    to="#{processScope.holdIcp}"/>
    <af:setActionListener from="#{'dialog:Nsn'}"
    to="#{processScope.holdScreenName}"/>
    </af:commandLink>
    </af:column>
    Here is the Close button on the popup:
    <af:commandButton text="Close">
    <af:returnActionListener/>
    </af:commandButton>
    And here is the bean method fired in the returnListener attribute above:
    public void resetProcessScope(ReturnEvent returnEvent) {
    // Add event code here...
    AdfFacesContext adfctx = AdfFacesContext.getCurrentInstance();
    String screenName = (String)adfctx.getProcessScope().get("holdScreenName");
    System.out.println("screen:"+screenName+":"+adfctx.getProcessScope().get("holdNsn"));
    if (screenName.equalsIgnoreCase("dialog:Nsn")) {
    adfctx.getProcessScope().put("holdNsn",null);
    System.out.println(adfctx.getProcessScope().get("holdNsn"));
    adfctx.getProcessScope().put("holdScreenName",null);
    I am absolutely stuck here. Is there a flag of some kind I'm missing?

    I found an apparent resolution to the problem: I moved the storage of values from processScope to a sessionScope managed bean. Everywhere you see processScope in the code I provided, substitute sessionScope.bean.attribute.
    Speculation: when a dialog window gets launched, it is being treated as a "separate process" with its' own processScope. Therefore, my changes weren't getting where they needed to be. However, that doesn't explain why setting a value in a setActionListener on the commandLink stored a value that the dialog could reference successfully. It also doesn't explain why the returnListener wasn't being fired every time.

  • Updating Yoga 2 Pro from Win 8.1 to 10 - dialog window problem!

    Hi.
    I have downloaded the image (https://www.microsoft.com/da-dk/software-download/windows10) and created a bootable USB stick with that image. And when I boot from the USB stick, it starts out fine. BUT when the window with the Install dialog appears, it's så tiny (7cm x 6cm) that it's completely impossible to see the text - let alone hitting the radio-button with the mouse! I cannot change the display in any way during the install, so I have no option than to cancel the installation. I do NOT want to install win 10 from the net, as I did that yesterday on my Lenovo t400s, and that s*cks big time. It installs on the old Win 7 and keeps the old config, and I presume that this is the reason it performing really, really bad. So in other words, I want a clean install on a clean partition.
    This is not new to me and this Yoga 2 PRO! As I am writing this - on my desktop PC - and is logged on to the net on the Yoga, "Intel Update Manager" appears on the desktop and the dialog window is 7 cm wide and 6 cm in hight, at the text 1 (ONE!) mm in hight!  And it does not help to change the displays settings to 800x600, the dialog box stays the same size :-(
    I have the same problem when installing Office 2007, the dialog box is 7 x 6 cm, but here the text is size 10/11 and there is no scrolling possibilities - so it is not possible to make a custom installation because I have no other way to install, than to hit Enter! And when I come to the dialog where I have to enter the key, do a copy/paste of the key from a text document and hit Enter once again!
    So in other words .... HEEEEEEEEEEEEEEEEEEEEELP :-)
    I have tried the search option before starting this message, but cannot find anything :-(
    Have a nice day :-)
    /Frank

    have you tried WindowsKey + the "plus" key to make the window look bigger (WindowsKey + esc to escape out of the zoomed view) ?

  • Wizard Dialog  Box Problems - Screen Redraws

    I've encountered a frequently occurring problem with JDev dialog boxes. After launching and entering into a wizard, the
    dialog boxes do not draw correctly on my screen. For example, if I try using the Create Table Wizard, the input boxes for the table name,datatype, etc.. become a jumbled mess on the screen. I've tried re-sizing the dialog box and this has worked to some degree, but sadly in most cases it doesn't help. I don't think (although it's possible) that it's a bug on my computer.
    Any ideas? Workarounds? Solutions?

    Personally I would recommend against using JDK 1.4, either to run JDeveloper itself with, or to simply run your projects with.
    I've experienced some problems with that version, while the default 1.3.x works just fine. Problems range from minor GUI glitches to complete deadlocks in JClient applications.

  • StarOffice Base - problem connecting to Oracle database

    When opening StarOffice 8 Base (just installed on Windows) with "Connect to an existing database" with type "Oracle JDBC", Base could not find the Oracle JDBC driver (class oracle.jdbc.driver.OracleDriver).
    Even when I manually copied ojdbc4.jar into C:\Program Files\Sun\StarOffice 8\program\classes, the class has not been found/loaded.
    Looks like a bug to me ...
    - Jiri ([email protected])

    You need to set the StarOffice configuration to include the far file.
    Tools > Options > StarOffice > Java
    Click on the "Class path.." button.
    Then in the class path dialog click on "Add Archive"
    Browse to the jar file and select it.
    You will need to restart StarOffice for this to take effect.
    HTH
    Drew

  • Family Base Problem

    Hi!  I'm very new to Verizon and just installed Family Base on my daughter's phone.  Problem is, it won't unlock.  I logged on here and the app on my phone, and it's saying the phone is unlocked.  I can assure you it is not.  Currently as I'm typing, I'm on hold with tech.  Hoping to get an answer.  Has anyone else had this trouble?

        Mandiski78, sorry to hear about the trouble you've had with family base. Were you able to get that fixed? What are you trying to unlock? What model phone does she have? We're happy to help.
    BrianP_VZW
    Follow Us on Twitter @VZWSupport

  • Having a dialog box problem in InDesign CC

    The dialog boxes on my just downloaded version of InDesign CC look like Windows dialog boxes, not Mac ones (although Save and Save As do appear as normal OSX design). Obviously I am on a Mac and don't want a partial Mac version of InDesign. My previous versions, including most recently CS6, have not had this problem. Suggestions?

    Hi there. I don't have anything to help you but I am curious about something you have done that I was told was not possible. I am VERY new to this forum and I wanted to upload an image to one of my posts. However, I couldn't see a way of doing it.
    Thankfully, someone pointed out to me that I had to use Workspaces and gave me a link to the instructions. So in my post, there is only a link, and the reader has to click on it, wait for Workspaces to load etc. I found this very annoying and weird given than most forums allow users to upload simple files.
    I came across your post and you have managed to include the actual images in your post! This is great. It is instant feedback for those who are trying to help you.
    So please, can you tell me how you achieved this without having to go through Workspaces?
    I would love to know.
    Thanks in advance.

Maybe you are looking for

  • XML Page Generator

    http://jhilwig.com/xml_page/ Source Flash files to take standard XML and parse to mobile pages suitable for Symbian and Windows Mobile devices. There is some device resolution independence built in, but this could be improved upon. Any feedback appre

  • ARA report

    Hello, Just configured GRC 10.1 system done all prerequisite. I need few help 1) when i run Risk analysis for a user if i select for permission level work fine,for action level also fine, for critical action also fine.But when i select critical actio

  • How to change the Tab Strip name in T-Code CJ20N?

    Dear All, I have done one Screen Exit to add 5 additional fields in the T-Code CJ20N using Enhancement CNEX0007. I got one extra tab "Cust. enhancement" in T-Code CJ20N. Now my requirement is that the name of the Tab Strip "Cust. enhancement" should

  • Lync intergration with third party PBX

    I want to implement the scenario below, I dont have clear picture whether it is techinicall possible in the state of the art solution or not. First I have one third party PBX, which is interconnected with Lync server. I configure the binding relation

  • Periodic Message: You have some checked-out files in the working directory

    Hi, we are recieving a periodic message (appearing every 5 minutes) saying: "You have some checked-out files in the working directory. We recommend that you check in the files after editing. Click here to checkin the files. After clicking on the mess