538 Topics
| |
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 … | |
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. | |
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 … | |
Hello All, As the title.. Does any one know how to find how many specific character in a text? Best Regard Eko. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 = … | |
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 … | |
| 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 … |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
Just trying to change the formatting of various bits of my print code. Is there a simple way to do it? | |
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 … | |
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 … | |
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 … | |
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 … | |
hi masters.. How to code the Copy, Cut and Paste functionality in VB 6.0 ? |
The End.