538 Topics

Member Avatar for
Member Avatar for Amitair

I want to open a text file at a specific index point. is there an easy was to do it other then building it in a textbox? in notepad and notepad++ they go by line in text and not text index point.

Member Avatar for Amitair
0
161
Member Avatar for caswimmer2011

Hi, I have a program that uses JButtons (under ActionEvent e) and the user clicks a button and it brings up the appropriate text file associated with that name. I have the files on a flash drive but every time i transfer the files to different computer and want to …

Member Avatar for caswimmer2011
0
152
Member Avatar for vin24
Member Avatar for insanely_sane

Hey guys. I'm brushing up on my GUI programming in Java and I am using the Ready to program IDE(by holtsoft). So the title tells it all really. I have tried and failed, but I need to see if there is a way to get the typewriter effect (as in, …

Member Avatar for ztini
0
163
Member Avatar for ampoliros

I am using a Pwm TextDialog (which inherits from ScrolledText which inherits from Text). It is being used as a real time status pop-up window. A good deal of the status messages use a carriage return ('\r') at the end of the message as a way of conserving vertical space, …

Member Avatar for ampoliros
0
2K
Member Avatar for Geemon

Hi I am new to the forums, and somewhat new to python. I'm trying to make a Text Based Adventure game. I don't have an error, but a bug. This is the code: [code]import descriptions inventory = [] gold = 0 acts = {"north":"hi"} def start(acts): print(descriptions.start) rm_a(acts) def rm_a(acts): …

Member Avatar for griswolf
0
205
Member Avatar for dantadin

Hi. I have a problem. So I've made this website: [url]http://www.hackstavastergard.com/[/url] At the website you will see this: * gästhem * bed&breakfast * uthyrning * stipendium * ledarskap * möbler * kontakt I lined them up like that with css, here is the code: html: [CODE]<div id="nav-main"> <ul> <li><a href="http://www.hackstavastergard.com/gasthem.html">gästhem</a></li> …

Member Avatar for drjohn
0
140
Member Avatar for trellonoob

Hey guys I'm hoping someone can help me out. I have an admin page with the ability to update existing data from a table, I have textboxes being created for each record(this works) but its the submit/update script that doesnt work. What it does right now is nothing, i hit …

Member Avatar for nuttyniall
0
290
Member Avatar for Smalls

What my question is, Is it plausible to have a listview item search a specific folder that has nothing but text files in it, pull the first 2 lines from the text file(s) and display them in columns 1 and 2 if so, how would one go about doing it, …

Member Avatar for Smalls
0
385
Member Avatar for PKW

I'm looking for a tool that can read text on a web page, or within a web-based document viewer, and insert a polling plugin of sorts at the end of each paragraph. More specifically, I would like my website to display documents inside some kind of reader. Then, I'd like …

Member Avatar for PKW
0
121
Member Avatar for TheInfam0usNZ

Hey, I'm trying to make it so when my program is started, a text box ("log") automatically says: "Placeholder1" *1 sec delay "Placeholder2" *1 sec delay "Placeholder3" I have set the text box to say "Placeholder1" using properties but I am having problems coding the rest. I know this may …

Member Avatar for kvprajapati
1
104
Member Avatar for Pundia

Hi people, I'm trying to make a program that reads and counts words and their frequency. After a few days trying I just make the program read a text, counts the words and everything BUT just if there's no more than one ' ' space character at a time. And …

Member Avatar for Pundia
0
373
Member Avatar for crunkie

So we all know it's easy to put text over an image - you just set the image as a background. If you then open it in your browser, do 'select all' and 'copy', it won't copy the background image,just the text. What I would like to be able to …

Member Avatar for fuston05
0
144
Member Avatar for Firsum

This is a simple game that I am bringing to a close. It is called Slash and Smash. The goal is to defeat the last opponent, who is a champion of the arena. In the game player can use potions for health and energy,go to sleep, heal up, eat and …

Member Avatar for jember
0
348
Member Avatar for iamthesgt

The first day of class today we had an (optional) diagnostic programming assignment. The problem is: to take an input file with a sentence in it, and make all letters except the first one lowercase, make the first letter uppercase, and remove any extra spaces and line breaks. After working …

