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

Sunil Shindekar

@Sunil Shindekar
About
Posts
19
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Saving PDF on local hard disk which is read by browser control
    S Sunil Shindekar

    I am afraid I can not use it. Becuase I don't have to use only the URL. Following is the flow of my program. 1) My application open a web page in WebBrowser control after sending some URL , say www.xx.com (using Navigate method) 2) The opened web page(www.xx.com) has fields like Name, Address, SSN. My application fills this information in the browser window programatically and clicks on one link in the same web page (this is also programatically) 3) on clicking the link, the filled infomration gets submitted and at the server end(of www.xx.com) it processes entered name, address and SSN and generates one PDF file. This PDF file gets opened in my browser(webbrowser) window. 4) This opened PDF, I want to save on the hard disk programatically without having to click manually on the save icon of the embedded acrobat reader. I am unable to achieve step 4.

    Visual Basic csharp visual-studio

  • Saving PDF on local hard disk which is read by browser control
    S Sunil Shindekar

    Hi, I am writing program VB.Net (using Visual studio 2005). In this program, I am using browser control to send request on the internet. In responce to the request, one PDF file gets opened in the browser automatically. I want to save this PDF file on the hard disk. To do this, I think my program should be able to read the downloaded file in response to my request. Is there any way by which I can do this. Thanks in advance. Regards, Sunil

    Visual Basic csharp visual-studio

  • auto entering the text in browser
    S Sunil Shindekar

    I have one web based application. Assume it's URL is www.xx.com. It accepts some information like Name, Address, SSN. I am also using one third party web based application, say www.yy.com. The data entered in www.xx.com gets stored in my application. After saving it, I have to enter the same data on www.yy.com to get the more information about the person. I don't want to enter the same infomration in my web application i.e. www.xx.com and again enter it in www.yy.com. Is it possible that whatever data is entered in www.xx.com, will automatically get entered in the text boxes of www.yy.com using javascript or any other technique? Thanks in advance.

    Web Development javascript com question

  • Convert char* to CString
    S Sunil Shindekar

    _base = m_userName.GetBuffer or _base = new char[] strcpy(_base, m_userName.getbuffer)

    C / C++ / MFC help tutorial

  • Files related
    S Sunil Shindekar

    Try using GetBuffer() function for the CString objects in the fprintf statement?

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

  • Files related
    S Sunil Shindekar

    What is the data type of m_Username and m_Password?

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

  • fclose(f_ptr2) - "Access Violation or memery can not be read"
    S Sunil Shindekar

    GetBuffer returns the pointer to the memory which is enough to store the current string assigned to the CString object. You are using the same pointer to read the data from the file. If the data is too large to store in the currently allocated memory for the pointer by the CString, then there will be memory overrun. It can cause overwriting the values of other memory locations which may or may not include file pointer also or FILE structure also.

    C / C++ / MFC help debugging

  • fclose(f_ptr2) - "Access Violation or memery can not be read"
    S Sunil Shindekar

    I think this statement might have the problem. fscanf( f_ptr2,"%s %s %s\n",buffer,buffer,fname[ii].GetBuffer(MAX_PATH)); Here one of the pointer is taken using GetBuffer of CString. I think it is not the correct way of geting the pointer of CString memory and copying value in it like character array. Taking the value in character array and then assigning it to CString might be better option. Something like this. char sTemp[500]; fscanf( f_ptr2,"%s %s %s\n",buffer,buffer, sTemp); fname[ii] = sTemp;

    C / C++ / MFC help debugging

  • Memory allocation related query
    S Sunil Shindekar

    Yes. I have to explore distributing the workload on multiple machines using web farming if the 2 GB limitation could not be overcome. However I am trying to avoid it as it will add up the cost.

    C / C++ / MFC csharp database visual-studio game-dev performance

  • Memory allocation related query
    S Sunil Shindekar

    I think only Vista (Amongst microsoft OS) is 64 bit OS. And I heard that it has problems. So I am try to avoid it. So much memory is required becuase it is multiuser application and each user can fetch upto big set of data in memory for processing. So even if one user takes 20 MB, then 100 simultaneous users can occupy 2 GB.

    C / C++ / MFC csharp database visual-studio game-dev performance

  • Memory allocation related query
    S Sunil Shindekar

    If it can be changed, then it is great. Can you please let me know when you remember it? Is it achieved by changing the compiler option? Or changes required are in registry etc?

    C / C++ / MFC csharp database visual-studio game-dev performance

  • Memory allocation related query
    S Sunil Shindekar

    But I even tried increasing the PF size to 6.5 GB from 4 GB. Still my program was giving 'memory full' error after using approximately 2.8 GB of PF.

    C / C++ / MFC csharp database visual-studio game-dev performance

  • Memory allocation related query
    S Sunil Shindekar

    I have written one small program in Visual Studio 6.0 which just goes on allocating the memory using 'new' operator. My thinking was that it will give 'memory full' error once all the physical memory and page file memory is full. So I executed the program nad start observing the Task Manager. As the program is executing, the task manager was showing reduced available size of the physical memory. Once the physical memory is full, it start showing higher PF Usage. When my program game me the 'Memory full' error, the PF usage was just 2.8 GB. My PF size is 4 GB. So still 1.2 GB was unused. Why should the program give 'Memory full' error when there is still 1.2 GB available. My physical memory (RAM) is 512 MB. Any idea why is it so? Following is the program. int main(int argc, char* argv[]) { double dMemAllocated=0; char *c[64003]; char *s[64003]; int i=0; while (1) { try { c[i] = new char[40*1024]; s[i] = new char[40*1024]; if(i > 64000) break; if((c[i] == NULL) || (s[i] == NULL)) { cout << "Memory full. Memory Allocated = " << dMemAllocated; getchar(); } cout << i++ << "\n"; } catch(...) { cout << "Memory Allocated = " << dMemAllocated; getchar(); } dMemAllocated += 80*1024; } cout << "Memory Allocated = " << dMemAllocated; getchar(); return 0; }

    C / C++ / MFC csharp database visual-studio game-dev performance

  • Modifying inbound HTML
    S Sunil Shindekar

    Hi, I wrote the program as mentioned above. However I used the event DocumentComplete instead of DownloadComplete. It is working fine if new URL is given in the browser window. But if Refresh button of browser is clicked, then DocumentComplete event is not getting fired. However DownloadComplete event is getting fired. But DownloadComplete event does not give me the WebBrowser object for which the event is fired as it is available in the DocumentComplete event. Is there any way in this function to get the instance of WebBrowser from which this event is fired? Thanks in advance. Regards, Sunil

    C# csharp c++ html linux tutorial

  • IE loading event
    S Sunil Shindekar

    Hi, Thanks for your solution. But won't it slow down the system running this code every 100 milliseconds? Regards, Sunil

    C# csharp

  • IE loading event
    S Sunil Shindekar

    Hi, I want the details of IE window as soon as IE window is opened either by double clicking from Desktop icon or from Start menu. So is there any event which gets fired when the IE window is opened which I can capture in my program. My program will be a Windows service written in C#. Please let me know how it can be done. Thanks in advance. Sunil

    C# csharp

  • Modifying inbound HTML
    S Sunil Shindekar

    Hi Marcel, Thank you for your reply and sample code. I have one more query. I want to create a toolbar for the Internet Explorer which will have controls like drop down and push buttons. I need to write the program in C#. Can you give me some direction in this regard? Thanks in advance. Sunil

    C# csharp c++ html linux tutorial

  • Modifying inbound HTML
    S Sunil Shindekar

    Hi, I have some more doubts. As I am novice to all these things, please excuse me if I am talking some non sense. As per my understanding, above solution assumes that the IE control is embedded in the application. In my case, IE will be invoked from Desktop and I want to capture any HTML which is loaded in that the browser loaded from Desktop. The HTML also might not be mine. It can be loaded by giving any URL like www.google.com or www.msn.com etc. So do I have to get the instance of the Internet Explorer which is invoked from Desktop? If yes, how to get the instance of it? Thanks, Sunil

    C# csharp c++ html linux tutorial

  • Modifying inbound HTML
    S Sunil Shindekar

    Hi, I want to write a program which will modify the inbound HTML in the IE 6.0. It will capture the inbound HTML before it gets displayed, make some modifications in it and display it in the IE. Can anybody tell me how to achieve this? The typical flow will be - User will enter the URL in the Internet explorer Address Bar. The incoming HTML will be read by my program before it gets displayed. My program will modify some strings - say phone numbers in it and display the modified HTML. Technology is not a restriction. I am ready to use VC++ or .NET. Do I have to use shell Extension? If yes, which interface/event will be helpful? Thanks in advance. Regards, Sunil

    C# csharp c++ html linux 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