199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for CppBuilder2006

I have region: [code] Region r[/code] and I have a point: [code]PointF p[/code] is there any method that determines whether p is in r? something like this [code] bool is_p_in_r = graphics.Determine(p,r); if(is_p_in_r) Execute("theMan.kil"); :) [/code]

Member Avatar for CppBuilder2006
0
149
Member Avatar for genieuk

Hi everyone, I have a drop menu as below and when submitted it sends either no value, male or female to the database. [CODE]<select id="gender" name="gender"> <option selected="selected" value=""/> </option> <option value="Male">Male</option> <option value="Female">Female</option> </select>[/CODE] Now when i go back to the page i want it to show the value …

Member Avatar for genieuk
0
137
Member Avatar for bryancan

I have to try and echo something to a file from python, but because fot eh content of what I want to write to this file, I seem to not be getting all of what I want into the file. Here is what I WANT to echo to a file: …

Member Avatar for woooee
0
108
Member Avatar for dmotah

hi i wrote a code in php which enables login with session. So that i can retrieve info of the loged user. It works fine in Firefox but not in IE8. What is probably the matter?

Member Avatar for cwarn23
0
93
Member Avatar for Behi Jon

Hi, What kind of project is required for running this program in Visual C++ : [code] #include "ChessGame.h" int __stdcall WinMain() { Application::Run( new ChessGame() ); return 0; } [/code] Thanks ............................

Member Avatar for Ancient Dragon
0
104
Member Avatar for johndoe444

hi what is the meaning of const in the declaration below: [CODE]const int*const Method3(const int*const&)const;[/CODE] Thanks

Member Avatar for Dave Sinkula
0
402
Member Avatar for juliagarrett
Member Avatar for dsweb1017
0
71
Member Avatar for dinoservers.com

Hi, Iv'e been reading through all the different posts and searching the web all day and I am not sure what went wrong I am getting this error "Parse error: syntax error, unexpected T_STRING in /home/gamersh1/public_html/database/register.php on line 9" Code: Register.php [CODE]<?php include ('mysql.php'); if(isset($_POST['submit'])){ $username = ($_POST['username']); $password = …

Member Avatar for vaultdweller123
0
113
Member Avatar for Pamilerin

How can one make a program repeat a set of lines of code.like for example [CODE]printf("enter the value of x:"); scanf("%d",&x); for(i=0;i<1;i++){ value+= arr[i]*(x,i); printf("\n The value of the polynommial is %ld",value); }[/CODE]

Member Avatar for Nick Evan
0
77
Member Avatar for qhuemone

