538 Topics

Member Avatar for
Member Avatar for AW8Dragon

Hello everyone, this is my very first post in this webpage so here we go. I've got this problem with my hw assignment, it's almost finished except for one part. The hw is as follows: - Create an address book, creating 4 text files in the computer memory. Each text …

Member Avatar for AW8Dragon
0
405
Member Avatar for 9Nimo4

How would I get a box to appear when I hover over a JLabel? The box is to explain what the label is. This is just a minor detail for the user-interface functionality of a game. So when a user hovers over a label, a box appears explaining it.

Member Avatar for JamesCherrill
0
509
Member Avatar for WolfShield

So, I am looking into web creation and have started making a site just to see how the coding of websites work and how the files link to each other. So, what I am trying to do is when the page loads it prompts "What is your name?" with a …

Member Avatar for WolfShield
0
4K
Member Avatar for EkoX

Hello All, As the title.. Does any one know how to find how many specific character in a text? Best Regard Eko.

Member Avatar for Jx_Man
0
153
Member Avatar for stonybony

Hi, First up, I am a little lost with events. I am trying to do this and I can almost say that its not doable: [code] "one.php" <?php echo '<input type="text" maxlength="5" name="bill" value="" /><br />'; $get_pass = 5; $get_pass1 = 10; ?> <a href="two.php?getpass=<? echo $get_pass ?>&getpass1=<? echo $get_pass1 …

Member Avatar for stonybony
0
128
Member Avatar for sacros

hey there i just started learning informatics and im currently learning pascal and im liking it a lot, its my first time with programming too, only problem i have is we dont have any computer in the classroom to try the code and unfortunately i dont have a laptop or …

Member Avatar for TrustyTony
0
284
Member Avatar for TySkby

Hello, I'm working on a site that is a web representation of a magazine (for your reference: [URL="http://jettisonquarterly.com"]http://jettisonquarterly.com[/URL]). You can view and "flip" through the entire magazine's most current issue. The problem is that since the site's content is designed for a specific aesthetic in inDesign and each page is …

Member Avatar for pause4
0
190
Member Avatar for thecoolman5

hey, I use DEV-C++ and I want to know how to display text in a new windows project. this code that i used from an example doesnt work. [CODE]#include <windows.h> #include<iostream> #include<string.h> /* Declare Windows procedure */ LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM); /* Make the class name into …

Member Avatar for thecoolman5
0
292
Member Avatar for genext.brite

Hello everyone, [B]I have a TextBox and a Button on my webpage. On Page Load I'm displaying the contents of a TextFile(with multiple lines)on the TextBox.Then I'm editing the TextBox.Then On ButtonClick ,I debug it and check the TextBox value.The value shown is:The value last edited on textbox appended with …

Member Avatar for Akash Saikia
0
140
Member Avatar for TheWolverine

Hi all, I've setup a class within my software package to read generic text files. For this, I'm using the getline( ) function and then parsing each line for specific types of files. In setting this up, I've come across the ACSII incompatibilities between Windows systems and Unix systems. I …

Member Avatar for mike_2000_17
0
385
Member Avatar for rjdelight

I'm trying to display some text in a JTextArea I have set up in a simple GUI. Easy right? That's what I thought, but I'm clearly not that advanced at Java. The hook is the information I want to display in the JTextArea is in a text file (file.txt). Right …

Member Avatar for mKorbel
0
1K
Member Avatar for rjdelight

Hi all, I'm trying to get the information from a text file to show up in the JTextArea I have in a GUI. I'm using the GUI editor in NetBeans, because I'm a Java newb. I've been reading a lot of things on the web and can't seem to figure …

Member Avatar for sirlink99
0
3K
Member Avatar for maxrio

Hi! im trying to make a procedure wich saves what is on screen in a variable defined on the data segment (antes dw 2000 dup (?)). It compiles well but it freezes the program when it is called by it(program). BTW: this program is in textmode 80x25 16-bit and i …

Member Avatar for maxrio
0
333
Member Avatar for penguino138

I need help position a bunch of things. Mostly the text bar. Here's my code: [CODE] package swingHW2; import java.util.Scanner; import javax.swing.*; import java.awt.*; public class swingHW2 { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub // The Layout FlowLayout lout = …

Member Avatar for penguino138
0
181
Member Avatar for d_panayotov