Member Avatar for mrnutty
0
216
Member Avatar for stefilina

hy, i'm new in .net -c# and I have a problem.I have a database with a field where is a long text, for example a description for a product.Well, i want to create a form where where i select something from a listbox, for example the name of product, i …

Member Avatar for stefilina
0
154
Member Avatar for messengerman

i want to parse a file,my problem is in lines 2,3,4 of each person(every 4line make a person from my class person)numbers of my variables in lines 2,3,4 changed.i want to push_back each of variable in line 2 in a vector until it comes to "\n",i want to continue this …

Member Avatar for jonsca
0
272
Member Avatar for romes87

Hi I am trying to do a simple thing but I am stuck :(. Basically, I have 4 texts. I want to compare text 2 with text 1 and text 4 with text 3, then save these differences into two different texts so that these differences can then be compared. …

Member Avatar for richieking
0
886
Member Avatar for airerdem

Hi everybody, I really need that code, I have a text file 32 4 12 13 4 12 0 0 0 0 0 3 2 3 4 and I want to convert it vector or array like A[2]={32,4} B[4]={12,13,4,12} C[9]={0,0,0,0,0,3,2,3,4} The size of the vector or array can be changed …

Member Avatar for Tellalca
0
165
Member Avatar for warlord902

So my problem is that, i have a text area with 3 rows. Its a part of a chat application which receives text from a user. I want to send the text and clear the text area as soon as the user presses the enter key. Now the problem is …

Member Avatar for warlord902
0
1K
Member Avatar for efregoso

Hi, so I am trying to create a text file, that holds coordinates of bricks for the game brick breaker. I have a the textfile labeled as level1, and the coordinates are -5,9,0 -4,9,0 -3,9,0 now I am having trouble with getting python to open the file, and read the …

Member Avatar for TrustyTony
0
182
Member Avatar for aviavyne

Hello, i have a project which requires that i work with three files. two files are text and one file is .dat Currently I have been successful at creating the dat and one of the texts. The project is a bit menu driven and is about stocks, when the program …

Member Avatar for WaltP
0
184
Member Avatar for Dr.Cooper

So I have problem with a code I am writing, when I write a string to a text document, I get the following error; "Conversion from string "1, 1, 2, 3, 5, 8, 13, 21, 34, 55" to type 'Integer' is not valid." Please help; code below. Thanks in advance! …

Member Avatar for ANXIOUS117
0
178
Member Avatar for nosehat

I am working on a project where I need to parse a bunch of user text that comes in different fields. The problem is that the user input doesn't always come in on the same fields. One user might have a name in field 3 and a date in field …

Member Avatar for richieking
0
123
Member Avatar for yongj

I have a textfile I need to open and I need to put each line into the array. What is the simplest way to add the elements/each line's data into the array while increasing the array as it reads each line? This is blowing my mind right now... I thought …

Member Avatar for GeekByChoiCe
0
11K
Member Avatar for Alex86fire

Hey guys, I have a problem, I have to take a text and depending if a boolean - split_words is true or false I have to parse the text on some lines splitting the words or leaving them whole. for example, text is: This is the text I have to …

Member Avatar for Alex86fire
0
160
Member Avatar for feoperro

Hi, How do you set a text input field to have a character limit? Say for example, the user had to enter a postal code of 4 characters, how would you limit the text field to only allow 4 characters? Thanks, Ashton.

Member Avatar for Kraai
0
127
Member Avatar for goldfield

Hello all, I am attempting to write a program that takes the filenames of a number of files in a folder and sends the filenames to a text file. I am using freepascal compiler, can anyone help me?

0
123
Member Avatar for dkwired.com

I'm trying to add pages of content to my site however typing all the HTML tags slows me down. What is a recommended program to use to convert styled text with headings bullets to HTML source format?

Member Avatar for Adrian Kiwee
0
136
Member Avatar for hazeeel

How do I overwrite the 7th, 8th and 9th column of the text file with new values? What can I use? [CODE] ATOM 1 N ASN A 1 12.844 -5.008 -17.071 1.00 0.00 N ATOM 2 CA ASN A 1 12.377 -4.399 -15.793 1.00 0.00 C ATOM 3 C ASN …

Member Avatar for ~s.o.s~
0
83

The End.