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
K

kcynic

@kcynic
About
Posts
436
Topics
143
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to implement such such a gradient path like a ring?
    K kcynic

    Thanks for your reply. and however, LinearGradientBrush only draw gradient area on straight way. PathGradientBrush might be helpness, but Im not sure how to do with it.

    C / C++ / MFC winforms graphics tutorial question

  • How to implement such such a gradient path like a ring?
    K kcynic

    How to implement such a gradient path like this: http://p13.freep.cn/p.aspx?u=v20_p13_photo_1303041411469897_0.png[^] using gdi or gdi+?

    C / C++ / MFC winforms graphics tutorial question

  • How to use a com dll without embedded typelibrary in it?
    K kcynic

    My be. But my main problem is create the component class. You know, in C#, i just reference the com dll. If i have to use the raw com dll file as common unmanaged dll, im not sure how to create the object and how to translate parameters. So, I hope to add referenct it via its type library(.tlb file).

    C# c++ com csharp hardware tutorial

  • How to use a com dll without embedded typelibrary in it?
    K kcynic

    Oh, thanks all the same. I will be glad to tell you the solution if i got it.

    C# c++ com csharp hardware tutorial

  • How to use a com dll without embedded typelibrary in it?
    K kcynic

    Oh, of course the com dll has been registered successfully. When add its reference by vs(it can be listed in the com tab list), vs will give me an error messagebox says "A reference to '*** Type Library' couldn't be added. This is not a COM component". But, if the dll has embedded type library in it, it will be ok.

    C# c++ com csharp hardware tutorial

  • How to use a com dll without embedded typelibrary in it?
    K kcynic

    Thanks for your reply. As we know, an atl com dll only export five functions: DllCanUnloadNow,DllGetClassObject,DllRegisterServer,DllUnregisterServer. So, im afraid that couldn't help to reach my aim, right?

    C# c++ com csharp hardware tutorial

  • How to use a com dll without embedded typelibrary in it?
    K kcynic

    There is a com dll written by C++ ATL. There is no embedded type library resource in it, although I have its type library(.tlb file) seperately. I can't add it to my C# project references. So, how should i do to use it?

    C# c++ com csharp hardware tutorial

  • How to develop a visual studio plugin to hook debugging?
    K kcynic

    I want to load a dll library of mine before i trigger vs' debug menu? In another word, i want to inject my dll to the new debugged process(and my dll should be loaded before any other dll except kernel32.dll). What should i do?

    C / C++ / MFC visual-studio csharp database debugging tutorial

  • How to fully custom draw combobox control, edit, arrow button and listbox included?
    K kcynic

    I meant, how to use WM_MEASUREITEM and WM_DRAWITEM messages handler if i subclass its edit, button and listbox.

    C / C++ / MFC tutorial question

  • How to fully custom draw combobox control, edit, arrow button and listbox included?
    K kcynic

    You means, just subclass all its three subitems? but if use its ownerdraw property?

    C / C++ / MFC tutorial question

  • How to fully custom draw combobox control, edit, arrow button and listbox included?
    K kcynic

    I want to fully draw combobox control by myself, not only the list items. I searched but only found some demos about how to custom draw its subitems. But I really want to draw the edit, arrow button and listbox of the combobox completely. So, is there any example or idea? Regards

    C / C++ / MFC tutorial question

  • How to connect remote sql server(within LAN) using ADO?
    K kcynic

    Oh, thanks for you reply, i think i got the answer from that page.

    Database database sysadmin tutorial question sql-server

  • How to connect remote sql server(within LAN) using ADO?
    K kcynic

    Oh, there are the answers: 1. All clients within a LAN. 2. My pc is a dev box 3. I have MS SQL Server 2005 installed. 4. Of course no product. I just took that as a example 5. Im not a web developer, so b/s has no help for me. No matter how many clients would be, i just only want to know how. Thanks

    Database database sysadmin tutorial question sql-server

  • How to connect remote sql server(within LAN) using ADO?
    K kcynic

    But, 192.168.1.100 is the real local IP of mine and i do want to use my machine as the SQL server. You meant, I should replace Server=192.168.1.100 with Server=MyPcName? But, if so, to a client witch knew its server ip only, how should it configure this argument? Unfortunely, if it's not a practice but a C/S product, one of its user is a orgnization with a plenty of members,they all need to install the client program, so they configure the Server argument with their server's correct name. And for another group, they have to do the similar work! In another words, the installation can't be done automately! right?

    Database database sysadmin tutorial question sql-server

  • How to connect remote sql server(within LAN) using ADO?
    K kcynic

    Oh, I use my computer as sql server, the code which useing "Driver={SQL Server};Server=192.168.1.100;Address=192.168.1.100,1433;Network=DBMSSOCN;User ID=sa;PWD=123456;Database=DaDian2008" works well on my own computer, but doesn't on another computer.

    Database database sysadmin tutorial question sql-server

  • How to connect remote sql server(within LAN) using ADO?
    K kcynic

    Thanks for your reply. But my real problem is that, how to connect to a remote ms sql server(within LAN)?

    Database database sysadmin tutorial question sql-server

  • How to connect remote sql server(within LAN) using ADO?
    K kcynic

    I want to connect to the sql server database and do some query command via ado. I use this connection string to do that work:"Provider=SQLOLEDB;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=DaDian2008;Data Source=localhost;UID=sa;PWD=123456;Network Library=dbmssocn", it works well. But how about with a remote server(LAN). For example, my ip address is 192.168.1.100, i just replace localhost to 192.168.1.100, it would get an exception says: Code = 80004005 Code meaning = Unspecified error Source = Microsoft OLE DB Provider for SQL Server Description = [DBNETLIB][ConnectionOpen (Connect()).]Specified SQL server not found. Why? And how can i connect to a remote sql server(MS SQL Server within LAN)? btw, if I use "Driver={SQL Server};Server=192.168.1.100;Address=192.168.1.100,1433;Network=DBMSSOCN;User ID=sa;PWD=123456;Database=DaDian2008; Then, I can connect to the database on my locale computer, but it would fail again on another computer.

    Database database sysadmin tutorial question sql-server

  • how to connection to a remote sql server via ado? [modified]
    K kcynic

    I want to connect to the sql server database and do some query command via ado. I use this connection string to do that work:"Provider=SQLOLEDB;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=DaDian2008;Data Source=localhost;UID=sa;PWD=123456;Network Library=dbmssocn", it works well. But how about with a remote server(LAN). For example, my ip address is 192.168.1.100, i just replace localhost to 192.168.1.100, it would get an exception says: Code = 80004005 Code meaning = Unspecified error Source = Microsoft OLE DB Provider for SQL Server Description = [DBNETLIB][ConnectionOpen (Connect()).]Specified SQL server not found. Why? And how can i connect to a remote sql server(MS SQL Server within LAN)? btw, if I use "Driver={SQL Server};Server=192.168.1.100;Address=192.168.1.100,1433;Network=DBMSSOCN;User ID=sa;PWD=123456;Database=DaDian2008; Then, I can connect to the database on my locale computer, but it would fail again on another computer.

    modified on Sunday, March 21, 2010 9:16 AM

    COM database sysadmin tutorial question sql-server

  • how to pre-define a com interface in a idl file?
    K kcynic

    Thanks for your reply. I have tried this method but fail, because i always use the right idl files generated by atl project wizards, and i failed because i spelt 'Interface IB' other than 'interface IB'.(VS also highlights 'Interface' and 'interface'!). Regards.

    COM help c++ com tutorial question

  • how to pre-define a com interface in a idl file?
    K kcynic

    There are two interfaces IA and IB, but they reference each other in their method. The problem is, if i declared IA before IB, IA would get a error because IB was unknown to it; if i declared IB before IA, IB would get the same error. I know i can fix this problem by replacing the parameters from IAs and IBs to IUnkown. but i want to know if there is a resolution like C++'s classes pre-defining?

    COM help c++ com tutorial question
  • Login

  • Don't have an account? Register

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