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
M

Mangesh Sardesai

@Mangesh Sardesai
About
Posts
20
Topics
11
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • SAPI and 3rd Party Voice Engines
    M Mangesh Sardesai

    I have installed SAPI5.1 on win2k machine. I also have L & H German language engine installed. I am trying to access the L&H voices programatically. However the ISPVoice Interface is unable to use L&H voices. I checked out the registry keys HKLM\\Microsoft\Speech\Voices\Token\ but didnt found any entry for L&H voice. Strangely enough when installed on another machine the entries were found along with extra files installed at C:\Program Files\Common Files\L&H\SpeechEngines\1031\TTS\TTS3000\ I tried installing installing the same downloads on different machine but in vain. None of them showed these required entries and these extra files... Can anyone throw some light on this weird behavior???? :confused::confused::confused: M$

    C / C++ / MFC windows-admin question

  • 25 US Dollars
    M Mangesh Sardesai

    This is not just the question for shareware. The same applies to all categories of software. $799 VS.Net would cost thousands of rupees in India where as what an average person earns is far less. Maybe this is also one of the reason for software piracy. Many of the technical books are available for much lower cost (Economy editions specifically targeted for Indian subcontinent) than their original counterparts which again cost ( Price in Dollars * Exchange Rate ). I think the software companies should adopt the similar policy for retail sales. M$ :):):):):)

    The Lounge question hardware announcement

  • problem using tab control
    M Mangesh Sardesai

    Use the CTabCtrl::InsertItem to create the tabs... :) regards M$

    C / C++ / MFC help

  • setup and delpoyment question
    M Mangesh Sardesai

    Hello, Q1: I dont think its possible using VS.Net Q2: the files that you have mentioned are requied to install the windows installer service if the same is not present on the target machine. The service in available by default in W2K and above. if the service s not found then setup.exe installs the installer service using these files, and then proceeds to the installation of your package. For more information check out the windows installer documentation / SDK available on MSDN.( Sorry i dont remember the exact link) regards, :):):) M$

    C / C++ / MFC csharp question visual-studio sysadmin workspace

  • Regular MFC dlls
    M Mangesh Sardesai

    Let me confess that I am a novice VC++ programmer. I wrote seperate functions in regular MFC dll having following signatures - 1. extern "C" ADODB::_RecordsetPtr declspec(dllexport) GetRs() 2. extern "C" declspec(dllexport) GetRsEx(ADODB::_RecordsetPtr &rs) Both the functions work as expected when accessed through the exe created in VC++.(i.e I am able to access the recordset) However when i try accessing them through the VB application the #2 work as expected but the #1 gives memory error.(Probably bcoz of the _RecordsetPtr going out scope which i have declared inside the function). Can any one explain the way in which i can return the recordset instead of using parameter by reference(OR using the #1 declaration)? thanks and regards, MS

    C / C++ / MFC c++ performance help question

  • IDE
    M Mangesh Sardesai

    Are there any other IDEs available for .Net development apart from VS.Net?

    The Lounge visual-studio csharp question

  • Views derived from CWnd
    M Mangesh Sardesai

    Hello everyone, I want to display the controls on the view class which is not derived from CView.( The application is not using the Doc / View arch.) Is there any way in which I can load the entire dialog template instead of calling the Create / CreateControl for each control that i want to display on the form? thanks and regards :confused: :confused:

    C / C++ / MFC question

  • Object Browser
    M Mangesh Sardesai

    Is there any way wherein I can list down the name of the class declared in a COM component. To extend this problem further I also want to list down the properties / methods declared in the class? In other words I am trying to build my own object browser! thanks and regards, Mangesh Sardesai

    C / C++ / MFC com help question

  • Zip files
    M Mangesh Sardesai

    Hi everyone. How do i unzip a zip file :mad: programatically :mad: ? thanks & regards, Mangesh

    C / C++ / MFC question

  • Tax rates and Net income
    M Mangesh Sardesai

    Tax rate is max 30% in India. However there are different slabs for different income. You get rebate in tax for the certain type of investment you make during the financial year. You also get exemptions for income from specific sources. So the net totals upto 70% and above of the gross. Mangesh Sardesai.

    The Lounge question security lounge career

  • Bumper Stickers
    M Mangesh Sardesai

    How about : - "Undertaker loves overtaker"

    The Lounge help question

  • Scrolling the content
    M Mangesh Sardesai

    Hi, Can anyone please illustrate the scrolling of content in window,(a class derived from CWnd & not the MFC view class) Thanks in advance, Regards, Mangesh Sardesai.

    Article Writing c++

  • Scrolling the content
    M Mangesh Sardesai

    Hi, Can any please illustrate the scrolling of content in a window, in a class derived from CWnd and not the MFC view classes? Thanks in advance, regards, Mangesh Sardesai.

    C / C++ / MFC c++ question

  • Disconnected Recordset
    M Mangesh Sardesai

    I am a VB developer and hence using the VB terminology. So please bear with me. The disconnected recordset did not worked with MS-ACCESS, the probable reason being,access being a file database, the file is closed as soon as the active connection of the recordset is set to nothing. This behaviour of the provider is be default and nothing can be done about it directly. (i.e. Set rs.ActiveConnection=Nothing wont work) The only thing you can do is - 1. Return a connected recordset to client process (rs1). 2. Create a new Recordset in client process (rs2) 3. Add exactly similar number & type of fields to rs2 as in returned Recordset(rs1). 4. open recordset (rs2). without any connection or source.This should be dynamic 5. run a loop inside which you will add the records from rs1 to rs2 one at a time. 6. close rs1. 7. use rs2 as you wish I have developed a small program in VB which you can refer & transpose to VC++. The database is an access database with a single table "table1" with fields - No Autonumber Name Text(50) =================================================== ActiveX dll =================================================== Option Explicit Dim conn As New ADODB.Connection '''''''''''''''''''''''''''''''' Private Sub Class_Initialize() conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\1.mdb;Persist Security Info=False;" End Sub Public Function GetRsData() As ADODB.Recordset Dim rs As New ADODB.Recordset rs.Open "table1", conn, adOpenStatic, adLockReadOnly, adCmdTable Set GetRsData = rs End Function ======================================================================== ======================================================================== The Client Executable ======================================================================== 'A simple form with a single button placed & code for button click event Private Sub Command1_Click() Dim cls As New Class1 Dim rs1 As New ADODB.Recordset Set rs1 = cls.GetRsData Dim rs2 As New ADODB.Recordset rs2.Fields.Append "No", adInteger rs2.Fields.Append "Name", adVarChar, 50 rs2.Open "", , adOpenDynamic, adLockOptimistic, adCmdUnknown Do Until rs1.EOF rs2.AddNew rs2("No").Value = rs1("No").Value rs2("Name").Value = rs1("Name").Value rs2.Update rs1.MoveNext Loop rs1.Close Set rs1 = Nothing rs2.MoveFirst Do Until rs2.EOF MsgBox rs2(0) &

    C / C++ / MFC help database sysadmin

  • Disconnected Recordset
    M Mangesh Sardesai

    Hi, What DB are you using? I got similar problem with ACCESS Database, But an attempt with SQL Server database was successful. regards Mangesh Sardesai.

    C / C++ / MFC help database sysadmin

  • Salary Range
    M Mangesh Sardesai

    Hi everybody, Taking into consideration - - MCP / MCSD certifications - An IT-experience of over 2 years and overall experience of 5 years - Possession of Masters Degree. Can any one let me know about the salary range that one can expect for an permanent VB/ASP/SQL job in New Zealand ? Regards. MS. P.S :- It will be nice idea to have the salary comparision chart for the different locations / nature of jobs / experience on this site.

    The Lounge career database mcp question

  • Vb programming, Tree view control
    M Mangesh Sardesai

    Use the split function to get the variant array of the values entered in the textbox.the child nodes can be added for the existing child node by using this array.

    Visual Basic question data-structures

  • VB
    M Mangesh Sardesai

    To the best of my knowledge this cannot be done. The font set in the Menu item, in display properties is used by the system.

    Visual Basic

  • Scrolling Window Content
    M Mangesh Sardesai

    Hi everyone, First let me confess that I am a VC++ dummy. :confused: I am stuck up in a project where i want to display the text / graphics in a window and require to implement to the scrolling (a CWND BASED CLASS and NOT A CVIEW BASED CLASS, we are not using a Doc-View architecture ). :confused: Can anyone illustrate the code with explanation? OR Can anyone direct me to a good tutorial on scrolling the content in a window? Mangesh

    C / C++ / MFC c++ graphics architecture help tutorial

  • Scrolling the window content
    M Mangesh Sardesai

    Hello everyone, :confused: I am trying to display the content that is too large for a window (CWnd derived class). So I need to implement the scrolling functionality.I dont want to use the built-in MFC view classes as i am not using DV- arch. Can any one help me out about how to implement the scrolling? Also can any one let me know about 'clipping' & its implications & implementation? thanks, Mangesh

    Article Writing c++ help 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