199,114 Archived Topics
Remove Filter ![]() | |
Hello, I'm learning Java ME and i was building an application that is a simple contact book, but in the main form it only have menus, because i don't know how i can list the registry's on it, remember that i want to list only the names in the list … | |
hi, How do you make a exe open and run in a different directory in vb6? so my exe is in the directory D:\test.exe and want it to run in the directory C:\ without copying the file there | |
Hi Everyone, I am having some trouble with the code I am writing. I am supposed to find the sum all ASCII codes in the string, omitting the newline character at the end of the user input. Here are the directions I am given: Create a program that accepts a … | |
what's wrong with this line when I try to compile in C++?? The src code was originally in C. It gets an expected identifier error with my c++ compiler [CODE]typedef enum {false, true} bool;[/CODE] | |
I want to select the pictures (They are select during program is running) and show them on the form. for that i take a panel on the form and populate the panel with pictureboxes.i write the following code for that but it is very time consuming: [code=csharp] if(openDialoge1.ShowDialog() == DialogResult.OK) … | |
I have posted this before and have not resceived a response. My problem is that when I create a simple data report and then run it, it takes about 2 min to display. I thought it was something i did but i deleted my project and started again. for some … | |
Hi, i want to play a vedio clip in my web page.ihave added a media player control to the visual studio toolbox using the following procedure. Right click in the toolbox,select Choose items from the drop down,select Com Components tab from the dialog box and then check the corresponding checkbox … | |
Hi guys....i have a problem and I hope you can explain me where am I wrong... I am doing some kind of Breadth First Search (BFS) ("some kind of" because this is my first program to use this algorithm) I have an array of size 4^9 (262144 for those of … | |
Hi friends, I have a web page, called [B]Page1.aspx[/B], with many data and text on. So the printable version of this page, [B]Page1-printable.aspx[/B], is spread on multiple pages when the users clicks "Print Preview" My question is how can I set a header and footer for each of the printed … | |
Can someone help me out. I haven't dealt with pointer function much. Here is the class definition for which it resides, although its only part of it. [code] template<typename Type> class vec2D { private: bool (*drawFunc)(unsigned int ID); unsigned int Col_id; public: //Enables each object member to have its own … | |
Hi all I am very new to ASP.NET and I am still learning the basics and how to use various controls. I have used the adRotator control and also created the XML File using the coding mentioned below, but when executed in the browser it is showing error message(Which I … | |
This is a continuation of a previous problem I had with a "dir" like program. The previous solution actually *doesn't* work as I'd hoped. the Path class works, as far as I can tell, when the paramater is passed in a very specific way. It doesn't work if I don't … | |
Hi everyone, It's my first time with looping through data in a query. I know there are two ways of doing this and one is using CURSOR (I read it'snot the nicest thing to use). Wouldn't mind hearing your thoughts. I will copy and paste my first attempt at usingCURSOR … | |
Hello im juner, a new php developer, i already finished with a [B]register.php[/B], [B]login.php[/B] file. My problem is when the [B]main.php[/B] is accessable after login by correct username and password stored in mysql database, the main.php composed of the following link: changepassword.php addsponsor.php deletesponsor.php when i click the changepassword.php link … | |
ya i have this site i am working on and at first it was working fine, im not sure what i did but now it says i registered but when i login i get the error saying invalid username. So i went and looked at PhpMyAdmin and it did not … | |
I am interning at a company and they have had me build a simple website which basically displays a list of their servers and they update entries, create new entries and so on. I am new to php and mysql and just web design in general. My question is do … | |
Hello I am reading a text file & I want to make a for loop, loop repeatedly until the end of the file. Is my code below correct, in terms of syntax? Is this possible to do. [CODE=cplusplus] #include <cstdlib> #include <iostream> #include <fstream> #include <string> using namespace std; // … | |
Hi, Folks!! I am trying to finish one of my project. I need help with image upload and attach it in email as attachment. If you have any source or script which you think might can help me. Please share. I will highly appreciate your help,. Thanks for concern thanks … | |
Hi, I have a table in MySQL that I want to update it if the row exist or insert the record does not exist. [CODE=php] mysql_query("REPLACE INTO `$it` (file_name, directory) VALUES ('$insert','$dir_http')"); // or die ("Insert query failed"); [/CODE] I was following this: [URL="http://dev.mysql.com/doc/refman/5.1/en/insert.html"]http://dev.mysql.com/doc/refman/5.1/en/insert.html[/URL] But every time I run REPLACE … | |
Hi Can anyone tell me please How I can make tools in Visual Basic. Thanks. | |
hi all, im trying to make a modding program for games. how to read 16 bit number from a save data, and display in a textbox by 10 bit number format ? im using Microsoft Visual Basic 2008 Express Edition. plz help. sry my bad english. thx :) | |
Hello, I have a treeview control and want to add a node to it at a desired location or as the child of a Certain Node X.The problem is I will know nodename[or the Text displayed ] of X only at runtime. How do I Iterate the tree to find … | |
Hello, I'm learning Java ME and when i complete the development of an application that uses RecordStore, it's simple a contact book, but when i completed the code i see that my program have an error and i use Eclipse, then it marks wrong codes in the left of the … | |
Hi all, I've done plenty of searching through as many threads related to this issue and tried just about everything I've found, but to no avail. I am using the VB that is included with Visual Studio 2005 and I have a secured access database that I connected to using … | |
Hey guys, here's my question. In this text rpg i'm making i'm trying to add a "critical strike" chance, so that the player hits more, i got the hitting more part down right, but my problem is that for example, say the player can hit from 1 to 5 HP, … | |
The title says it all. Is it possible if so how would you code the kernel etc. Also is there an open-source project or something with the kernel etc already written? Again many thanks, jakx12. | |
I did see some other posts on this project, but nothing seemed to help. I just keep getting more confused. =P I coded all my issues into the comments, as this project is already late, and I'm going to have to hand it in - whether it works or not … | |
Hi all, I am writing a program in C++ to generate input files for a two programs for testing purpose. I can generate data files individually by specifying the name. What I want is to be able to run the program once and it generates a number of data files … | |
Hi There.... # include <iostream> using namespace std; int one (int x, int y); double two (int x, double a); int main () { int num, x, y; double dec, a, first; cout<<"please enter two integers numbers: "; cin>>x>>y; cout<<"please enter a double number: "; cin>>a; num = one (x, … | |
Hi, I'm a newbie to python and I'm reading a file and trying to split a string every 3 spaces, that is included any whitespace. string.split() will split the string up every whitespace, but is there another way to specify every 3 spaces, whether there is whitespace or not? I'm … | |
Hi, I have slogged my way through, Mark Lutz's Learning Python it is a great book but the problem I have with it is that it doesn't have any practical programing question like the dietel books. Can you guys please tell me a few books with questions that follow the … | |
Hi, I have a class object that I have created a DataSource on. e.g.: [code] public class TestDataSource { string fld1; public string Field1 { get { return fld1; } set { fld1 = value; } } } [/code] When the DataSource object is created via the wizard, it will … | |
hi, i just start to learn and doing programming with python (was an old timer programmer in other languages). when i saw a project idea about creating your own squareroot function, i tried it. the problem start was when i try to compare the result of x**2 where x is … | |
I am having a problem using the script below. I want to be able to built a database table in html (using an 'id' to select which) and then be able to delete the rows selected by the checkboxes. The building of the table works perfect. But when selecting row's … | |
Hi , I need your help . I am Designing a software as my 3rd year project in which i need to find out the similar images out of a Database of Images . Suppose I Have a record of the Images of various individuals then i need to find … | |
I'm trying to create a validation program which entails throwing everything in a csv file that i have into array and then looping through it and doing a comparison. Here is some of my preexisting code which currently finds the name of a file that I want to do a … | |
If choice is [COLOR="Red"]1[/COLOR], user will be prompted to enter the month and then the person and salary earned. Total number of person entered should not exceed 8. An empty entry on the "Enter person" prompt should allow user to break out of the loop. //i have been stuck on … | |
I have a person class: [CODE=C++]class person { protected: string fname, lname, gender bdate; public: person(); // getters and setters };[/CODE] and a student class: [CODE=C++]class student: public person { private: string major, grade; public: student(); // getters and setters }[/CODE] } I'm not sure how to make the implementation … | |
I cannot get the code work. I want to use placeholder than a fixed value. When use fixed value it works but not placeholder. Please correct me! [CODE=python] import sqlite3 as sql class Tables(object): def __init__(self): print "Class created!" def CreateDb(self, dbname): self.conn = sql.connect("?", (dbname, )) self.cur = self.conn.cursor() … | |
Hello all, It seems I'm on a wild goose chase, either that or this is going to be a lot harder than I imagined, and I imagined it being pretty difficult. I posted in other forums here asking for help on this issue, it was suggested that PHP may make … | |
Hi, I'm trying to run a batch of commands from a .txt file using python. ("cmd.batch.txt" = ~1000 command lines : perl cmd.1.pl -in -parameters) and redirect renamed output files to new folders. It works fine for the first line, but I'm having trouble getting something to loop through all … | |
Random numbers appear and i have no idea where they are appearing from. Problem is in << operator. Not sure how to fix it. Main #include <iostream> #include "Format.h" using namespace std; int main() { Format format; format.setJustification('l'); format.add_word("one"); format.add_word("two"); format.add_word("is"); cout<<format; return 0; } Implementation #include "Format.h" #include <vector> … | |
I am working on an application and I have SQL server 2008 running on my local machine when I start the application everything works fine, but when I moved my application to my laptop the program connects to sql server, but it cannot find any of my stored procedures when … | |
I'm writing a WebChat application using the socket functions in java. I'm able to listen for incoming sockets on the server side and connect from the client side just fine, but I'm having a problem communicating from the client to the server to ALL the clients. Right now, I have … | |
Hello, I am trying to make a GUI interface for a plotting routine written with matplotlib. The GUI is in PyGtk. One of the things I would like to have is a cross hair through the mouse cursor (a vertical and horizontal line intersecting at the mouse) which moves along … | |
Hey guys, I'm creating a program that prompts the user to inputt the name of the process that they wish to end, but the problem is, the system("TASKKILL") function won't accept variables. for example: [CODE]string cProcess; cout << "Enter the name of the process that you would wish to end" … | |
How do I erase the font once it's done it's purpose? I've checked the web and it only shows how to put up font but not how to erase it so I can put up new font in it's place. Also if you have an easier way to do what … | |
When i was runnning the graphucs c program in turbo c the program was terminated. I gives an error message as 16-bit MS DOS subsystem The NTVDM CPU has encountered an illegal instruction. CS:d000 IP:03e2 OP:ff ff eb 05 ea Please provide me the solution I also tried using dosbox.. … | |
I have been trying to get this form to work but it just dont seem to work. The buttons does nothing but keeps pointing to the same form. This is for the mozilla browser. Did I miss something? [code=html]<html> <head> <title>Admin</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link href="../_assets/skin/cms.css" rel="stylesheet" type="text/css" … | |
Up until now, I've been using the old C way of sharing objects by passing pointers instead of references. But I've run into some trouble. Here's a simplified case of what I'm trying to do: [code=c++] #include <iostream> class Test{ protected: int a; public: Test() : a(0) {} void change(int … |
The End.