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
K

Krushna Sahu

@Krushna Sahu
About
Posts
13
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Convert any file to PDF
    K Krushna Sahu

    Hi, I’ve a requirement to convert any type of file(.txt, .doc, .html etc) to pdf file. I have a web page ConvertToPDF.aspx. It contains a text box and a button control on it. I’ll type the full path of the file name(let it be C:\krushna.txt) in the text box and hit the button. Then it should convert to krushna.pdf and store in My Document folder automatically. I’m using visual studio 2005. I’ve also Adobe PDF Printer installed in my system and set it as default printer. Also, in the PDF printer the default port is set to My Document\*.pdf Can it be possible with iTextSharp or I need to go for some other method ? Please guide me in this with detail code. Thank you.

    --Krushna Chandra Sahu prfkrushna@gmail.com

    ASP.NET

  • How to run exe file using xp_cmdshell
    K Krushna Sahu

    Yes, I forgot to write there that the exe file does not have a GUI. It will automatically convert the any file to pdf file and save to My Document folder.

    --Krushna Chandra Sahu prfkrushna@gmail.com

    Database database sql-server com sysadmin help

  • How to run exe file using xp_cmdshell
    K Krushna Sahu

    Hello everyone, I've a exe file in C:\. I need to run it from stored proc using xp_cmdshell. Please note that I'm using SQL Server 2000. My stored proc is : Create proc callExe As EXEC master.dbo.xp_cmdshell 'C:\PrintToPDFConsole.exe' After executing this, the output is : NULL Unhandled Exception: System.ComponentModel.Win32Exception: No application is associated with the specified file for this operation at PrintToPDF.Program.Main(String[] args) NULL and the exe file did not run. Please help in this. Also, I've tried with common exe file like 'notepad.exe' like: ALTER proc callExe As EXEC master.dbo.xp_cmdshell 'notepad.exe' When I executed this, the execution is going on and not showing any output. The execution time is more that 10 mins and going on... Then I forcefully closed the isqlw.exe from Task Manager. Is that mean exe file can't be executed in sql server 2000 using xp_cmdshell ?

    --Krushna Chandra Sahu prfkrushna@gmail.com

    Database database sql-server com sysadmin help

  • How to convert any file to .pdf using Adobe PDF Printer ?
    K Krushna Sahu

    Hi Yusuf, Thank you for your reply. I'm not joking. Have you checked the code given? If not, then please check and reply me.

    --Krushna Chandra Sahu prfkrushna@gmail.com

    ASP.NET csharp asp-net com adobe windows-admin

  • How to convert any file to .pdf using Adobe PDF Printer ?
    K Krushna Sahu

    Hi, I've an application developed in ASP.Net to convert any file to pdf file using PDF Printer. In the .aspx page I've kept one button control and in the click event I've written : protected void Button1_Click(object sender, EventArgs e) { try { System.Diagnostics.Process printProcess = new System.Diagnostics.Process(); printProcess.StartInfo.FileName = "E:\\Krushna.doc"; printProcess.StartInfo.Verb = "printto"; printProcess.StartInfo.Arguments = "\"Adobe PDF\""; printProcess.StartInfo.WindowStyle = ProcessWindowStyle.Minimized; printProcess.StartInfo.CreateNoWindow = true; printProcess.Start(); printProcess.Dispose(); } catch (Exception ex) { throw ex; } } I've set the PDF Printer to my default printer. In the properties of the PDF Printer, in the Port tab, I've set the port to "My Document\*.pdf " . It will save the .pdf file to My Document. I'm using ASP.Net 2.0 with IIS 5.1 installed. The issue is : This is working fine while running the application directly(i.e. the Krushna.doc file is converting to Krushna.pdf and save to My Document Folder) . But when the application running from IIS, it is asking to save the pdf file i.e. one save dialog window is opened. But I need to directly save the pdf file to the My Document Folder. Please reply...It is urgent requirment. Thank you.

    --Krushna Chandra Sahu prfkrushna@gmail.com

    ASP.NET csharp asp-net com adobe windows-admin

  • How to know the .net version of a windows application just looking the code?
    K Krushna Sahu

    Thank you...

    --Krushna Chandra Sahu prfkrushna@gmail.com

    C# csharp com help tutorial question

  • How to know the .net version of a windows application just looking the code?
    K Krushna Sahu

    Thank you for reply. Let me make you clear about my problem. Actually I don't know about the version of my existing application. I'm just looking into the code. Can I find something any clue/information while opening the codes in notepad, so that I can know the version like 1.0/1.1/2.0 etc or 2002/2003/2005 like that. Thank you.

    --Krushna Chandra Sahu prfkrushna@gmail.com

    C# csharp com help tutorial question

  • How to know the .net version of a windows application just looking the code?
    K Krushna Sahu

    Thank you for reply. Let me make you clear about my problem. Actually I don't know about the version of my existing application. I'm just looking into the code. Can I find something any clue/information while opening the codes in notepad, so that I can know the version like 1.0/1.1/2.0 etc or 2002/2003/2005 like that.

    --Krushna Chandra Sahu prfkrushna@gmail.com

    C# csharp com help tutorial question

  • How to know the .net version of a windows application just looking the code?
    K Krushna Sahu

    Hi, I have a .net windows application. I just want to know the version of the project just looking to the code. Where can I get some idea about this/ Please help regarding this. Thanks..

    --Krushna Chandra Sahu prfkrushna@gmail.com

    C# csharp com help tutorial question

  • Printing in Crystal Report...need help!!!
    K Krushna Sahu

    Hello there... I have a windows application in C# 2.0. I have used Crystal Report for printing a bill.I have installed a dot matrix printer. So how to set the page setup option so that it'll print till the data is there.(e.g in a shopping mall the bill is printing till the data and after that it stops printing). Its urgent...pls help

    --Krish prfkrushna@gmail.com

    Windows Forms csharp com help tutorial workspace

  • difference between .net framework 1.1 and 2.0
    K Krushna Sahu

    hi i feel it's not that much enough in the interview point of view. it's better u pls help me some more extent. otherwise if any written document is there, pls send it to my mail id: prfkrushna@gmail.com Thanks --Krish prfkrushna@gmail.com

    .NET (Core and Framework) csharp dotnet com help question

  • Compare Validator Problem
    K Krushna Sahu

    hi u can set the properties of the compare validator. just go properties-type-date. By default the date is compared in mm/dd/yyyy format. Happy programming... any problem..just ask --Krish prfkrushna@gmail.com

    ASP.NET help tutorial question

  • difference between .net framework 1.1 and 2.0
    K Krushna Sahu

    hi, can any body help me while posting the difference between .net framework 1.1 and 2.0? Thanks --Krish prfkrushna@gmail.com

    .NET (Core and Framework) csharp dotnet com help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups