Connect the signal to the PRC to slot QML

Hi guys.,.

Please help me with this

I'm issuing a custom signal called imageLoaded of CPP that contains an image as a parameter. How can I connect this signal to a slot in QML and can access the image...?

Thanks in advance...

For example:

import bb.cascades 1.0

Page {
    id: myPage
    Container {
        layout: DockLayout {}
        Label {
            id: myLabel
            text: qsTr("Hello World")
            textStyle.base: SystemDefaults.TextStyles.BigText
            verticalAlignment: VerticalAlignment.Center
            horizontalAlignment: HorizontalAlignment.Center
        }
        Button {
            text: "Press me"
            onClicked: {
                console.log("Boton clicked");
                cppObject.imageLoaded.connect(onImageLoaded);
                cppObject.executeCppFunction();
            }

        }
    }

    function onImageLoaded(message) {
        console.log("enter to slot in qml");
        myLabel.text = message;
    }
}

--------------------

#ifndef ApplicationUI_HPP_
#define ApplicationUI_HPP_

#include 

namespace bb { namespace cascades { class Application; }}

class ApplicationUI : public QObject
{
    Q_OBJECT
public:
    ApplicationUI(bb::cascades::Application *app);
    virtual ~ApplicationUI() {}

    Q_INVOKABLE void executeCppFunction();

signals:
    void imageLoaded(QString message);
};

#endif 

#include "applicationui.hpp"

#include 
#include 
#include 

using namespace bb::cascades;

ApplicationUI::ApplicationUI(bb::cascades::Application *app)
: QObject(app)
{
    QmlDocument *qml = QmlDocument::create("asset:///main.qml").parent(this);

    QmlDocument::defaultDeclarativeEngine()->rootContext()->setContextProperty("cppObject", this);

    AbstractPane *root = qml->createRootObject();
    app->setScene(root);

}

void ApplicationUI::executeCppFunction() {
    emit imageLoaded("Hello from C++ Signal");
}

Tags: BlackBerry Developers

