|
You don't. MD5 is a one-way hash. You cannot get the original string back from the encrypted hash.
|
|
|
|
|
Hi All
I need to develop a C# client able to save a web page given a URL.
The problem I am is that the web pages i.e. the content are rendered by some javascript.
Can you advise me about an easy way to do that?
Thanks
|
|
|
|
|
You don't say in what format you want to 'save' the page.
You may be able to render the page using a System.Windows.Forms.WebBrowser control and use that.
Nick
----------------------------------
Be excellent to each other
|
|
|
|
|
My Page renders a simple HTML table generated automatically by some javascript.
I would like to save the rendered page in HTML format so that I can parse it
or reload it later.
|
|
|
|
|
|
Well
I have just found what I need for my specific purposes; I hope that it fits also yours.
Please have a look at this project The most complete C# Webbrowser wrapper control[^]
Digging and trying I found that this project provides DOM information and is exactly what I need.
I found that you need an active x for accomplish this handling the IHTMLDocument2 class.
PLease look also here column_1[^] and here column_2[^]
|
|
|
|
|
Probably I found what I need to do.
I have to download something called DOM information. For my purpose it would be enough.
Do you know how to do that in C# after a web page was loaded?
|
|
|
|
|
Hi to all.
How can I easily convert HTML to well formed XML? Does anyone has an idea how I can do that? Thank you for your time.
|
|
|
|
|
|
First, since HTML does not conform to XML standards, there is no direct conversion. You'll have to define what you mean by the conversion, what you want converted, and why you think you need this. Perhaps there is another method that will work better than the one your trying.
|
|
|
|
|
hii everyone,
Iam working on TabletPC handwriting synthesis
iam using MICROSOFT.INK SDK
i want to erase specific portion of the ink dynamically
example : i write CAR using my handwriting , I want to erase the alphabet C,R and want to get specific portion of A only
please help me out , how can i erase defined specific portion dynamically without using INK ERASEMODE/DELETE MODE functionality (of stroke selection first den use erase mode), I dont want to do it manually after selection and den usong delete mode
I want to do it Programatically
please help me out
with regards
Amit
modified on Saturday, January 9, 2010 9:02 AM
|
|
|
|
|
Hi,
I need to get !! formatted !! text from pdf file and this text write to HTML.
Exists any dll file or source code for my problem, please?
I tested PDFBox, PDFSharp, PDFReader but I dont have a good result because I need a text with a format (size of text, bold, italic..).
Please, help me.
PS: sorry for my english
|
|
|
|
|
I Add a database to my program in this way :
Right Click on my program in Solution ->Add->Add Existing Item -> Select DB
connectionString :
Data Source=.\\SQLEXPRESS;AttachDbFilename="+Directory.GetCurrentDirectory()+"\\TMC.mdf;Integrated Security=True;User Instance=True
when I select everything is ok
problem :
when I insert,delete,update nothing change in DataBase why?
|
|
|
|
|
SajjadZare wrote: when I insert,delete,update nothing change in DataBase
Are you sure? Ifyou are looking at the data in your application you need to refresh your datasource to see changes. Look directly in the database to see if it has been updated.
Bob
Ashfield Consultants Ltd
Proud to be a Code Project MVP
|
|
|
|
|
It's update at first but when I close the program and run it the record that I inserted dosen't exist
|
|
|
|
|
Did you use commit in your sql?
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
|
It's a sql command that makes db changes (to tables) permanent.
Learn how to use google.
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
check the exception that's being generated.
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
How do you insert, delete and update?
|
|
|
|
|
with procedure and I examined these procedure with other database and these procedure work correctly
|
|
|
|
|
As you added this database file to your project did you maybe select "always copy" on the "copy to output directory" property (I don't know the exact phrase in the english studio for this)?
Because this overrides the "modified" database file with the old one (this will be done every time you build your project).
If so, try to use the setting "only if newer".
Greetings
Covean
|
|
|
|
|
How do you add database to program like this ?
can you tell me step by step ?
|
|
|
|
|
I would do it like to op wrote.
He added the db file <currentdir>\tmc.mdf.
Right Click on my program in Solution ->Add->Add Existing Item -> Select DB<br />
<br />
connectionString :<br />
<br />
Data Source=.\\SQLEXPRESS;AttachDbFilename="+Directory.GetCurrentDirectory()+"\\TMC.mdf;Integrated Security=True;User Instance=True ;
Greetings
Covean
|
|
|
|
|
so in this way I couldn't find this :
<<as you="" added="" this="" database="" file="" to="" your="" project="" did="" maybe="" select="" "always="" copy"="" on="" the="" "copy="" output="" directory"="" property="" (i="" don't="" know="" exact="" phrase="" in="" english="" studio="" for="" this)?
because="" overrides="" "modified"="" with="" old="" one="" (this="" will="" be="" done="" every="" time="" build="" project).
if="" so,="" try="" use="" setting="" "only="" if="" newer"="">>
|
|
|
|