199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Excizted

Hi. I have multi-language functionality on my page, and the settings are saved in a cookie, so that the user may change something different than his browser language. But this is whats happening: [U]/home.php?setlanguague=en[/U] The page shows it's text in English, and prints my user info aswell as the content …

Member Avatar for Excizted
0
107
Member Avatar for omar isaid

java.io.FilePermission this exception always thrown when I am trying to run my code using tahiti server that i am developing java mobile agent

Member Avatar for omar isaid
0
119
Member Avatar for wckddudeman

Okay so Im having an issue,and am not able to find the actual problem with the code. I have a runtime error at : First-chance exception at 0x008b182b in OpSys.exe: 0xC0000005: Access violation reading location 0x00000000. Unhandled exception at 0x008b182b in OpSys.exe: 0xC0000005: Access violation reading location 0x00000000. I do …

Member Avatar for WaltP
0
208
Member Avatar for elie_kfoury

Hey.. i want to make a string from a text file.. then i want to compare this string with another to see if they are the same... any help?? /*I'm a beginner*/

Member Avatar for elie_kfoury
0
96
Member Avatar for omar isaid

the following code I want to press done buttone to close JFrame without exit the application ---------------------------------------------------------------------------------- [CODE] package examples.SecretaryAgent; import java.awt.*; import java.awt.event.*; import javax.swing.*; public class Display extends JFrame { private JCheckBox _first_Interval; private JCheckBox _second_Interval; private JButton _done_Button; public Display() { setLayout(new FlowLayout()); _first_Interval=new JCheckBox("First Interval"); _second_Interval=new …

Member Avatar for omar isaid
0
880
Member Avatar for dalcocer

I am trying to get a WndProc Mapping solution to work so that I can avoid just making my WndProc static. In addition, a mapping solution is supposed to be great because I don't need to declare variables in my .cpp file, I can do it in my .h file …

Member Avatar for Kyle Wiering
0
188
Member Avatar for missmedude

I am trying to center the triangle, but I have no idea how. I am trying to make a triangle like below:[code] * *** **** ****** [/code](this is not the one I want, the format screws up) I kind of forgot, do i use something like printf? [CODE]#include <iostream.h> #include …

Member Avatar for WaltP
0
113
Member Avatar for imclumsy

Hey guys, I am trying to read a skel file and create a skeleton from it, but I don't understand how to do the joint class. Here is what i have now: this is the main class. [code] public static void main(String[] args) { // Frame frame = new Frame("Simple …

Member Avatar for emilo35
0
164
Member Avatar for fugnut

I have to write a program that reads in from a .txt file similar to 12345 Il 4350 (sales number, state abbreviation, amount) for the most part I dont have an issue with this, however I have to read in the State abbreviation as separate characters and ultimately alphabetize them. …

Member Avatar for fugnut
0
86
Member Avatar for xgenvn

I'm just a 4-months newbie in C++, and I have an assignment to do a small phonebook program for DOS or FreeDOS. This is what i got from days after searching: This is CTelrecord class that would save every record in details [CODE]class CTelRecord { private: int szTime; char szName[_MAX_NAME_LEN_]; …

Member Avatar for xgenvn
0
222
Member Avatar for jonnyboy12

Hello. This code im going to show you, is supposed to allow one to view the contents of a register or memory location. Im using it on masm and it compiles ok. Although i dont know where the print routine displays register contents. Any words would be a big help, …

Member Avatar for NotNull
0
115
Member Avatar for omar isaid

I am developing C#-based mobile application and the exception always thrown and catched by my try catch block Exceptin thrown : The database file cannot be found.Check the path to the database [File name = .\MyMobileDB.sdf] the snippet code is [CODE] namespace DeviceApplication4 { public partial class Form1 : Form …

Member Avatar for omar isaid
0
560
Member Avatar for omar isaid

When I am trying to debug my mobile application , that used C# as programming language a notification beside the open the connection appeares and display that the module of it not loaded and thank you

Member Avatar for omar isaid
0
393
Member Avatar for dipanshu_

Hey.. I have started learning assembly and have a little problem with indirect far call... I want to split my program in two source file, and let a procedure in one call a procedure in another, both in different segments This is what I have done so far, the procedure …

Member Avatar for NotNull
0
210
Member Avatar for xairzx

hi all i want to make a temperature gauge using scroll bar (pls refer to Attachments) it has label to show the text of current temperature and if you are noticed the are also two labels in blue and red which indicates coolness or hotness.the problem is when the temperature …

Member Avatar for xairzx
0
140
Member Avatar for rukshilag

i have coded to display a search result, or results, in table, and what i need is a way to select that record and send it to another page. how can i select a record, if a radio button is added just before the result record, how can u click …

Member Avatar for benqus
0
125
Member Avatar for Bodul

Hi. I am new to this forum, but i have been playing with Visual Basic since 4.0. Anyway here is my problem. I am getting error and can't figure out why. [CODE] Dim connectionString As String Dim cnn As OleDbConnection connectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\Database\tmprcStavka.mdb;" cnn = New OleDbConnection(connectionString) Try cnn.Open() …

Member Avatar for Bodul
0
95
Member Avatar for techie929

Hi, Could anyone please tell me how should I concatenate the below two: unsigned char byte2[1]="0X"; unsigned char byte0[6]; byte0="29";

Member Avatar for strmstn
0
142
Member Avatar for Ron2794

hi all m not even able to run simplest hello program through java........it is giving a list of number of exceptions.i wrote following [QUOTE] public class hello{ public static void main(String args[]){ System.out.println("Hello"); } } [/QUOTE] Even the above is giving following exceptions classnotfound urlclassloader noclassdeffounderror loadclassinternal findclass etc.

Member Avatar for peter_budo
0
71
Member Avatar for anthony5557

Hey guys, I've been trying to set this up for a while now and I'm getting something funny I just can't figure out. I've installed the jdk 6. I've changes the path and classpath. But when I go to the cmd its not finding it anywhere. I've new to java …

Member Avatar for peter_budo
0
78
Member Avatar for purijatin

Iam unable to run programs from command prompt, my environment variables are correct. When i type javac on command prompt ,it gives the correct data ie possible outputs. When i type java it again responds as it should. But if i run a program say: java practice then it gives …

Member Avatar for peter_budo
0
298
Member Avatar for andrew2325

I have a list. The first entry is a string, and the other three are integers. I need to store the first entry as a string and the other three as int's. Any help would be appreciated. [code] using System; using System.Collections.Generic; using System.IO; class Program { static void Main() …

Member Avatar for Geekitygeek
0
167
Member Avatar for nikhita
Member Avatar for ejazmusavi

Hi Experts! Plz can any help me to do flood fill in c#. I am trying to do this for 8 days but still nothing.............. plz thnx in advance

Member Avatar for Geekitygeek
0
190
Member Avatar for TimCereja

This has been working fine on my system, but refuses to compile on a server that I've uploaded it to. printf("Press <ENTER> to Continue\n\n"); while(getch() != 0x0d); The error message that I get is: undefined reference to 'getch' Any idea how to define getch and get this to compile?

Member Avatar for Ancient Dragon
0
93
Member Avatar for adobe71

I have a problem in my project in C# visual studio 2008, I added a textfile in my project,on button click it opens,After deployement (installation)it works fine in window xp but give error in vista,it do not find the path specified. Folling is the code: private void pictureBox9_Click(object sender, EventArgs …

Member Avatar for Geekitygeek
0
179
Member Avatar for Bobon

Hey guys, new to javascript. I was just wondering could you point me in the right direction as to where i might be going wrong. Please see code below. [CODE]<%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>JSP Page</title> <script language="JavaScript">function …

Member Avatar for Bobon
0
168
Member Avatar for techie929
Member Avatar for Ancient Dragon
0
76
Member Avatar for toko

I have a label with a picture that i want to be visible to the user. However, i also have text in that label that i need for the program to work but is unnessesary to the user. I would use Color.Transparent; to hide the text however i have a …

Member Avatar for Geekitygeek
0
125
Member Avatar for N00b3r-1

I'm a complete and utter noob to VB so I sorta bit off more than I could chew with this little project. I'm not so sure how to create a calendar. But I have sort of designed it already. I'm planning on making the layout with labels and maybe tooltip …

Member Avatar for N00b3r-1
0
170
Member Avatar for Excizted

Hi people. I'd like to use MySQL in my application - would be an easy way for me to store users. But then I'd have MySQL credentials in my app, visible for everyone with a HEX editor, I'd suppose? And even though that MySQL user will have low privileges, then …

Member Avatar for Excizted
0
163
Member Avatar for jks4000

Hi all, I tried searching for my problem but i fear my keywords and problem is to generic. Apologies if this has been answered before. OK, so I'm coding a Windows Forms app using C# in VS2008. It one of my first few applications and I'm struggling calling methods contained …

Member Avatar for Geekitygeek
0
510
Member Avatar for PHPclown

Hello guys. Can someone give me an simple example, how to make when someone register in to my game, to set him in some place on the map. I dont have map right now, and thats my question. How to make browser game map ? Some kind of tutorial or …

Member Avatar for diafol
0
155
Member Avatar for Mitja Bonca

I am doing an application which has some calculation code. I would like to know if there is possible to remember the number from the previous event handler? Lets say that I put into textbox1 number 10 and into textBox2 number 5. When the even button1_Pressed starts the code has …

Member Avatar for Geekitygeek
0
131
Member Avatar for leto-hostes.com

[code=php]<?php $con = mysql_connect('localhost', 'leto_hostes', 'password_hidden'); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("letohost_player", $con); $sql="INSERT INTO `letohost_user`.`player` (`USER_ID` ,`USERNAME` ,`PASSWORD` ,`EMAIL` ,`POSITION` ,`ACTIVE` ,`MEMBER` ) VALUES (NULL , '$_POST[register_username]', 'md5($_POST[register_password])', '$_POST[register_email]', '0', '0', '0');)"; if (!mysql_query($sql,$con)) { die('Error: ' . mysql_error()); } echo "1 record added"; …

Member Avatar for diafol
0
185
Member Avatar for DaveTran

My simple loop is coded [CODE] for (int i = 0; i < 3; ++i) { for (int j = 0; j < 3; ++j) { Console.WriteLine("i = {0} j = {1}", i, j); } } [/CODE] The output being i = 0 j = 0 i = 0 j …

Member Avatar for DaveTran
0
308
Member Avatar for cwkeng09

Hi, When I register a member using my script, why one of the column have "Resource id #14"?? Below is the code: if($do->new_user($username, $encoded_password, $email, $alertpay, $referral, $country, $c, $referral2)) {mysql_query("INSERT INTO history (username,type,time,custom1,custom2,custom3,custom4,custom5) VALUES ('{$username}','joined',unix_timestamp(),'0','0','0','0','0')"); mysql_query("UPDATE users SET balance=balance+'0.20' WHERE username='{$referral}'")or die(mysql_error()); mysql_query("UPDATE stats SET users = users + …

Member Avatar for cwkeng09
0
247
Member Avatar for jakkee

hi, I am new to c# and I am working on an application which has a main menu with an open dialog which enables users to select picture files, when the user has selected the picture file I then want this to be displayed in a new form called picture_viewer. …

Member Avatar for Geekitygeek
0
234
Member Avatar for Xufyan

I want the remainder of all the numbers inside the loop except the number which i assigned for variable [B]a[/B] for example , if i entered number [B]5[/B] for [B]a[/B], the loop is 5 4 3 2 1. i want my program to take remainder of all these values except …

Member Avatar for Xufyan
0
126
Member Avatar for csckid

hello, I tried to change the value of a textbox from another window form. the value is passed to another form properly, but I couldn't change the value in the textbox. here is the code Form1.cs public void setTextbox(String sd) { MessageBox.Show(sd); msg.Text = "fd"; } additem.cs private void button1_Click(object …

Member Avatar for Geekitygeek
0
151
Member Avatar for arulamman6

Dear All I am beginning for .NET Please send any body [B]vb.net step by step tutorial[/B].plz help me

Member Avatar for cuteaji
0
51
Member Avatar for Mitja Bonca

The code bellow allow to select only item in a listView. That means there is only one tick in the listView - always. But I would like to change the code bellow that will allow to unselect too, that there will be no tick at all. So, no tick in …

Member Avatar for Mitja Bonca
0
166
Member Avatar for sbanks_charles

I am trying to send an email message in HTML Format. I have a richtextbox the the user can change the color and font in the message. Below is the code I am using which ends up send in Text Format. Most codes I have found use System.WebMail which in …

Member Avatar for sbanks_charles
0
201
Member Avatar for msmedic
Member Avatar for jonsca
0
114
Member Avatar for Lylywhatever

can anyone here help me write a code like these graphics:[url]http://www.cs.utk.edu/~booth/[/url] i have been searching how to these, but i only saw you guys using turtle, python.game, etc.. i need a code for only python22 (graphics.py) i can only do stick figures, it would be a great help if someone …

Member Avatar for Lylywhatever
0
382
Member Avatar for jmatt110

Hey all, Trying to get a simple LAN based chat program going (required to use UDP and multicasting). I've tried both client/server and p2p implementations, yet I still can't seem to get it working. The best I've gotten with client/server is that clients on pc1 and pc2 will connect to …

0
128
Member Avatar for RSP86

Hello everyone, I have connected a form to my database, which displays info when the form loads, butttt it displays them from load, which is not what I need, can someone tell me how to clear the form upon load so that none of the textbox fierlds have data within …

Member Avatar for RSP86
0
226
Member Avatar for CaninA

anyone can do case statment for stack , queue and linked in one program plz ex: void main () do { cout << "1 - stack"; cout << "2 -queue"; cout << "3 - linked list "; cout << "4 - stack with linked list"; cout << "5 -queue ....... …

Member Avatar for uchihakyu
0
260
Member Avatar for saphireina

Inputs are 0 and 1, create a Deterministic Finite-state Machine class that accepts NONE or EVEN number of zeros and having an input of 1 does not change its current state..... pls..help me...its for my final project.... pls...i really need help!!!.. thnx guys!!!

Member Avatar for saphireina
0
71
Member Avatar for revellution

Hi everyone, I just started learning Python 3.1 (never done programming before). I just wrote this useless little program. It seems to work but I would just like a little bit of feedback as to how well I executed the idea. Basically I want to know if I am making …

Member Avatar for revellution
0
125

The End.