|
paste the text of your document , into html page on VS2005
When you get mad...THINK twice that the only advice
Tamimi - Code
|
|
|
|
|
How is the text formatted? In HTML, a .doc file......
|
|
|
|
|
Thanks for the reply. the solution given by tamimi didn't work.
say I have a bunch text containing combination Bold,Italic and other various font letters, which is formatted using a MS word. Now i want display it in the web Page. but for putting in HTML page we need manually have to edit text right. eg. if you want to display the text in bold, the text must be sorrounded by tags, right. This is what iam asking is it possible to generate these tags automatically by detecting the formats which ever used in the document. (it includes even tables too.)
Thanks
Srini
|
|
|
|
|
MS Word has an option to save a HTML.
modified 29-Aug-18 21:01pm.
|
|
|
|
|
Yes but its tag soup. The Microsoft .doc format is a jumbled binary mess and they don't give away its specs for free (thats if they even know the specs any more).
Your options depend on how your trying to do this, server-side? in what language? If your working with .NET and can have Word installed along side the web server you can use its interop libraries to save the file as XML and perform an XSLT transformation to turn it into clean HTML (it is possible, I got a degree doing it!). This of course also assumes you can use Office 2003.
|
|
|
|
|
Hi!
Just one question. I'm writing a web service client in .NET with C#. In order to use this ws's operations the client must be authenticated by providing a registered certificate to the server.
Until recently I was convinced that this was done by just using the ClientCertificates.Add() of the object describing the web service. I didn't notice, though, that I've also had that certificate installed in the Internet Explorer Certificate Store. When I removed from there the service authentication stopped working for me, raising an exception with the following message:
"The request failed with HTTP status 400: No client certificate chain in this request."
Question: Is it imperative to install the certificate in the local IE Store??
Thanks in advance.
-- modified at 9:13 Thursday 1st March, 2007
|
|
|
|
|
Hi,
We've some code that spits out an html table from our application and opens it within excel. One of our clients has recently been having a problem with date formats (operations in different regions of the world).
We changed our code to output all the dates in the format dd mmm yyyy (e.g. 31 Mar 2006), they've come back with a problem that our report is fine for the first couple of hundred lines in excel, the date columns are correctly formatted as dates, but after that line, all the date formatting is lost, and just displayed as 'text'. It's also impossible to change the cell format back to date...
(the line the format is lost on has identical dates in many cases to the previous line...)
Anybody ever seen anything like this? I'm stumped...
|
|
|
|
|
Hi
Mine too had the same problem....
Are you retrieving data from SQL Server 2000??
It is better to convert date fields to nvarchar using SQL convert() function.
Ex. convert(nvarchar(12), DateTimeField,101)
Rate this message. Thank you. Harini
|
|
|
|
|
Ok - converting the output to nvarchar solved your problem? I'll give that a go...
|
|
|
|
|
Hi all
I have written a Web service that performs quite well. One of the Webmethods allow me to set a connection string in the web config file so that I can connect to my SQL DB. This web methode will only work if I add the user group "everyone" to the security settings of the web.config file in my InetPub folder for the web service.
How can I get my application to install this setting so that we I install the web service at a client that the security setting are setup automatically.
Regards
|
|
|
|
|
Hi all =)
I need to write a script that allows the user to upload several files to the server, but I really wan't to avoid uploading them one by one, as they could be up to 400! =S
I'm wondering if any of you guys knows a way of uploading entire directories (this would be ideal!) to the server.
best regards
hint_54
|
|
|
|
|
but, what kind of web application are you development?, desktop application with web functions or asp page?, if is asp web i know (i don't reallity sure) what this not access to local files because security rasons, but if is a desktop application well you should make use of ftp services.
In this case, make a remote dir, then upload *.* files in binary mode y this must work.
Greetings from Mexico
-----------------------
Cuando salga el sol, no estare aqui...
|
|
|
|
|
It's a web site =)
It's supposed to go online publicly, but the part that will allow file submissions is for admin only, so i'm thinking of writting a script for the client side too that creates a form for file submissions, this way (because i'm running on the client side) I can browse the drives.
hint_54
|
|
|
|
|
haggenx wrote: local files because security rasons
I believe it is spelled: "raisins"
Brad
Australian
- Christian Graus on "Best books for VBscript"
A big thick one, so you can whack yourself on the head with it.
|
|
|
|
|
Hi All.
Got a downloading problem (sorry if its in the wrong place).
I try to download a csv from a site in IE7 and it opens it as an embedded Excel spreadsheet when I want to save the file. When I click on Save As it tells me the page may not save properly.
I've tralled the settings but I couldn't find any setting to change.
How can I save this file to my hardrive!!!
Many Thanks
The FoZ
|
|
|
|
|
Haven't yet tried IE 7. How about any option like 'Save Target As ...'?
|
|
|
|
|
Cant find that option anywhere. There is a button on the screen that you press but that does not have any options.
Any other ideas? Or shall I use Firefox?
The FoZ
|
|
|
|
|
TheFoZ wrote: Or shall I use Firefox?
|
|
|
|
|
Sorted it.
Goto folder options in Windows Explorer and file extensions. Select excel and untick the browse in same window option.
Cheers
The FoZ
|
|
|
|
|
My web site (ASP) fails to execute any "SQL update queries"
when I install it on NTFS volume.
The error message is "Operation must be an updatable query".
I tried setting both Read/Write permissions on my virtual directory but there is no success. My database is not read only.
There is no such problem when I install my web site on a FAT drive.
Is there any security settings or User configurations that I have to set for NTFS volume?
Please help me.
|
|
|
|
|
Which database are you using?
|
|
|
|
|
I am using MS Access 4.0 database and ADO to connect to it
but there is a problem mentioned above.
B2C
|
|
|
|
|
Under which account is the web site running, and does this account has write rights to the mdb file, and create rights on the directory?
Wout Louwers
|
|
|
|
|
I am using MS access 4.0 datbase and ADO to connect to it
but there is a problem mentioned above.
B2C
|
|
|
|
|
You have to change the file permission for the file, not for the virtual directory. The write permission on the virtual directory decides what IIS allows external users to do, not what the file system allows IIS to do, so that setting should definitely not be enabled.
The FAT file system doesn't support permissions at all, that's why permissions is not a problem on a FAT drive.
---
single minded; short sighted; long gone;
|
|
|
|