199,114 Archived Topics
Remove Filter ![]() | |
[B]welcome Dear all this my first topic in DANIweb so that I'm waiting for more than help , I try to design time calculator to calculate time by Minutes you can see code (((( Private Sub Command2_Click() If Val(Text1.Text) = 0 Then MsgBox "type any Date and Time value": Exit … | |
Hello I'm trying to pass a key array to a function in another class and its not working. Can anyone explain to me essentially what the key array is? Is it an array of char? Well anyways here is my code I'm getting errors please help. Thanks HERE IS MY … | |
hello to all i am here to clear my one confusion as i am stuck in somewhere logic part. i have four tables in database : state region district circle on page load i have to show the states from the database in the form of checkboxes. and when user … | |
Hello I am developing my first game in Allegro. Till now i found it easy to use. But now i read that for running a game allegro.dll is required on computer. Tell me if it is correct. Also many people say that SFML is better than Allegro, since the latter … | |
Hello everyone, I am looking for some instructions on learning C# for a 15 year old. He is creating some games in Unity 3d program and is doing pretty good following tutorials but i don't think he is understanding the programming concepts. I searched google but can't find anything that … | |
Hi, everybody. I would really like to know if there is anyway in which I can package two or more set up files together with my vb.net application; so that after installing the application, it automatically starts installing the other applications from the other set-up files. In my case I … | |
When I try to build a C++ project I get the error message in the title line. I am trying to help my son move his development from a unix cluster to his laptop. He is running Windows XP Pro and has installed the Eclipse IDE for C/C++ Developers. The … | |
see this code [CODE]<?php $username = $_POST['username']; $password = $_POST['password']; if (isset($username,$password)) { $connect = mysql_connect ("localhost","root",""); mysql_select_db("phplogin"); $query = mysql_query("SELECT * FROM `users` WHERE username ='$username' and password='$password'"); $numrows=mysql_num_rows($query); if ($numrows!=0) { while($row = mysql_fetch_assoc($query)) { $dbusername = $row ['username']; $dbpassword = $row ['password']; } if ($dbusername=='username'&&$dbpassword=='password') { echo … ![]() | |
Just a couple of problems I'm working on-- can anyone help. Thanks. 1. You are making changes to an existing ASP.NET application. The application contains a DataSet object, dsProspect. The page you are changing displays prospect data from the dsProspect DataSet and includes an Update button. You define a new … | |
im reading a text file that contains data in a fashion similar to this $1.2.3.4.5.6$ %7.8.9.10.11.12% *a.b.c.d.e* what i want to do is read only data enclosed by '$' and skip to the next line if the data contained are not. written below is my code. im kind of stuck … | |
Hi techies, i'm a final year student of B.Tech in C.S from India, for final year project i'v chosen e-commerce, the platform would be Java, using jsp for coding, dreamweaver for designing...n ms access for data base. Guys, pls help me out in deciding how should i go about it.....i … | |
I want to sort the getSal values in the myList. It should be a sorting algorithm implementation so that adding or removing objects does not affect the performance. [CODE]import java.util.*; public class payment { public String name; public int salary; void setName(String _name) { name = _name; } String getName() … | |
i am just learning how to code for oop and i have an error that i have not seen Fatal error: Class 'queryUpdate' not found in testingfile.php on line 28 line 28 [CODE] $queryUpdate = new queryUpdate($table, $fields, $condition); [/CODE] what i am trying to run. which is in another … | |
Hello.... I am running a C++ program that takes an N array and reads a from a file. One requirement of this project is that it returns an elapsed time of each function so the function efficiency can be calculated based upon an input. I am attempting to implement the … | |
Please excuse my newness. Currently I know how to execute a php script by simply naming the script [filename].php and browsing to that file on my webserver. I have also learned how to parse and display an xml file using php. What I want to do is have a .xml … ![]() | |
can anyone suggest a simple method to define an enum in python. as some examples floating on net, i used class Animal: DOG=1 CAT=2 print Animal.DOG but it doesn't seem to be working... | |
Hi All We all have read a lot about utility of copy constructor. I have a simple question .Consider the code below. Is it ok to directly copy one object's content onto other ? [CODE] Class A { ...... }; main () { A * obj_1=new A(); // Next the … | |
I am making a simple python game. I would like to be able to restart the game based on user input. You have a certain amount of guesses to guess which way to coin falls. If you lose you would get the option of restarting, instead of just breaking the … | |
Hi: I'm having an issue posting to MySQL using the animated_form.html below. My objective is to have 4 db entries posted to MySQL when the user clicks on the <a href="javascript: submitform()"><input alt="Show Results" id="btn_results" src="a_data/form_btn_show_results.png" type="image"></a> image. The form uses jquery and it produces 0 results in MySQL. Using … | |
How create a Report in VB6.0. pls send me detail as early as possible. | |
Hi! I'm trying to write a program that converts an inputted decimal number into its hex equivalent. Here is the source code along with the .h files: [code] .286 .model small datas SEGMENT byte PUBLIC 'data' newl DB 10,13,'$' msg_hex DB "Hexa: $" msg_zec DB "Dec : $" tabela DB … | |
[CODE] #include "includes.h" int main() { SYSTEMTIME st; GetSystemTime(&st); ofstream syslog; //st.wDay= 30 syslog.open("today"st.wDay".txt"); syslog.close(); system("Pause"); } [/CODE] bt idk how to make it this line is completly wrong syslog.open("today"st.wDay".txt"); can anyone help me :) | |
I have a couple quick questions with the program that I am doing. This program is a hi\lo program and here are my remaining issues... 1. When I click the high or low button in my program it does not make changes to my token (I want the default tokens … ![]() | |
Hello..ia it possible to make a crystal report using php?please help | |
Hi, i am trying to connect to MySQL database [ICODE]mysql[/ICODE] using JAVA .. using code given below, [CODE]import java.sql.*; public class dbExample{ public static void main(String[] args) { System.out.println("Listing all table name in Database!"); Connection con = null; String url = "jdbc:mysql://localhost:3306/"; String db = "mydb"; String driver = "com.mysql.jdbc.Driver"; … | |
Hi, I'm pretty new to scripting so need some help... Basically I have a 1TB drive that hosts hundreds of .mdf files. What I want to do is search this drive for these .mdf files, zip them, and then delete the original .mdf file permanently. Any advice/help would be greatly … | |
can someone help with this? nothing works beyond the // *############# [CODE]<script> function $_(IDS) { return document.getElementById(IDS); } function calculate_paid() { var amtpaid = document.getElementById("amtpaid"); var rentdue = document.getElementById("rentdue"); var prevbal = document.getElementById("prevbal"); var hudpay = document.getElementById("hudpay"); var tentpay = document.getElementById("tentpay"); var datepaid = document.getElementById("datepaid"); var late = document.getElementById("late"); var … | |
Hi, I am trying to display multiple images on a search page. If name comes up in search so does image under same user id. It works only for one image for all names same. Example: Facebook, same name found in search but different images. I'm thinking a do while … | |
Please help me to open at html file from the server ,edit and save it, using php. The code below returns a blank page i.e. no syntax errors but no output. home.htm is the exact name of the file on the server and it has 776 permisions. $openedfile =fopen(home.htm,'r+'); //open … ![]() | |
Plz any one can help me... i have only one table in an ms access database(2007).that table contain two fields only ID,Name.i want to search that table using ID(primary key) and result should show the name of particular id. In a vb.net(2008) form i put one text box,one button and … | |
Having a problem that I cannot seem to get over. Simply trying to do a post of an xml string to a web site. Seems to work fine, until I hit a certain size of the string, then it fails. I have searched for other methods, but am coming up … | |
![]() | [code] ''' <summary> ''' Returns a new copy of the bitmap passed in. The new copy is rotated ''' to the specified degree and resized to fit its new bounding box. ''' </summary> ''' <remarks> ''' The Original Bitmap should be the bitmap that has never been rotated. ''' If … ![]() |
Hi I am trying to count the rows from a table at the same time I want to update the new column I m trying the following code but not getting results please help me.... [code] string str1 = "SELECT Extrausage FROM perclientreport WHERE Bill>0"; cmd = new OleDbCommand(str1, con); … | |
Dear Freinds I want to get two rows out of 6 columns in datagrid from database out of 6 columns so kindly give me a query of this programme but give me linq to sql query thanks | |
I apologize for the vague topic title, but the actual topic title would be very long. Is it possible that after you find a string, backup until you find a specific character and copy it? For example, I am looking for "bread". The text is milk8andbread. Would it be possible … ![]() | |
I need help with printing support. i followed a tutorial on dreamincode.net for printing and now i need help. When i print, it prints out two pages the first one has 0 in it and the second one has 00 on it. I am trying to get it to print … | |
I have a unit conversion program that needs to take in a float and 2 strings from standard input. My previous solution was: [CODE] float orig_quant; char *orig_name = (char*) malloc(MAX_CHARS); char *new_name = (char*) malloc(MAX_CHARS); fscanf(stdin, "%f %s %s", &orig_quant, orig_name, new_name); [/CODE] However, this only works if the … | |
Is it possible to have a feature where the application checkes for updates every 7 days or each launch? If so, please could someone point me in the correct direct to adding this to one of my applications. Thanks | |
Dear friends, hello to you all as this is my first thread - question to the forum. This is my problem, which is a school exersize: I create a linked list which contains three numbers r,c,d per node From this list I have to create a hash table htable[7] with … | |
Hello everyone, I'm _very_ new to xml, especially converting using an xslt. Here's my source XML generated by Eeye Retina. This data is being used by MS Access and I don't need all the data from the original XML. When I try to run the MS Access app I get … | |
The following code snippet is throwing error if i use the mkpath command.Can any one help please? i get the following error message: D:\perl_prj>perl ex2.pl a.csv mkdir IDS/CPIDS : Invalid argument; The filename, directory name, or volume label syntax is incorrect at ex2.pl line 28 [CODE]use File::Path; #get file name … | |
My code has all of a sudden gone strange. Example 1: When I click my save button nothing happens, when I double click the button in the designer, it creates a new sub called "save_click_1" Example 2: My linklabel is no longer working. Double-clicking it in the designer ccreates a … | |
i[CODE]mport javax.swing.*; public class ReverseArray { public static void reverse(int b[]){ int left = 0; int right = b.length -1; while(left<right){ //exchange the left and right elements int temp = b[left]; b[left] = b[right]; b[right] = temp; left++; right--; } } public static void main(String a[]){ } } [/CODE] how … | |
[code] lis.py class mylist: def __init__(self,l): self.data = l; def __add__(self,l): self.data = self.data + l def __repr__(self): return self.data main.py from lis import* x = mylist([1,2,3]) x = x + [4,5] print x [/code] Why is it printing None? What do I did wrong,Thanks. | |
Hi, I have the below script which downloads few files from server and writes the file size, start time and download time to a file. Now i want a header for that file. The script does so, but when i run the script again, again the header is appended to … | |
I'm trying to convert LPWSTR to LPSTR withi this: [CODE] LPWSTR *argvw; int argc; argvw = CommandLineToArgvW(GetCommandLineW(), &argc); LPSTR argv = new CHAR[argvw->size()+1]; WideCharToMultiByte(CP_ACP, 0, argvw->c_str(), -1, argv, (int)argvw->size()+1, 0, 0); [/CODE] but I'm getting this: [CODE] main.cpp:14: error: request for member 'size' in '* argvw', which is of non-clas … | |
i am just trying basic C++ GUI and i ran this code from a tutorial site. [CODE] #include <windows.h> int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR pszCmdLine, int iCmdShow) { MessageBox(NULL, "Hello World", "Testing", 0); return 0; } [/CODE] when i run it, it executes and makes a animation of … | |
what is the problem? i have this message when insert? [QUOTE]Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '4'', `data_no` = ''1'', `note_date` = 1293628283, ' at line 4[/QUOTE] and this is … ![]() | |
Hi, I am trying to create a league table. There are eight teams. The teams and their results are added to a text file on one form. The teams and results are seperated by a comma. On the second form i have a label where I am trying to display … | |
Hi All, I have created a form called new users, I have added my data source, draged over the objects I want from the dataset onto the form and all is well appart from the fact that I cant delete records. To add them I simply click the add button, … |
The End.