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
anufabian
Posts
-
Smart Tag Creation -
Encryption in asp.net c#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[^]
-
Encryption in asp.net c#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
-
Capicom dll- require clarification urgentlyI 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
-
Encryption in asp.net c#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
-
Encryption in asp.net c#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);
-
Encryption in asp.net c#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
-
Capicom encryption - require clarificationI 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
-
Getting the error : The viewstate is invalid for this page and might be corruptedThanks 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
-
Getting the error : The viewstate is invalid for this page and might be corruptedI 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.
-
Getting the error : The viewstate is invalid for this page and might be corruptedThe 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
-
Invoke Member throwing member not found error for a particular functionI 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.
-
Can Tooltip be used inside a Datagridyou 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
-
How to create a link to my table contentif you know the page earlier then u can try something like this
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.
-
Disable all textboxes in a page.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
-
Writing XML stored in a string using Respose.WriteThe 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>
-
Writing XML stored in a string using Respose.WriteI 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 .
-
Writing XML stored in a string using Respose.WriteIt 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... ----------^
-
Writing XML stored in a string using Respose.WriteI 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