199,114 Archived Topics
Remove Filter ![]() | |
![]() | Hey! i am new in web development and asp.net as well. actually i am a student and want to make social network type website for my institute. Can any body help me by giving me some url about development of social networking. thank you! ![]() |
Ok so I have a login page which actually gets an employees ID and password and includes the employee id and surname+firstname in a session. Now in the following page: [code] <?php require_once("nocache.php"); session_start(); if (!$_SESSION["who"]) { header("location: logoff.php"); } else { $emp = $_SESSION["who"]; $sn=$_SESSION["surname"]; $fn=$_SESSION["firstname"]; } require_once("dbconn.php"); $sql="SELECT … | |
hi all... I am a student and but working as a php developer...my desire is be a good skillful Software Engineer. I am currently following php and java too. but my mind say try to learn C++ also.. ok good 01. How I start my C++ career. 02. What is … | |
Hello, the following code is not exactly working properly. Bascally when I enter + in the dialog box it escape but still increments in the calculation. So for instance if I first enter a word "hello" then I click OK button then I enter word "there" then I click OK … | |
I'm trying to get the key being pressed in order to start an algorithm and afterwards move the mouse on the screen and perform some clicks. How can I achieve this when the console is in the taskbar ? I tried _getch() but it doesn't work while the console is … | |
Hi everyone, that's my first post in these MySQL forums :) In college they gave us a E/R in order to make it on MySQL Workbench and I'm not sure if it is OK. If you could help me it'd be great :D Because I started with MySQL just a … | |
Hey Guys, Recently ive been developing a text editor when i came to stop. [ICODE]system("cls"); cout <<"\t\t-------------------------------------" <<endl; cout <<"\t\t| NEW FILE |" <<endl; cout <<"\t\t-------------------------------------" <<endl; cout <<"\t\t|Enter New File Name| "; getline(cin,createfile); cout <<"\t\t----------" <<endl; getline(cin,text);[/ICODE] here getline accepts code only until one press enter key How to … | |
Hello, Anybody knows about Relational Database Primer. Is there any difference between Relational Database Primer & Relational database? What is the concept of Relational Database Primer? | |
Can someone give me code for hangman in watcom pascal please, thank you | |
hello can you help me how to secure database password...hoping for your positive responds...thank you in advance.. | |
Hi guys, At the minute, I'm writing a simple Java application under Lucid Lynx, the latest and greatest Ubuntu release :) Can anyone tell me how to make the windows in my application, match the look and feel of the other windows in the system? I've tried setting the default … | |
Please help me solve this problem, I've spent 2 days to search for what error is but I can't!!! The operator + return error object though this object was still right before it is returned. Maybe it's because of the copy constructor but I find no doubt in its syntax... … | |
So I have two forms. I want the information i input to text boxes in form one, to show up in text boxes on form two. The txtONE - TWELVE belong to form1 and the Form2.Adj/Adv/Noun etcetera belong to Form2 [code] Public Class Form1 Public Sub Form1_Load(ByVal sender As System.Object, … | |
I am in school and just learning and I am completely stumped on this lesson. [B]I have determined that I will be using an array[/B] dim playingBoard(2,2) as string - 9 possible places to put an x or an o dim x as integer dim o as integer [B]I have … | |
I've created a game and want to record highscores through textboxes. I've thought using an Access database may be one idea but seems quite complicated at my level of programming. I'm looking for some ideas or an alternative to using access. If not then some way i could go about … | |
When i enter the following code I get an error saying "method must have a return type" could somebody please explain what needs to be done to correct this error. Thanks, public EditDialog(DataRow row) { editRow = row; InitializeComponent(); PopulateForm(); } | |
hi, I have created an application which allows users to view pictures, basically i want to know if it is possible for the file path to be displayed in a text box and for a user to be able to launch the picture using this file name in the text … | |
I'm working on a text based escape the room game. I've finished it but whenever i enter the command 'help' or most any other, the command executes and does what it's meant to but instead of returning to where it was before the command, the game has an error and … | |
I am working on an phone book class, and I have to have the Phone numbers, which have a name and address in an order list(linked). But I have to sort by phone nnumber, not by name...I have been trying to think of ways to sort the phone numbers. So … | |
Hey all, I have been searching and searching no luck yet. I think what i have come up with is using apaches rewrite map, but clueless as to where to begin. Here is the situation I have. I have a url [url]http://www.somesite.com/post.php?id=13[/url] and want to turn it into a SEO … | |
Okay I'm a beginner programmer and I just can't seem to get the most basic class and constructor to work. Heres what I have [CODE]import java.io.*; public class bankAccount { //instance variables String name; int number; double balance; } public bankAccount(String name, int number, double balance) { name = "John … | |
Hello All, I am getting the following error message when I try to execute my program as an executable jar on a remote system.The same program works perfectly fine on my local system: Exception in thread "main" java.sql.SQLException: Operation not allowed after ResultSet closed at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:926) … | |
Hi, I have have the following code on an aspx page. The code I am trying to create is to display whther a checkbox when it is is clicked on. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script> [CODE]<script> $(document).ready(function() { $("input[title$='HalfDay']").click(function() { if ([title$='HalfDay'].checked) { alert("Checked"); } else { alert("Not Checked"); } }); }); … | |
hello I've been designing a bookStore, tought it's not an easy task. It has been sweating me for no reason,errors pop up in correct statement. An error pops up saying compliation error: member or method not found in line adodc.RecordSet.Edit here is the full code: [CODE] Private Sub Command3_Click() Dim … | |
Pls send let me see the codes on how to connect a My SQL database to vB6.. ^_^ i am new to My SQL! tnhx much! | |
Hello, I am getting the below error when using mechanize to submit a webform. >>> Exception in Tkinter callback Traceback (most recent call last): File "C:\Python26\lib\lib-tk\Tkinter.py", line 1410, in __call__ return self.func(*args) File "C:\Python26\lib\idlelib\MultiCall.py", line 159, in handler doafterhandler.pop()() File "C:\Python26\lib\idlelib\MultiCall.py", line 206, in <lambda> doit = lambda: self.bindedfuncs[triplet[2]][triplet[0]].remove(func) ValueError: … | |
Can somebody tell me how to call Windows Hard Disk Defragmenter in VB.Net on Button Click. Any help is greatly appreciated. | |
Hi friends I am trying to install drupal-6.16 to my local server...I am using XAMPP server on windows xp. but i am getting this error massage. [B]Warning: fopen(./sites/default/default.settings.php) [function.fopen]: failed to open stream: No such file or directory in E:\local server\xampp\htdocs\www\drupal\includes\install.inc on line 188 Warning: Cannot modify header information - … ![]() | |
Hi, I've been learning basic C++ for the past few days, and at the moment, I'm trying to make a basic 2-number, plus/minus/multiply/divide calculator. Here's what I have (it's complete). Basically I was wondering if anyone could recommend a quicker or shorter way of typing all of this out. Thanks … | |
Hi, do you know any function or component that I need to use to make a smooth image rotation? (as smooth as windows image acquisition). I am currently have a sub that enables me to rotate the image, it is okay with small image, but I am dealing with very … | |
Hi, I have a game that at the moment is a little like mario- a jump and run. I want to add a timer to my main funtion so that after 60 seconds or so the game ends and goes to a highscore table where you can enter your name … | |
hi guys, where can we find free pdf tutorial on asp.net 3.5 with mvc and silverlight and also in sql 2005 tnx in advance | |
Ok, I'm probly going to sound like a bit of an idiot, but I'm new to the programming world. Whenever I attempt to run this program, I get a long list of error messages. //DATATYPE.CPP //Examples of variable declaration and //initialization. #include <iostream> main () { //declare a constant for … | |
Hi, I'm a bit new to python and gui programming. I was wondering if there was a way to display a widget on desktop such that when you minimize everything, my widget still displays? I'm currently checking out PyGTK because I'm using gnome on linux, but if there's a cross-platform … | |
Hi guys: I am trying to run my makefile on my system. I am getting the following error [CODE]% make cc -c -O -I/Users/gcardonav/jpeg-6a -I/Users/gcardonav/cfitsio FITS2jpeg.c In file included from FITS2jpeg.c:26: jpegsubs.h:28:20: error: malloc.h: No such file or directory make: *** [FITS2jpeg.o] Error 1 %[/CODE] I do a search for … | |
1)CREATETABLEProject( ProjectNovarchar2(5)notnull,ProjectNamevarchar2(20), StartDatedate, FinishDatedate,PRIMARYKEY(ProjectNo)); 2)CREATETABLEAssignment( StaffNonumber(3)notnull, ProgramNovarchar2(4)notnull,PRIMARYKEY(StaffNo,ProgramNo), FOREIGNKEY(StaffNo)REFERENCESStaff(StaffNo), FOREIGNKEY(ProgramNo)REFERENCESProgram(ProgramNo)); 3)CREATETABLEStaff( StaffNonumber(3)notnull, StaffNamevarchar2(10), SalGradenumber(2)CHECK(SalGradebetween1and12), YearsExpnumber(2), ProjectNovarchar2(5),PRIMARYKEY(StaffNo), FOREIGNKEY(ProjectNo)REFERENCESProject(ProjectNo)); 4)CREATETABLEProgram( ProgramNovarchar2(4)notnull, Titlevarchar2(20), Languagevarchar2(20),PRIMARYKEY(ProgramNo), CHECK(Languagein('VB','JAVA','ORACLE','C','XML'))); for the code above, what type of integrity constraints will be on them? (how many do u think?) also; i've created this code (below) but there seems to be … | |
[CODE] public void setTableModel(List<Users> users) { eraseTableRows(); for (int i = 0; i < users.size(); i++) { Users u = users.get(i); tm.insertRow(i, new Object[] { stuff }); } } private void eraseTableRows() { for (int i = 0; i > tm.getRowCount(); i++) { tm.removeRow(i); } [/CODE] i've tried this and … | |
When using a small Access database, is it better to return the results of a query and search the result, or to try to filter the results in the query? I tried the latter first, like so: [CODE]<cfquery datasource="cpac" name="results"> SELECT Email FROM Subscribers WHERE Email='#FORM.Email#' </cfquery>[/CODE] and am puzzled … | |
I have been able to extract a single column with help here but now I want to get two, but the same process does not seem to work. [code=pascal] Procedure Tform1.showroom; begin adoquery1.close; adoquery1.SQL.Clear; ADOQuery1.SQL.Add('Select roomname,description from Rooms'); adoquery1.Open; end; procedure TForm1.FormCreate(Sender: TObject); begin ADOConnection1.KeepConnection := false; datasource1.DataSet := adoquery1; … | |
Hello everybody, I would link to represent a graph with incidence lists. This picture is what I've thought about: [URL="http://img697.imageshack.us/img697/2640/incidence.jpg"]http://img697.imageshack.us/img697/2640/incidence.jpg[/URL] This is what I created: [CODE] #include <cstdlib> #include <iostream> using namespace std; class Edge; class Pointer; class Node { public: Node* nNext; Pointer* incList; char First; Node(char a) : … | |
I am trying to create an upload system for my website. I want it to display the size of the file as well as the percentage the file takes up of 1GB (example: 512MB would be %50 because 512 is 0.5GB). The way I chose to do this is to … | |
Can someone check my work to make sure I did the following correct... The array-based implementations of stacks in this section impose and upper limit on the max size that a stack may have. Write a member function full() for the stack class that returns true or false according to … | |
Hi i am trying to make a jump and run game kinda like mario. i have been following a tutorial so im not completly sure how the playing map is generated i want to add more jumps, ledges and make it bigger basically. I have no idea how to do … | |
Can someone please double check to make sure I have these right. Here are the instructions... Assume that q is a queue implemented as described using circular array with queueElement = char and capacity 5, and then ch is of type char. Show the values of myFront and myBack and … | |
Hi all, I am having quite some trouble with doing a certain task in php that im sure someone would know how to do it. To start, I want to have my script create a table for every 12 keys in an array. Here is the beginning of the code: … | |
Hi Everyone I just finished a program in Lua and I am really happy with it. However I committed at least two sins, I used a globals and I created a God object. I work alone and my programs are under 2K lines of code. The program had this "design … | |
Hi everyone! So I have a problem with java applet. [code] import java.awt.*; import java.applet.*; // import an extra class for the ActionListener import java.awt.event.*; // Tells the applet you will be using the ActionListener methods. public class project extends Applet implements ActionListener { TextField nameField; Checkbox cb1; Checkbox cb2; … | |
Hi, i have a program that connects with an sql database and it works fine with the sql. Now the problem comes when i publish. When i open the published program it gives me an error. An attempt to attach an auto-named database for file ..... A database with the … | |
Hello, I'm new to assembly ... I wonder how I can write the variable res screen... By sending write writes trash... [B]Code:[/B][CODE]name "mycode" ; output file name (max 8 chars for DOS compatibility) ORG 100H JMP MAIN NUM1 DB 12H NUM2 DB 12H RES DB ? MAIN: LEA DX, OPCAO … |
The End.