199,114 Archived Topics
Remove Filter ![]() | |
Alrighty, ur in the game you click a NPC, you click to buy an item. It then sends a packet to the server seeing if you have enough money an so on if you do it sends a packet back? Would that be correct? If not can someone help me? | |
Please help me how will i solve my problem with login. The requirement is to terminate/lock the system, if after 3 attempts, the user failed to entered a right password. I used a some codes (indicated below). When i enter a correct username & password, it shows the next form. … | |
How can i add, delete, update using datagrid?currently, im using Sql Server as the database. | |
hello Guys, can somebody help me reading a .dat file then output the file in a textfile sample .dat file 1 2007-02-12 18:13:13 1 1 2007-02-12 18:13:20 1 1 2007-02-12 18:13:23 1 1 2007-02-12 18:14:04 1 12345 2007-02-12 18:15:15 1 1 2007-02-12 18:15:17 1 12345 2007-02-12 18:15:19 1 sample Output … | |
I have a script that has the code similar to the following: [code] if((isset($_POST['somefile'])) { header("Location: http://www.url.com/somefile.pdf" ); } [/code] This evaluates the selections of a form and will open the pdf file if the 'somefile' option is checked. Now what I'm needing is basically two seperate IF statements to … | |
Hello friends, I'm trying to write a program to check the status of a process (specified by its process-id), ie, the process is presently running or not. Can you pls give me some idea to solve it? Thanks in advance. Amit | |
I want to select single value from Table and display in lable. I wrote a program :- [COLOR=darkgreen][code] protected static string ConStr = "Data Source=URJIT6;Initial Catalog=Employee;Integrated Security=True"; protected SqlConnection NewCon = new SqlConnection(ConStr); String QStr = "SELECT Username FROM Register WHERE LoginID=' " + LoginIdtxt.Text.ToString() + "'"; SqlCommand SqlCmd2 = … | |
I am creating a login sessin in php. In first part index.html takes in text for AUTH_NAME and password in AUTH_PASSWD. In the login.php I set these variables as global with session_register("AUTH_NAME") and session_register("AUTH_PASSWD"). code: index.html [PHP] <html> <center><h2>Login</h2> <form action=login.php method="post"> <table align=center> <tr><td>User</td> <td><input type=text name=AUTH_NAME size="20"></td></tr> <tr><td>Password</td><td><input … | |
Greetings! I'm asking your help. It's about printing a record. I used ADODC and the data is in access. what i want to happen is that when i choose to print a particular record. how will i do it? please help me to solve this problem.. i have a deadline … | |
Hi All, I am starting out with learning the basics of C. Once i have learned that i would like to know how to make the programs look visually better. Things like drawing coloured boxes/ windows etc. One of my learning programs is a simple calculator. If i want to … | |
hey there, i have a piece of coursework to be handed in tomorow and i am struggling to get this new bit of code that has been issued right. i have to write the pseudocode for an atm machine and one of the procedures is to validate a pin number. … | |
Ok I am think I am doing this right, I am finding the big theta for algorithms I have two: #1 [code=c]int selectKth( int a[], int k, int n ) { int minI; int tmp; for ( int i = 0; i < k; i++ ){ minI = i; for … | |
Hi Friends, I have one strange problem the if conditions are not working, it is not supporting at all. Any idea why ? iam using ODBC_CONNECT() with MSSQL and PHP. Regards | |
I'm having a bit of a problem with function style cast with classes. When I exit the function I expect an instance of Database to be returned. This instance would then be copied into the db declared in main. I've writtien a copy constructor and it works fine (tested by … | |
Hi all. I want to know in which case, it should use two forms in a one web page (example situations) (Except that when the action pages are separate)….? | |
Is there any provision lik customised panel in java??? Can we design a customized frame in java?? i jus wanna knw whether v can or not.. don need t code:cheesy: if t code is available den post it :mrgreen: Thnx in advance! | |
i am just starting into assembly programming, i am currently trying to trace a program step by step to determine a value of a certain register for the particular line and unfortunately, i dont understand how it goes... i am working on this code i found from somewhere, it says … | |
Hi. I have tables like these: [B]table1 [/B]([U]table1_id[/U], table1_attribute1, table1_attribute2) [B]table2 [/B]([U]table2_id[/U], table1_id*, table2_attribute1, table2_attribute2) The primary key of the first table is table1_id. It is auto incrementing and it is also a foreign key for the other table - [B]table2[/B]. Let's say I want to add a new record … | |
Ive Come Up wid another question?.. Is ther a timer component in JAVA? | |
Hi guys, I found out that this is a VERY interesting community for programmers :D Anyways, it seems that C# and Java are VERY SIMILAR, and almost identical, however, i'm just wondering whther there's a need to import library in C# ? Thanx | |
i am editing a devolped solution the problem is that check boxes are need in the datagrid but data is viewed in the datagrid without checkbox which exist but not viewed | |
Hi, I need to export data from a DataSet Element to Excel. Does anyone know the easiest way to export the data from the DataSet to an Excel file on the client's machine? Thanks, Mike | |
;) Hi guys.... I am a beginner at Perl, and i have some problemes I wanna solve!! I hope u can help me. the exercise is: Make a program that counts the number of positive and negative numbers in a column. Also count the zeroes in the column, if there … | |
Hi all, I have a project made in C code which generates the position and the velocity of a pendulum. I want to represent it in a graphic while the points are being generated but I don´t knom how I can do it or if it´s possible. I don´t know … | |
Hey everyone, I'm using the php function [URL="http://us2.php.net/nl2br"][COLOR="Blue"]nl2br[/COLOR][COLOR="SeaGreen"]()[/COLOR][/URL] to display some characters on a page from a textarea. I'm storing the text into the database exactly as it is entered, and then only using the [URL="http://us2.php.net/nl2br"][COLOR="blue"]nl2br[/COLOR][COLOR="seagreen"]()[/COLOR][/URL] when displaying it on a page. Should I do it the other way around? … | |
Hello: I have recently been studying Java; I have followed a few tutorials and building some simple apps. I am wanting to try applets. I read about them tonight and followed an included tutorial in order to get an introductory feel for doing so. My questions do not pertain to … | |
Hi, I am using postgresql 8.1 an I am trying to connect to the postsql from JSP and servlets but I cannot find the driver name for the postgresql so I can use it in the jsp connection. i hv been sujjested to use jdbc but cannt find advantage of … | |
I am a newbie to VB...and i am doing a project on One to many chat using the winsock component...the only problem i am stuck with now is that i have completed only one to one chat and would like to make it a many to many chat...plz help me … | |
Hello.. I am having two php pages the 1st page is the registration and in the 2nd page i need to use the ID associated with registration (stored in databae) I think we need to maintain sessions for this.. But I am not clear with its implementations.. Plz kindly help.. ![]() | |
![]() | In earlier versions of c++, there was a function gotoxy() which could take me anywhere in the screen. Its available with borland compilers now too but not with visual c++ express. Is there any substitute for that. ![]() |
I am working on a asp.net project currently in my office.I want to copy this project into my system at home so that I can work on it both at home and at office but [COLOR=Red]my project copied from my office system is not atleast opening in my system at … | |
I am having troubles getting this program to generate random numbers. Right now i have it set up to only generate 1 and 19. I do not know how to generate random numbers. :confused::?::twisted::eek: thank you if anyone can help my dumbass. [CODE=c]// Exercise 12.16: MultiplicationTeacher.cpp // This game asks … | |
how to turn a user input into a text file for example user inputs 100 and the program creates a text file named 100.txt? I have tried to work it out but it still doesnt work properly. i used [code=c] getc(stdin); char filename[80]; sprintf(filename,"%d.txt", stdin); [/code] and then i also … | |
Hi, I'm a noob Python/Tkinter user, and I'm finding that gathering information on the two is not as easy as I'd like... hopefully you guys will be able to help. My first question: I was just wondering if there's a way to tell Python, "take all the files in X … | |
Hi , I have an application in which html and asp.net is to be linked. In the html page I have a link to the asp.net page. <a href="WebForm1.aspx">Link to Asp.net page </a> But, when I click on that link I get the code underlying the asp.net page displayed instead … | |
I'm at the point of learning how to write to a file. I created these lines as a test. My concern is that it doesn't look right that I have to write the same sentences for displaying it to screen and to put it in file. [code=c] /* * data.c … | |
Does any of you know how to get the pathname of the perl script that is being executed? Say it is located in [inlinecode]/home/wolfpack/perl/[/inlinecode] I run it from [inlinecode]/home/wolfpack[/inlinecode] by giving the absolute path name like, [inlinecode]/home/wolfpack/perl/scriptname [arguments][/inlinecode] I want to get the path [inlinecode]/home/wolfpack/perl[/inlinecode] so that I can use … | |
hi all. I am quite new to C#, I need to get oriented a little. So I have an easy question for the beginning :) I can't find the "Visible" property of a form. I can't set the innitial visibility even programmaticaly. All I can do is wait for a … | |
I want random links in this code to open in a new window. how to please ? [code]<script language="JavaScript"> <!-- // Create arrays to contain all the values // for links and image locations link = new Array image = new Array link[1]="http://www.wildexpo.com.au/Aust%20Rep%20Show/" image[1]="http://www.reptilesaustralia.com.au/forums/Ads/wildexpo.gif" link[2]="http://www.excite.com" image[2]="http://www.excite.com/mesp/images/excite/new_logo-180.gif" link[3]="http://www.lycos.com" image[3]="http://a284.g.akamai.net/7/284/987/000/lygo.com/ly/i/lyguide.gif" link[4]="http://www.cnet.com" image[4]="http://cnet.com/Images/Headers/cnet-1-title.gif" … | |
I am using VC++... I need to know how to add a header to the Application, Can someone Joe, or anyone else Give me Step By step on how to do it... Say I had a header called Bob.h and I wanted to add it to my application Tauren That … | |
Hi. SInce you guys were so helpful the last time around, I decided to ask a less pressing, but more casual questions. My friends and I want to build a private p2p client (connects to our computers through this client to share files and do messaging), just for the heck … | |
can any one plz tell me how to execute jsp in tomcat .i am unable to execute & how to create war files to deploy | |
A friend of mine and I are taking an external computer science test. While studying the review it has become apparent that some of the syntax presented is quite unfamiliar. Here are a few examples: [INLINECODE]Stack<Integer> s = new Stack<Integer>();[/INLINECODE] For this line of code what exactly is the purpose … | |
I am a new user in vb6. can i edit the font colour of the command button in vb6. | |
This might seem like a silly question, but how do I read in a newline char, by itself, as input? For example, if I gave the user a choice to enter a string for a new filename, or let them just press ENTER for some other choice. forgot to add … | |
[COLOR=#191970]Hi Everybody I am using ASP.NET 2.0 In my application, i want to use session concept I have a user control, in which i have to set the default values for some controls to be session variables. eg: for a dropdown list i am using -1 as the defualt value … | |
HI, I'm still rookie guy with mysql database, I have a mysql script file called "MYBox" in notepad and I want to export to the one of folder directory but I don't know to do that from Does. I need someone help me what command do I need to type … | |
how to pass an array to a function in C#? suppose i have an 2-d array char [,] b = new char [100,100] how i pass it to function | |
When someone logs out of our site, I want the previous page to not be accessible (or any of the other pages.) So far, when a user clicks the logout button on our site, I do the following: 1) I write to a file 2) erase the session cookie 3) … | |
Hey Guys, Could really do with a hand. Needing a VBA whizz. See if you can get your head round this? Problem is: In folder DHSC S&A, there is: 73 files, which are used by managers all with sheets 1-52 and masterentry, summary, monthly breakdown. The 1-52 represents 52 weeks … |
The End.