Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
P

pallaka

@pallaka
About
Posts
99
Topics
39
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • CoCreateInstance HResult is failing, getting error -2147221164 stating that Class is not registered.
    P pallaka

    #include "stdafx.h" #include "windows.h" Hi All, In the below mentioned code. i want to use MSCOMM32.OCX file API to my C++ code. i am facing an issue when i am getting HResult from the cocreateInstance. Kindly let me know what should i do to access MSCOMM32.OCX API.

    #include "atlbase.h"
    //#include "mscomm32.tlh"
    #import "C:\\WINDOWS\\system32\\MSCOMM32.OCX" no_namespace raw_interfaces_only raw_native_types no_implementation named_guids

    int main(int argc, _TCHAR* argv[])
    {
    GUID iid = {0xE6E17E90, 0xDF38, 0x11CF, 0x8E, 0x74,0x00,0xA0,0xC9,0x0F,0x26,0xF8};
    GUID Clsid = {0x648A5603, 0x2C6E, 0x101B, 0x82, 0xB6, 0x0,0x0, 0x0, 0x0, 0x0, 0x14};
    IMSComm **ppv = 0;
    HRESULT hRet = 0;
    hRet = CoInitialize(NULL);
    hRet = CoCreateInstance (Clsid, NULL,CLSCTX_LOCAL_SERVER,iid,(void**)&ppv);

     \_bstr\_t pbstrSettings("9600,N,8,1");
     (\*ppv)->put\_PortOpen(1);
     (\*ppv)->put\_Settings(pbstrSettings);
     (\*ppv)->AboutBox();
    
    return 0;
    

    }

    COM help c++ json

  • How can i Impliment WPF programing in C# Dialog?
    P pallaka

    I have a dialog in using C#. I need to put a button using WPF, XAML. How can i do this working?

    WPF csharp wpf question

  • How to connect MySql DataBase with ODBC connectivity to WPF display
    P pallaka

    I am collecting the data through serial port and storing it continuously in MYSQL DataBase. I need to get the data from it and draw the real time graph on WPF applicaiton. Kindly help me out as i am very new to it.Kindly help me with any samples or examples.

    WPF csharp database mysql wpf data-structures

  • I want to learn silver light.Can any one tell me the best approach?
    P pallaka

    I want to learn silver light.Can any one tell me the best approach?

    WPF question

  • How to make multiline textbox to display the last element added or scroll to last?
    P pallaka

    I Am using VB6 it doesnt have scroll to end

    Visual Basic tutorial question

  • Maximum number to split any file.
    P pallaka

    Let me tell you the splitting of files will not be depended on the file size and the number of partitions. I mean if you have 10Mb file if u need to divide it in to 10 files then each file will have 1024kb and 128 byte extra to identify the next file link.But as you have 128 byte*10 extra bytes to store your file size willbe more once you add the size of all files.

    C / C++ / MFC help question

  • How to make multiline textbox to display the last element added or scroll to last?
    P pallaka

    How to make multiline textbox to display the last element added or scroll to last?

    Visual Basic tutorial question

  • How to plug/unplug USB serial port programitically?
    P pallaka

    I have connected the usb serial port and started getting the data from the hardware. Suddenly i will stop the hardware and re run it .Now the problem is when i return the hardware and try to re connect the my application back and try to connect the COM port, it throws me a message the port is already connected and because of this i can not receive the data, kindly help me to understand the stuff

    Visual Basic help hardware tutorial question

  • How to plug/unplug USB serial port problematically?
    P pallaka

    I agree that i cross post, but the reason behind is, i am not particular about the language used for my problem.I am only looking for the solution and it will be great if you have anything let me know.

    C# help hardware tutorial question

  • How to plug/unplug USB serial port programitically?
    P pallaka

    I am looking for some one who did it problematically. But still thanks for your Solution :)

    Visual Basic help hardware tutorial question

  • How to plug/unplug USB serial port problematically?
    P pallaka

    How to plug/unplug USB serial port problematically? I am facing some strange issue with my USB serial port. I want to unplug and plug the USB Serial port Programitically, as i need to refresh the connection between system and hardware connected.Kindly help....... Thank in advance for the great programmers

    C / C++ / MFC help hardware tutorial question

  • How to plug/unplug USB serial port problematically?
    P pallaka

    How to plug/unplug USB serial port problematically? I am facing some strange issue with my USB serial port. I want to unplug and plug the USB Serial port Programitically, as i need to refresh the connection between system and hardware connected.Kindly help....... Thank in advance for the great programmers

    C# help hardware tutorial question

  • How to plug/unplug USB serial port programitically?
    P pallaka

    How to plug/unplug USB serial port problematically? I am facing some strange issue with my USB serial port. I want to unplug and plug the USB Serial port Programitically, as i need to refresh the connection between system and hardware connected.Kindly help....... Thank in advance for the great programmers

    Visual Basic help hardware tutorial question

  • How to convert Hex -> Dec -> Char
    P pallaka

    I need to convert data from hex to Dec and dec to Char Kindly let me know how can i do that. The confusion is if i need to change the data If i provide Input as a string to the text box 3F 50 52 40 -> 63 80 82 64 -> ? P R @

    Visual Basic question tutorial

  • Problem in accessing the COM port. "Access denied for COM1 "
    P pallaka

    I have updated with the latest drivers and still i face the same issue. Unfortunately it is not working with any other hardware also.

    C# com hardware help tutorial question

  • Problem in accessing the COM port. "Access denied for COM1 "
    P pallaka

    No I am not using any thread.Even i close and run the applicatio i face the same problem.As i mentioned i need to remove and place the cable again to re communicate the data.

    C# com hardware help tutorial question

  • Problem in accessing the COM port. "Access denied for COM1 "
    P pallaka

    I tried all the stuff u mentioned, but it didnt work.I need to unplug and plug again to make it work.So i am looking is there any way to unplug problematically.

    C# com hardware help tutorial question

  • Problem in accessing the COM port. "Access denied for COM1 "
    P pallaka

    I have a hardware connected to the usb which communicates by sending the data.When i will start the application and hardware as a fresh it will work fine.But when i will stop my hardware and run it again it will throw me a exception handle stating that the Access denied for COM1: as you dont have proper rights to the resource.But when i remove the USB plug and re connects my application to the hardware it will start working. Do anyone know how to reset or re intiallize or reconnect the usb to hardware programitically...?

    C# com hardware help tutorial question

  • how to connect 9 pin serial port plug to itself so tha one can recive the data in the 2nd Pin andtransmit in 3rd pin
    P pallaka

    After writing to the serial port i am reciving an error of writing timed out i am using the HandShake Requestto send,I am not geting the problem

    C# tutorial

  • how to connect 9 pin serial port plug to itself so tha one can recive the data in the 2nd Pin andtransmit in 3rd pin
    P pallaka

    I tried i am only able to recive but i am not able to write serial port.i mean i am not able tosend the data.Below is the code snip.

    if (serialPort1.IsOpen == false)
    {
    this.serialPort1.Open();
    }

             this.serialPort1.Write("3F 50 52 40");
    
    C# tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups