Click here to Skip to main content
15,887,135 members
Home / Discussions / C#
   

C#

 
AnswerRe: Ok, is it just me or...? Pin
#realJSOP5-Apr-09 3:09
mve#realJSOP5-Apr-09 3:09 
AnswerRe: Ok, is it just me or...? Pin
PIEBALDconsult5-Apr-09 5:39
mvePIEBALDconsult5-Apr-09 5:39 
QuestionHow to validate the xml while updating the node of an xml Pin
member1234564-Apr-09 19:40
member1234564-Apr-09 19:40 
QuestionRounded button and panel in c# Pin
sepel4-Apr-09 19:17
sepel4-Apr-09 19:17 
AnswerRe: Rounded button in c# Pin
Xmen Real 4-Apr-09 19:36
professional Xmen Real 4-Apr-09 19:36 
AnswerRe: [Message Deleted] Pin
Luc Pattyn4-Apr-09 23:05
sitebuilderLuc Pattyn4-Apr-09 23:05 
GeneralRe: [Message Deleted] Pin
sepel5-Apr-09 18:17
sepel5-Apr-09 18:17 
QuestionCOM Interop GUID Help Pin
monkh4-Apr-09 18:01
monkh4-Apr-09 18:01 
I think i have wrong GUID, how do i find out what GUID i should be using?

Im getting exception

Retrieving the COM class factory for component with CLSID {56A868B1-0AD4-11CE-B03A-0020AF0BA770} failed due to the following error: 80040154.

from following code
<code>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;

namespace Imapi2
{
    // Declare IRawCDImageTrackInfo as a COM interface which 
    [Guid("56A868B1-0AD4-11CE-B03A-0020AF0BA770"),
    InterfaceType(ComInterfaceType.InterfaceIsDual)]
    interface IRawCDImageTrackInfo    
    {
        
        void get_ISRC(
            [Out,MarshalAs(UnmanagedType.BStr)] string value);
        
        void get_StartingLba();
        void get_SectorCount();
        void get_TrackNumber();
        void get_SectorType();
        void put_ISRC();
        void get_DigitalAudioCopySetting();
        void put_DigitalAudioCopySetting();
        void get_AudioHasPreemphasis();
        void put_AudioHasPreemphasis();
        void get_TrackIndexes();
    }

    // Declare ccIRawCDImageTrackInfo as a COM coclass:
    [ComImport, Guid("56A868B1-0AD4-11CE-B03A-0020AF0BA770")]
    class ccIRawCDImageTrackInfo
    {
    }
}

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            try
            {
                Imapi2.ccIRawCDImageTrackInfo ccTest1 =
                    new Imapi2.ccIRawCDImageTrackInfo();
                Imapi2.IRawCDImageTrackInfo test1 =
                    (Imapi2.IRawCDImageTrackInfo)ccTest1;
            }
            catch (Exception ex)
            {
                Console.WriteLine("Unexpected COM exception: " + ex.Message);
            }
            Wait for completion. 
            Console.WriteLine("Press Enter to continue.");
            Console.ReadLine();
        }
    }
}
</code>


http://msdn.microsoft.com/en-us/library/cc512151(VS.85).aspx[^]
That is link to interface i am trying to use
QuestionClickOnce app... contanstly checking for updates? Pin
Jacob Dixon4-Apr-09 17:16
Jacob Dixon4-Apr-09 17:16 
AnswerRe: ClickOnce app... contanstly checking for updates? Pin
Mycroft Holmes4-Apr-09 22:48
professionalMycroft Holmes4-Apr-09 22:48 
GeneralRe: ClickOnce app... contanstly checking for updates? Pin
Jacob Dixon5-Apr-09 5:00
Jacob Dixon5-Apr-09 5:00 
GeneralRe: ClickOnce app... contanstly checking for updates? Pin
Mycroft Holmes5-Apr-09 13:03
professionalMycroft Holmes5-Apr-09 13:03 
GeneralRe: ClickOnce app... contanstly checking for updates? Pin
Jacob Dixon5-Apr-09 5:04
Jacob Dixon5-Apr-09 5:04 
QuestionBlackJack using WPF Pin
BenJamming4-Apr-09 16:22
BenJamming4-Apr-09 16:22 
AnswerRe: BlackJack using WPF Pin
Luc Pattyn4-Apr-09 23:06
sitebuilderLuc Pattyn4-Apr-09 23:06 
AnswerRe: BlackJack using WPF Pin
#realJSOP5-Apr-09 3:12
mve#realJSOP5-Apr-09 3:12 
Questionaccessing elements from a webbrowser Pin
jeanbern4-Apr-09 13:28
jeanbern4-Apr-09 13:28 
QuestionUsing FTPWebRequet for simple ftp-client on C# Pin
Eugene Efimov4-Apr-09 11:07
Eugene Efimov4-Apr-09 11:07 
AnswerRe: Using FTPWebRequet for simple ftp-client on C# Pin
N a v a n e e t h4-Apr-09 15:59
N a v a n e e t h4-Apr-09 15:59 
GeneralRe: Using FTPWebRequet for simple ftp-client on C# Pin
Eugene Efimov4-Apr-09 20:57
Eugene Efimov4-Apr-09 20:57 
QuestionFile Name Pin
egpuyos4-Apr-09 10:04
egpuyos4-Apr-09 10:04 
AnswerRe: File Name Pin
Christian Graus4-Apr-09 10:50
protectorChristian Graus4-Apr-09 10:50 
AnswerRe: File Name Pin
PIEBALDconsult5-Apr-09 5:45
mvePIEBALDconsult5-Apr-09 5:45 
AnswerRe: File Name Pin
Megidolaon5-Apr-09 20:26
Megidolaon5-Apr-09 20:26 
QuestionHow to set the text of a control to a string from the resx? Pin
ioctl514-Apr-09 9:52
ioctl514-Apr-09 9:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.