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
A

Ankush Mehta

@Ankush Mehta
About
Posts
43
Topics
20
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Lock a folder/Directory
    A Ankush Mehta

    Programmatically.. Ankush Mehta

    C / C++ / MFC question tutorial

  • Lock a folder/Directory
    A Ankush Mehta

    Hi all, How can i make a folder or directory inaccessible to be edited or viewed of its internal structure? Kindly Guide. Regards, Ankush Mehta

    C / C++ / MFC question tutorial

  • Optical Character recognition(OCR)
    A Ankush Mehta

    i want to make an OCR application & extract text from an image. i am trying the following approach. 1) i can convert an image to PDF. 2) i can extract text from PDF. So, theoretically, perhaps OCR is possible this way- to convert image to PDF & then convert the PDF into text & do whatever search operations you have to. http://www.altimate.ca/flash/ocrdsktp.htmshows the above approach. However, i can extract text from any normal pdf, it is not happening with a pdf that has been generated from an image.What things may i be missing? Kindly Guide. Ankush Mehta

    C / C++ / MFC adobe tutorial question

  • printing .html/htm page
    A Ankush Mehta

    Hello all, using a console application i want to print a webpage(html/htm) saved on my disk.How can i do that? i have done a lot of work on it & i am unable to find the solution.I am wondering whether there is a solution to it in vc++.Shellexecute definitely doesn't print in this case.Kindly Help. Regards, Ankush Ankush Mehta

    C / C++ / MFC question c++ html help

  • Printing.eml (Internet E-Mail Message) Type of file
    A Ankush Mehta

    Hello all, I have .eml (Internet E-Mail Message) Type of file on my disk. I want to print it.Do i need to automate outlook express(How??) or is there any other better way.. Regards, Ankush Ankush Mehta

    C / C++ / MFC question

  • Dilemma..VC++ ..Right choice???
    A Ankush Mehta

    So buddy you mean right now i should focus myself on vc++.(I am a 2005 passed out comp.engg. graduate working in vc++ 6.0).After i am strong enough, i should move to .net.How much time in vc++ will be okay. thanks for guidance... Regards, Ankush Mehta, erankushmehta@rediffmail.com Ankush Mehta

    C / C++ / MFC csharp c++ tutorial question career

  • Dilemma..VC++ ..Right choice???
    A Ankush Mehta

    well, i would also like to know the areas in which i can make my career using vc++/vc++.net platform. Ankush mehta, Dewsoft Solutions, Mumbai. erankushmehta@rediffmail.com

    C / C++ / MFC csharp c++ tutorial question career

  • Dilemma..VC++ ..Right choice???
    A Ankush Mehta

    Hi all, Please guide me.i am working in vc++ 6.0.Do i need to shift to .net?(i don't have any idea of .net).What are the areas in which i can make my career using vc++ platform.Is my fear about insecurity(if i don't shift to .net) well founded? Regards, Ankush Ankush Mehta

    C / C++ / MFC csharp c++ tutorial question career

  • Class redefinition error
    A Ankush Mehta

    What line i am following................ i heard of namespace.as i am a newbie, i am not sure about this.at the top of my main .cpp file i tried using this: namespace anyname1 { #include "msacc9.h" } namespace anyname2 { #include "excel9.h" } But this again didn't work out... Seeking help......Please.........:(( Ankush Mehta

    C / C++ / MFC help testing tools question

  • Class redefinition error
    A Ankush Mehta

    yeah, toxcct you are right. Following errors are generated: error C2011: 'FormatConditions' : 'class' type redefinition error C2011: 'Module' : 'class' type redefinition error C2011: 'Modules' : 'class' type redefinition error C2011: '_Application' : 'class' type redefinition These classes exist in both the headers(but they have different definitions.e.g, _Application object is an open access db for access header file while _Application object for excel header file is an open excel).I have used appwizard to generate related files.These headers are provided by msoffice. Any Ideas please...... Ankush Mehta

    C / C++ / MFC help testing tools question

  • Class redefinition error
    A Ankush Mehta

    well, please forgive me for asking rather stupid questions. i am a newbie.Let me restate what i have done. the libraries msacc9.olb,excel9.olb provided by ms-office for automation are added to the project.These libraries contain header files msacc9.h & excel9.h. i include these header files at the top of the .cpp file of my application like this. #include"msacc9.h" #include"excel9.h" Now, please give me directions to resolve the clash(classes like _Application are in both libraries) Ankush Mehta -- modified at 6:13 Wednesday 14th December, 2005

    C / C++ / MFC help testing tools question

  • Class redefinition error
    A Ankush Mehta

    No, i didn't add any such code.where should i add it.please tell in detail. Ankush Mehta

    C / C++ / MFC help testing tools question

  • Class redefinition error
    A Ankush Mehta

    1)Actually, what i am doing is to integrate two separate Excel & access automation applications into one. 2)First, i finish Excel automation(used excel9.olb(library) & included excel9.h as header file).Upto now it works fine. 3)Now The problem begins. For access automation functionality i use msacc9.olb & include access9.h as header file.As soon as i compile, even before adding any functionality, it shows class redefinition errors for _Application etc. Apparently, these are due to the object models of Excel & Access which have some same class names like _Application etc. which cause the clash. There seems nothing wrong with the code but with the libraries of access & excel which have some same class names. How should i resolve the clash?Please, Please, Please Help!!:(( Ankush Mehta

    C / C++ / MFC help testing tools question

  • printing webpage in console based application
    A Ankush Mehta

    Please Guide how can i print a webpage in a console application. Actually i achieved printing using webbrowser control in dialog based application.Now i want to print in console application. In other words,in dialog based application i used web browser control(Active X component), dragged it on my Dialog form & used its methods to achieve printing. Now how can i achieve printing webpage in console based application.ShellExecute won't work to print a webpage(neither in dialog-based nor in console), it is confirmed. Please Guide... It is a bit urgent:(( Ankush Mehta

    C / C++ / MFC tutorial question

  • Little Question
    A Ankush Mehta

    well, one last question how to typecast to int......plz answer this one sfdougl...:) Ankush Mehta

    C / C++ / MFC question testing tools tutorial

  • Little Question
    A Ankush Mehta

    No errors, But no output also just as with the first shell execute statement i sent:doh:... Ankush Mehta

    C / C++ / MFC question testing tools tutorial

  • Little Question
    A Ankush Mehta

    when i use the copy-paste code line given by you following error is generated.i am using VC++ 6.0. cannot convert parameter 1 from 'char [13]' to 'struct HWND__ *':( Regards, Ankush Mehta

    C / C++ / MFC question testing tools tutorial

  • Compatibility issue in Office automation
    A Ankush Mehta

    Well, let me explain the scenario. i wanted to create an application to print 1) Word Document 2) Text file 3) Excel Sheet 4) Access tables 5) Powerpoint Slide 6) Webpage 7) images(bmp,jpg,jpeg,gif) i initially started with using automation.As an afterthought, i found 1),2),3),7) can be printed using shell Execute. However, for 4),5),6) automation is the solution(that is what i think).Since my application is supposed to run on muliversion, Late binding must be used.As a matter of fact, i have even achieved printing using automation but i don't know if it is early binding or late binding and that is where i don't have any idea buddy...... Ankush Mehta

    C / C++ / MFC question testing tools help tutorial

  • Little Question
    A Ankush Mehta

    thanks sfdougl, 1) Agree 2) Agree 3) Agree 4) Agree,automation is the option in my case because i want to enumerate tables in the database programmatically & then proceed towards printing.i think i am right.plz tell if u have other option to enlist tables in database. 5) it doesn't work in my case 6)I could not manage printing a webpage with ShellExecute.My code is like this: ShellExecute(NULL,"print",m_FileName,NULL,NULL,SW_HIDE); 7)Prints only bmp.I changed extension to bmp, printed & renamed filename to original extension Please tell me about point 6) after trying it out.Also tell me about point 4) if you have something to tell about it. Regards, Ankush Mehta

    C / C++ / MFC question testing tools tutorial

  • Compatibility issue in Office automation
    A Ankush Mehta

    Actually you used office 2000 type library.right!Now your application will work fine in all probability for all the later versions.However, try it on a machine with some prior office version(prior than office 2000) & it may fail. To play safe, it is suggested to use as earliest possible type library,probably office 95.However, there is an exception for access 97 which fails if run on access 2000 machine.Moreover, this early binding is not entirely reliable because some methods may be unavailable. The solution is late binding which although cost an overhead , it is for multiversion office automation.One hybrid binding(DISPID binding) is also used. i am still going through it to get more info. I would like anyone to help & shed some light on late binding & hybrid binding(DISPID binding).Looking forward to some ideas, Regards, Ankush Mehta

    C / C++ / MFC question testing tools help 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