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

Abhishek Joshi

@Abhishek Joshi
About
Posts
39
Topics
32
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Problems in implementing WebBrowser control
    A Abhishek Joshi

    Hi I have developed an application using WebBrowser control under the .Net 2.0 framework which enables the user to navigate Web pages inside the form.. In this application the user visits web-sites in WebBrowser control. Whichever sites he is visiting I am recording all sites along with PostData, Url and Frame information in the XML file. Before navigating the following event is raised up and in that event I am saving the navigation information in XML file. Protected Friend Sub OnNavigatingExtended(ByVal Url As String, ByVal Frame As String, ByVal Postdata As Byte(), ByVal Headers As String, ByRef Cancel As Boolean) Dim e As WebBrowserNavigatingExtendedEventArgs = New WebBrowserNavigatingExtendedEventArgs(Url, Frame, Postdata, Headers) 'Save data to XML file if not in Replay mode. If recordFlag = True Then Dim xFunctions As New XMLFunctions stepNo = xFunctions.WriteRequest(stepNo, Url, Frame, e.PostdataToString(Postdata), Headers, Cancel.ToString) 'This is fucntion is written in another class and it stores the information into XML file. End If RaiseEvent NavigatingExtended(Me, e) Cancel = e.Cancel End Sub But unfortunately the above event is not raised in following scenarios and because of that I am not able to store these steps in XML.

    1. When user is downloading any file from the web-page displayed in the WebBrowser control.
    2. If user is visiting the pages and doing steps within same page,
      ie. He is navigating such that the page remains same only the data in frames of the page changes.

    I’ve kept option to replay the user’s visits. If user wants to see the pages he has visited then he can replay the websites using Replay button. But for above two cases it is not displaying those steps in replay. Please tell me what can be the remedy for these problems.

    Abhishek J

    Visual Basic csharp xml

  • Questions related to WebBrowser control
    A Abhishek Joshi

    Hi I have developed an application using WebBrowser control. In this application the user visits web-sites in WebBrowser control. Whichever sites he is visiting I am recording all sites along with PostData, Url and Frame information in the collection object. I’ve kept option to replay the user’s visits. If user wants to see the pages he has visited then he can replay the websites using Replay button. But I am facing the problems while replaying in following scenarios.

    1.If user is visiting the pages and doing steps within same page, ie. He is navigating such that the page remains
    same only the data in frames of the page changes. In this case during replay only the page is displayed
    while the steps user has done are not displayed.
    2.If user is downloading any file from website then while replay that download-file step is not replayed.

    Please tell me what can be solution for these problems.

    Abhishek J

    Visual Basic

  • Quicken Interchange Format
    A Abhishek Joshi

    Hi, Does anyone have some code or a class file that parses Quicken Interchange Files. I am looking to parse the files and extract information I need.

    Abhishek J

    ASP.NET

  • Third party authentication [modified]
    A Abhishek Joshi

    Hi , I am trying 3rd party authentication in my web application. I am trying to use Google, Yahoo, AOL authentication providers. These authentication processes I am using to authenticate my application. I've done authentication for GMAIL. In this authentication I've done following steps

    1.Registered in GMAIL and mentioned destination page for remote authentication.
    2.Used URL of Gmail authentication in my code and redirected to it
    3.After entering correct credentials I retrieve TOKEN
    4.Extract this TOKEN in destination page which I've mentioned in 1st step and with that Token I am calling Web service of GMAIL and retrieve User Details form it and showing on that page.

    It is working fine for GOOGLE but from nowhere I am getting process/steps of how to use third party authentication for OPENID. Please tell me if you know how to authenticate it.

    Abhishek J

    ASP.NET security tutorial

  • COMException while opening MS-Word files using APIs
    A Abhishek Joshi

    Hi, Thanks for reply. I have same version of Word installed that is Word 2003. Just OS are different.

    Abhishek J

    C# help com sysadmin windows-admin json

  • COMException while opening MS-Word files using APIs
    A Abhishek Joshi

    Hi, I am facing problem of COMException while opening MS-Word files on
    Windows Server 2003. I am refering Interop.Word.dll for opening MS-Word files to count the
    number of words from it. I am using following API to open the doc files.

    Word.ApplicationClass wordApp = null;
    Word.Document aDoc = null;
    aDoc = wordApp.Documents.Open(ref fileName, ref missing, ref readOnly, ref missing, ref missing, ref missing,
    ref missing, ref missing, ref missing, ref missing, ref missing, ref isVisible,
    ref missing, ref missing, ref missing, ref missing);
    aDoc.Activate();

    If I deploy above code on
    Windows 2000 professional then it works without error but if I deploy same code on Windows Server 2003 then I get following exception.

    System.Runtime.InteropServices.COMException (0x800A1066): Command failed at
    Word.Documents.Open(Object& FileName, Object& ConfirmConversions, Object& ReadOnly, Object& AddToRecentFiles,
    Object& PasswordDocument, Object& PasswordTemplate, Object& Revert, Object& WritePasswordDocument,
    Object& WritePasswordTemplate, Object& Format, Object& Encoding, Object& Visible,
    Object& OpenAndRepair, Object& DocumentDirection, Object& NoEncodingDialog, Object& XMLTransform)

    Is there is other way to overcome this bug? -- modified at 2:41 Saturday 19th May, 2007

    #Abhi#

    C# help com sysadmin windows-admin json

  • Problem while opening MS-Word files using APIs
    A Abhishek Joshi

    Hi, I am facing problem of COMException while opening MS-Word files using on
    Windows Server 2003. I am refering Interop.Word.dll for opening MS-Word files to count the
    number of words from it. I am using following API to open the doc files.

    Word.ApplicationClass wordApp = null;
    Word.Document aDoc = null;
    aDoc = wordApp.Documents.Open(ref fileName, ref missing, ref readOnly, ref missing, ref missing, ref missing,
    ref missing, ref missing, ref missing, ref missing, ref missing, ref isVisible,
    ref missing, ref missing, ref missing, ref missing);
    aDoc.Activate();

    If I deploy above code on
    Windows 2000 professional then it works without error but if I deploy same code on Windows Server 2003 then I get following exception.

    System.Runtime.InteropServices.COMException (0x800A1066): Command failed at
    Word.Documents.Open(Object& FileName, Object& ConfirmConversions, Object& ReadOnly, Object& AddToRecentFiles,
    Object& PasswordDocument, Object& PasswordTemplate, Object& Revert, Object& WritePasswordDocument,
    Object& WritePasswordTemplate, Object& Format, Object& Encoding, Object& Visible,
    Object& OpenAndRepair, Object& DocumentDirection, Object& NoEncodingDialog, Object& XMLTransform)

    Please tell me solution for it. -- modified at 2:43 Saturday 19th May, 2007

    #Abhi#

    ASP.NET help com sysadmin windows-admin json

  • Problem of counting words from files [modified]
    A Abhishek Joshi

    Hi, I am facing problem of counting words for .doc or .txt files. I am using following methods , 1.

    aDoc = wordApp.Documents.Open(ref fileName, ref missing, ref readOnly, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref isVisible, ref missing, ref missing, ref missing, ref missing);
    aDoc.Activate();
    aDoc.Select();
    int WCnt = aDoc.Content.Words.Count;

    aDoc = wordApp.Documents.Open(ref fileName, ref missing, ref readOnly, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref isVisible, ref missing, ref missing, ref missing, ref missing);
    aDoc.Activate();
    aDoc.Select();
    string ToCount = aDoc.Content.Text;
    int RCount = ToCount.Split('\r').Length;
    int WCnt = ToCount.Split(' ').Length + RCount;

    Still it is not counting words properly. Please tell me proper method to count the words in .doc or .txt file correctly.

    #Abhi#

    C# help

  • How to count Words fom .doc or .txt files?
    A Abhishek Joshi

    Hi, I am facing problem of counting words for .doc or .txt files. I am using following methods , 1. aDoc = wordApp.Documents.Open(ref fileName, ref missing, ref readOnly, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref isVisible, ref missing, ref missing, ref missing, ref missing); aDoc.Activate(); aDoc.Select(); int WCnt = aDoc.Content.Words.Count; 2. aDoc = wordApp.Documents.Open(ref fileName, ref missing, ref readOnly, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref isVisible, ref missing, ref missing, ref missing, ref missing); aDoc.Activate(); aDoc.Select(); string ToCount = aDoc.Content.Text; int RCount = ToCount.Split('\r').Length; int WCnt = ToCount.Split(' ').Length + RCount; Still it is not counting words properly. Please tell me proper method to count the words in .doc or .txt file correctly. :confused:

    #Abhi#

    ASP.NET help tutorial question

  • About virtual directory
    A Abhishek Joshi

    Hi I have done sub folders in my Web Application, due to it I am getting compile time error as follows - "It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS" I've also created virtual directory for this sub folder, but still problem is there. What to do in this case ?:omg:

    #Abhi#

    ASP.NET help windows-admin question

  • about threading
    A Abhishek Joshi

    Hi all I created a thead and textbox in a class and try to set value of textbox from another created thread. But error comes that Resources held by main thread as TextBoxes are held by main thread. What to do in this case? :confused:

    #Abhi#

    C# help question

  • Framework compatibility problem [modified]
    A Abhishek Joshi

    Hi, My application is running on framework 1.1 with no problems, but when I change the framework and make it 2.0 then application is not working properly. Some javascript part is not running also some pages are not displaying due to configuration error. Can you please inform me how to solve these framework compatibility bugs? -- modified at 23:50 Tuesday 6th February, 2007

    #Abhi#

    .NET (Core and Framework) help javascript tutorial question workspace

  • Framework compatibility
    A Abhishek Joshi

    Hi, My application is running on framework 1.1 with no problems, but when I change the framework and make it 2.0 then application is not working properly. Some javascript part is not running also some pages are not displaying due to configuration error. Can you please inform me how to solve these framework compatibility bugs? :confused::confused:

    #Abhi#

    ASP.NET javascript help tutorial question workspace

  • Problem of ViewState
    A Abhishek Joshi

    Hi, I want to store ViewStates ViewState.Default, ViewState.BrowserOnly, ViewState.AvatarOnly, ViewState.TextOnly in the variables. Eg. if(this.ViewState == ViewState.TextOnly) { ViewState V1 = ViewState.TextOnly; } But I am not able to find the namespace and assembly for 'ViewState' class. What to do in this case ?

    #Abhi#

    ASP.NET help question

  • problem of storing data in the session
    A Abhishek Joshi

    I’ve added namespace System.Web.Security in the forms of my application. I use it for Forms Authentication functionality. Because of it, while redirection to another page the information stored in the session is deleted. I’ve also used method of FormsAuthentication class to redirect to another page. Still it is not storing data in the session. Please tell me the solution on this. :confused::confused:

    #Abhi#

    ASP.NET security help

  • Adding Data in Treeview from database
    A Abhishek Joshi

    Hi Try this - Define your chile node inside while loop and fill it and after it add to root node. :->:->:->

    #Abhi#

    ASP.NET database help data-structures

  • Adding Data in Treeview from database
    A Abhishek Joshi

    Include Microsoft.Web.UI.WebControls.dll in your project. For runtime addition of nodes for TreeView control do following steps //On aspx page register TreeView as <%@ Page language="c#" Codebehind="TreeControl.aspx.cs" AutoEventWireup="false" Inherits="UserControlApplication.TreeControl" %> //Treeview Control //Add the root node for User Control Tree1 in .cs file TreeNode tNode = new TreeNode(); tNode.Text="Root"; tree1.Nodes.Add(tNode); //Add Child Node to root node tNode TreeNode tChileNode1 = new TreeNode(); tChileNode1.Text = str;//This string is the information retrieved form database tNode.Nodes.Add(tChileNode1);

    #Abhi#

    ASP.NET database help data-structures

  • How to fetch data from database in Tree view
    A Abhishek Joshi

    Include Microsoft.Web.UI.WebControls.dll in your project. For runtime addition of nodes for TreeView control do following steps //On aspx page register TreeView as <%@ Page language="c#" Codebehind="TreeControl.aspx.cs" AutoEventWireup="false" Inherits="UserControlApplication.TreeControl" %> //Treeview Control //Add the root node for User Control Tree1 in .cs file TreeNode tNode = new TreeNode(); tNode.Text="Root"; tree1.Nodes.Add(tNode); //Add Child Node to root node tNode TreeNode tChileNode1 = new TreeNode(); tChileNode1.Text = str;//This string is the information retrieved form database tNode.Nodes.Add(tChileNode1); :-D

    #Abhi#

    ASP.NET csharp database visual-studio data-structures regex

  • Fire Server Side Function from Client Side Code
    A Abhishek Joshi

    In Javascript code just submit your page eg. Form1.submit(); So that your page will get reloaded and contents of web controls will remain as it is due to view state. In page Load event code do further processing.

    #Abhi#

    ASP.NET question csharp java sysadmin

  • Related to &quot;Customer Relationship Management&quot; [modified]
    A Abhishek Joshi

    Hi All, I've done a project "Sales force automation". Still I want to make deep study of whole CRM. Is there any set of standards to prepare the CRM projects. :-> -- modified at 7:05 Thursday 12th October, 2006

    Regards #Abhi#

    IT & Infrastructure sales testing tools
  • Login

  • Don't have an account? Register

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