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
S

ssirisha

@ssirisha
About
Posts
41
Topics
24
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Unable to open HELP from Visual studio environment
    S ssirisha

    Hi I am unable to open HELP from my visual studio environment. As soon as I click on any of the menuitems (contents, index etc) under HELP, the cpu shoots to 100% and it just sits like that.. I have also noticed that its allocating more and more memory, but the help window does not open at all. MSDN was properly installed and it was working just fine before. I don't recall to have changed any of my settings. I have already tried uninstalling/re-installing MSDN couple of times but no luck. Any clues. Thanks

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

  • Unsupported operation ?
    S ssirisha

    I have a COM DLL built with VC++6 and it has dialog resources using activex controls such as MsFlexGrid and CTreeCtrl etc. I have two main applications(AppSimple and AppWithLotOfDlgResources) that can use this dll. When I use AppSimple to call this Dll, it works fine both in Debug and Release modes. The problem is when I use AppWithLotOfDlgResources application as the calling program, I am getting "Unsupported operation" only in RELEASE build. Q. Is there some kind of a conflict in resources between the DLL and the AppWithLotOfDlgResources ? Please help Thanks

    C / C++ / MFC com help c++ debugging question

  • Fast Insert ?
    S ssirisha

    ACCESS2000, ADO with VC++ I need to insert 500 records into a table. I am executing the following query for each record in a loop.. ///////////// PARAMETERS vID Short, vMRad IEEESingle, vQual Byte, vType Byte, vCRad IEEESingle, vWID Long; INSERT INTO PostODData ( OID, MRad, Qual, Type, CRad, WID ) VALUES (vID, vMRad, vQual, vType, vCRad, vWID); ////////////////// This insertion takes about 5 secs on a 400Mhz computer and I need to cut the time down to 1 sec or smaller. Any suggestions how to improve. Is it possible to send the parameters for all 500 records in an array . Does it help ? Thanks

    Database c++ database data-structures help tutorial

  • Bulk Insert (ADO/Access2000)
    S ssirisha

    Could you please help me in with a small sample code. Do I have to send the records as an array and loop the INSERT statement for all records? I am not quite sure if all this is possible in ACCESS. I guess my question would be can I pass an array to Stored proceedure, if Yes how? Thanks for your time.

    Database question database performance

  • Bulk Insert (ADO/Access2000)
    S ssirisha

    I would have to insert around 500 records every 10 seconds into a table in Access 2000. I am using ADO. What is the most efficient way to do this with good performance. Is it possible to pass all of the 500 records to a query using some kind of SafeArray parameters and Insert them all at once? Any tips how this can be accomplished ? Thanks

    Database question database performance

  • ADO Command->Execute throws exception
    S ssirisha

    How to inform in/out or precision and scale in argument list of Execute method. Thanks

    Database c++ database help

  • ADO Command->Execute throws exception
    S ssirisha

    Using Access 2000 and ADO VC++6.0 I am executing the following statement.. VARIANT Params[2]; Params[0].vt = VT_I2; Params[0].iVal = 1; Params[1].vt = VT_R4; Params[1].fltVal = 8.99; m_pCommand->adCmdText = "Query4"; m_pCommand->ActiveConnection = m_pConnection; m_pCommand->Execute(0, Params, adCmdStoredProc); Generates an exception {DB_E_PARAMNOTOPTIONAL} Query4 in Access is as follows: PARAMETERS vID Short, Rad IEEESingle; INSERT INTO TABLE1 ( ODID, MeasRadius ) VALUES (vID, Rad); Thanks for your help in advance.

    Database c++ database help

  • Help with ADOCommand->Execute with Parameters
    S ssirisha

    Using Access 2000 and ADO VC++6.0 I am executing the following statement.. VARIANT Params[2]; Params[0].vt = VT_I2; Params[0].iVal = 1; Params[1].vt = VT_R4; Params[1].fltVal = 8.99; m_pCommand->adCmdText = "Query4"; m_pCommand->ActiveConnection = m_pConnection; m_pCommand->Execute(0, Params, adCmdStoredProc); Generates an exception {DB_E_PARAMNOTOPTIONAL} Query4 in Access is as follows: PARAMETERS vID Short, Rad IEEESingle; INSERT INTO TABLE1 ( ODID, MeasRadius ) VALUES (vID, Rad); Thanks for your help in advance.

    COM c++ database help

  • Pass SafeArray to ACCESS using ADO
    S ssirisha

    I have around 500 records to insert into a table in Access 2000. I am using ADO. Is it possible to pass all of the 500 records to a query using some kind of SafeArray parameters and Insert them all at once? Any tips how this can be accomplished ? Thanks

    COM database question

  • MSADO15.DLL (Minimal setup)
    S ssirisha

    How can I setup runtime ADO with minimal files / registration. I would like to distribute the runtime files with my application. What files are needed ? Thanks

    Database question workspace

  • Bulk Copy (Suggestions Please ?)
    S ssirisha

    How to do it programatically ? Any solution to "Autonumber" field running out of limits ? Thanks

    Database c++ database data-structures help tutorial

  • Bulk Copy (Suggestions Please ?)
    S ssirisha

    Working with Access 2000 Database and ADO(Visual C++) My Database tables and their relationships resemble a Tree or a Family tree. (ie a lot of one-to-many relations between father/child tables) The task is to keep the size of the database within certain limits. As the database grows beyond certain limit, i would like to keep the latest N records and delete the old stuff. Unfortunately, this doesnt seem to reduce the size of the database (I don;t know why) may be because I am using "Autonumber" fields. The second step would be to reindex my autonumber fields so that I don't run over the limit of long integer datatype. Please help with some tips on how to approach. Thanks

    Database c++ database data-structures help tutorial

  • pRecordSet->PutMaxRecords(10); Doesnot work ?
    S ssirisha

    Perfect. Thanks a bunch.

    Database c++ database help question

  • pRecordSet->PutMaxRecords(10); Doesnot work ?
    S ssirisha

    I am Using ADO(Visual C++) and Access 2000 database. Trying to limit the number of records returned by the recordset with PutMaxRecords(x), and the recordset returns all records. Thanks for your help in advance.

    Database c++ database help question

  • IDispatch error #3127
    S ssirisha

    I am using ADO and have the following queries in my database Query: GetPW SELECT [PW].[Number], [PW].[Status] FROM PW WHERE [PW].[id]=CCID; Query: GetPR SELECT [PR].[Number], [PR].[Status] FROM PR WHERE [PR].[id]=CCID; Query: GetPWPR PARAMETERS CCID Long; SELECT * FROM GetPW LEFT JOIN GetPR ON [GetPW].[Number]=[GetPR].[Number] ORDER BY [GetPW].[Number]; When I execute query "GetPWPR" from within access, It works fine. (ie Prompts for CCID input value and returns records from PR and PW as expected) However when I execute using ADO::Execute command it fails with the error "IDispatch error #3127" (DB_E_NOTABLE) Any clues ? Thanks

    Database database help question

  • How to Resize MSChart
    S ssirisha

    Hi I need to resize MSChart programatically (when a user double clicks on the chart). I donot find the SetWidth(), SetHeight() functions. Any ideas how to do it? Thanks

    C / C++ / MFC tutorial question

  • Problem registering (0x000003e6)
    S ssirisha

    No features from external libraries added. No custom implementation added. I soon as I finish with the wizard, I tried to compile. Thanks.

    COM help c++ com debugging performance

  • Problem registering (0x000003e6)
    S ssirisha

    Really appreciate you taking time and explaining. Thank you. I have created this COM component using the wizard. After the wizard is completed I have not added any methods or any code manually to this project. I simply compiled it and that's when I get this message. So If I understand your feedback correctly, some of the libraries that the the project has linked are missing or cannot load.. How can I investigate which Dll is having problem with ? Thanks once again.

    COM help c++ com debugging performance

  • Problem registering (0x000003e6)
    S ssirisha

    I tried putting a break point in DLLRegisterServer but it doesnot stop there.. Just to clarify once more this error is poping after linking while registering ActiveX Control.. Thanks

    COM help c++ com debugging performance

  • Problem registering (0x000003e6)
    S ssirisha

    I have just created an empty COM DLL with support to MFC using VC++5.0. When complied, it fails to register. Regsvr32: LoadLibrary(".\Debug\testxyz.dll") failed. GetLastError returns 0x000003e6. I looked up for the error message and it is "Invalid access to memory location" Thanks for your help in advance.

    COM help c++ com debugging performance
  • Login

  • Don't have an account? Register

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