199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for muneebhasan

Imagine you are developing a software package that requires users to enter their own passwords. Your software requires that user’s passwords meet the following criteria: • The password should be at least six characters long. • The password should contain at least one uppercase and at least one lowercase letter. …

Member Avatar for richieking
0
298
Member Avatar for nathanpacker

Hey everyone, I'm looking for a free tool to administer MySQL databases. I currently use PHPMyAdmin, which is great, but I'm looking for the same functionality in a desktop software. I've actually found quite a few, but wondered if you any of you could recommend one for me. My only …

Member Avatar for diafol
0
215
Member Avatar for chubbyy.putto

How can i get this code to show once and it counting all the positive? When i enter a 10 numbers. it show The positive are.... The positive are.... The positive are.... The positive are... The positive are... ... until 10 can someone show me how to make it show …

Member Avatar for Ancient Dragon
0
175
Member Avatar for RainaAnja

<?php include 'connectMySql.php'; $emri=$_REQUEST["emri"]; $mbiemri=$_REQUEST["mbiemri"]; $email=$_REQUEST["email"]; $data=$_REQUEST["data"]; $ora=$_REQUEST["ora"]; $nr_persona=$_REQUEST["nr_persona"]; $query="INSERT INTO rezervim(emri,mbiemri,email,data,ora,nr_persona) VALUES(' ".$emri." ',' ".$mbiemri." ',' ".$email." ',' ".$data." ',' ".$ora." ' , '".$nr_persona."')"; mysql_query($query) or die(mysql_error()); mysql_close($conn); ?>

Member Avatar for diafol
0
126
Member Avatar for laura301019

Hi I have a page for users to edit their details, I've used the following code to prefill the form. protected void loadData() { OleDbConnection conn = new OleDbConnection(); conn.ConnectionString = ConfigurationManager.ConnectionStrings["ProjectDatabaseConnectionString"].ConnectionString; conn.Open(); DataTable dt = new DataTable(); DataSet ds = new DataSet(); ds.Tables.Add(dt); OleDbDataAdapter da = new OleDbDataAdapter("SELECT * …

Member Avatar for JorgeM
0
165
Member Avatar for frnds2vivek

