|
In addition to being just being normally impossible because of the vast number of formats in existence (many of which containing data that would not make sense in PDF form), it is also fundamentally impossible. What if anyone makes a new format? That problem can not be solved, and new formats are being made probably every day, maybe even more often.
|
|
|
|
|
I mean word document to pdf and text to pdf without using any converter.
|
|
|
|
|
If you're not using a converter, how will anything get converted?
|
|
|
|
|
We have third party tools right.I think by using those we can.But i donno how to..iTextsharp is a third party tool for converting to pdf format.
|
|
|
|
|
Ok, but AFAIK it's not a converter. Anyway, what is your question?
|
|
|
|
|
My task is to upload E-Books.I mean if client uploads any format of book to my server it should be converted to pdf internally.That means I have to convert different formats to pdf internally using .net code.Its not so easy so, i want to use third party tools.But I dont have any idea.
|
|
|
|
|
What if you print them to a PDF printer? Most book formats should be printable..
That's just an idea though, I have no idea what would be the best solution.
|
|
|
|
|
There's an article on iTextSharp[^].
You said that you're currently converting to PDF with the Google webservice, you'd just need to replace that part.
I are Troll
|
|
|
|
|
Google webservice is nothing but in which format we upload, it will display in that format.For example,if i upload word document it will open word document.But i want to convert to pdf.
To know what is google docs,Once you open your gmail account and if you get any attached document just open it once,that document will be opened in another window which is noting but google docs.Is conversion possible?
|
|
|
|
|
sunithaganugu wrote: Is conversion possible?
As suggested before you can either write a program to do the conversion for you, using iTextSharp or similar third party library, or use one of the many PDF printer drivers to create the PDF files.
It's time for a new signature.
|
|
|
|
|
Just a thought - how are you going to deal with the DRM on most ebook formats?
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Hi,
Yesterday i have few conversation, as per you suggestion i have an issue. As iam agree to your point iam killing the existing process is not the right way. Kindly give me suggestions and how to over come this issue.
MY ISSUE : When i open my browser which i created in windows application other browser's(IE,FIREFOX...etc) should not get open.
Thanx
krishna
|
|
|
|
|
You would still have to be able to reliably detect which applications are browsers and which aren't.
You are still aiming at the wrong target. It's not the browser, it's the site.
|
|
|
|
|
ok its a site....what is the solution ???
krishna
|
|
|
|
|
A proxy server, as Dave Kreskowiak said yesterday. I know of no other reliable solution.
I just wouldn't try; it's not a worthwhile goal.
|
|
|
|
|
Thanks for your suggestion.
krishna
|
|
|
|
|
Hi,
Using proxy settings i can disable internet connections only right ??. But my requirement is stop booting IE exe file or any other browser exe file. If i click IE shortcut to lunch IE it should popup a message like restricted browsers. Can you help me out from this....
krishna
|
|
|
|
|
krishnavaradharajan wrote: If i click IE shortcut to lunch IE it should popup a message like restricted browsers. Can you help me out from this.
How many times does this have to be said: "There is no way to know which programs are browsers and thus to prevent them from opening". Even if you have a service that recognises IE, FF, Chrome, Opera etc, the user can merely rename his browser or install one whose name you do not know.
It's time for a new signature.
|
|
|
|
|
krishnavaradharajan wrote: Using proxy settings i can disable internet connections only right ??.
You can filter out any sites you want, yes.
krishnavaradharajan wrote: But my requirement is stop booting IE exe file or any other browser exe file.
This is not a valid, or practical, goal at all. You're still enumerating browsers, which you cannot do reliably.
|
|
|
|
|
krishnavaradharajan wrote: my requirement is stop booting IE exe file
Why? Who requires it? What is the desired outcome?
|
|
|
|
|
I have a SUSE linux machine running on the remote end which acts as tcp server.In the past this machine used to accept data over the serial port server, ie a piece of hardware that accepts serial data and converts it into TCP packets. I am trying to write an TCP/IP application to replace the port server.I am able to establish a connection between the linux machine but for some reason as soon as I send a Socket.Connect(remoteip), I am seeing SYN from my machine, SYN/ACK from linux, SYN/ACK from my machine and then SYN,FIN from linux machine and then ACK from my machine. I know that usually for a network communication, its supposed to be a three way handshake only. I see 5 channels of communication though instead of the 3. As soon as I send a packet, the linux machine sends a reset command.
I have something that can simulate what needs to be send to the remote linux machine. I compare my packats from the simulator and the packets I send , and the data packets are exactly the same. On the protocol level, there were some differences. The simulator had timestamps, so I added that using SocketOptions(....multicastdelay,1). The simulator was using a window size of 5480, so I set that using SocketOptions(..) also.
However still the linux machine is sending a reset packet as soon as I send data to it. I know that the linux machine server can accept TCP/IP communication in synchronous mode. I know the details of the what the data payload needs to be from a document and its maching the simulator . Thats all I know and I cannot get more information on it. The machine accepts data from a serial port server and works beatifully.
I am using socket programming and what i do can be summed up by the following three commands. Arguments are missing below but are correct in actual code.
socket.Connect()
socket.Send()
socket.Shutdown()
socket.Closet()
Another thing I noticed is that in Wireshark, when the simulator sends a Connect and when my machine sends a Connect, the TCP/IP options are in different order. The simultors protocol options are NOP,SACK PERMITTED, TIMESTAMP, NOP,WINDOW SCALE while mine are in a different order. I dont know to change the order, and I cant find much information about SACK PERMITTED. seems to be a default. I am programming with Visual Studio 2008 and a windows 7 computer. Any help will be appreciated.
What am I doing wrong? Please help.
Thanks
Jobin Thomas
-- Modified Tuesday, July 27, 2010 11:34 AM
|
|
|
|
|
Are you sending your Data in Network Byte order? Don't know if that is the problem but always a good thing to check with network communications.
|
|
|
|
|
I think I am sending it in the right order because I am matching the simulator. The linux machine is running on an intel i386, so should that matter?.
Thanks
Jobin Thomas
|
|
|
|
|
It is very unlikely that the base protocol is causing your problems as these are tried and tested systems working all around the world every minute of every day. It is much more likely that the sequence of messages that you send to the server are incorrect, in the wrong order, or missing some vital piece of data. I notice in the above that you do a socket.Shutdown() immediately after your socket.Send() whereas I would expect some sort of input message to be received from the Linux server first. In general you would not close your socket until both ends have agreed that the conversation is complete.
It's time for a new signature.
|
|
|
|
|
Thanks for the help. The issue was the stupid linux machine wasnt listening to my I.P address. We had to add some script to make it listen to my I.P.
I should make a point not to doubt TCP/IP again.
Thanks for the help.
|
|
|
|