[CODE]<?php $link = @mssql_connect("-", "-", "-") or die ("Server is down!"); $db = @mssql_select_db('-') or die ("Accout table is missing!"); function doesUsernameExist($name){ $exit = FALSE; $result = @mssql_query("SELECT * FROM Accounttable.. WHERE account='$name'"); if(mssql_num_rows($result) != 0){ $exit = TRUE; } else{ $exit = FALSE; } return $exit; } if(!isset($_POST['submit'])){ printSign(""); …

Member Avatar for vaultdweller123
0
127
Member Avatar for sarithak

Hi frnds... i m getting differnt BUG... i m phasing problem with single quotes in IE only... In IE also some times sinlgle quotes sentences working fine...but some times it doesn't display some sentences..but in page source it display correctly.. here are the 2 senteces are working in IE... [QUOTE]Manmohan's …

Member Avatar for ShawnCplus
0
114
Member Avatar for poojashah

I m doing a project in which i have to delete some data by matching 2 different fields. i m using and operator but it is not working in php page but it is working properly in phpmyadmin. So, please provide me some solutions about integration to php page with …

Member Avatar for vaultdweller123
0
81
Member Avatar for gedas

Hey everyone, im trying to get to know vectors but i came to a point that my current knowledge stops and i need more help, i found a program which i would like to understand but i couldn't figure it out. here is the code: [code]#include<iostream> #include<vector> #include<string> #include<iterator> using …

Member Avatar for gedas
0
138
Member Avatar for sheru2302

Hi everyone, Im pretty new here. Also realy new to PHP and MySql. In my current company they separate the html, php, css, classes codes to different different files. I just want to know, how to create a checkbox list that are create based on datas from database. Basically its …

Member Avatar for vaultdweller123
0
121
Member Avatar for druveen

how to assign database values to checkboxes from the following code i am geting only one value through post <form method="POST"> <?php $j=0; while ($value1 = mysql_fetch_row($value)) { ?> <table> <tr> <td> <input type='checkbox' name='expert' value=' <?php echo $value1[1]; ?>' > <?php echo $value1[1]; ?> </td> <td> <input type='checkbox' name='intrest' …

Member Avatar for vaultdweller123
0
774
Member Avatar for monocog

Before I begin, let me start by saying that this is NOT homework. I am also not enrolled in a C++ class. I am simply trying to learn C++ as I have time. I am using random assigments/tutorials/whatever I can find on the net and shopping amazon for books. I'm …

Member Avatar for bigsurya
0
129
Member Avatar for Nhevik
Member Avatar for eeeraser

First of all hi guys, sorry for not being that much active. Lets get in the subject: I'm planning to make a big application that will help me in my job. I need first to define the requirements of my application a bit more: * It will be UI Web-based. …

Member Avatar for Stefano Mtangoo
0
121
Member Avatar for Androggles

Hello I am very, very new to this C++, and i have been working on something that could help us with something, but thats a long story... Anyways, i want the program to first delete a file then wait some time, and then delete another file. I got it to …

Member Avatar for Androggles
0
223
Member Avatar for skyyforever

Hello everyone, I'm trying to implement windows form with data grid (or anything you say is better) which should represent a hierarchical data. This data are stored in a xml file which structure is as follows: [code] <elements> <element> <term>name of element</term> <subelements> <caption> <term>caption name</term> <subelements> <caption> <term>caption 2 …

Member Avatar for gusano79
0
180
Member Avatar for billybobc

Hi all, I was hoping somebody might be able to help me out w/ a pretty basic question. I'm creating a web app and trying to use the MVC pattern where I have a controller servlet that intercepts requests, does some work (like say reading from a database), possibly setting …

Member Avatar for billybobc
0
139
Member Avatar for kzip
Member Avatar for rahul8590

Hello everyone , i am trying to create a multi threaded web server, i did the basic part (socket programming ) successfully . Ref: [URL="http://www.daniweb.com/code/snippet217312.html"]http://www.daniweb.com/code/snippet217312.html[/URL] now , the next step , i am trying to establish it by making it multi thread or repetetive polling for client request (yet to …

0
115
Member Avatar for staginfo

I apologize for not knowing the proper terminology. I'm trying to connect to a database, and the tables appear, but there are no entries in them! What did I do wrong? [CODE] Dim MyConnection As OleDb.OleDbConnection Dim MyAdapter As OleDb.OleDbDataAdapter Dim MyCommand As OleDb.OleDbCommand Dim StrConn As String Dim StrSql …

Member Avatar for staginfo
0
213
Member Avatar for rmawatson

Hello, I was hoping someone might be able to clear up some questions I have on casting Objects vs Casting Pointers in C++. The first example below is compilaining that the constructor of XDeviceMotionEvent cannot construct a new XDeviceMotionEvent object from an _XEvent&. What I dont understand about this is …

Member Avatar for Narue
0
245
Member Avatar for Dokino

hello, when I was writing length converter I came across this problem while statement(bold one) gives me Indentation Error that says "unindent does not match any outer indentation level" and I was wondering why's that? Could anyone suggest me how to fix it [code=python]def leng(): def milimetrai(): while True: try: …

Member Avatar for Dokino
0
130
Member Avatar for ytregnn

I try to find a scroller that is built in Ajax which makes it possible to scroll a part of a table/div (vertical). Ex: You have two text areas; "A" and "B", when you press "down" it smoothly shows another text area ("C") and "A" disappears and "B" replace it, …

Member Avatar for Graphix
0
89
Member Avatar for MarcusMaximus

Im having trouble with a running sum for my VAT analysis section of a report. Whats happening is the vat is calculated and rounded appropriately. But the running sum seems to be calculated on the pre rounded figure, is there anyway to rectify this. So i have following figures [I]245.70 …

Member Avatar for boblarson
0
166
Member Avatar for Nfurman

Hello guys! I am developing simple desktop application that suppose to connect to SQL DB launched on remote server. Everything going fine, exept that when connecting to DB I get exeption "Login failed for user 'guest'." So, looks like i need to create some user with password and give him …

Member Avatar for Nfurman
0
197
Member Avatar for jamello

Hello experts! Please how do I display markup text (in html) with a asp.net 3.0 server control? I have a database full of markup text inputted using a richtext control. but I will like to display these text using other asp.net controls that would render the text correctly with the …

Member Avatar for jamello
0
152
Member Avatar for Sivyo

Alright, my issue is that I have to create a new array with certain aspects from the old array. I know if I just make arraynew[i] = arrayOld[i] it would place it in the exact same place as the other one would be and that would save place. I have …

Member Avatar for jonsca
0
97
Member Avatar for rfrei

I'm writing a batch publishing program in VB.NET using VS2008. My program is a Windows form. The program spawns a process called "xtop". The process converts one CAD format to another. The conversion process demands heavy CPU cycles. The user will add "jobs" to the batch. The batch program will …

Member Avatar for rfrei
0
238
Member Avatar for sathya8819

Hi, I have an application where I have images stored in a folder called testimages and access them using : [CODE]String[] files = Directory.GetFiles(@"C:\Users\pashok\Documents\test\testimages\", "*.jpeg");[/CODE] Now, I want to modify the program in such a way that the folder called testimages is placed in my project directory. In this case, …

Member Avatar for sathya8819
0
109
Member Avatar for kanuri1

hi, i was got an error, iam using a code to auto increment of serial number, but the problem is selecting the serial number from the database it was insremented from first number itself like as 1,2,3 it was incremented from 1 itself,, i wants to increment the data from …

Member Avatar for pauldani
0
92
Member Avatar for tqmd1

Dear Sir, Table Employees has data as follows sno----name 1------Eric 2------Boris 3------Bill Whien I enter "B" in text5 and run following codes then it show error message as [CODE]IndexOutOfRangeException was unhandeled There is no row at position 0I have two question[/CODE] 1) Why it does not select name begins with …

Member Avatar for tqmd1
0
106
Member Avatar for David_OHS

New to Oracle. Using Crytsal 10. Unable to create views or Stored Proc on database. Having to just use SQL code in Crystal. Need to know how to pass variables from Crystal to the SQL code that will run on Oracle DB. Also can I create a temp table and …

Member Avatar for debasisdas
0
135
Member Avatar for musthafa.aj

hello! i want to create jtable dynamically... i have two class one is add records to Data Base another one is show records list that were inserted... how do pass each records in JTable without replacing existing on... i need to grow the table every time the records success fully …

Member Avatar for javaAddict
0
116
Member Avatar for bigjoke

Ok, so i am using windows task sheduler to open the browser and run the php script file. Now, the problem is that i want to do it on the machine which doesnt have Apache (or any other web server ) installed. What is the best way to make sure …

Member Avatar for pritaeas
0
191
Member Avatar for sathya8819

Hi, I have an application where I need to load images present in a folder onto my Visual Studio application. As in if I have a folder named temp and I have say 5 images temp1-temp5 inside the folder temp, i need to load each of the images temp1-temp5 (in …

Member Avatar for sathya8819
0
326
Member Avatar for vizz
Member Avatar for l_03

hello guyzz,,i really need your help,,we are about to make a mastermind game in java,,i already have the code,,,but it has no main method..and i dont know how to implement the main,,help guyzzz,,,we are about to pass it next week.... import java.awt.*; import java.lang.Math; public final class mastermind extends java.applet.Applet …

Member Avatar for Genni
0
251
Member Avatar for jaytheguru

Dear all, No matter what I do, I can't seem to be able to make the JSP with Database work. How can I connect to an Oracle database which is hosted in our University, over a JSP page. I have a project where we need to connect to Oracle database …

Member Avatar for parry_kulk
0
384
Member Avatar for musthafa.aj

hi ! Happy new Year!!!! I struggling with open IE browser within swing .... like frame content pane showing IE... any help please......

Member Avatar for musthafa.aj
0
126
Member Avatar for Nerathas

Hi, I am trying to write a loop that lists all the square results until the number given in. So for example if i would give in 100 it would list the squares in a list wich would be 1, 4, 9, 16 etc... The problem is i if i …

Member Avatar for Geekitygeek
0
108
Member Avatar for nagaraj530

hi friends, how can i store video files in the server or database like mysql, if u r having any related docs or code. please send it to my mail-id. otherewise tell me the way how can i store. i am waiting for ur replies... ok bye.. thanks in advance.

Member Avatar for mitf08m012
0
152
Member Avatar for Iam3R

As far as my understanding and other referals i understood that when the address of a local variable is returned the first call using this address may print the correct value but if it is called after any other function may get undefined values. but my program is returning the …

Member Avatar for Tajon Wong
0
362
Member Avatar for tryongliph

Maybe I'm the one not doing anything right but i'm trying to cause a page to display a given information as soon as it load. I'm using labels display the said information. The problem here is, in the Page_Load method, i can't seem to call any of the labels or …

Member Avatar for tryongliph
0
106
Member Avatar for musthafa.aj

hello! i want to convert my jar application into exe.. because i need seal all class files extracting from jar... any freeware available for this.. i found something that are not free... thank you!

Member Avatar for kvprajapati
0
282
Member Avatar for corey.alexander

I am having a problem using both ActionListener and KeyListener in the same class that extends JPanel for a basic game i am working on. For the KeyListener only the KeyPressed class is implemented and is implemented as such. [code=java] public void keyPressed(KeyEvent e) { switch(e.getKeyCode()){ case 37:{ grid.moveSelectedWest(); break; …

0
183
Member Avatar for Skeltpl

Hi I'm new to Python and the book I'm using was designed for an older version of Python and consequently there are some examples in the textbook that don't work in 3.1. My first problem is with the following simple example: num1, num2 = input(" Please enter two numbers (num1, …

Member Avatar for Skeltpl
0
132

The End.