Similar Questions

  • connect the current coords in qml to a url on the CPP

    Hi, I have a url on CPP file to analyze my weather data, but the current location its on my main qml trought PositionSource attachedObject and I save in a property string latitude and a longitude of chain ownership, how can I use it on my url in the file c

    ExternalIP::getWeatherdata() Sub
    {
    const QUrl url ("http://api.openweathermap.org/data/2.5/weather?lat=22.2553&lon=-97.8686&units=metric");
    QNetworkRequest request (url);

    Check the settings of the application
    If (AppSettings::isUsingFarenheit()) {}
    request.setUrl (QUrl ("http://api.openweathermap.org/data/2.5/weather?lat=22.2553&lon=-97.8686&units=imperial"));

    }

    // Your function in Header file
    
    public:
        Q_INVOKABLE ....getWeather(const QString latitude, const QString longtitude);
    
    // cpp
    ...getWeather(const QString latitude, const QString longtitude)
    {
        QUrl url(QString("http://....%1%2").arg(latitude).arg(longtitude));
        .....
    }
    
    // Then expose your class to QML
    
    QmlDocument *qml = QmlDocument::create("asset:///main.qml").parent(this)                                .property("MyClass", this);
    

    And after that, you can call the function of QML

    PositionSource{
        .....
        ended: MyClass.getWeather(latitude, longtitude)
    }
    

    It may be useful

    For more information

    https://developer.BlackBerry.com/native/documentation/Cascades/dev/integrating_cpp_qml/#usingcclasse...

  • How to connect the signal of C++ with slot QML?

    {Of connections

    target: Foo //object in c ++ side

    onMySignal: {/ / slot in qml side}

    ......

    }

    }

    It can connect mySignal of Foo in C++ with slot onMySignal in QML.

    Is there some replacement for above cascading?

    Please use the forum search before posting new questions.  In this case you would probably find this thread, at least: http://supportforums.blackberry.com/t5/Cascades-Development/QML-Connections-Element/m-p/1787071#M664

  • How to connect the slot button Cascades

    I am new to waterfalls and QML and yesterday I tried to port native QtWidget app to waterfalls, but it does not. The problem is, I add some buttons to the container in QML main file and coded my custom slot function which should be executed when the user click some button. But I don't know how to connect the clicked() signal to my function from the custom location.

    When using

    Connect (CloseButton, signal(Button::clicked()),this,slot(on_closeButton_clicked()));) or connect (exitButton, SIGNAL (clicked ()), this, SLOT (on_exitButton_clicked ())); I get error "unable to connect SIGNAL (null) to SLOT (on_closeButton_clicked ()) ' on all the buttons.

    Here is my code in app.cpp

    App::App()
    {
        QmlDocument *qml = QmlDocument::create("main.qml");
        qml->setContextProperty("cs", this);
    
        AbstractPane *root = qml->createRootNode();
        Application::setScene(root);
        textHolder = root->findChild("textHolder");
        openButton = root->findChild("openButton");
        saveButton = root->findChild("saveButton");
        saveAsButton = root->findChild("saveAsButton");
        closeButton = root->findChild("closeButton");
        exitButton = root->findChild("exitButton");
    
        connect(openButton,SIGNAL(Button::clicked()),this,SLOT(on_openButton_clicked()));
        connect(saveButton,SIGNAL(Button::clicked()),this,SLOT(on_saveButton_clicked()));
        connect(saveAsButton,SIGNAL(Button::clicked()),this,SLOT(on_saveAsButton_clicked()));
        connect(closeButton,SIGNAL(Button::clicked()),this,SLOT(on_closeButton_clicked()));
        connect(exitButton,SIGNAL(clicked()),this,SLOT(on_exitButton_clicked()));
    }
    
    //one slot function
    
    void App::on_closeButton_clicked()
    {
    //ui->textEdit->clear();
        textHolder->resetText();
    //if(file.open(QIODevice::ReadOnly | QIODevice::Text)){
        file.close();
        fileName.clear();
    //}
    }
    

    And qml

    import bb.cascades 1.0
    
    Page {
        id: mainPage
        content:
        Container {
        id: main
        Container {
        id: buttonHolder
        scrollMode: ScrollMode.None
                layout: StackLayout {
                    layoutDirection: LayoutDirection.LeftToRight
                    leftPadding: 5.0
                    rightPadding: 5.0
                    topPadding: 5.0
                    bottomPadding: 5.0
                }
                touchPropagationMode: TouchPropagationMode.None
                objectName: "buttonHolder"
                Button {
                    id: openButton
                    text: "Open"
                }
                Button {
                    id: closeButton
                    text: "Close"
                    onClicked: {
                    }
                }
                Button {
                    id: saveButton
                    text: "Save"
                    onClicked: {
                    }
                }
                Button {
                    id: saveAsButton
                    text: "Save As"
                    onClicked: {
                    }
                }
                Button {
                    id: exitButton
                    text: "Exit"
                }
            }
    
        //********************************
            Container {
                id: textHolderArea
                layout: AbsoluteLayout {
                }
                topMargin: 5.0
                leftMargin: 1.0
                rightMargin: 1.0
                bottomMargin: 2.0
                TextArea {
                    id: textHolder
                    textStyle.fontStyleHint: FontStyleHint.Default
                    layoutProperties: AbsoluteLayoutProperties {
                    }
                    leftMargin: 5.0
                    rightMargin: 5.0
                    preferredHeight: 645.0
                    textStyle.justification: TextJustification.Enabled
                    objectName: "textHolder"
                    text: ""
                }
            }
        //********************************
        }
    }
    

    And I have no idea how call my app.cpp C++ slot in my main QML file

    Your buttons should an objectName set to be visible to C++, the id is only visible inside the QML.

  • Cannot get signal when you connect the TV to HDMI port.

    * Original title: HDMI Signal

    Hello. My nam is Kieu. I have a problem and and we hope you guys can helo me. I just bought a Gateway desktop all-in-one computer and tried to connect it to the TV via the HDMI port, but I could not get signal on my TV. Help, please.
    Thank you very much

    Hi David,

    Thanks for posting your query in Microsoft Community Forum!

    According to the description of the problem, it seems that you are unable to get the signal when you connect the TV to HDMI port.

    I will certainly help you with this issue.

    Here are some steps that you can try in order to solve the problem.

    Step 1. First you need a video cable to make the physical connection. For a better image quality, you need to connect the computer to the TV using standard VGA ports or via DVI to HDMI Cable provided your TV supports these ports.

    Step 2. Open thedisplay settings' ' in your Vista computer and Activate the output to the TV screen. You can reflect the content of your computer on the TV or extend the display as a double screen control.

    Step 3 Pick up your TV remote and switch to "External inputs" in the menu. You need to change the value by default "Video 1" to a different selection which may be "HDMI 1" or "video 2" depending on how you made the connection. "

    Important: Make sure you connect the cable to the TV before turning on the computer, because sometimes it may not recognize the external display.

    You may also change the resolution of your TV screen using the display settings in your panel of control remains the image may appear distorted.

    For more information, see the article.

    Connect your computer to a TV

    http://Windows.Microsoft.com/en-us/Windows-Vista/connect-your-computer-to-a-TV

    If anything in my post is not clear or if you have any questions on Windows, feel free to let us know. It is our pleasure to be of service.

  • Connect the signal in the C++ QML?

    Hello

    Sorry in advance for this noobish question

    My QML, I'd like to call C++ function to call the camera and then on the saved photo, I would like to save the url for further processing.

    The invocation and the seizure of the URL does not work correctly.

    The problem is that I can't send a signal of C++ to QML to send the url to QML for further processing.

    Trigger from QML:
    
    Button {
       text: "Snapshot"
       onClicked: {
        app.invokeCamera();
       }
    }
    
    void App::invokeCamera() {
        InvokeRequest request;
        request.setTarget("sys.camera.card");
        request.setAction("bb.action.CAPTURE");
        QByteArray data;
        data.append("full");
        request.setData(getShareRecipeData());
        mInvokeManager->invoke(request);
    }
    
    void App::childCardDone(
            const bb::system::CardDoneMessage &doneMessage) {
        QString url = "";
        qDebug() << "childCardDone reason:" << doneMessage.reason();
        qDebug() << "childCardDone data:" << doneMessage.data();
    
        if (doneMessage.reason().compare("save") == 0) {
            url = "file://" + doneMessage.data();
        } else if (doneMessage.reason().compare("save") == 0) {
            showError(doneMessage.data());
        }
    // This doesn't seem to send to QML
        emit cameraCaptureCompleted(url);
    }
    
    In C++:
    
    signals:
        void cameraCaptureCompleted(const QString &url);
    

    QML to signal received (somehow this must be duplicated?)

    signal cameraCaptureCompleted (string imageLink)
    onCameraCaptureCompleted: {}
    Console.Debug ("link to the image:" + imageLink);

    }

    The onCameraCaptureCompleted never triggered. The console.debug ("link to the image:" + imageLink); did not show anything.

    Thanks for your help!

    OK, I went back and looked at your provided code again and I see you try to put your location of onCameraCaptureCompleted on the Page, which certainly won't work, since the Page is not the class that has the cameraCaptureCompleted signal. I suggest one of these three approaches:

    Page {   id: myPage
       attachedObjects: [
          App {
             id: myApp
             onCameraCaptureCompleted: {
                // ---Do your stuff
             }
          }
       }
    }
    

    ... or if you prefer the Manager to appear on the page do this way:

    Page {
       id: myPage
       attachedObjects: [
          App {
             id: myApp
          }
       }
       function cameraCaptureCompletedHandler( imageLink ) {
          // ---Do your stuff
       }
       onCreationCompleted: {
          myApp.cameraCaptureCompleted.connect(myPage.cameraCaptureCompletedHandler);
       }
    }
    

    If you don't want to mess with connect() you could do the last example that much too:

    Page {
       id: myPage
       attachedObjects: [
          App {
             id: myApp
             onCameraCaptureCompleted: {
                myPage.cameraCaptureCompletedHandler( imageLink );
             }
          }
       }
       function cameraCaptureCompletedHandler( imageLink ) {
          // ---Do your stuff
       }
    }
    

    Of course, all these examples assume that you have successfully exposed the App class to QML with qmlRegisterType(). The signal you want to respond to being on the App class, you must place your location, or connect the App::cameraCaptureCompleted signal to your location explicitly.

    Hope it is clearer to you now.

  • Connection signal of C++ with slot QML

    Before ask you, I searched for answers to this question, but I have not found a satisfactory example.

    I have set up a service network in C++ that performs queries to REST against a backend. An example query would be to download a given element, the id of the item.

    Once the item is extracted, I emit a signal such as:

    itemReceived(QString& itemId, QString& item);
    

    My question is how can I wire this signal to the slot in a QML page so that the status of the answer? I tried to connect the signal on the Qml in C++ slot, as follows:

    QmlDocument *qml = QmlDocument::create("asset:///main.qml").parent(this);
    QObject::connect(this->networkingService,
                         SIGNAL(itemReceived(QString&, QString&)),
                         qml, SLOT(onItemReceived(QString&, QString&));
    

    With a correspondent QML "slot" like this:

        function onItemReceived(x, y) {
            console.log("*********************");
            console.log("Item Received!");
            console.log("*********************");
        }
    

    But it does not work. I also tried using the element of connection of the QtQuick lib, but this also fails.

    Any help would be greatly appreciated. Even if he were to propose a better architecture for the "path of the cascades. Thank you!

    In C++:
    QmlDocument * qml = QmlDocument::create("asset:///main.qml").parent(this);
    QML-> setContextProperty ("_app", this);

    In QML:
    {Page}
    onCreationCompleted: {}
    _APP.itemReceived.connect (onItemReceived)
    }

    function onItemReceived (x, y) {}
    Console.log("***");
    Console.log ("point received!");
    Console.log("***");
    }

    // ...
    }

  • How to connect the ButtonClick events to NavigationPane.popAndDelete within QML

    Hi all

    I know to connect my click event of the button to NavigationPane.popanddelete in the native SDK,

    I want to implement this feature in QML, how to implement it.

    My struct QML is something like this:

    P

    MyHeader.QML
    
    Container{
       Button{
         objectName:"BackButton"
         onClicked:..//how to write here
       }
    }
    
    MyPage.QML
    
    Container{
       MyHeader{
       }
       Container{
       }
    }
    
    within C++
    
                QmlDocument *qml = QmlDocument::create("MyPage.qml");
                AbstractPane *mypage= qml->createRootNode();
               // Button *button = alertPage->findChild("BackButton");
                //QObject::connect(button,SIGNAL(clicked()),this,SLOT(onPreviousClick()));
               m_pagePane->push(mypage);
    

    Thanks in advance...

    Hello

    I want everything first, make sure that you know about the properties of the component in QML. If you have inserted a page in your navigation pane and want to have a back button seems natural, you can use the following code in your definition of QML Page {}:

    paneProperties: {NavigationPaneProperties}
    ButtonBack: {ActionItem}
    Title: 'Back '.
    onTriggered: {}
    _navPane.pop ();
    }
    }
    }

    This will insert a lower bar filled with a previous button following a consistent style.

    If you want to raise the pop event from the QML document via manual button (no), in the property of your onClicked button, you can simply call pop on the handle of your navigation pane.

    for example
    Button {}
    ID: buttonTest
    objectName: "buttonTest.
    text: "text".
    onClicked: {}
    _navPane.pop ();
    }

    Please note that in both cases, you have exposed the handle of "_navPane" in your C++ code with subsequent calls (assuming that m_SidePaneContentQML is the name of your page with the back button):

    m_SidePaneContentQML = QmlDocument::create().load("SidePane/SidePane.qml");
    m_SidePaneQmlContext = m_SidePaneContentQML-> documentContext();
    m_SidePaneQmlContext-> setContextProperty ("_navPane", m_Nav);

    In this case, m_Nav would be the navigation pane that you use.

    Let me know if you need more information, I'm happy to help you.

    Good luck!

    Martin

  • How to create the method own slot in QT for blackberry Playbook

    Hi all

    After two days of work-around, I can successfully develop the project of the QT in Qnx IDE for blackberry playbook 2.0.

    But now I have a problem to create the method of the slot to call on the click event of the specific button,

    Here is my code.

    #include

    #include
    #include
    #include
    #include

    slots machines
    void clickedSlots();

    int main (int argc, char * argv []) {}

    qputenv ("QT_QPA_FONTDIR", "/ usr/fonts/font_repository/monotype");
    QCoreApplication::addLibraryPath ("app/native/lib");
    QApplication app (argc, argv);

    QWidget window;
    Window.Resize(1024, 600);
    window.setWindowTitle (QString::fromUtf8 ('QPushbutton Background'));
    one click = new QPushButton ("Click Me");
    Click on-> setToolTip ("Thanks");
    Click on-> setMaximumHeight (100);
    Click on-> setGeometry (400, 100, 100, 40);
    QObject::connect (click, SIGNAL (clicked ()), & app, SLOT (clickedSlots ()));

    QPalette * palette1 = new QPalette();
    Palette1-> setColor (QPalette::Button, Qt::blue);
    Click on-> setPalette(*palette1);

    QPushButton * leave = new QPushButton ("Quit");
    QObject::connect (quit, SIGNAL (clicked ()), & app, SLOT (quit ()));

    QPalette * palette2 = new QPalette();
    Palette2-> setColor (QPalette::Background, Qt::green);
    Exit-> setPalette(*palette2);
    Exit-> setGeometry (200, 100, 100, 40);
    QVBoxLayout layout = new QVBoxLayout (& window);
    layout-> setGeometry (QRect (0, 0, 1024, 600));
    layout-> addWidget (click);
    layout-> addWidget (quit);

    Window.Show ();
    Return app.exec ();
    }

    void clickedSlots() {}
    QMessageBox msgBox.
    msgBox.setWindowTitle ("Hello");
    msgBox.setText ("You Clicked");
    msgBox.show ();
    msgBox.exec ();
    }

    Please help me with this problem. I had started to develop in QT before 2 days only. I'm not familiar with the development of QT.

    Thanks in advance.

    bskania.

    You have the chance, I'm feeling generous today.

    I fixed your code. You should really read the Qt documentation, it's fantastic. Here, it's a good start for the signals and Slots.

    http://Qt-project.org/doc/Qt-4.8/signalsandslots.html

    Mark this message as the solution and give me one as you please.

    main.cpp

    #include 
    
    #include 
    #include 
    #include 
    #include 
    #include "myslots.h"
    
    int main(int argc, char *argv[]) {
        qputenv("QT_QPA_FONTDIR", "/usr/fonts/font_repository/monotype");
        QCoreApplication::addLibraryPath("app/native/lib");
        QApplication app(argc, argv);
    
        QWidget window;
        window.resize(1024, 600);
        window.setWindowTitle(QString::fromUtf8("QPushbutton Background"));
        QPushButton *click = new QPushButton("Click Me");
        click->setToolTip("Thanks");
        click->setMaximumHeight(100);
        click->setGeometry(400, 100, 100, 40);
        myslots a;
        QObject::connect(click, SIGNAL(clicked()), &a, SLOT(clickedSlot()));
    
        QPalette* palette1 = new QPalette();
        palette1->setColor(QPalette::Button, Qt::blue);
        click->setPalette(*palette1);
    
        QPushButton *quit = new QPushButton("Quit");
        QObject::connect(quit, SIGNAL(clicked()), &app, SLOT(quit()));
    
        QPalette* palette2 = new QPalette();
        palette2->setColor(QPalette::Background, Qt::green);
        quit->setPalette(*palette2);
        quit->setGeometry(200, 100, 100, 40);
        QVBoxLayout* layout = new QVBoxLayout(&window);
        layout->setGeometry(QRect(0, 0, 1024, 600));
        layout->addWidget(click);
        layout->addWidget(quit);
        window.show();
        return app.exec();
    }
    

    myslots.h

    #include 
    #include 
    #include 
    
    class myslots : public QObject {
        Q_OBJECT
    
        public:
            myslots() { };
    
        public slots:
            void clickedSlot() {
                QMessageBox* msgBox = new QMessageBox();
                msgBox->setWindowTitle("Hello");
                msgBox->setText("You Clicked " + ((QPushButton*) sender())->text());
                msgBox->exec();
            };
    };
    

    myslots. Pro

    TARGET = myslots
    DEPENDPATH += .
    INCLUDEPATH += .
    HEADERS += myslots.h
    SOURCES += main.cpp
    

    Put all these files in the same folder, run qmake in there, it will produce a Makefile. Run make and it comes out a binary executable called myslots. That and your code works.

    I don't have a lot of changes, I'll let you step through the code yourself to find out what I did. Look at the documentation for help.

    I have not tested this Momentics, nor Alpha PlayBook/Dev. But I'm 100% sure the code works, since I ran it myself.

  • I see Camileo P30 photo on laptop as if connect the camera to the TV?

    Hello!

    I have laptop with HDMI and Toshiba Camileo P30.
    I see the image of the camera on my laptop as if connect the camera to the TV?

    Should what software I use (cause that nothing happens, when I connect my camera)?

    Hello

    Is your laptop supports HDMI IN port?
    If this isn't the case, then you can not do this.
    You need an HDMI port which received signals as a TV or external monitor

  • How to connect the camcorder to an Equium L20

    Could someone help me and advise me as to what head I need to connect a camcorder from Panasonic M10 full size on my Equium L20 laptop I would like to transfer my old tapes of children on a dvd, the camera has three taken phono Conect to a video or TV, but how do I connect to laptop

    Hello

    Well, I think that without a 3rd PCMCIA card you won't be able to connect the camcorder to Equium L20.
    To my knowledge this unit supports only an output s-video and there aren t any taken to receive signals from the camera :(

  • How to connect the Airport express as an Extender for airport extreme to El Capitan

    I have a model extreme A1521 airport and a model express airport A1392 and upgraded my OS to El Capitan. I want to use the express as an Extender for the extreme because my old House is long and has thick walls. My problem is that Airport utility will not 'see' the express, regardless of its proximity to the main router (extreme). I tried to move and reset.

    Of course, as soon as I get the utility to see, I need instructions on how to configure the express as a booster for my extreme.

    Any ideas?

    Unplug the Express and put it in the same room as the AirPort Extreme.

    Put power on the Express for a few minutes, then hold down the reset button on the back of the Express for 7 to 8 seconds and release.

    Allow a minute for the Express to restart

    Click the WiFI icon at the top of the screen of the Mac

    Look for an announcement of the new AirPort base station

    Click directly on the AirPort Express Terminal

    When you click on AirPort Express, the "Wizard" will open and take a few seconds to analyze things, and then see a screen that looks like the figure below, except that you can see your cameras.

    Type a short and simple name that you want to call the Express

    Click next

    The installation wizard will take care of everything for you

    When you see the message Setup is complete, unplug the Express and move to halfway between the AirPort Extreme and the area of the House that needs more coverage of wireless signal

    Turn on the Express and you're all set

    Important note... the Express to expand the quality of the signal it receives. About half of the potential speed on the entire nextwork is lost when you extend using a wireless connection between the airports.

    It would be much better if you could connect the Express to the extreme by using wired Ethernet wired, permanent, since there is no loss of signal via the Ethernet cable and there is always a lot of loss of signal through the air, the (thick walls especially) walls, ceilings, etc.

  • We can connect the output of the sensor directly to the DAQ hardware or any interface necessary?

    We can connect the output of the sensor directly to the DAQ hardware or any interface necessary? If so wat kinda necessary interface?

    How to change the sensor output to match entry-level data acquisition?

    If the sensor output beyond daq range is provided. What are its effects? pls answer

    -It depends on your signal and the type of device you have. Your DAQ provides a package of signals? Also, what type of signal you want to measure? You must select DAQ that matches that. Take a look at the following before you start:

    Getting started with NO-DAQmx: Main Page

    And take a look at table 1 in the following article to wire your signal to the right:

    Wiring and considerations of noise for analog signals

    -You will need to use external circuitory to match the input of data acquisition range.

    -You could damage the unit.

    If you have any other questions, please after return. And, don't forget to give more details about your configuration, the hardware and what you're trying to do.

  • Try to connect the Svideo TV

    I am trying to hook up a TV with S-Video with my laptop.  I plug the cables & when I go to the screen & my 2nd monitor/tv is not an option.  It's only as 1 to my laptop screen.  I'm trying to detect & still no solution...

    Most of the standard definition TVs supports only video composite or S-video connections. If your computer supports one of them, you may be able to connect it to your TV. However, both of these connection types will result in displays that are not as sharp as the results you get with an HDTV or a standard computer monitor.

    The following scenarios show you how you can connect a computer to a standard definition television:

    If your computer has this type of output port

    It should work with this type of TV input port

    By using this type of cable

    Composite video

    Composite video

    Composite video composite video

    S video

    S video

    S video S-video

    Connect your computer to your TV

    1. After that you have the right cable, follow these steps to connect your computer to your TV:

    2. Turn off your computer and place it near your TV. Unplug the monitor, but leave the mouse and keyboard connected.

    3. Connect the video cable appropriate to your computer's output to your TV.

    4. Turn on your TV and set it to the input that matches the output on your computer. You may need to refer to the supplied with your television user's guide for instructions on how to do it.

    5. Turn on your computer.

      You should see windows displayed on your TV. If the screen looks stretched, or part of the screen seems cut off, you will probably need to adjust the reference resolution in Windows. For more information, seeGetting the best display on your monitor.

      If Windows is displayed on your TV, you will need to reconnect the computer to your monitor and adjust the screen resolution before connect you to your TV.

    Notes

    • Cables VGA, DVI and component video don't support audio signals. However, HDMI cables are supported audio signals, but not all HDMI-enabledvideo audio support cards. If your TV has an audio input, you might be able to connect an audio cable separated from computersound directly to the TV card. Otherwise, you need to connect the audio signal to a different device, such as external speakers or your stereo. For more information about sound cards, cards seeSound: frequently asked questions.

    • If your computer does not support the type of video connection you need, you may be able to install a newvideo card that has the right connection.

    If I brought you joy, vote! If I answered your question, click, propose as answer! > WT

  • When I insert the camera memory card into the SD/MMC slot, nothing transfers

    Original title: camera to computer Trouble

    When I insert the camera memory card into the slot SD/MMC, no transfers.  Do I need to connect the camera too?  If so, why?  Thank you.

    Hi Paula Sommers,.

    Welcome to the Microsoft community.

    I understand how it could be frustrating when things do not work as expected. Please, I beg you, don't worry I'll try my best to resolve the issue.

    ·         What is the brand and model of the computer?

    ·         Did you try to connect to the memory card on another computer and check if it works?

    ·         You get the error message?

    ·         Memory card not detected on the computer?

    ·         You use any application to transfer files from a memory card?

    ·         Were there any changes made on the computer before the show?

    I suggest you to follow the steps in this article and check if it helps:

    How can I get pictures from my camera to my computer?

    http://Windows.Microsoft.com/en-in/Windows-Vista/how-do-I-get-pictures-from-my-camera-to-my-computer

    Please follow all the steps and if the problem persists, return back and we will be happy to help you.

Maybe you are looking for