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
J

Jackson86

@Jackson86
About
Posts
11
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Horizontal scroll for CListBox
    J Jackson86

    Hi. There is trouble with List box (CListBox in MFC). I'm need horizontal scroll on CListBox object. There is checkbox "Horizontal scroll" in properties of list box. I turn it on, but scroll doesn't appear. Is there way to create list box with horizontal scroll bar? Is't possible? Every information will be very valuable.

    C / C++ / MFC c++ question

  • Horizontal scroll for CListBox.
    J Jackson86

    Hi. There is trouble with List box (CListBox in MFC). I'm need horizontal scroll on CListBox object. There is checkbox "Horizontal scroll" in properties of list box. I turn it on, but scroll doesn't appear. Is there way to create list box with horizontal scroll bar? Is't possible? Every information will be very valuable.

    C / C++ / MFC c++ question

  • Using ADO in VC++
    J Jackson86

    2Ilya: Thank you for link (Спасибо за ссылочку!). I nave another question: how can I get field data format string. When I used DAO, I got this string by DAOProperty::GetValue call. For example, this string looks like "General Number","General Date","Long Date" or something like "#,##0.00."p.";=#,##0.00"p."".

    Database c++ database sql-server sysadmin help

  • Using ADO in VC++
    J Jackson86

    Hello I have a problem with using ADO in Visual C++. I'm need to get tables names of database by using types from ADO type library. I found one method: _RecordsetPtr rs_table_names = ado_conn->Execute(L"SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES", NULL, -1L); But there is a problem. This method allows me to get tables names only of SQL server, but with other database formats (MS Access, TXT files, Excel) it doesn’t work. Thanks in advance.

    Database c++ database sql-server sysadmin help

  • Problem with DDE under Vista.
    J Jackson86

    Hello Jonathan. Thank you for your answer. You see, I'm working with old code. My task is adapt it for Windows Vista. My boss doesn't want to make serious changes to code without serious reasons. What technology can you suggest instead of DDE? It must provide possibility to send messages from one process to another. 1. DDEInitialize returns integer value, which is equal to 0 ( DMLERR_NO_ERROR ). It also return instance idientifier. If any error occurs, this id must be equal to NULL. But id seems to be valid, although OnDDECommand method in server doesn't run. Other DDE functions doesn't return any errors too. 2. DDEInitialize doesn't fails. And DdegetLastError returns DMLERR_NO_ERROR. So, all DDE functions in client don't fail, but OnDDECommand method in server doesn't run. 3. Yes, the client is on the same machine as the server. The main problem is that, DdeConnect doesn't fail, if even DDE - server has not been run. regards, Jackson.

    Windows API help c++ sysadmin

  • Problem with DDE under Vista.
    J Jackson86

    Hello. My program (DDE - client ) connects to DDE - server (MFC) by calls of following functions:DdeInitialyze, DdeConnect, DdeClientTransact. Wnen DdeClientTransact function is calling in client program, OnDDECommand method must be calling in DDE - server. DDE - client and DDE - server are working properly under Windows XP. But there are some problems in Windows Vista. 1. DDE - server has been run with checkbox "Run as administrator" (Compatiblity tab on exe-file properties) turned on. In that case OnDDECommand function in DDE - server is not calling. But DdeInitialyze, DdeConnect, DdeClientTransact functions in client program are not returning any error codes or hanles, which are equal to NULL. If checkbox "Run as administrator" is turned off, all programs work as properly as under WindowsXP. 2. If DDE server has not been run, DdeClientTransact function call must return NULL handle of conversation (HCONV) in client program. But under Windows Vista DdeClientTransact function call returns HCONV, which is not equal to NULL. Please help me in fixing this behavior on vista. Every help will be very useful.

    Windows API help c++ sysadmin

  • Problem with CListCtrl (MFC) on Vista
    J Jackson86

    Hello all I had a terrible problem. On Release version of my project on Vista there is failure on MFC class method CListCtrl::SetItemState(0,LVIS_SELECTED,LVIS_SELECTED) Any help would be of great use. Thanks

    Windows API help announcement c++

  • Problem with ODBC connection
    J Jackson86

    Yes, you are right. It's dBase thing. But it was main problem for me. ODBC interprets dBase database as folder, where dbf files are located, and dbf files as tables of this database.

    C / C++ / MFC csharp database visual-studio help question

  • Problem with ODBC connection
    J Jackson86

    I meant that, if i will create my DSN in ODBC Administrator in my computer, I sure that in another computer will be another DSN. Bu t I've already done with my problem. I got ODBC connection,using connection string. I understood my error. It's necessary after "DBQ=" in connection string to write path of folder, not of file.

    C / C++ / MFC csharp database visual-studio help question

  • Problem with ODBC connection
    J Jackson86

    No. If I will create DSN, will my application run at the other computer?

    C / C++ / MFC csharp database visual-studio help question

  • Problem with ODBC connection
    J Jackson86

    Hello. I'm trying to get connection to dBase file by using ODBC. I'm trying to use code like this: CDatabase cdb; cdb.OpenEx( _T("DBQ=F:\\database\\a.dbf;DefaultDir=F:\\database\\;DRIVER=Microsoft dBASE Driver (*.dbf);DriverId=533;MaxBufferSize=2048;PageTimeout=5;")); But i get message: string F:\database\a.dbf is an invalid path. But this file exactly exists!!! I'm using Visual Studio 2005. How should I solve the problem please?

    C / C++ / MFC csharp database visual-studio help 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