35 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Sahilsahni

please if anyone could tell me, how it would be possible, i want to save the content of a uploaded word document in database field with php, no problem with encrypted file like ( ´V z2Ö<Ö<ôÿÿÿÿÿÿ·üü?????ÿÿÿÿSSS8‹DÏLS¥9à1) as it shows if you open a word document in a browser. just want …

Member Avatar for ishu_1
0
4K
Member Avatar for PerplexedB

When I execute this progammatically, I get a table with row heights much larger than when I do this manually. Note : Sel is the Word.Selection object and the Clipboard contains an Excel Table. public void AddClipboard() { Sel.PasteExcelTable(false,false, false); var t = Sel.Tables[Sel.Tables.Count]; t.AutoFitBehavior(Word.WdAutoFitBehavior.wdAutoFitContent); }

Member Avatar for PerplexedB
0
647
Member Avatar for PerplexedB

Hi have this code that runs well for me. It's part of my WordWrapper where Sel is defined as the Selection object. I tried to save `Sel.Font to a var f` variable, and reset `Sel.Font = f`before exit, but that does not work. "Value out of range". /// <summary> /// …

Member Avatar for PerplexedB
0
423
Member Avatar for hefaz

hello there i am trying to make an application that can generat words automatically, i have used four text boxes, i want the first three boxes to get a word automatically from a file or from an array and show it in forth textbox, how can i do that? ![Capture.JPG](/attachments/large/4/45f56d9fc31c7e7b5da52fc4beebd007.JPG …

Member Avatar for rproffitt
0
564
Member Avatar for jatin24

Hi, Im trying to include the feature of automatically generating a word document through C# using a pre-defined template. Im able to insert 'mailmerge' fields in the word template documents at specific locations, and accessing these through the code in C#. I can update the values of these fields, no …

Member Avatar for vnikitha
1
2K
Member Avatar for krunal1986

Hi, I want to convert my word file to pdf file in vb6. source code will be appreciated. so far, i have tried with below code also. Private Sub Convert_WordDoc_to_PDF(DocPath As String, sDestsPDFFile As String) 'Dim worddoc As New Word.Application Dim worddoc As Object Set worddoc = CreateObject("Word.Application") Dim x …

Member Avatar for Vidya Sagar
0
5K
Member Avatar for Deep Modi

hi, I am using the Rich Text Box, Now I want to open the Word File, (It may be of 2013 or 2007) How Can i do This? !!! Important Thing !!! No matter if I have to import any of the Word addon or else.... But That should Work. …

Member Avatar for deceptikon
0
330
Member Avatar for tukky

Hi guys, Im currently working on a java project but ive come across a small minor problem. I have 4 main classes that im working with. TextReader, WordCount, WordCollecter and DisplayWords. The **TextReader** class reads an input file and a method called *readNextWord* will return the next word from the …

Member Avatar for tukky
0
571
Member Avatar for dannilip

I have this code: private void words(string path) { List<string> text = new List<string>(); var intro = "Video File Name:"; var words = File.ReadAllLines(path) .Where(line => line.StartsWith(intro)) .Select(line => line.Substring(intro.Length).Trim()); } When i use a breakpoint and look after all on the variable words i see: System.Linq.Enumerable.WhereSelectArrayIterator<string,string> I want to …

Member Avatar for Ketsuekiame
0
501
Member Avatar for ramy84

hi , i am trying to write code to remove specific word from the text entered by the user do do { Console.WriteLine("enter your text"); input = Console.ReadLine(); text = input.ToLower(); result = text.Replace("remove", ""); Console.WriteLine("Edited text:" +result); } while(text == null); { Console.WriteLine("enter your text"); input = Console.ReadLine(); text …

Member Avatar for Fenrir()
0
371
Member Avatar for G_Waddell

Hi, Getting some strange behaviour when using Interop to create a Word document from a template. I'm using word to generate a nicely formatted and printable Receipt from Sage 200 based on a Word Template. The code should open Word then create a new document based on the template I …

Member Avatar for G_Waddell
0
253
Member Avatar for timmyjoshua
Member Avatar for saguni
-2
360
Member Avatar for designershiv

<html> <head> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript"> $(document).ready(function() { //$(".box:contains(latin)").wrap("<div></div>"); // $("div:contains('roots')").css("text-decoration", "underline"); //$("div:contains('John')").css("text-decoration", "underline"); $("div:contains('John')").addClass('test'); }); </script> <style type="text/css"> .test{color:red;} .list{float:left; width:80px;} .list li{list-style-type:none;} input{text-transform:uppercase;} </style> </head> <body> <div> Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in John a piece of classical …

Member Avatar for designershiv
0
3K
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
283
Member Avatar for Mirfath

hi! i want to open a word document directly from a windows form application running on visual studio 2010! i tried a particular code but it wont work!!! this is the code! [CODE]this.Application.Documents.Open(@"C:\Test\NewDocument.doc");[/CODE] i also imported and used the following header: [CODE]using Microsoft.Office.Interop.Word;[/CODE] it says that the word application does …

Member Avatar for ChrisHunter
0
3K
Member Avatar for mrbungle

In my app, I have a text box that takes the text and transfers it to w Word doc for printing. It does this with the bookmark feature in Word. On the Word doc, I only have "X" amount of space. The bookmark in Word will auto size and fill …

Member Avatar for ponkhiraj
0
579
Member Avatar for cussel

> hey guys, how to get all word in first index in array below and next index get last word in array 2 D??,.. example: $arr = array( array( '7'=>'repsol kawasaki honda ktm', '8'=>'kawasaki honda ktm bmw', '9'=>'honda ktm bmw ducati', '10'=>'ktm bmw ducati yamaha' ) , array( '23'=>'lamborghi ferarri …

Member Avatar for cereal
0
326
Member Avatar for roemerito

Hello Everyone So i have this flowlayoutpanel that contains checkboxes, so what It does is if a select a checkbox the text of that checkbox will be passed to the ProblemTextBox ![checkboxes](/attachments/large/3/checkboxes.png "checkboxes") My main problem is that I am able to add new checkboxes to the ProblemTextBox, but when …

Member Avatar for roemerito
0
2K
Member Avatar for Petranilla

Hi Everyone, Im' new in C. I was tasked to do a word game. Its a Guess a word game. The user inputs the letter through arrow keys. Then, my program supposed to check if each letter is correct. Then, display it in boxes. The problem is I cannot validate …

Member Avatar for Petranilla
0
243
Member Avatar for ar123

Hi there! I am new to daniweb.com and C++ CLI. I am trying to make a program that will tell the user the text for the ListItem number they type in. The ListItem information is stored in a text file with my custom file formatting, which is: <~ListItem 1> text.... …

Member Avatar for ar123
0
281
Member Avatar for somjit{}

this is a code from the book "the C programming language" by dennis ritchie, but for some reason its not working! #include <stdio.h> #define IN 1 /* inside a word */ #define OUT 0 /* outside a word */ /* count lines, words, and characters in input */ main() { …

Member Avatar for WaltP
0
198
Member Avatar for Divinedar

Not sure if this can be done. There are word files in a directory with all familiar names. i.e. fr001, fr002, fr003, etc... all with the extension .doc. I would like to know is there a code that will link an excel file to a directory and then be able …

Member Avatar for Divinedar
0
282
Member Avatar for stephen_UK

Could somebody suggest the simplest way forward for me to investigate please? Please take a look at this web page which shows a single record of a mysql db http://www.swaag.org/DB_VIEW_Specific%20Record%20Number2.php?swaagrec=591 I would like to be able to create a program where I can select for example records 1 to 100 …

Member Avatar for stephen_UK
0
167
Member Avatar for Stancer

I am currently running Windows 7 Home Premium SP1, AMD FX-6100 Six-Core Processor 3.3 GHz, 8.00 GB RAM, 64-bit OS. My problem occurs while running Excel and Word 2007. However, all systems with 2007 or 2010 office have the same issues in our office.(Some are XP, Windows 7 and one …

Member Avatar for RTFMID10T
0
218
Member Avatar for FUTURECompEng

Code attached in the attachment is not my own and was supplied by an instructor. I am to create a word morphing game. The computer will provide a starting word and an ending word. I am to enter a new word, that either adds or removes a letter from the …

Member Avatar for JamesCherrill
0
918
Member Avatar for pwolf

Write the function search(word, substring) that takes in a word and a substring as arguments and returns the position (0 indexed) of the substring if it is found in the word. The function returns -1 if the substring is not found. is there a method to do this? i tried; …

Member Avatar for TrustyTony
0
180
Member Avatar for ninjatalon

I have a table that i'm trying to use as a template that I can then copy to a new page. i only got this much [CODE] Dim oWord As word.Application Dim oDoc As word.Document Dim oTable As word.Table FileCopy("C:/1535.doc", "C:/1535_1" & ".doc") oWord = New word.Application oDoc = oWord.Documents.Open("C:/1535_1" …

Member Avatar for ninjatalon
0
2K
Member Avatar for dizzyboy

Im a beginner in C,Can anyone help me? :?: I have problems when I encounter double or multiple spaces between words. [CODE] #include <stdio.h> FILE *fpr; int main(int argc,char *argv[]) { if ((fpr = fopen(argv[1],"r")) == 0) { printf ("\nFile %s Don't Exist!\n", argv[1]); } fprintf (fpr,"%d",count()); return(0); } count() …

Member Avatar for dizzyboy
0
207
Member Avatar for G_Waddell

Hi I had written an in VB.net that took addresses from a database put them into a csv file then took the csv file data and performed a mail merge in Word to allow the user to print them out on to an Avery L7163 label sheet. The app was …

Member Avatar for G_Waddell
0
407
Member Avatar for neosonic

Hi, I am using vb6 to manipulate my word 2003 template .dot and save it into .doc. My current method is: I am creating I word class, called W. then I use: W.activedocument.SaveAs "documentname.doc", 0, 0, "". 1, "", 0, 0, 0, 0, 0 It can be used perfectly for …

Member Avatar for AndreRet
0
2K

The End.