Hello, I have this assignment in C. The problem is that the functions have to be placed in separate files instead of just one. I haven't done that before. It seems code that would have run if the program was written in one file doesn't work when the functions are …

Member Avatar for d_panayotov
0
168
Member Avatar for Eman84

When I open an image, I get error message: "Some text layers might need to be updated before they can be used for Vector output", and there's a warning message beside the text layer. Of course, I was trying to solve this problem all of the past days. 1- I …

Member Avatar for Armadillo
0
734
Member Avatar for hauda67

Is it possible to write a method and declare something like [CODE]Node currentNode;[/CODE] to "scan" through each nodes in the list, and saving to file. I guess I can use [CODE]import java.io.*;[/CODE] to declare the necessary file stream variables. Would really appreciate some ideas and tips on how to approach …

Member Avatar for jon.kiparsky
0
139
Member Avatar for lkrvk

Hi guys, i am going on with a vigorous practice with PHP and MYsQL. currently i am doing a simple project which has a form, input box which takes the users name, then selects a random image and place it on the image with a random selection of fonts, with …

Member Avatar for lkrvk
0
257
Member Avatar for Nony2007

Hi All, I can connect C# to SQL and read SQL table but i am having problem in writing the outcome to text file. I really appreciate if you could assist me. this is the code. [CODE]//====================================== using System; using System.Data; using System.Data.SqlClient; using System.IO; namespace Chapter07 { class OrdinalIndexer …

Member Avatar for Nony2007
0
1K
Member Avatar for caswimmer2011

Hello, I am making a simple program that has you select Bible chapters and verses. I have all the chapters and verses in separate text files. I moved them into my source package. I am having trouble finding the code to put in the program so that java will open …

Member Avatar for vadayattu
0
219
Member Avatar for ggeoff

Hi I have a client who wants to provide me with Microsoft Publisher documents to add to his website. The material will be added via a content management system. I can't just select all and paste into the CMS so I have saved a copy of the Publisher document as …

Member Avatar for ggeoff
0
188
Member Avatar for Progr4mmer

how can i get java to enter/type text into a textbox for me once i select it(click inside it) so the cursor is there. Also how would i get it to send the enter key or other "non-text" keys.

Member Avatar for mKorbel
0
170
Member Avatar for kidinbed

I'm trying to create a back end for a food truck whose menu constantly changes. I want to make a form that can update text on another page. I'm new to PHP. I think I need a way for the form to update html. So far I have the form …

Member Avatar for kidinbed
0
259
Member Avatar for Progr4mmer

I wanted to know if its possible to change the text of a JTextArea or JTextPanel from another method and if so how?

Member Avatar for Progr4mmer
0
194
Member Avatar for hailsontherocks
Member Avatar for hailsontherocks
0
122
Member Avatar for yoshitsugu

Can anyone fix my problem? I'm sure my getDate function algorithm was right, but it still wrong.. here is the code: [code=c] #include<stdio.h> #include<string.h> #include<stdlib.h> typedef struct{int day,month,year;}Date; typedef struct{ char name[31],gender; Date dob; }Student; void getString(FILE* x,char* y); Date getDate(FILE* x); char readChar(FILE *x); int main(){ Student pupil[100]; int …

Member Avatar for L7Sqr
0
184
Member Avatar for nazerb

Hi Ok i am makeing a program and want it to check if there is an update availible by checking if a txt file with the version has a difrent number. I have been looking around and found absolutly no help for this problem. The text file would be at …

Member Avatar for pseudorandom21
0
125
Member Avatar for gmark@svs.com

I want to convert a kind of a large MSSQL table to text -- ideally CSV. One crude way would be to use SQL Developer to do a SELECT * and do a copy-and-paste. But there must be a more precise and efficient way of doing this. Perhaps SQL Developer …

Member Avatar for BitBlt
0
230
Member Avatar for BirdaoGwra

Hi, I am making a simple application where it reads and loads words from a text file into a ListCtrl(lc_report) in wxPython. There are only two column. i am loading it like this : [CODE]f=open('Test.txt','r') all_words = map(lambda l: l.split(" "), f.readlines())[/CODE] And in Test.txt file, there are some words …

Member Avatar for richieking
0
199
Member Avatar for Jade_me
Member Avatar for AndreRet
0
275

The End.