4,455 Topics

Member Avatar for
Member Avatar for sash_kp

While copying a code snippet from some sites and pdf,docs line numbers are also getting copied.I have to omit those line numbers in my text editor manually always. Any better way so that line numbers won't be copied?

Member Avatar for ddanbe
-1
298
Member Avatar for m1051f

Do you know how to convert PDF to PPT|PPS documents in Java? I generated a PDF document with IText and now I want to put an option for users to save as ppt|pps

Member Avatar for sheraz786
0
105
Member Avatar for justin.chestnutt

http://www.cs.ecu.edu/~rws/c3300/prog1.pdf (for anyone that wants to view exactly whats needed for turn in) Hello! I'm trying to write a c++ program that takes in the lower and upper limits of a bunch of numbers and output the length of the longest hailstone sequence. Posted below is what I have so …

Member Avatar for Fatma30
0
1K
Member Avatar for Stuugie

Hi All, I met with some people from a private firm that has been hired to automate some data flows from PDF files to Excel and then to SharePoint. I wrote some VBA code for them to brute-force-test and they were impressed with what I had accomplished. The one fellow, …

Member Avatar for LastMitch
0
439
Member Avatar for sirlink99

Hello. I submitted [this](http://www.daniweb.com/software-development/java/threads/455615/java-decryption-problem) post a little while ago where I had problems with decrypting what I encrypted. Now my problem is that when I encrypt something and then decrypt it, the decryption works with txt files, but when I try to decrypt microsoft documents, then they will not open. …

Member Avatar for sirlink99
0
550
Member Avatar for ManthanB

Hey please suggest me some sample code for conversion of pdf file to tiff file using c sharp. also i want to use free class library like c pdfsharp or itextsharp. suggest some code for the same. Thanks in advance.

Member Avatar for ManthanB
0
488
Member Avatar for minnie19

**I have a form Upload.aspx** <%@ Page Language="C#" AutoEventWireup="true" CodeFile="CSharp.aspx.cs" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Upload Files To DataBase</title> </head> <body> <form id="form1" runat="server"> <div> <asp:FileUpload ID="FileUpload1" runat="server" /> <asp:Button ID="btnUpload" runat="server" Text="Upload" OnClick="btnUpload_Click" /> <br /> <asp:Label ID="lblMessage" runat="server" …

Member Avatar for lolafuertes
0
913
Member Avatar for davy_yg

Hello all, this might not be related to php (I don't know which forum I should post this topic) so I thought may be someone could help me out. How to edit pdf file ? Is there any specific software to edit adobe pdf file ? I have tried adobe …

Member Avatar for Webville312
0
75
Member Avatar for EricMack

[ATTACH=right]16373[/ATTACH]Lately there's been lots of buzz over how to keep the flood of online content coming and allow the people and companies that create it to eat, too. This led the Center for the Digital Future at USC's Annenberg School to rehash an old meme in its [URL="http://www.digitalcenter.org/pdf/2010_digital_future_final_release.pdf"]annual report[/URL] released …

Member Avatar for samsds
3
451
Member Avatar for shilu2

I have tried following code index.php <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>JQuery Popup Demo</title> <link rel="stylesheet" type="text/css" href="css/style.css" /> <script type="text/javascript" src="js/jquery.min.js"></script> <script type="text/javascript"> function openOffersDialog(x) { $('#overlay').fadeIn('fast', function() { $(boxpopup).css('display','block'); $(boxpopup).animate({'left':'30%'},500); $('#content').html(x); }); } function closeOffersDialog(prospectElementID) { $(function($) { $(document).ready(function() { $('#' + prospectElementID).css('position','absolute'); $('#' + prospectElementID).animate({'left':'-100%'}, 500, function() …

Member Avatar for mrvijayakumar
0
340
Member Avatar for ngonix

Hello. I am facing a challenge in passing a dynamic php variable to an SQL statement i wrote in Jaspersoft iReport. I downloaded the PHP-Jasperserver-integration library and i am managing to open a jrxml file i created in Jaspersoft and then using the libraries to open it in PDF format, …

Member Avatar for ngonix
0
2K
Member Avatar for wolf_one

So, I'm a new programmer python is my first language. I'm trying to create a program to randomly open a pdf from a directory and read/display one page. Anyway thats what I got so far. I'm just wondering if theres a more efficient way to write this. Any advice? import …

Member Avatar for chriswelborn
-1
273
Member Avatar for BenWard

Hello you wonderful people you. I am getting most upset with a pathetically unimportant bit of code. I have an iFrame. This iFrame loads a php script, the php script is not however html, it is a pdf document generated on the fly with FPDF. I have a second iFrame, …

Member Avatar for LastMitch
0
207
Member Avatar for hakka.tokumeino

I seem to have a problem with my internet explorer. it is starting up automatically when I start my computerI have checked the MSCONFIG and regitry settings for startup but iexplore is not listed anywhere, not even in the startup folder. I also did a HijackThis scan and i am …

Member Avatar for Prasad Thale
0
252
Member Avatar for pavankumarr

<head runat="server"> <title>Untitled Page</title> <script type="text/javascipt"> function startDownload() { var url='E:files\\sample.pdf'; window.open(url,'Download'); } </script> </head> <body> <form id="form1" runat="server"> <script type="text/javascript"> function openPopup() { popupwindow=window.open("Form.aspx",'WinName','width=900,height=500,left=200,top=200'); } s=alert("show"); s1=setTimeout("startDownload()",10000); </script> <div> <a href="" onclick="openPopup();return false" target="_blank">Click here to view Brochure</a> </div> </form> </body>

Member Avatar for LastMitch
1
5K
Member Avatar for adityamadhira

Hi This is my pdf file upload code [CODE]<html><head> <title>Upload a .pdf to a database</title> <h2>Please select your .pdf</h2> <form enctype=multipart/form-data action=test.php method=post> <input type=hidden name=MAX_FILE_SIZE value=1000000> <input type=hidden name=completed value=1> Please choose a .pdf to upload: <input type=file name=imagefile><br> Please enter the title of that document: <input name=whatsit><br> then: …

Member Avatar for TonyG_cyprus
0
147
Member Avatar for IT_Techno

i have a problem with uploading files to db using openFileDialog, i have to upload five files with *.TIF another with *.PDF , then i use five openFileDialog (openFileDialog1,openFileDialog2,openFileDialog3,openFileDialog4,openFileDialog5) i notice that all five fields upload the same *.TIF file what is the problem ? this is the code : …

Member Avatar for IT_Techno
0
282
Member Avatar for yy886

It seem to be I have a problem on that code as this only go though the first one and then stopped...so other file extension is not allow... //Check the file extension if (($_FILES["file"]["type"] == "application/pdf") || ($_FILES["file"]["type"] == "application/doc") || ($_FILES["file"]["type"] == "application/docx") || ($_FILES["file"]["type"] == "application/ppt") || ($_FILES["file"]["type"] …

Member Avatar for yy886
0
292
Member Avatar for yy886

The connection and setting are fine as I can insert things into the same db with different tables. Long story short below is the value that I want to insert into the db but it give me no error and nothing insert. I have use the echo and checked every …

Member Avatar for pritaeas
0
288
Member Avatar for Varunkrishna

I am currently working on a translator which translates one document from English to German, I had created it as a GUI application using Tkinter and python 2.7, Here I am facing some problems like 1. Assume that if a person uploads a document 'samp.txt' in the using the upload …

Member Avatar for Gribouillis
0
404
Member Avatar for IT_Techno

hi i have code to upload files to sql db and then to download, i have upload different type of files images and pdfs when i download file i must spacify the type of file with this code string filepath = @"C:\Downloads\FileName_0.pdf"; the problem is if the downloded file is …

Member Avatar for Ketsuekiame
0
132
Member Avatar for Stuugie

I don't know where this can go or even if there is someone here that can help so bear with me. I am creating a PDF document for my manager that's a combination of PDF files as well as Excel files. The Excel files contain data sets and all I …

Member Avatar for Stuugie
0
157
Member Avatar for Zulu79

I was able to store the PDF. Now the issue is retreving the correct version of the PDF. I am storing it with the data fields filled in;however, upon retrevial the fields are blank. Dim reader As System.Data.SqlClient.SqlDataReader = Local_Command.ExecuteReader() Dim buffer(100000) As Byte Dim data As Byte() While reader.Read …

Member Avatar for Ancient Dragon
0
106
Member Avatar for imBaCodes

i have this code an everytime i run it. `ActivePrinter = "PDF Complete on PDFC"` `ActiveWorkbook.PrintOut copies:=1, collate:=True, Preview:=False, PrintToFile:=True,` `PrToFileName:="C:\Users\srnardo\Desktop\CONVERT" & "\" & strFileName` i get this : >Runtime error '1004': >Your file could not be printed due to an error on PDF Complete on PDFC. im trying to …

Member Avatar for imBaCodes
1
121
Member Avatar for Zulu79

Dim pdf As String Dim pdfByteArray As Byte() ' Dim lLenPdf As Integer = Len("C:\file.pdf") Dim mypdf(100000)() As Byte Dim numBytes As Long = pdfFile.Length ' Dim data As Byte() = System.IO.File.ReadAllBytes("C:\file.pdf") myInitialBytes.Add(New Byte() {&H0, &H25}) StoredProc….. SQL Connection code…. Dim Local_Connection As New _ Local_Connection.Open() Local_Command.CommandText = "Insertpdf" Local_Command.CommandType …

Member Avatar for tinstaafl
0
140
Member Avatar for imBaCodes

Can i convert an excel file to PDF file .. can anyone give me an example macro .. Thank you guyss ..

Member Avatar for imBaCodes
1
252
Member Avatar for javacle

Hi guyz, i'm working on a site, and i need some help on a php code for advanced file reading. I need to implement a php code that will intelligently read the contents of a file. When users upload the required type of file to my website, it will read …

Member Avatar for veedeoo
0
201
Member Avatar for imBaCodes

I have this code. pdfCreator.ActiveSheet.PrintOut copies:=1, ActivePrinter:= _ "PDF Complete on PDFC", collate:=True How can i add a save location to this code . My default is the desktop when i save all the the file to be converted my desktop becomes a mess . can anyone help me how …

Member Avatar for imBaCodes
1
338
Member Avatar for elopez2389

I am not sure if this issue is a permissions or code problem. Whenever I run my script I get the following error. Microsoft VBScript runtime error '800a004c' Path not found /build-your-own-report/stjreport/includes/includes.inc, line 16 **Line 16 in my includes file is getting the url path to the temp folder. The …

Member Avatar for LastMitch
0
826
Member Avatar for imBaCodes

The default print area is upto cell H how can i extend it to I? Can anyone here help me .. thank you.

1
104
Member Avatar for robnederland

Hello everyone, I have a PDF file which I converted to a text file, and now I want to read the whole thing, search for the keyword "SITUATIONAL" and insert it all into the database and where "SITUATIONAL" will be the key entry for printing it out on the web. …

Member Avatar for G_Waddell
0
1K
Member Avatar for happygeek

New research published today by security vendor ZoneAlarm, the Facebook Child Safety Report, analysed what 600 kids aged between 10 and 15 and located around the world were up to Facebook. The end result reveals those common behaviours that increase the exposure of children to bullying online, predatory threat and …

Member Avatar for LastMitch
3
438
Member Avatar for john.gale.92102

I am getting error: A document processed by the JRC engine cannot be opened in the C++ stack when I try to load a Crystal Report in the Visual Studio 2012 development environment I have seen a number of solutions to this that involved the deployed program, but I am …

Member Avatar for Begginnerdev
0
261
Member Avatar for skliz

Please can some one me with downloadable pdf tutorials on how to use the default role, membership and perform authentication and authorisation. I also want to create my own custom providers. I would be happy if I am given useful links were I can get tutorials to read up on …

Member Avatar for geniusvishal
0
86
Member Avatar for gazinbali

Hi To all the Daniweb crew.. Well Its my fault I guess.. see I always get this message at bootup that my "Current security settings prohibit running AciveX controls on this page..." Well. Im not running IE at this time.. this is just booting up.. so weird yeah.. Why would …

Member Avatar for Rik_
0
149
Member Avatar for richie513

Hi everyone, I am only new here, and quite looking forward to getting to meet with a lot of you. But right now, I have a very frustrating problem that has only started today. Every time I start my Firefox browser, it starts to open up multiple tabs by itself, …

Member Avatar for Rik_
0
1K
Member Avatar for dantheman50_98

Hi There, I'm trying to get an accurate count of the pdf downloads from our website, both from clicks within the site and also from within emails and linkedin posts. However, it's obvious that google analytics isn't able to count direct downloads, so we've been looking at the webalizer stats …

Member Avatar for drjohn
0
185
Member Avatar for bhallarahul

Hi Everyone I need some Assistance, what i am actually doing i read text from pdf and write it on word file(.docx) which is perfectly working but problem is that content of next page is merge with the content of previous page. Now what i want is that when it …

-1
73
Member Avatar for VickyMilza

Hello Guys, I am using Adobe Acrobat Pro extended and I have created a form. When I email it to someone they can still make edits, but I don't want them to be able to. Thanks in advance Vicky Milza

Member Avatar for rubberman
0
204
Member Avatar for elanch

hi friends! From my Microsoft Access form I would like to hyperlink to a pdf document. At present each record contains a document name and a full file path to where the document is stored. I would like to open adobe Reader and view the specified document. please give me …

Member Avatar for daniROC
-1
3K
Member Avatar for MikeOxley

Firstly, I am new here so if I am postign in the wrong area I am sorry. Secondly, I am new to this so dont luagh at my stupidity I think of it as a talent for getting things messed up :) I have urgent problem, converting Html to PDF …

Member Avatar for tkdchamp
0
240
Member Avatar for happygeek

The University of Birmingham in the United Kingdom has been [researching](www.cs.bham.ac.uk/~tpc/Papers/P2PSecComm2012.pdf) how users of the hugely popular file-sharing BitTorrent peer-to-peer protocol are being monitored by those acting for copyright holders. What the researchers found surprised them, and may surprise those using BitTorrent to download pirated content: the average time it …

Member Avatar for Bigling
0
372
Member Avatar for BTerrence

My nortons antivirus hasnt been working for a while now, so ive dicided to the bottom of this problem, im beggining to worry that my computer has all sorts viruses etc in it. i also have another problem, when my son trys to run his internet games(Team fortress 2 Etc) …

Member Avatar for semontuffel
0
363
Member Avatar for MiketheBook

When clicking on a pdf link in my Chrome browser, a separate tab opens and the pdf image flashes on the screen briefly before disappearing and leaving an empty page. Chrome is up to date as is my Mac with Snow Leopard. What's happening here?

Member Avatar for MiketheBook
0
261
Member Avatar for IT_Techno

hi i have write this code for upload pdf to Sql DB : private void uploadPDFFiles() { string filetype; string filename; filename = uploadFilesLinkTextBox.Text.Substring(Convert.ToInt32(uploadFilesLinkTextBox.Text.LastIndexOf("\\")) + 1, uploadFilesLinkTextBox.Text.Length - (Convert.ToInt32(uploadFilesLinkTextBox.Text.LastIndexOf("\\")) + 1)); filetype = uploadFilesLinkTextBox.Text.Substring(Convert.ToInt32(uploadFilesLinkTextBox.Text.LastIndexOf(".")) + 1, uploadFilesLinkTextBox.Text.Length - (Convert.ToInt32(uploadFilesLinkTextBox.Text.LastIndexOf(".")) + 1)); MessageBox.Show(filename + " " + filetype); //Validate user upload …

Member Avatar for IT_Techno
0
4K
Member Avatar for kw42chan

Hi, I have some questions about type check warning. I am reading the tutorial notes from [Click Here](www.clear.rice.edu/comp221/html/pdf/03-arrays-pointers.pdf) CASE 1 int int1 = 1036; /* some data to point to */ int int2 = 8; int *int_ptr1 = &int1; /* get addresses of data */ int *int_ptr2 = &int2; *int_ptr1 …

Member Avatar for owenransen
0
194
Member Avatar for coolbeanbob

Hi Everyone, I am trying to get the program below to work correctly. The line below is where I'm having trouble. (line 33 in PrefixCalc.java) calc = new ExpressionTree(new Scanner(console.nextLine())); When I run the program and enter "4 + 8", the scanner only picks up "4". Apparently this program was …

Member Avatar for deceptikon
0
344
Member Avatar for dwlamb

I am cleaning up the code in an e-pub file. It was converted from a PDF and a number line break occur where not desired. I am using the following syntax to find the errand breaks `</p>\n\n <p class="calibre2">[a-z]` For replace I wish to insert a space and whatever the …

Member Avatar for LastMitch
0
221
Member Avatar for jsherm101

![IMG_5690_(Small)](/attachments/small/3/IMG_5690_(Small).JPG "align-left") At a whopping 33 pounds, the Laserjet Pro 400 M425dn is certainly nothing compared to the massive printers you'd see in major offices or computer labs, but comes packed with everything you'd need for your small business or home office. While the printer strangely focuses black & white …

Member Avatar for LastMitch
0
491
Member Avatar for joeyliew7

I want to display pdf file in browser. odo1.php has the file to select the date. read.php will read the date from odo1.php. i have this files 2013-03-26_SAP.pdf, 2013-03-05_SAP and more to come. the name of this file is combination of date and outlet. when i change the `readfile($filename);` to …

Member Avatar for dorco
0
2K

The End.