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

anufabian

@anufabian
About
Posts
19
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Smart Tag Creation
    A anufabian

    I want to create a smart tag application using the Word Document project in .Net 2.0. The problem I should be able to show the smart tag when the user types on the word doc. Any help would be appreciated

    COM help csharp

  • Encryption in asp.net c#
    A anufabian

    Please follow this link and register the Capicom.dll in your system32 . this link gives u a download of the same http://www.microsoft.com/downloads/details.aspx?FamilyID=860ee43a-a843-462f-abb5-ff88ea5896f6&DisplayLang=en[^]

    ASP.NET

  • Encryption in asp.net c#
    A anufabian

    I suppose u have ur solution opened in front of u , You will be able to see a references folder , right click , add reference . Click on the COM tab and there look for Capicom. select the same and then it will appear in the references folder in ur solution. Now in ur page add the line using Capicom. Is it ok now

    ASP.NET

  • Capicom dll- require clarification urgently
    A anufabian

    I am using capicom and doing the encryption , the algorithm is 3DES. I am encryting a value and using this value I am doing an encryted login to a site. I have set the source of the iframe as this url , in which the encrypted value is passed as a query string. My problem is , I am able to view the page some times and other insatnces I get a "Page Cannot be displayed " message i.e. Error 404 . Is this due to some problem in encrytion or decrytion. Or is it due to something that is related a .Net while doin an encrypted login. I am not sure how to trace at who's end the problem is. Have any body faced a problem like this, please help Thanks in advance

    COM

  • Encryption in asp.net c#
    A anufabian

    I had written in the first mail itself to add a reference to Capicom in ur solution and then write using Capicom and then u will b able to use this code

    ASP.NET

  • Encryption in asp.net c#
    A anufabian

    string strencrypteddata=""; EncryptedData encryptdata = new EncryptedDataClass(); encryptdata.Algorithm.Name = CAPICOM.CAPICOM_ENCRYPTION_ALGORITHM.CAPICOM_ENCRYPTION_ALGORITHM_3DES; encryptdata.Algorithm.KeyLength = CAPICOM.CAPICOM_ENCRYPTION_KEY_LENGTH.CAPICOM_ENCRYPTION_KEY_LENGTH_MAXIMUM; encryptdata.SetSecret("dasdsads",CAPICOM.CAPICOM_SECRET_TYPE.CAPICOM_SECRET_PASSWORD); encryptdata.Content = "hello"; strencrypteddata = encryptdata.Encrypt(CAPICOM.CAPICOM_ENCODING_TYPE.CAPICOM_ENCODE_BASE64); decryption :::: string strencrypteddata1; EncryptedData encryptdata1 = new EncryptedDataClass(); encryptdata1.Algorithm.Name = CAPICOM.CAPICOM_ENCRYPTION_ALGORITHM.CAPICOM_ENCRYPTION_ALGORITHM_3DES; encryptdata1.Algorithm.KeyLength = CAPICOM.CAPICOM_ENCRYPTION_KEY_LENGTH.CAPICOM_ENCRYPTION_KEY_LENGTH_MAXIMUM; encryptdata1.SetSecret("dasdsads",CAPICOM.CAPICOM_SECRET_TYPE.CAPICOM_SECRET_PASSWORD); encryptdata1.decrypt(strencrypteddata ); Response.Write(encryptdata1.Content);

    ASP.NET

  • Encryption in asp.net c#
    A anufabian

    Dim d As New EncryptedData d.Algorithm.Name = CAPICOM_ENCRYPTION_ALGORITHM.CAPICOM_ENCRYPTION_ALGORITHM_3DES d.Content = "hello" d.SetSecret("23456", CAPICOM_SECRET_TYPE.CAPICOM_SECRET_PASSWORD) Dim textenc As String = d.Encrypt(CAPICOM_ENCODING_TYPE.CAPICOM_ENCODE_BASE64) Response.Write(textenc) Dim d1 As New EncryptedData d.Algorithm.Name = CAPICOM_ENCRYPTION_ALGORITHM.CAPICOM_ENCRYPTION_ALGORITHM_3DES d.SetSecret("23456", CAPICOM_SECRET_TYPE.CAPICOM_SECRET_PASSWORD) d.Decrypt(textenc) Dim textdec As String = d.Content() Response.Write(textdec) Try the above , the value given as string in the function SetSecret is the key I am using , u can use anything. Add a reference to Capicom in ur project and then implement the same

    ASP.NET

  • Capicom encryption - require clarification
    A anufabian

    I am using capicom and doing the encryption , the algorithm is 3DES. I am encryting a value and using this value I am doing an encryted login to a site. I have set the source of the iframe as this url , in which the encrypted value is passed as a query string. My problem is , I am able to view the page some times and other insatnces I get a "Page Cannot be displayed " message i.e. Error 404 . Is this due to some problem in encrytion or decrytion. Or is it due to something that is related a .Net while doin an encrypted login. I am not sure how to trace at who's end the problem is. Have any body faced a problem like this, please help Thanks in advance

    ASP.NET

  • Getting the error : The viewstate is invalid for this page and might be corrupted
    A anufabian

    Thanks harini ur idea worked, Now i want to do something in a work around way. I have an aspx page , on which i have removed the complete parts. on this page I am printing a value from the Session , which contains a form by itself. Now I want to change the action of this form and also submit this form so that I can get the hidden variables of this form on another normal aspx page. could u suggest how to go about with this problem

    ASP.NET javascript html help question

  • Getting the error : The viewstate is invalid for this page and might be corrupted
    A anufabian

    I want to do as it is without any changes as this is the requirement. I do not want to do nay thing in the code behind file.

    ASP.NET javascript html help question

  • Getting the error : The viewstate is invalid for this page and might be corrupted
    A anufabian

    The code below in the HTML is throwing me the above error : WebForm3 function fire() { document.Form1.action = "WebForm4.aspx"; document.Form1.submit(); }

    I am firing the javascript using but1.Attributes.Add("OnClick", "fire();") I want the hidden variable on WebForm4.aspx. How can I get the same

    ASP.NET javascript html help question

  • Invoke Member throwing member not found error for a particular function
    A anufabian

    I am using type.InvokeMember() , for almost 10 other functions , this works perfectly fine. However for 1 particular function it throws me the error "Member not found". Does any body have the idea , what could be the reason.

    ASP.NET help

  • Can Tooltip be used inside a Datagrid
    A anufabian

    you can set the tool tip property of the control. by finding that control in the Item databound event and then assisgning that value as the tool tip. I tried it for a hyperlink, textbox etc , however was not able to get it happwning for a drop down. Can somebody give an idea as to how to make it happen

    ASP.NET help

  • How to create a link to my table content
    A anufabian

    if you know the page earlier then u can try something like this

    Open new page

    If u dont know the page that u have redirect in the design time then , make the href="#", at design and then access the tag in the code behind and then set the href property dynamically.

    ASP.NET question csharp asp-net tutorial

  • Disable all textboxes in a page.
    A anufabian

    I had some what the same problem . Finally I had put the controls in a panel and do something like this Dim ctrls As Control For Each ctrls In Me.Panel1.Controls If TypeOf ctrls Is TextBox Then Dim tb As TextBox tb = ctrls tb.Text = DateTime.Today tb.Enabled = False (instead u can manipulate any property here) End If Next

    ASP.NET help design question

  • Writing XML stored in a string using Respose.Write
    A anufabian

    The above technique did not help me. However I was able to solve the issue by using something like this. Response.Write("" + outputstring + "/xmp>"); This i got it from some one else. However I still dont understand what is the use of <xmp> tag. If possible could you throw some light on this. </x-turndown>

    XML / XSL html xml help tutorial

  • Writing XML stored in a string using Respose.Write
    A anufabian

    I am still getting the same error. The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. -------------------------------------------------------------------------------- Cannot have a DOCTYPE declaration outside of a prolog. Error processing resource 'http://localhost/WebApplication10/WebForm... ----------^ I assume that the line DOCTYPE HTML... is the firsy line written on an aspx page . Is this causing the problem. I tried to save the xml in a file , it works fine. However my requirement is to display the XML on an aspx page , along with the look and feel of XML .

    XML / XSL html xml help tutorial

  • Writing XML stored in a string using Respose.Write
    A anufabian

    It gives me the following error :::: The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. -------------------------------------------------------------------------------- Cannot have a DOCTYPE declaration outside of a prolog. Error processing resource 'http://localhost/WebApplication10/WebForm... ----------^

    XML / XSL html xml help tutorial

  • Writing XML stored in a string using Respose.Write
    A anufabian

    I have some XML tags stored in a string. This data is obtained through remoting. I want the same to be displayed on an HTML page by using a Respose.Write. When I do a Response.write of the string then it loses its XML format and just displays as string alone. Could I know how to display the same in XML format itself. I tried using REsponse.ContenType = "text/xml", But this is giving me an error

    XML / XSL html xml 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