Hi, I am working on a project. The project is running perfectly with no run-time errors on the development console. But when it was installed and executed on the test pc, I came across an error **(-2147217900 : The database engine could not lock table 'tablename' because it is already …

Member Avatar for kmomo5
0
183
Member Avatar for Junaid_2

Hello, I want to ask some Good ideas, am doing BS hons in Computer Science and want to do my final year project, so i want to know how far i can go with php, and what will be Good for me to do, currently am doing **php with codeignitor**, …

Member Avatar for mattster
0
163
Member Avatar for chrisschristou

hello friends, first i want say i'm sorry for the title it is very strange. i have a page where a user insert data in DB table, include he's username "email" but i whant when user click to insert if he is not log in the website to show a …

Member Avatar for iamthwee
0
164
Member Avatar for Shahbaz_2

i am working on Server of my LAN. I have build a php application.. i want to make it avail over my network... My server have windows Server 2008 R2... i am using xampp..

Member Avatar for jstfsklh211
0
310
Member Avatar for javed.iqbal.3979

Hi all,, A module of my Bank Management System which should display the user account details after successfuly entering his/her details calls to a function: void display_acc(int n) { account acc; int flag=0; ifstream inFile; inFile.open("account.txt",ios::in); if(!inFile) { cout<<"File could not be open !! Press any Key..."; return; } cout<<"\nBALANCE …

Member Avatar for NathanOliver
0
156
Member Avatar for mpc123

Hi I need to update a colomn with the result of colomn 1 divided colomn2 I have tried update TABLE set colomn =SUM(colomn1 / colomn2) but get [Err] 1111 - Invalid use of group function IF anyone can help please

Member Avatar for mpc123
0
135
Member Avatar for Start4me

When creating a new project, I have a list of Frameworks to chose from. I need a Framework which will allow my program from Bin -> Debug -> Program.exe to work on various computers, such as Vista, Windows 7 & 8, and perhaps any others of the Windows family. I …

Member Avatar for Minimalist
0
308
Member Avatar for Nandomo

DatagramSocket SERVERSOCKET = new DatagramSocket(9999); byte[] receiveData = new byte[2000]; while (true) { DatagramPacket receivePacket = new DatagramPacket(receiveData, receiveData.length); SERVERSOCKET.receive(receivePacket); String LINE = new String( receivePacket.getData()); InetAddress iPAddress = receivePacket.getAddress(); int port = receivePacket.getPort(); } Ok I have this right now, I have been googling, yet I do not know …

Member Avatar for Nandomo
0
398
Member Avatar for eloginko

As you can see there is a value already on the (total)textbox which i filtered on a table...and if i type a number on the (score)textboxes it will automatically add on the current value of the total(textbox). My problem is its not adding perfectly...can anyone help me please. example: http://s38.photobucket.com/user/eloginko/media/score_zps43f9daaa.jpg.html …

Member Avatar for JorgeM
0
175
Member Avatar for nhrnjic6

program works fine until I call print_List function : void print_List() { Vagon *kondukter = head; while(kondukter != 0) { cout << kondukter->num<<" "; kondukter = kondukter->p_next_num; } cout << kondukter->num<<" "; } and that it opens some some new boxs that says : win checking for solutions. I used …

Member Avatar for nhrnjic6
0
323
Member Avatar for chrisschristou

hello friends i have a jquery function who calculate a total of form field in real time (live), the value of field is data from DB table .. it work fine i have add php loop to show all data in table but the jquery function calculate only the first …

Member Avatar for chrisschristou
0
1K
Member Avatar for javed.iqbal.3979

Hi Coders!!! I am developing a Bank Management System ..In one of its provided facility i.e.new account creation i am having problem with gets(name) . void account::create_account() { cout<<"\nEnter The account No."; cin>>acno; cout<<"\nEnter The Name of The account Holder :\n"; gets(name); cout<<"Your name is :"; puts(name); //for check purpose …

Member Avatar for Ancient Dragon
0
196
Member Avatar for Andrew_9

I need to change the default page a C# application redirects to when the current authenticated user doesn't have permission to reach that page. I looked through the application and found the following code: <authentication mode="Forms"> <forms timeout="525600" loginUrl="~/login/" defaultUrl="~/unauthorized/" /> </authentication> It did not have a defaultUrl before, so …

Member Avatar for Andrew_9
0
314
Member Avatar for sk8ergirl

hi, I have gui with layered pane and four buttons two buttons are above the layered pane and the two buttons are at the left side of the layered pane.the user can controll the size of the GUI but the proplem is that the buttons size doesn't change I want …

Member Avatar for JamesCherrill
0
132
Member Avatar for danielagaba

Hi I've run this code and i get no errors but my form data is not saved on the dataset or database. This is the click event code. [code] Dim conn As New SqlConnection("Data Source=.\SQLEXPRESS; AttachDbFilename=|DataDictionary|\TMSDB.mdf;Integrated Security=True Instance=True") Dim ds As New DataSet conn.Open() Dim Adp As New SqlDataAdapter("select * …

Member Avatar for jigar.makhija
0
969
Member Avatar for g.prabu

(SQL , PL/SQL) enough for searching jobs in ORACLE ? i have 2.6 years exp with oracle sql, plsql . can i get better JOB ?

Member Avatar for Pradeep24
0
423
Member Avatar for joshl_1995

Hello Community, I'm trying to connect to my database using PDO but for some reason it keep coming back saying "Undefined variable: db_c" db_c is the variable I've chossen for the name of my database connection. I've placed the database connection in another file, and I'm trying to connect to …

Member Avatar for cereal
0
291
Member Avatar for squeak24

I have a rather large PHP script written in PHP 5.3, but I have now moved to a new server that has 5.4. Is there away in which I can make the PHP 5.4 backward compatible. Failing that is there an easy way in which I can convert the script …

Member Avatar for squeak24
0
261
Member Avatar for _Nestor

I have a question about how the message loop works in a windows application [code] while ( GetMessage(&msg, NULL, 0, 0) ) { TranslateMessage(&msg); DispatchMessage(&msg); } [/code] Does the windows o/s maintain a message queue that the app retrieves a message from the front of then dispatch it bck to …

Member Avatar for shinejos
0
379
Member Avatar for sonam281

hello,my code is below mention, bt in this my eraser button doesnt show me any cursor in drawpad.. thanxxx in adva import java.awt.BasicStroke; import java.awt.Color; import java.awt.Cursor; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Image; import java.awt.Point; import java.awt.RenderingHints; import java.awt.Toolkit; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.ItemEvent; import java.awt.event.ItemListener; import java.awt.event.MouseAdapter; import …

Member Avatar for JamesCherrill
0
282
Member Avatar for Violet_82

Hello, today I decided to look into jquery plugins, and with the help of various tutorials I have produce a very simple one that changes the colour of some elements in a page. I would appreciate some help in understanding whether there is something else that I need to do …

Member Avatar for Violet_82
0
212
Member Avatar for toxicandy

So I am working on a system for work where certificates are automatically generated. I have this working but I want to make it better, instead of a super long case statement that centers the name of the person on the image by absolute positioning I want to make it …

Member Avatar for cereal
0
4K
Member Avatar for haider885

runtime error "not recognized as an internal or external command, operable program or batch file" # include <stdio.h> # include <stdlib.h> # include "iostream" using namespace std; int main() { char ch; cout<<"Do you want to Logoff your computer now(y / n) \n " ; cin >> ch; if (ch …

Member Avatar for haider885
0
116
Member Avatar for ManthanB

Well i know one can multicast using udp port. but i want to know if it is possible to do the same using c sharp. since TCP is connection oriented protocol. So expectedly it will not allow to connect other client to the server if already it is connected on …

Member Avatar for Ketsuekiame
0
375
Member Avatar for Tinnin

Hi all, I'm trying to use the following code to see if a method exists and then use it if it does: $method_exists = method_exists('myclass', 'mymethod'); if ($method_exists && isset(myclass::mymethod('blah')) { but I am getting the following error: Fatal error: Can't use function return value in write context I've looked …

Member Avatar for Tinnin
0
301
Member Avatar for christan

Greetings, Can someone please tell me on how to use this class? Public Function GetDataFromStoredProcedure(ByVal spName As String) As DataTable Dim ds As New SqlDataAdapter Dim dt As New DataTable Dim cmd As New SqlCommand Dim con As New SqlConnection(_connectionString) Try _success = True con.Open() cmd.CommandType = CommandType.StoredProcedure cmd.CommandText = …

Member Avatar for christan
0
187
Member Avatar for zawpai

Hi, I have some problems when drawing dot or lines in picturebox. If I do minimize and maximize the form after finishing my drawing, all of my drawing will be lost. I can't see any more. How should I handle this situtation? Regards, Zawpai

Member Avatar for zawpai
0
151
Member Avatar for soumyakollon1

hello, I want to know how can i build an API for the video conference. What will be the requirement for that? can we use php for that?? if yes please guide to me to do this?

Member Avatar for ssdwd
0
1K
Member Avatar for maurice.waka

from Simhash import Simhash from teamque1.referrences.definitions import define from teamque1.referrences.definitions import teamscore from teamque1.referrences.definitions import teamplayers from teamque1.referrences.definitions import teamtable from teamque1.referrences.definitions import teamposition from teamque1.referrences.definitions import teamsgame import re import sys import difflib name = input def search_soccerteams(): """Searches through the system finding the team stuff e.g. if you …

Member Avatar for maurice.waka
0
253
Member Avatar for agwx2

I have a file that a friend/hacker was able to create called `'AND SELECT * FROM 'users''` The FTP command `DELE 'AND SELECT * FROM 'users''` says this: Command: DELE 'AND SELECT * FROM 'users'' Response: 553 Prohibited file name: 'AND SELECT * FROM 'users'' That means it can't delete …

Member Avatar for agwx2
0
172
Member Avatar for klemme

Hi all, I need to make a function, that returns the number of checkbox groups that has any values marked. So im not after the checkbox alone, nor their values - Lets say I have 4 groups on the page - I need to know how many groups the user …

Member Avatar for Troy III
0
149
Member Avatar for Tko_1

This script will add a submit button on the next line to remove that line, I have done this before but in this script i can not seem to get it to work. i know im missing something simple. Im tring to have the submit be an image and also …

Member Avatar for Tko_1
0
212
Member Avatar for dsushmareddy

Gtk-CRITICAL **: IA__gtk_range_set_range: assertion `min < max' failed I am getting this error when running my code wriiten using wxpython. Can anyone please explain what this error is.

Member Avatar for vegaseat
0
372
Member Avatar for rbyrd

How can I capture a mouse click on a wx.Panel so that a circle is drawn wherever the mouse is clicked on the panel?

Member Avatar for vegaseat
0
556
Member Avatar for ashafaaiz

Hi frns Am asha ! just looking and searching for a while how to convert php output as pdf file. I mean the localhost output of php file will be save as pdf file. If anybody knows pl help me. Thanks in advance asha

Member Avatar for agent21
0
668
Member Avatar for game4tress

I have fields in a table that are being constantly updated with the current time (each second). First, the controller calls a function to create the record in the database public function saveEntry($theuser='') { $data = array( 'theuser' => $theuser , 'dateentered' => date('Y-m-d') , //date('d-m-Y H:i:s') , 'gname' => …

Member Avatar for Tpojka
0
301
Member Avatar for Felix Arba

Hey guys ! I hope I'm not posting this topic in wrong place . I'm new to DaniWeb forum , although I've been previously following certain articles as a guest . Anyway , let's get to bussines . I have this problem , as titles says , I need to …

Member Avatar for Felix Arba
0
180
Member Avatar for mehnihma

HI I have problem with this code <?php $var = echo $this->Entity_RenderField($entity, $this->Entity_Field($entity, 'field_meni')); echo do_shortcode($var);?> error: Parse error: syntax error, unexpected 'echo' (T_ECHO) in /home/templates/test.html.php on line 86 when I do this: <?php $var = $this->Entity_RenderField($entity, $this->Entity_Field($entity, 'field_meni')); echo do_shortcode($var);?> there is no error but also no output and …

Member Avatar for mehnihma
0
340
Member Avatar for rowen_1

1)How would you give a short and good explaination to someone who is a beginner in programming of the following * short * long * typedef * const

Member Avatar for deceptikon
0
176
Member Avatar for klika

So i have to write a c++ program for the Graeffe's square root method I have am stuck here when i have this formula transform into c++ code, the formula is on the link The code works particulary, the (elem[j-1]*elem[j+i]) doesn't work, it's beeing ignored and i don't know why... …

Member Avatar for tensity
0
1K
Member Avatar for eplymale3043

Write a program that can read the students records from the file “scores.dat”. This program will find the maximum and the minimum student scores. The first line in the file is a header. Each line (starting from the second line) contains the records of one student separated by spaces. These …

Member Avatar for vegaseat
0
2K
Member Avatar for Cap'nKirk

Hi all, I am having a play around with batch files but have hit a stumbling block. The file returns the contents of an image folder and outputs the results in html format as such: Thumbnail - Filename (usable link) - Creation Date - Modified Date Please bear in mind …

Member Avatar for Cap'nKirk
0
225
Member Avatar for fourty

How can i copy data from a named range in a different worksheet and paste it to another worksheet all done without activating both sheet. With all code just behind a form button If i try to use the statement **application.goto reference:="x"** where x is the named range but this …

Member Avatar for Stuugie
0
6K
Member Avatar for Neelam_1
Member Avatar for Neelam_1
0
206
Member Avatar for IndyItMan

Greetings all. In my MVC app I am trying to iterate through 2 collections, which are similar to a jagged array (a collection of modules, each containing a collection of components). Module and Component each have an Index attribute where the sort order is specified through an admin tool. The …

Member Avatar for IndyItMan
0
238

The End.