199,114 Archived Topics
Remove Filter ![]() | |
Greetings, I am triying to diplay morethan one column from mysql database by limiting the display into three rows. I want all the row data to be shown as column data. I want the data in the fourth, fith and sixth row to be diplayed in the next columns, and … | |
Hi I am newer to programming and need a bit of help with this program. You all have helped me in the past with my programs but this is a very complicated array of structs program and I don't really understand it very well. OK, heres the directions. The distance … | |
![]() | For a given list, I would like my output to have the line "Deleting node with value ..." for each node. My destructor function works for a 2-element list, but for a 3-element list it deletes a certain node more than once, and for a list of any size greater … ![]() |
Hi there folks, Very new to java and I have what I hope will be a simple question... I have JDK 1.5 installed on my C: drive and my source on my E: drive (flash drive). I'm trying to run the source and I always get NoClassDefFound errors when I … | |
This is a past exam question that I'm doing for revision. I didn't think this was going to be as tricky as it turned out. I would just appreciate some advice on how I can make it more elegant/professional/etc.. I'm sure this has been discussed before and there are some … | |
Hello there, I am trying without much success to display multiple columns from a database where the selected data is dependant on specific common data. I have tried using an SQL statement with a Jet 4.0 OLE DB connection. SELECT Name,Date,Action FROM Track WHERE SerialNumber="1" with the output displayed in … | |
I have the following example and need to parse only the numbers from the string: From: EG2594 To: 2594 or, From: EG2594_1 To: 2594 Then I need to add a P to the extracted numbers, so it would end up as: P2594 as my output. What is the best, simplest … ![]() | |
Ok im pretty new to coding in general and have two questions. 1. I downloaded a python script that packages my programs into an executable however im running Windows Vista(i believe this to be the problem) and when i try to run the executable i get a win32 error. 2. … | |
ASP.net 1.1 vs2003 My vb.net solution is separating the code behind (aspx.vb) files from the aspx files by putting them into the "miscellaneous files" folder. I'm not sure what caused this, or how to fix it. The problem isn't critical, as I can open an aspx file, and it correctly … | |
| |
Hi, I generated 10 random numbers ranging from 0 to maxrange to find out the running total to work out the fitness of each chromosome. Then I generated 10 more random numbers which range from 0 to the maximum of running total. The second set of 10 random numbers are … ![]() | |
I am writing a plugin for motionbuilder and need to use some opengl toolkits which are based on Glut. The problem I have is that inside motionbuilder I already have a window and an opengl context created using the SDK for motionbuilder. But with Glut it wants to create its … | |
Hi I'm just trying to create an appliation in java that can hold my expenses and save it to review every month or end of the year.The problem with it is how can i hold the data of everyday expense into it.this could be with help of oracle or MS … | |
hi i need sum help for 1. login page in vb.net 2. i can not connect with mysql database thank for help | |
ok so basically I am writing a small program that does a few different things in Delphi 2007. I am very new to coding and so I hope that my terminology will be up to par. If not, please forgive me. I am loading text files into a ListView... I … | |
Well I need some help understanding some sections of code. I'm a complete newb at web development so all explanations are greatly appreciated. I am having trouble understanding how to set the attributes of an object. I have a myProject object declared in the global.asa file and then I am … | |
I am writing a program that calls system( "c:\pathtofile.exe" ) to launch another program. Does anybody have a suggestionon how to make it so the console window doesn't show up. | |
In the following code, the object is not being written into file in line 30 [ICODE]stfile.write((char*)this,sizeof(item));[/ICODE] When line 26 :[ICODE]stfile.read((char*)&ob,sizeof(item));[/ICODE] is hidden the object is written into the file. Please help!!! [CODE=C++] fstream stfile; class item { int code; char name[25]; int price; int qty; public: int getcode() { return … | |
HI, if i have something like this [CODE]char string[16]; std::cin>>string;[/CODE] and i type something and press "Enter" then [ICODE]std::cin[/ICODE]would terminate, how do i get it to terminate when my first key input is "Enter" ? because normally if i do that , input will not terminate and i will only … | |
Dear Friends, I am developing a small project in which the users have to fill a form from which it will be saved into a database. Here i wanted to scan a particular folder in the hard-drive contineously so as to know if there is any new file saved in … | |
I have a drop down menu the is populated with event names from a DB. What I'd like to do is have the form submit after click on one of the event names in the drop down list. At the moment I have a submit button for this. I don't … ![]() | |
Hi I am trying to develop a project in Java as per the following requirements: 1. I need to store fingerprints in The oracle database, taken by any fingerprint scanner. 2. I need to access data using fingerprint matching process. 3. I donot know how to match the patterns using … | |
Hello Experts I am trying to parse a dbx file . But I won't be able to find the attachment offset,embeded's image offset, mail's offset,mail's size etc. If abybody know DBX file structure ,then please tell me .Its urgent. Thanks Kind Regards vikas | |
Hello I have a company from Israel and I am looking for asp.net developer from India that will work from his home to build a project for my company in Israel Please send me email to: [email]rotlevi.web@gmail.com[/email] Thanks David Israel | |
Hi all, I've created two columns on the list view as follows. [CODE] ColumnHeader colHed; // Header one colHed = new ColumnHeader(); colHed.Text = "Name"; colHed.Width = 100; this.lwDetails.Columns.Add(colHed); // Header two colHed = new ColumnHeader(); colHed.Text = "Address"; colHed.Width = 200; this.lwDetails.Columns.Add(colHed); [/CODE] Then on a separate function I … | |
I am able to Validate for 9.1 decimal Validation by regex expression "[0-9]\{0,9\}\.[0-9]?$" but If I call in KeyPress last character entered cannot be in textBoxVariable.text. Qusetion : I want to do e.handle=true; for keypress , if textBoxVariable.text Value not satisfy regex condition. Any solution? Thanks in advance | |
Hi, I want to make some kind of monitor for my PC and i want to have CPU load in form like "top" (something% , ex 23%). So i use C and : i'm opening the file /proc/stat and read the first line : cpu 92208 2282668 19432 79824 739 … | |
Hello,I am doing a project in which i need to send and receive data from a microcontroller.I was trying to do this in DEV CPP IDE 4.9.9.2 but couldn't succeed till now.The following is the code i tried compiling. The code: [code] #include <bios.h> #include <conio.h> #define COM1 0 #define … | |
Hello World! (to all of you DaniWeb guys!) I want to build 3D Online Chat but I don't know how to start. Does anyone can tell me how to send message between 2 PC? (An output of this message I want to show in 3D character's shout box.) Right now … | |
hey i have that singleton code in java but how can i check that it have an instance only? [CODE] class singleton { private static singleton instance; private singleton() { } public static singleton getInstance() { if (instance == null){ instance = new singleton(); } return instance; } } [/CODE] … | |
hi all, as we all know javascript is doing great these days,and compatible with all langauges is best feature.we can see the effects using javascript libraries are really good like scriptalous,jquery and prototype.if you have some resources u can share it with all community members to make world go around … | |
How to convert this algo into c++? [CODE]while 9more students) read studentID countexam =0 while(more examination) read exam code ExamID = GetExamID (examcode) Incerement Count exam examlist[count exam]=ExamID; endwhile for (i=1,to CountExam-1) do for (j=i to CountExam) do if (i!=j) Inceremnt conflict value of row exam List[i] and column Examlist[j] … | |
Hi, I have an existing .ocx file which contains a map. I need to open this file in C++ and not in MFC. MSDN help suggested me that it can be done throuch " #import "file_name" " However, the description is not descriptive and helpful. If anyone can provide me … | |
Hello everyone, I'm a newbie in AJAX. I have found a code in the web that uses AJAX and PHP (withjavascripts). It works well but i want to have a multiselectable dropdown. How can i retrieve the value of the multiselctable dropdown thruogh its javascript??? Here's the code that retrieve … | |
Hi guys I am trying to implement golden section search method to obtain n-th root of any number.I am testing it by finding the square root of 25 in range [4,6].the function to minimise is:[B]x^2-25.[/B] [CODE]#include<iostream> #include<cmath> using namespace std; int fnc(float &,float &); float n,num; int main() { float … | |
how can i view the database value in the table which was designed by me instead of using datagrid, i must get the datbase value in that... say in a table i av, name,age,number,dept even in de table i av same number of rows and colums.. how can i retrive … | |
![]() | I have been writing my program and everything works like it should unless the user inserts a character then the whole thing blows up... how can I fix this. Is there something I can add to block characters from being added? any help would be appreciated! here is my code: … ![]() |
Hi. I've written a small static (Unix .a) library, as usual made from a bunch of .c and .h files. A lot of the functions in the .h files are internal to the final library. Only a few of the .h files containing the public interface. How can I hide … | |
Hi, I am trying to create a method that accepts a pointer to a (static) string so that it can modify the string. I have something similar to this: [code] void modifyString(char **pstr) { char *str = *pstr; // Make changes to str ... } void doSomething() { char str[] … | |
can anybody give me the cocept of 2d n 3d arrays in c++ i will be very thankful.i am using this type of site 4 da first time but i m sure it will be good. | |
Hi all, I have to create file share network folder,my code is: Dim fs As New FileStream("\\<machine1>\Sharefolder\file.prm", FileMode.Create) windows authorization have done before,and i have full control permission on that folder. with this Code, i get this error : [COLOR="Red"]Logon failure: unknown user name or bad password.[/COLOR] How can I … | |
This is a script for showing time but it only shows in IE but not in firefox.Whats the problem? <script language="javascript" type="text/javascript"> file://start display day/date code DaysofWeek = new Array() DaysofWeek[0]="Sunday" DaysofWeek[1]="Monday" DaysofWeek[2]="Tuesday" DaysofWeek[3]="Wednesday" DaysofWeek[4]="Thursday" DaysofWeek[5]="Friday" DaysofWeek[6]="Saturday" Months = new Array() Months[0]="January" Months[1]="February" Months[2]="March" Months[3]="April" Months[4]="May" Months[5]="June" Months[6]="July" Months[7]="August" Months[8]="September" … | |
Hey, I am trying to implement a ctrl + x to close my program when the user clicks on the exit menu item or hits ctrl + x, but so far it is unresponsive, here is my code: [CODE=java] package main; import javax.swing.*; import java.awt.*; import java.awt.event.*; import testing.Intro; public … | |
Can someone explain to me exactly what a game editor does. How do you incorporate the game script into the editor, and how exactly would you go about scripting one? Thanks ![]() | |
Hi. Do you know how to get and set cursor position in C language? I know this can be done using GetCursorPos and SetCursorPos from Win32 Api but I want it to work on several OS so I cant use Win32 specific functions. Thanks. | |
I need to query a database on a server. As a first step, I have written the following Java code to just make sure I can access the database. I thought that the Try-Catch blocks would take care of the exception problem, but apparently they do not because when I … | |
Hi! Hope everyone had a wonderful New Years! Anyways... I really want to design a game.. I know how to write in html so I'm hoping I can do games also.. Either in flash or not flash... I want to make a puzzle or word game... I'm not that into … ![]() | |
when user enters data it will save and i can add/edit data throughout the instance of my main form. when i close out of it and open it again there is nothing there main form to open add form: private void AddGamerTag_Click(object sender, EventArgs e) { NewGamerTag myGamerTag = new … | |
I have a web based program that I am trying to create, in which I will have a user create a profile, which optionally includes a homepage URL and/or blog URL. Since not every user will have a blog or a homepage to enter, I have moved that information to … | |
Im trying to figure out a way to access a row I 'just created' via the primary key. As it being a primary key it is auto incremented. I am using php/mysql to create the row then I require to access that same row (via the primary key) to be … |
The End.