538 Topics

Member Avatar for
Member Avatar for techite

I need to fetch content from a file that is located at a URL say "http://example.com/sample.html?user=." This file will contain data in the following format:- Item =Name|Unit=1 QTY|Market=INDORE|Price=5000|UpdatedDateTime=Jun 27 2012 8:149PM After this line a <br> tag is used. How do I store the content into database. What I actually …

Member Avatar for diafol
0
149
Member Avatar for Marty1963

I have a daily article on my site with a preview/read more "ad" on the homepage. ([Click Here](http://www.popeyescanada.com) (Being rebuilt) Up to now I've been manually editing the 31 php daily files to insure the text fits within the window. I KNOW there is an easier way to do this …

Member Avatar for pritaeas
0
148
Member Avatar for tony75

Hi ! I have books.txt and it contain 20 books with author,the books.txt look like so.. Mark Lutz/learning python James payane/Beginning Python Noah gift/Python for Unix and Linux System Administration If user search for book it just print book and author if user search for author print (“you cannot search …

Member Avatar for TrustyTony
0
238
Member Avatar for speakon

Hello! I am starting a small text based game, I have created my set and get methods for my player class: import java.util.*; public class player extends main{ /* * Player attributes: * Name * Weight * Morale * Money */ //PLAYER ATTRIBUTES private String name; private int weight; private …

Member Avatar for trishtren
0
285
Member Avatar for srg85

I have a data set in .txt format and want to do some arithmetic operation on the data set using C code. How to do the job? I want to make the text data into a 2D-array. The data set is like this: 1st col - year, 2nd col-January rainfall, …

Member Avatar for mridul.ahuja
0
2K
Member Avatar for speakon

Hello, I am working on a project and am in need of search function. How my system works: User enters details Stored into a text file writes a blank line at the end of the record when reading in the file, a new blank line = new record So for …

Member Avatar for speakon
0
380
Member Avatar for tiffanynguyen08

I want to make a trivia game in python. Let's say I have a set of 25 questions, how do I choose 10 random questions from that set without repeats?

Member Avatar for vegaseat
0
4K
Member Avatar for cmaheshwari16

Hi all, I am giving the href to give a link to a file. The problem is that in IE it opens the text files in the same browser, but in mozilla it works fine(gives prompt of save as option). I want the same functionality for IE also, searching Google …

Member Avatar for almostbob
0
708
Member Avatar for HTMLperson5

Is it possible to change text colour in the console window with Python? If so, could anyone tell me how?

Member Avatar for HiHe
0
186
Member Avatar for Riteman

I have two RichTextBoxes in my vb.net application (rtf1 & rtf2). rtf1 is loaded with the external data. Mostly It contains para split into different sections. The paragraph is a dynamic data, hence the no. of words keep on changing. Now my question is that, I want to select a …

Member Avatar for Riteman
0
3K
Member Avatar for phfilly

Hi! I'm still new to Actionscript 3.0 and was wondering if you could help me please. I'm trying to do a registration form in flash. The user entering his name/email/password and I want to save that value to a variable and return that. The error says that my return type …

0
141
Member Avatar for collin_ola

Hi, The code shown below sucessfully saves text onto a line in a txt document, but using the array, I want to be able to save each piece of text on a separate line. How would I do this? Thanks in advance :) Dim filePath As String Dim objectWriter As …

Member Avatar for collin_ola
0
181
Member Avatar for HTMLperson5

I need some ideas for the python text based game i am making, it looks like this so far: from time import sleep import sys #Functions set at start of code def helpme1(): for a in 'Recognised commands are: explore, help, suicide, flee, look, get,open door, run and attack. With …

Member Avatar for Gribouillis
0
4K
Member Avatar for s98samman

Using Microsoft Visual Basic Express 2010 This is the code i used: Dim b As Integer = TextBox1.Text Dim c As Integer = TextBox2.Text Dim a As Integer = b * c MsgBox(a Why does this visual basic code not work and how do i fix it to make it …

Member Avatar for JGorard159
0
553
Member Avatar for kalz

HI I am developing a web service client using netbeans ide . I have used the code completion feature to implement the submit message method : import javax.xml.bind.JAXBElement; import uk.co.csoft.www2.dtd.sendsms5.Message; import uk.co.csoft.www2.dtd.sendsms5.ObjectFactory; import uk.co.csoft.www2.dtd.sendsms5.Recipient; public class Main { public static void main(String args[]) { //Recipient r = new Recipient(); //Message …

Member Avatar for kalz
0
2K
Member Avatar for dinosaur123

Hello, I am having trouble with a program I am writing. The problem is that I need to take information from a text file, read it, and then output the information into another text file. I keep getting this output: > <ProductSummary>0015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A00015D7A0 </ProductSummary> I need it to output something like …

Member Avatar for VernonDozier
0
400
Member Avatar for aaloo

i am inserting two pragraphs from an input text field and saving it in a *$post* variable i.e. **Almost all search engines give results in the form of links to web pages which they have indexed. These results depend on the keywords written on the search bar . For example …

Member Avatar for diafol
0
111
Member Avatar for erms

Hi, I got an image with 2 colors, black (background) & white (text color), text is "A B C D" I have extracted the white pixels locations, & now I want to figure out the alphabets that are written in this image. Kind of like a screen reader does. I …

Member Avatar for erms
0
104
Member Avatar for shapam

Hi in my database data stored in the below format. r{iq7, z|th{op, xzqiiu. i want to know the which type of format is this one and how to get orginal data using these texts... Thanks in adv.. ..

Member Avatar for adam_k
0
80
Member Avatar for zacharysr

I know the title sounds like an easy thing to do. But its not. I want to check that my user's message has 2 -'s in it. Then replace the first - with <s> then the second one with </s> and i dont know how to check for to dashe's …

Member Avatar for jeremym001
0
350
Member Avatar for c.pentasuglia

I'm working on a project, and i put in some code to tell the program when to stop. Basically it completes it's task then shuts itself down, however it outputs information to a text box aka log. I'd like to stop the program from running, yet leave the log open …

Member Avatar for c.pentasuglia
0
238
Member Avatar for 3nrichedd

Im making this program that reads in a java file and creates a new file with a formatted version of the file. Basically every place there is a { open braces, I want to add 4 spaces to each lines after that etc.. Here is what I have so far.. …

Member Avatar for NormR1
0
216
Member Avatar for VengefulToast

Will someone please tell me why I keep getting my custom file not found exception? The file is spelled correctly and is in the same directory of my java file. I am programming on Eclipse on Mac OS X. Here is my source: // Dillon Sheffield // Lab 10a // …

Member Avatar for VengefulToast
0
269
Member Avatar for VengefulToast

Hi forum, I just need a little help on one thing, how can I import this text document and make it usable in a JList object for my GUI application? I Did It Your Way, 11.95 The History of Scotland, 14.50 Learn Calculus in One Day, 29.95 Feel the Stress, …

Member Avatar for NormR1
0
134
Member Avatar for ask,dziner

hello all, i m new in php, i try to get text text box value in checkbox when i insert the data in the field if when check box is checked and then that checbox value store in database and i also need to show that if that checkbox value …

Member Avatar for Biiim
0
188
Member Avatar for ineedsomehelp:3

I need some help with debugging this problem. I just started learning how to store files at C but I can't seem to check if this code is correct since I can't compile it well. Might anyone help me point out the problems in my code? #include <stdio.h> #include <stdlib.h> …

Member Avatar for zeroliken
0
234
Member Avatar for masterinex

Hello, I am trying to write a simple program which should read the first line from the file s1, and display it. When I run it , I get the message cannot implicitly convert 'System.IO.Streamreader 'to 's1.Program' which happens for the line Program re = new StreamReader("s1.txt"); using System; using …

Member Avatar for Momerath
0
254
Member Avatar for NavVet

OK, I'm new to VB.Net so forgive me if this was covered else where and my search foo was week. I am trying to read data from a text file which is updated regularly by another program. I only want to read the new data which will then be passed …

Member Avatar for Mitja Bonca
0
257
Member Avatar for BeeKeeper18

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 BeeKeeper18
0
3K
Member Avatar for mkaynutty

I am having trouble formatting my output into columns. Some of the the names are longer than others so it pushes the whole line out instead of lining up evenly. I cannot use the printf function, we haven't learned this in class yet, I'm only familiar with setw and setfill. …

Member Avatar for mkaynutty
0
184

The End.