199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Tauren

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?

Member Avatar for WolfPack
0
127
Member Avatar for purplestar86

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. …

Member Avatar for waynewilson1
0
135
Member Avatar for aj_daria

How can i add, delete, update using datagrid?currently, im using Sql Server as the database.

Member Avatar for kapil.goyal
0
123
Member Avatar for royaloba

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 …

Member Avatar for royaloba
0
844
Member Avatar for mindfrost82

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 …

Member Avatar for jblacdao
0
277
Member Avatar for amt_muk

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

Member Avatar for amt_muk
0
124
Member Avatar for shikha.ch

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 = …

Member Avatar for shikha.ch
0
121
Member Avatar for slacke

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 …

Member Avatar for jblacdao
0
139
Member Avatar for purplestar86

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 …

Member Avatar for mjwest10
0
142
Member Avatar for andy257

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 …

Member Avatar for ~s.o.s~
0
143
Member Avatar for muddpigeon

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. …

Member Avatar for muddpigeon
0
84
Member Avatar for Mrclean8586

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 …

Member Avatar for Rashakil Fol
0
188
Member Avatar for yakoo

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

Member Avatar for mbacon
0
88
Member Avatar for degamer106

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 …

Member Avatar for Ancient Dragon
0
180
Member Avatar for rpjanaka

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)….?

Member Avatar for jwenting
0
68
Member Avatar for arjunsasidharan

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!

Member Avatar for jwenting
0
91
Member Avatar for jella_flores

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 …

Member Avatar for mathematician
0
194
Member Avatar for M40

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 …

Member Avatar for M40
0
140
Member Avatar for arjunsasidharan
Member Avatar for peter_budo
0
148
Member Avatar for Monyet

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

Member Avatar for nikkiH
0
91
Member Avatar for costavo

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

Member Avatar for kapil.goyal
0
65
Member Avatar for mikefitz

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

Member Avatar for kapil.goyal
0
145
Member Avatar for MojoS

;) 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 …

Member Avatar for MojoS
0
105
Member Avatar for ziman

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 …

Member Avatar for Ancient Dragon
0
82
Member Avatar for nathanpacker

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? …

Member Avatar for nathanpacker
0
87
Member Avatar for mattyd

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 …

Member Avatar for mattyd
0
104
Member Avatar for nehashri

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 …

Member Avatar for nehashri
0
162
Member Avatar for varun.coolmax

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 …

Member Avatar for varun.coolmax
0
117
Member Avatar for MeeraKotecha

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..

Member Avatar for Rhyan
0
122
Member Avatar for GreenDay2001

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.

Member Avatar for GreenDay2001
0
486
Member Avatar for ramareddy_dotne

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 …

Member Avatar for iqbal_2378
0
222
Member Avatar for elcrapo

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 …

Member Avatar for WaltP
0
141
Member Avatar for cusado

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 …

Member Avatar for Lazaro Claiborn
0
244
Member Avatar for aot

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, &quot;take all the files in X …

Member Avatar for mawe
0
100
Member Avatar for Aswathy

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 …

Member Avatar for Aswathy
0
89
Member Avatar for Aia

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 …

Member Avatar for John A
0
222
Member Avatar for WolfPack

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 …

Member Avatar for WolfPack
0
174
Member Avatar for orhor

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 …

Member Avatar for orhor
0
103
Member Avatar for Inny

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" …

Member Avatar for Inny
0
230
Member Avatar for Tauren

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 …

Member Avatar for John A
0
132
Member Avatar for scru

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 …

Member Avatar for scru
0
113
Member Avatar for aruna_k_2006

can any one plz tell me how to execute jsp in tomcat .i am unable to execute & how to create war files to deploy

Member Avatar for jwenting
0
92
Member Avatar for kimbokasteniv

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 …

Member Avatar for jwenting
0
132
Member Avatar for joy_vb

I am a new user in vb6. can i edit the font colour of the command button in vb6.

Member Avatar for WaltP
0
105
Member Avatar for degamer106

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 …

Member Avatar for WaltP
0
4K
Member Avatar for Sarah Lee

[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 …

Member Avatar for madmital
0
133
Member Avatar for andy3250

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 …

Member Avatar for andy3250
0
328
Member Avatar for shadowrider

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

Member Avatar for shadowrider
0
79
Member Avatar for qualtran

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) …

Member Avatar for Mushy-pea
0
185
Member Avatar for bsnapool2006

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 …

Member Avatar for mason12345
0
176

The End.