132,726 Archived Topics
Remove Filter ![]() | |
ok need a bit of help. got a program to set up football league table and input all the scores etc etc just tryin to figure a way to add scores and that from there, also the display code seems a bit messy anyway i can put it into a … Software Development c | |
Is there anything wrong with this code? [code=C#] namespace RotnetSudoku { public partial class splash : Form { public splash() { InitializeComponent(); fclsStartScreen frmStartscreen = new fclsStartScreen(); frmStartscreen.Show(); this.Visible = false; } } } [/code] Apart from the indentation? When i run it ithe splash form doesn't close...Also, if i … Software Development assembly microsoft-access visual-studio | |
i have 2 tables in my database. i want to select data from one table and insert into the other. i have written my query using the the table adapter for that table. say i have a table named products and another named sales. using the salestableadapter i wrote and … Software Development | |
Hi I'm trying to write a multi-formed J2ME app. I keep getting a null pointer exception in the startApp() method. [code] public void startApp() { display.setCurrent(currentForm); } [/code] I have currentForm created above and the first is mapped to it, (with the plan of mapping each new from to currentForm. … Software Development java | |
hi all! would just like to seek assistance... i am trying to open a pdf file in visual basic. if im trying to put it in as OLE it would only work if i have set the source file in the properties box. but if i put the source file … Software Development open-source pdf visual-basic | |
Hi, any idea how to copy row and column data from msflexgrid to excel, I have tried looping from the selected rows and columns of msflexgrid using "VbTab" and "vbCrLf" and clipboard.setText, "vbCrLf" seems to work in separating the data into rows but data to column seems to have some … Software Development visual-basic | |
Hi to DaniWeb. I've been checking out the forums from time to time to get help with C++. I'm a total beginner in C++, the only other language I have any knowledge of would be HTML, which is getting old. Anyways, I'm in a class that is requiring an assigment … Software Development c++ first-post | |
Hi, I'm working on this for this last weekend and have been thinking for hours to figure out how the hell can I print the duplication in arrays that's been initialized with random numbers... :( does anyone have suggestion or ideas on how to do this? I'm just having problem … Software Development java | |
ok guys and gals here's my delema, i have this code: all it basically does is define two classes, one that defines the stuff for the player and his actions, the other for the enemies (or monsters) the problem is that i have funtions in both that require i include … Software Development c++ | |
I need help immediately. When/if help is recieved I will pay $20 Paypal right away. Make the script as described below and email detailed instructions in either Word (preferred) or Word Perfect format. If you don't have either word programs Wordpad will do. I need this in my hands at … Software Development email redhat shell-scripting | |
my teacher told us to give the input of the following output given..using c++ loop formula.. pls help me.. output: 1) * *** ***** *** * 2) * * ** ** ****** 3) ****** ** ** * * hoping for your help.. thanks in advance.. ;) ;) ;) ;) Software Development c++ | |
I need everything about visual basic , i mean code and what is used for?, coz am beginner in that field so if can help plz do ,thanx so much:idea: Software Development visual-basic | |
I am just learning linked lists and I need to start off my inputing integers and outputing them in a sorted list. I have written a code and pretty confident that the code make sense, but maybe it is out of sequence is why it is not working? I am … Software Development c++ linked-list | |
Hey, I'm really new to programming and I was wondering how you open a form after pressing a button. Such as, there is a button saying "Start", which, once clicked opens up a guessing game. I know it's probably a one line code but I can't find it anywhere on … Software Development pascal | |
Hi there, Im writing a program that reads ID3 tag information of songs in a given directory and then creates corresponding folders for that Song. (Ie the folder is called the ID3 artist's name). The song is then renamed and placed into the new folder. However, i have come across … Software Development pascal | |
Hello I'm just a hobby Turbo Delphist. I'm sure this is one line of code simple to you, but I've tried everything :o and can't find it. I want to add the text from 5 edit boxes [tex][TEdit][/tex] to 1 edit box. Can you help me? Be an OnClick Button … Software Development pascal | |
Hey there, My problem is probably simple, but I just can't seem to find a solution to it. I'm currently working on some sort of small RPG. Everything's running smoothly, but since I implemented the possibility to move your character, drawn Images tend to disappear randomly or not appear at … Software Development java ![]() | |
I have some problem with linked list FIFO(first in first out). This is my code: [CODE] typedef int datatype; typedef struct node *nodep; struct node *first,*last,*p; struct node { datatype data; nodep *next; }; void create(); void list(); void create() { char *tl; do { p=(struct node*)calloc(5,sizeof(struct node)); p->data=random(100); p->next=NULL; … Software Development c linked-list | |
Any one here can tell me how to pop up an html file from your GUI... any classes to be used :cheesy: | |
Hai friends iam doing project in swing ,in my project i want to send email while running my project.. i added the following code for email: [B]String host = "mail.gitech.in"; String from = "[/B][EMAIL="from@mail.com"][B]from@mail.com[/B][/EMAIL][B]" String to = "[/B][EMAIL="tomail@gitech.in"][B]tomail@gitech.in[/B][/EMAIL][B]"; // Get system properties try { Properties props = System.getProperties();[/B] [B] // … Software Development email java java-swing session | |
I want to make new deployment descriptor for JBoss app server as I am migrating my application from websphere to JBoss IN websphere we have ibm-ejb-jar-bnd.xmi and ibm-ejb-jar-ext.xmi code for both of them are [B]ibm-ejb-jar-bnd.xmi[/B] <?xml version="1.0" encoding="UTF-8"?> <ejbbnd:EJBJarBinding xmi:version="2.0" xmlns:xmi="[URL]http://www.omg.org/XMI[/URL]" xmlns:ejbbnd="ejbbnd.xmi" xmlns:ejb="ejb.xmi" xmi:id="EJBJarBinding_1101636685106"> <ejbJar href="META-INF/ejb-jar.xml#ejb-jar_ID"/> <ejbBindings xmi:id="EnterpriseBeanBinding_1101636685106" jndiName="com.sa.Account"> <enterpriseBean … | |
I am having a problem with accessor. How can i get it to read height? They are 3 files .h(CLASS) , .cpp(IMPLEMENTATION) , and another .cpp(PROGRAM). i tried putting a getHeight in the class and describing it in the implementation, but that did not work. I want the getHeight to … Software Development c++ | |
Hi, i have a jtextpane and a JComponet that displays line numbers. Does anyone know how i can get the startline and end line of the text that is currently in view on the JTextPane? Thanks. Software Development java | |
i have a datatable and want to display the contents of datatable in a datagrid when i want to put the checkbox in datagrid separately they are visible.But if i integrate it with datatable it doesn't show the checkboxes instead it shows (null) how can i make the checkboxes visible? … Software Development c# | |
I have just begun to learn VB 6.0. I have a question: I save a project "freind.vbp" , then I want to open it but I can't open the properties of project. I only open the code of project. How can I open the properties of old project to fix? … Software Development visual-basic | |
Hi to all, I have a program that will print a file automatically after downloading it from the web server, the problem is how can i delete or cancel print job already in the printer queue... i already try [code]printer.killdoc[/code] but it does not delete or cancel job that are … Software Development printer queue visual-basic web-server | |
I might as well back up and start from the very top. Does anybody know the best way for me to learn this language (from python), because I none of the tutorials I have tried work for me (I feel like I'm moving backwards here, and that's unnerving). So... any … Software Development python | |
A project I'm working on has this awful problem wherein the JFrame refuses to resize in Linux. I've tried the [inlinecode]setResizable(true)[/inlinecode] method, both in the constructor and outside of it, but no go. It works fine on Windows. And I'm using Java 1.6 if that makes any difference. Am I … Software Development java | |
This is my code, I could get the program to run before i tried to get it to display using a GUI interface; can anyone help please? //Inventory Program Part5 import java.util.*; //=============================import all java.util classes import java.text.*; import javax.swing.*; class Product //============================================start Product class { public String[] className; //=====================================class's … Software Development gui java java-swing | |
I am writing a C++ program to convert feet and inches to meters and centimeters and vice versa. I am having a problem figuring out the conversions. What I have so far actually works...it gives me a result but my way of getting to that result is not the correct … Software Development c++ | |
First of I would like to say hi to everyone as I am new to this forum. My problem is this. Can I some how use the [ENTER] key instead of the [TAB] key to skip from field to field? Any help would be greatly apreciated. Thank you. Software Development pascal | |
Hello everybody, I have found a code for selecting text from a canvas. The code works fine, only there are 2 features in it that I don't want. And that's the Shift and Ctrl-functions. For example: when the user holds down the Shift-button he can select multiple area's etc... Can … Software Development pascal | |
Hi, How can I open a file input.txt with the form and divide its info in differents arrays __________ n word word word abcdefgijl ijklmnñov wordxvvc ___________ n is a number, that tells me the number of words that follows here n = 3; i only know the number untill … | |
i wish to use this java code in c++. [code] String bname[] = { "Unix Environment", "Programming in Perl", "Comp. Architechture", "Operating System", "Java Programming", "DIstributed OS","Database Management", "J2ME","Operating Systems", "Algorithms in C++"}; [/code] how do I initialize char array in c++ ?:-| Software Development c++ java operating-system perl unix | |
sigh... I need a way to make an image as a background for a window, and still be able to put buttons and other controls on top of it. I even tried using wxPython's wxPanel, but it proved a real pain because I found the documentation very sparce...:sad: (google didn't … | |
I have created a datagrid in C# Windows Application and i want to place a checkbox in it.I have tried this link [URL]http://www.windowsforms.net/FAQs/default.aspx?PageID=2&ItemID=537&CategoryID=3&tabindex=3[/URL] I am able to place the checkboxes but can't make tht checkboxes working i.e.can't able to select and deselect the checkbox items. i.e. the checkbox functionality is … Software Development | |
Hello. I use Linux, and I have no experience in windows. I have to write a C++ program that checks if Java is installed. I have no idea how to check that (there is no directory such /usr/bin ). I need this for a Java app and I want check … | |
I am using Visual Basic 2005 express (.net) 1) How would one get a SINGLE keypress in the console? (the equivilant to INKEY$ in QBASIC) 2) crap, i forgot my other question! Oh well. Chances are i will remember in a few minutes :lol: Software Development vb.net visual-basic | |
Hello, I am having problems with reading from a .h file to .cpp file it gives me a strange error i have gone over this thing 1000 times and can not figure out whats wrong. Could someone please help me? I am using dev.c++ compiler. I should mention i am … Software Development c++ | |
I was given an assignment to write a recursive function to print a diamond comprised of astrisks (less the dashes) such as: ---* --* * -* * * * * * * -* * * --* * ---* The parameter is the number of astricks in the largest row. I … Software Development c | |
Using the skeleton below #include <unistd.h> // read/write #include <sys/file.h> // open/close values #include <string.h> // strlen int main( int argc, char *argv[], char *env[] ) { // C++ or C code } Write a C++ application myrm that removes (deletes) files passed as command line argument. Use only the … | |
Im doing a calculator project for my c++ class but my operations dont compute properly and i cant quite figure out whats wrong any input would be greatly appreciated. [code=c] //Program Name: Calc //Author: Charles Covington //Date: Feb. 20, 2007 //Description : This is a simple calculator #include #include #include … Software Development c++ | |
Is it incorrect to use the precompiler like a complicated copy-and-paste tool? I've been working on a system where a few objects are processed according to exactly the same 'pattern' so to speak; BUT they are not related objects. Although it would be possible to bring some of them back … Software Development c++ | |
I need to create a function the gets a source string pointer and a destination string pointer , so if the source string will contain - "aaaabbbbbbcccdd" the function will return a destination string that contains "4a6b3c2d" This is my code , but its not working and for some reason … Software Development c | |
I am using Visual C++ 2005 in my laptop. When I run the program, the answer shows up on the output window (similar to the > command window) and within a second or two the window disappears. How can I fix this problem? The same happens when there is data … | |
Thanks to mawe and Jeff for answering my first question. Next question: is there a way to get Tkinter to display the window without a title bar? I'm an experimental psychologist, and I don't want my participants to easily be able to exit my experiments... so hints on disabling alt-tab … | |
Hi, im trying to create a function that gets two strings , the first string its the source , and the seconed is an understring . the function should return an int with the value of the position that the understring starts in the source string . so that if … Software Development c | |
this is my prob. i used goto as follows [code=c] int main() { l1: int x-9; goto l1; return 0; } [/code] this works as infinite unconditional loop is'nt it? this compiles well.which means there isnt an error. so can you explain how this variable declaration works when it get … Software Development c | |
The a.cpp file will not read from a.h, could someone please tell me why? I asked earlier but did not get much help due to bad posting. My apologies to all you who i have burdened with my rookieness(not a word). Hopefully i did it right this time. [code=cplusplus] // … Software Development c++ | |
Good day to everybody, new member here! :cheesy: Using: Delphi 7 with Database Desktop I've made my tables in Database Desktop, and as soon as I tried seting up Referential Integrity, it did not let me save, which stops me from progressing any further in my project. As soon as … |
The End.