138 Topics

Member Avatar for
Member Avatar for cisumma

I have a jar file generated in netbeans that has my 1.5 million+ lines of code compiled perfectly and has been running in the Netbeans enviornment for years. I need to know if I can use my build.xml that I am learning to write in eclipse to manipulate that dist.jar …

0
101
Member Avatar for sai.aleenus
Member Avatar for Echo89
0
237
Member Avatar for helixkod

I have an xml file that I have to read in, convert all the carriage returns to \x0D and line feeds to \0xA, then call it into a function as a string. So for example my XML file is: <TEST> this is a string </Test> I would want a string …

Member Avatar for helixkod
0
1K
Member Avatar for garyjohnson

I have tried every solution I have come across and am still not getting any results. I have a comment box and I am trying to remove all repetative new lines or `/r/n` from the input. if (isset($_POST['comment'])) { $comment = mysql_real_escape_string($_POST['comment']); $comment = filter_var($comment, FILTER_SANITIZE_STRING); $comment = nl2br($comment); //this …

Member Avatar for garyjohnson
0
1K
Member Avatar for moodylv

Right guys, I'm really new to this but I'm getting along ok, but I've hit a block. I need to be able to know how to search a text file in VB for a particular line and then display it. the files I'm trying to use are set up as: …

Member Avatar for TnTinMN
0
339
Member Avatar for erezz

Hi, I have a text file that contains about 15000 lines like the lines below: IBN LG 00 0 00 05 304 602 1047 SB GWLPOT IBN LG 00 0 00 11 077 500 2547 SB GWLPOT IBN LG 00 0 00 19 077 574 2000 SB GWLPOT IBN LG …

Member Avatar for 2teez
0
301
Member Avatar for lulu79

Hi, How can i draw a horizontal line in my chart? Currently my chart look like below: ![chart11](/attachments/large/3/chart11.JPG "chart11") Before this i use below code to draw it but when i try to draw with this application (Y axis in datetime), it give me error like 'make sure not dividing …

0
109
Member Avatar for eburlea

Hello. I have a larger database that I want to import and I cannot do that using phpmyadmin. I tried to do this in many possible ways by command line, but I get message 'wrong syntax'. I have Windows Vista, MySQl version 5.5.24, wamp server. The path to mysql.exe is: …

Member Avatar for urtrivedi
0
396
Member Avatar for woah123

I'm given a text document with marks and course codes, and I need to create a function where you input the directory of the file, and the course code. Doing so, the code will return the average mark of all the marks in the text with that course code. Any …

Member Avatar for woah123
0
203
Member Avatar for guiburi

find and delete specific line from text file ==== cart.txt (tab delimated) ---------------------- guiburi PID001 KARLSTAD Sofa 2348 2 4696 guiburi PID002 BESTA Cabinet 1656 32 52992 guiburi PID009 PAX Wordrobe 1794 2 3588 deleteitem.php ---- if(isset($_GET['pname'])) { $pname = trim($_GET['pname']); } Info -- pname is sent from a another …

Member Avatar for urtrivedi
0
246
Member Avatar for syeda amna

I am trying to run a program from python command line. I installed python on D: drive. PLZZ help me in fixing this problem.

Member Avatar for syeda amna
1
562
Member Avatar for rajesh1158

I wanted to vertically align a div inside another div. For this I was using line-height (= height of the div) and vertical-align: middle. But if I specify the line-height value in % instead of px, it doesn't work. I tried googling it but could not find. What can be …

Member Avatar for JorgeM
0
205
Member Avatar for rae08

I am able to read an external file but how do i retreive the data from the txt file per line? ex. text file has the following in it: dog cat rat how do i just display dog and then cat and then rat one by one? thanks.

Member Avatar for stercor
0
188
Member Avatar for babi.meloo

I need to design and implement an application that reads a string from the user and prints it one character per line. import java.util.*; import java.text.*; public class EveryLine5 { //---------------------------------------------------------------------------------------------- // Reads in a string. //---------------------------------------------------------------------------------------------- public static void main (String[] args) { int length; char current; String msg …

Member Avatar for JamesCherrill
0
2K
Member Avatar for Yorkiebar14

Hello, I have a made a forum like page where a user can submit a thread and the information gets stored in a database. However, when I try to output the data it outputs it without any line breaks in it, example: The user inputs: Hello, This a paragraph It …

Member Avatar for Yorkiebar14
0
196
Member Avatar for volkang

Hi, I encounter an assertion error on my thesis while trying to write a line to a file. The related code is pasted below. The funny thing is that this code runs maybe 5000 times and i get the error at 5001 th time. Thank you very much for any …

Member Avatar for volkang
0
344
Member Avatar for foodstamps

I'm a complete beginner in the programming world, so forgive me for the basic questions. I'm trying to run Peter Norvig's spelling corrector from the Windows XP command line, but am having difficulties. I have a text file of addresses with a number of misspellings. I would like to use …

Member Avatar for TrustyTony
0
322
Member Avatar for nchy13

i want to ask if i can take input from .txt file to run a source file(.s) **using arm-elf-run abc.s** hi.txt. but giving hi.txt is not working like in c ./a.out hi.txt. any help whatsoever is appreciated.

0
116
Member Avatar for dwhite12

I have a code that takes a file and splits the file into two files. The problem I am having is when writing the lower half of the file I have two lines of whitespace I need removed. Here is what I have and am wonder how I could add …

Member Avatar for dwhite12
0
213
Member Avatar for nexocentric

My network card doesn't have any UNIX drivers, but it does have windows drivers, so I'm trying to install ndiswrapper. It seems like the default installation of Ubuntu server doesn't have python installed, so I can't dpkg niswrapper in. Is there any resource to help me learn how to hunt …

Member Avatar for nexocentric
0
267
Member Avatar for shlokka

hi everyone, i have an irritating issue with the code editor in cpanel... whats started happening is if i click any line of code after around line 100 the code displays 3 lines above, and sits ontop of the code that is actually on those above lines! the further down …

Member Avatar for Squidge
0
160
Member Avatar for joshl_1995

Hello, I want to combine all my database table in to one line so i can put it all in the url e.g. Name | Times __________________________ test1 | 1 __________________________ test2 | 2 __________________________ This is how i want it to look in the url (Result.php?loggedin=true&links=test1-1_newline_test2-2)(_newline_ means that will …

Member Avatar for jstfsklh211
0
275
Member Avatar for pradipbhattachargee

Can I set telephone line as point to point lan network through dialup modem without internet conection? > Quoted Text Here

Member Avatar for goatnetworking
0
163
Member Avatar for milon.mahapatra
Member Avatar for guilherme.carvalho.9250

Hello everyone, Im a beginner in vb.net and currently Im developing a program where i save date to a txt file like this Reminder#dinner#26-07-2012 19:52:00 and show it in a listbox(all the lines in the txt file). What i want to do is to select a line(item) in the listbox …

Member Avatar for guilherme.carvalho.9250
0
2K
Member Avatar for sciwizeh

Hello all, I'm having trouble getting google to give me anything useful because I don't know the name of the algorithm I'm looking for. ![line_types](/attachments/large/1/line_types.png "line_types") This image shows different ways of connecting two points together, A is just plain lines, C is bezier curves but what is the algorithm …

Member Avatar for firdousahmad
0
526
Member Avatar for guilherme.carvalho.9250

Hello to everyone, Im a beginner in vb.net and currently Im developing a "reminder" program, the user inserts a task that he as to do, the date and the time to be remimbered! Im saving the task in a txt file like this, "Make dinner,Reminder,24-07-2012 18:31:00", but line by line, …

Member Avatar for guilherme.carvalho.9250
0
2K
Member Avatar for cedric12

hi every one, i have a problem. i have a belkin wireless modem. the wireless works but the local area connection (cable) connection is enabled but no internet. ive tryed nearly all trouble shooting but no good. i have had enternet connection through the cable twice. but it some how …

Member Avatar for PCResolver
0
347
Member Avatar for Synestic

Hello First of all, I'm new to PHP, and also to Daniweb. I've been looking everywhere for some PHP code to skip to the next line every time my string ($description) has a period in it. So here's an example of what I want to achieve: Text: The car is …

Member Avatar for Dani
1
158
Member Avatar for Riteman

I just created 5 Rich text boxes in runtime through a subroutine as: Dim c As Control c = New RichTextBox() With c .Name = "VersesRTB" & VerseCount .Location = New Point(70, y) .Height = 100 .Width = 580 .Font = New Font("Microsoft Sans Serif", 12) End With It successfully …

Member Avatar for Riteman
0
2K

The End.