199,114 Archived Topics
Remove Filter ![]() | |
Hi, This is a real simple answer but for the life of me i cant seem to work out. I am trying to display my notes on one side of the page however the notes are long and are running right across the page instead of automatically going into a … | |
I'm trying to figure out how to get a string from an array starting at some given position. Say we have an array that's arbitrarily long and my string starts at location 1000. If I wanted to get a string from a file I would simply use something like getc … | |
Hi All, My question is, I have a page (index.php) that creates an instance of a class (customers). In that page it opens a new page (edit.php or add.php, or del.php or search.php). I need to know when that new page opens is the class "dead", and how can I … | |
hello guys!!!!!!!!!!! please,i have tried as much as i can to sort a given name alphabetically.but,i couldn't get it.please, help me. | |
So, in the course of a bigger project, I need to generate normally distributed random numbers. I've decided to try to use the GSL rng library. From [URL="http://www.gnu.org/software/gsl/manual/html_node/Random-Number-Generator-Examples.html"] the gsl webpage[/URL] I got an example code, just to get an idea of how the interface works. The program looks like: … | |
Hi everybody, i want to compare between 2 vector that stored char value. I've made 2 vector: [code] vector <char*> className; vector <vector<char*> > Item; [/code] first i stored the class data in each vector, the name of class in vector className. after that i get data from the other … | |
I have installed oracle10g ExpEdition,it hasn't inbuilt table. I need oracle tables emp,dept,salgrade,mgr.If you have installed oracle9i , you can easily export the tables. I am describing the method. [ICODE]open command prompt type C:\>exp scott/tiger file="c:\emp.dmp" tables=(emp,dept,salgrade,mgr) [/ICODE] then go to c drive,You can see the exported emp.dmp file. Please … | |
Hi! My page does not redirect to "userReport_Asset.php" when i click the submit button. what happens is that when i choose an item, it is not shown yet in the drop down menu. when i click submit, it prints the item selected (i print the values to see if it … | |
Is there any VB pseudocode generator? or converter from vb code to pseudo code. I need to convert that code for pseudocode: 1) Login form: [CODE] Private Sub Command2_Click() Dim password As String Do Until password = "dawid" Or attempts > 2 password = InputBox("Please enter your password") attempts = … | |
Hi all I have a div in which I've placed some anchor tags with the css property: [CODE=css]display:block;[/CODE] I've given the div a grey background color and when I view the page on the net the div doesn't surround the anchor tags. The height of the div seems to be … | |
Is it possible to have a client/server service that doesn't use sockets? | |
How to connect username and password in a database for more secure login? | |
Hi, I have a set of random numbers in a datagridview. Im trying to figure out the easiest way that each time i loop through the numbers x amount of times and it somehow stores the last value so that i can average the final number. My datagrid view is … | |
Hi i m new to java, i want to make a simple application with netbeans ,(To Learn) i want to learn how to get data from a data base(mysql database) and display to textBoxes, and also want to learn how insert delete update database, Are there any tutorials or ebooks.plz … | |
Hi all, i had a page with a dropdown option.so wen i select an item from dropdown my page is getting refresh and in the dropdown it is cuming to default value.I need that selected value in dropdown even after the page refreshed.so can any one please... [CODE]<?php include 'connection.php'; … | |
In this page administrator can update the records of users.he will 1st enter user's id to search the record of a particular user and then all the stored data about user like FullName, MobileNumber, CreationDate, CNIC appears in the respective textboxes.i have made two different attempts but none succeeded. In … | |
![]() | First of all, I'm not from an english-speaking country, so I'm sorry for any mistakes. If my english is not always understandable, please ask. I got some divs with IDs which I position via css in an external file. So I got something like this on the html-site: [code] <div … ![]() |
i want to generate A0001 as user id in php. i tried a lot for this but i can't did that so anybody here to help me......... | |
me and my friend wanted to play age of empires 2 the conquerors expansion on multiplayer...........we used hamachi......the game could detect the hamachi ip but we could not find each of our games.... can someone tell me hoe to play age of empires 2 on multiplayer properly using hamachi.plz help … | |
hiiii friends, i have a table messages whose columns are id(primary key,auto increment) from to sub body now when i am trying to insert in the table with the following syntax insert into messages values(2,'$from','$to','$sub','$body') it is working fine. but since the id is in auto increment mode i am … | |
i want to give administrator of my website the privilege to change his password tht is stored in xml.the administrator types the new password in "NewPass.Text" and then retype the password in "ConfirmNewPass.Text". We have successfully compared the condition in the "IF" statement.The problem is inserting the password into xml(in … | |
hello, i want to do small mail concept. what it zzzzz means admin sends registration form to user mails. in that mail user can register their account . my doubt is is there any chance to apply validations in mail. below is my script.[CODE]<? ob_start(); extract($_REQUEST); include("includes/class.phpmailer.php"); if($_POST) { ///////////////////////////////////////////////////////////////////////////////////////////// … | |
HI All, I want to create one folder which should open only with my application. Is it possible through JAVA ?? Please Guide me and send the Java code if possible Thanks in Advance | |
hi i am using vs 2005 asp.net c#. there is a database in which i perform the select max(col) operation in sql, how can i lock the database such that when 1 user is performing this operation, others will not be able to access the page( carry out insert operation) … | |
hallo evryone...i have just installed sql 2005 on winxp and i was wondering how do i access remotely the server from another computer. i want to know the softwares to download for the client computer..should i also run sql server 2005....i don't know how to access the server...kindly assist | |
I have a potential client that wants to reproduce certain features from a website. That feature is something that I may need to create from scratch or I maybe able to find some type of plug-in application. Some research has informed me that there maybe some type of database involved,and … | |
Hello, I have made client server communication and I am sending and recieving Files. I am using file pointer and fread and fwrire commands to read and write file. I am able to read and write .txt,.GIF files.but I could not write .doc file. I am opening file in binary … | |
Hi i just want to know how can i display the item i selected in a listbox into a memo? Example : I selected in my listbox Item : Banana When i click it in the listbox, Banana will be added in my memo. thank you | |
I have an array that was an 'explode' from an sql query, and i want in another query, search for an field called "id" by each value of the exploded array(it can be 1 value or 17) and get the field "name" associated to the id, and so create another … ![]() | |
I have page1.php that has the a link to a popup. I need to send a variable to the popup window. I'm currently using this in the body: [code=php]<a href="#" onclick="actpopup(<?echo($act_id);?>)"><?echo($date);?></a>[/code] This is the function actpopup [code=php] url = "serv_act.php?act_id=act_id"; options = "height=175, width=300, location=no, scrollbars=no,menubars=no,toolbars=no,resizable=yes,left=50"; window.open(url,name,options); [/code] But for … | |
Hi all, Quick question: This is the only thing left I'm trying to work out on my console program. I am trying to return control back to the point where a user enters their selection after giving an invalid entry. I am using switch statements that house the selections, and … | |
I have loaded combo as following. [CODE]cmdString = "select propertytypeid,typename from propertytype "; da = new SqlDataAdapter(cmdString, conString); dt_PropertyType = new DataTable(); da.Fill(dt_PropertyType); cmb_PropertyType.DisplayMember = "Name"; cmb_PropertyType.ValueMember = "ID"; arr = new ArrayList(); for (int i = 0; i < dt_PropertyType.Rows.Count; i++) { arr.Add(new KeyValueData(dt_PropertyType.Rows[i][1].ToString(),int.Parse(dt_PropertyType.Rows[i][0].ToString()))); } cmb_PropertyType.DataSource = arr;[/CODE] [COLOR="Red"]but … | |
string s = "true"; string w = "false"; Console.Write(s +"\r"+w); output:false I don't understand how \r works. why is the true missed? please explain . | |
i need to read a text file and find a particular column in that text file ..i have no idea on how to do it ..can anyone help please.. | |
anyone can help me to figure out how to view your result (after searching) in the result page ? i created 2 page [COLOR="Red"]search.php viewdata.php[/COLOR] ocay, after i insert an input to the text field for search item, the result (a list) will display at the bottom of the search … | |
Hi, I have a Edit Button(which is a Image Button) and when I click that ImageButton a new browser window should open and it should load the values previously entered by the user. The new window should contain the old values and now should be able to edit them. For … ![]() | |
Hi, I am somewhat new to PHP and having a bit of trouble figuring out how to grab the value from a drop down menu from a form. Also I want to assign a number to the selected option. For Example, the person will select computer memory from the drop … | |
Hey, So I'm writing an application in Adobe Air (AJAX) and I've come upon a little problem. I've created a function to set a minimum size for the window [CODE]var check_size = function() { if ( window.nativeWindow.width < 690 ) { window.nativeWindow.width = 690; } if ( window.nativeWindow.height < 400 … | |
Hi all, I am looking for an example/code to get MAC Address with JavaScript or any other technology for a php based web application. The collected MAC Address will be stored in a MySQL table, 'login' to generate reports. I have found some php scripts helping me do this but … | |
I am working on an page that will print scheduled classes and appointments after querying a databse for them. Right now I'm trying to store the names of people with appointments in an array so I can print it after adding the classes as well. I've gotten stuck on this … | |
Hi, I am confused in making circular linked list. This is what I have. CircularLinkedList.h [CODE]#ifndef CircularLinkedList_H #define CircularLinkedList_H class CircularLinkedList { public: void remove(); void set_number_people(int); void print(); }; #endif[/CODE] CircularLinkedList.cpp [CODE]#include "CircularLinkedList.h" #include "Node.h" #include <stdio.h> void CircularLinkedList::set_number_people(int num_people) //This is where I am confused { Node *head … | |
Is is possible to take an array full of characters and then make the characters into numbers? i.e. a =1, b=2 etc. I'm trying to write a program that deciphers ceasar shift ciphers. Any ideas would be really helpful, Thanks dj_saxy | |
Hello: Soon I will need to have my foriegn keys working. I have tried to set them up with no luck. Could someone show me how to set the payee_uid below? I am using an Apache Derby Embbeded Db 10.5.3. Thanks [code] stu_uid VARCHAR(11) PRIMARY KEY, stu_password VARCHAR(11), stu_lname VARCHAR(20), … | |
I have to write a program that creates a GUI and asks the user to select from a group of buttons which time of the day they made the call, and input in a text field how many minutes the call was. for the day time, it's supposed to be … | |
I am having trouble operating this code.[CODE]<?php ob_end_flush(); ob_implicit_flush(true); set_time_limit(0); function consoleEcho($msg, $DontShowDate = 0) { if(!$DontShowDate) $date = "[". date('m/d H:i:s'). "] "; $msg = $date . $msg; print($msg ."\n"); } class client { public $sock; public $ipaddr; public $chatServer; public $uid; function sendMessage($msg) { socket_write($client[$i]->sock, $msg . chr(0)); … | |
Ok I have a program that reads in a .TXT file and displays it as tokens. What I'm trying to do now is read the file and print out only the reserved words for C++ and the variable it uses. For example: int main() { double e = 24; int … | |
As the title says it, I have made a program to implement adjacency list representation of graph. I wish to use it in implementing various graph algorithms like DFS, BFS, Dijkstra, etc. The program works fine for the test cases I put in it. But I am sure that there … | |
Hello everyone! Does anyone of you knows a good free CKEditor + CKFinder alternative? Cheers, Eshko | |
How would I be able to make a child form come to front on a button click? | |
I have a code which throws "segmentation fault" after some computation. I was looking for some help with efficient memory management. My program does the following: I have a grid with min. i,j,k coordinates -52, -34, -35 and max. i,j,k coordinates 53, 37, 33. (In i, j, k loop). I … |
The End.