199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for clife

Hi, I have installed ubuntu 11.10 on my PC and the default shell i got was dash i found it out by ll /bin/sh But i could not run some of the scripts and thought of changing the shell to bash. so i did, cd /bin rm dash unlink dash …

Member Avatar for rch1231
0
147
Member Avatar for ernestclyde

Public Sub login() SQLConnection.ConnectionString = ServerString cmd.Connection = SQLConnection SQLConnection.Open() cmd.CommandText = "SELECT employee_id, password FROM employees_list WHERE employee_id='" & Form1.EMPLOYEE_ID_txt.Text & "' and password='" & Form1.PASSWORD_txt.Text & "'" dr = cmd.ExecuteReader() If dr.HasRows Then Form1.PASSWORD_txt.Text = "" dr.Close() Form1.Hide() MessageBox.Show("Signed in", "", MessageBoxButtons.OK, MessageBoxIcon.Information) 'get firstname and lastname" label4="firstname …

Member Avatar for Minimalist
0
341
Member Avatar for AhmadHasanSahi

i want code of Sorting techniques like insertion sort , merge sort , bubble sort , quick sort. i want their output in gui or in any animation form in any language like c , c# or java. can any one help me plz ?Any one sorting technique is ok.

Member Avatar for Dani
0
119
Member Avatar for msareef

this is the question: Write a C program that will request the user to input the values for R,L,and C and plot the a graph of current ,I, against frequency . The range for the frequency axis should be automatically selected based on the resonance frequency of the circuit.

Member Avatar for Mouche
0
3K
Member Avatar for Bestpractice

I'm trying to get a bit of code to work. I need one button that toggles control of audio to play and rewind but the script doesn't work. // Create Media object from src my_media = new Media(src, onSuccess, onError); // Play audio my_media.play(); $('#playBtn').hide(); $('#stopBtn').show(); // Update my_media position …

Member Avatar for The Diamonds
0
286
Member Avatar for snitcher

Hello guys. i am trying to create a php + ajax form that enables the user to make a transfer from their account to another. is this correct what i am doing so far? `for the ajax file function sendpayment(){ var payment = _("SendPayment").value; var touser =_("ToUser".value; if (payment == …

Member Avatar for The Diamonds
0
290
Member Avatar for CJMW

So I'm making a custom text editor for web development. I am planning to unclude the use of projects to group common files together, however im having a hard time going about it. I have a form that when opened, will give the user options to create a new project …

Member Avatar for The Diamonds
0
301
Member Avatar for Jed_1

I currently have a program that can take a text file and inport the data that I need (names or locations as well as the distances between them) and I need to take that data and for a graph in boost so that I can do one of three things, …

0
173
Member Avatar for Simunji

Hello bretheren and programming Gurus? Am new and blank about php and just trying to experiment to get things as i want. Am using the code below but it does not validate data input and also does not redirect to the index page specified in it.I want if the fileds …

Member Avatar for eTechZambia
0
196
Member Avatar for Nimerion

Hello, people! I need some help with Wordpress.. I'm using Starkers, to create my theme. And I have a design, which I follow. I have Posts, and my question is, How can I add extra fields in the admin interface for the posts? I need to add some extra fields …

Member Avatar for Nimerion
0
103
Member Avatar for ImZick

Hi All Daniweb PHP Group, I have a big favor to ask (well for me this is big lol). I have 3 databases first (LOCAL),(AIMIS),(ERM). Here's the table (namely account_manager) of LOCAL. ![7938f748bd02de5247f37aaa10a5f0c2](/attachments/large/4/7938f748bd02de5247f37aaa10a5f0c2.jpg "7938f748bd02de5247f37aaa10a5f0c2") and Here's the table (namely customer_call) of AIMIS. ![247807516642224dfd5f6e93eadef14b](/attachments/large/4/247807516642224dfd5f6e93eadef14b.jpg "247807516642224dfd5f6e93eadef14b") and Here's the table (namely quotations_header) …

Member Avatar for urtrivedi
0
471
Member Avatar for vishalonne

Hello Everybody I am trying to display the value of an array in which is passed from one php page to another php page, but I am getting only last element value. Where as when I checked the array content using print_r() it is showing all the values. This is …

Member Avatar for urtrivedi
0
452
Member Avatar for azapovjednik

Hello I have two tables: Students and Professors (both with usual info like name, last name, email... etc) I also need to have info about their knowledge of foreign languages, and I guess that should be a third table (languages for example) it should look like: Language_id, Language, Speaking, Writing, …

Member Avatar for azapovjednik
0
418
Member Avatar for edrianhadinata

Please help me sir.. its my first .. how to instal OpenGL Library into MinGW .... i have tried but error code : #include <GL/gl.h> #include <GL/glut.h> void display() { glClear(GL_COLOR_BUFFER_BIT); glFlush(); } int main(int argc, char **argv) { glutInit(&argc, argv); glutInitWindowSize(512,512); glutInitDisplayMode(GLUT_SINGLE | GLUT_RGB); glutCreateWindow("Test Program :: hello world"); …

Member Avatar for edrianhadinata
0
3K
Member Avatar for sohail.butt.144

Write a C++ program to check whether a triangle is valid or not, your program should have the following function: checktriangle(int,int,int) This function takes the three integer type variables as the angle of three sides. And perform the validity check for the triangle as follows: A triangle is valid if …

Member Avatar for sohail.butt.144
0
115
Member Avatar for ACE--

Hi Daniweb, I have posted the question before also but for more clarity I posting my question again. Request a quick positive response. I have googled a lot but not getting the information whcih I required. I have a Picture box with the size of 1300, 350. From one particular …

Member Avatar for ACE--
0
196
Member Avatar for patel28rajendra
Member Avatar for Hamid_2
0
605
Member Avatar for spawn2004

Hi, I am working on a project and I have to implement a graph and to look for the shortest path. As I read so far the best way is with Dijkstra's algorithm. I am trying to do it but i have some problem. Can you please help me with …

Member Avatar for spawn2004
0
170
Member Avatar for tony75

Hi Anyone can explain whats means with this vulnerability(Blind SQL Injection) and explain Attack details 1 and 2? 1. This vulnerability affects /xxxx/. Discovered by: Scripting (Blind_Sql_Injection.script). Attack details Path Fragment (suffix .html) input - was set to -1' or 61 = '59 2. This vulnerability affects /xxxx/. Discovered by: …

Member Avatar for tony75
0
711
Member Avatar for AhmadHasanSahi

Guys this is the code in c++ of bubble sort but i don't how to show it's output in animation> what kind of project should i made in visual studio and what libraries should i use? please help me guys i really want your help. #include <windows.h> #include <stdio.h> #include …

Member Avatar for Ancient Dragon
0
208
Member Avatar for randhymuthola

Dears, I have script like this... <?php include_once "library/inc.sesadmin.php"; include_once "library/inc.library.php"; # Filter Terpilih $dataTahun = isset($_POST['cmbTahun']) ? $_POST['cmbTahun'] : date('Y'); $dataBulan = isset($_POST['cmbBulan']) ? $_POST['cmbBulan'] : date('m'); # TMBOL CETAK DIKLIK if (isset($_POST['btnCetak'])) { // Buka file echo "<script>"; echo "window.open('cetak/periksa.php?bulan=$dataBulan&tahun=$dataTahun')"; echo "</script>"; } # UNTUK PAGING (PEMBAGIAN HALAMAN) …

Member Avatar for cereal
0
141
Member Avatar for maru.ashish82

protected void btndel_Click(object sender, EventArgs e) { SqlConnection con123 = new SqlConnection(); con123.ConnectionString = @"Data Source=viral\sqlexpress;Initial Catalog=mydata23;Integrated Security=True"; string qu1 = "delete from table_1 where (username='" + txtuser.Text + "', password='" + Txtpass.Text + "')"; SqlCommand dsa = new SqlCommand(qu1, con123); con123.Open(); dsa.ExecuteNonQuery(); con123.Close(); Response.Write("deleted"); } SqlConnection con123 = new …

Member Avatar for Abhi009
0
110
Member Avatar for ujwal vohra

hi every one i want to ask some coding for hidding data(texx file)within an image....in c#.net description of project working:we have 1 image and one text file we want to hide the data of that text file into image using lsb(least significant bit) method for hidding that text file...fist we …

Member Avatar for ujwal vohra
0
98
Member Avatar for AhmadHasanSahi

i want code of Sorting techniques like insertion sort , merge sort , bubble sort , quick sort. i want their output in gui or in any animation form in any language like c , c# or java. can any one help me plz ?Any one sorting technique is ok.

Member Avatar for AhmadHasanSahi
0
347
Member Avatar for centenond

so whenever i tried to compile it give me error 2816 ive never used dev c++ although i have used netbeans and i had to change control panel env options and put C:\cygwin\bin but now im using mingw cuz dev c++ came with it. so this is the compiler log …

Member Avatar for centenond
0
2K
Member Avatar for varunvashista

<?php /*~ class.phpmailer.php .---------------------------------------------------------------------------. | Software: PHPMailer - PHP email class | | Version: 5.1 | | Contact: via sourceforge.net support pages (also www.worxware.com) | | Info: http://phpmailer.sourceforge.net | | Support: http://sourceforge.net/projects/phpmailer/ | | ------------------------------------------------------------------------- | | Admin: Andy Prevost (project admininistrator) | | Authors: Andy Prevost (codeworxtech) codeworxtech@users.sourceforge.net | …

Member Avatar for varunvashista
0
617
Member Avatar for jacob21
Member Avatar for diafol
0
2K
Member Avatar for annyangel

hlo all, i need to write a code in php oop for registration without using form and data directly goes in the database. i try to write the code for this. i show u that code and help me to correct that or by giving me another code. the database …

Member Avatar for annyangel
0
243
Member Avatar for mixelplik

My while loop should terminate when the user types 0 for employee number. Unfortunately when you press 0 the loops iterates at least once before terminating. I was under the impression that as soon as the sentinal value is triggered the loop would terminate immediately. Right now I run program …

Member Avatar for mike_2000_17
0
149
Member Avatar for Ahmed_39

dear all i have tables(aztrd) it conatis invoice deatils like itm_code , date,loc_cd ..... ect - in each in invoice they are itmes (itm_cd) from loc_cd "1" or loc_cd "2" and some invocies has items from loc_cd "1" only or loc_cd "2" only i try this query to get only …

Member Avatar for Ahmed_39
0
206
Member Avatar for bluedonutblueyedangel

I'm currently working on a homework assignment in one of my classes, and I'm having some trouble with it. I am supposed to make a multithreaded messaging program that allows users to connect using both TCP and UDP. The messaging program works perfectly when TCP is selected. However, I do …

Member Avatar for nandosss
0
338
Member Avatar for a8med

I am having big trouble with classes. I don’t think I really understand them and sourly not as clear as functions. I do know that they are an important part of programming so I appreciate all the help I can get to get things clearer. I am trying to rewrite …

Member Avatar for a8med
0
174
Member Avatar for primzon

Hello to everyone! Please help me with some useful infos. I want to create my own website in C# ASP.NET MVC 4, but I don't exactly know which other tools will I need to use along with that. WebMatrix? Windows Azure? MS SQL Server? or can I use MySQL to …

Member Avatar for primzon
0
229
Member Avatar for Dada428

Good day. Ask for help, I want to create a program that would mechanically clicked the coordinates (x = 935, y = 115). I I click the button and he clicks on these coordinates. Ask for the source code. For each row thank you in advance

Member Avatar for Reverend Jim
0
107
Member Avatar for micca.jhai

Can someone help me I'm having some problem with this. I am supposed to make a sytem that will alert if the medicine was expired. here is my code. Private Sub DataGrid1_Click() On Error Resume Next Command2.Enabled = True With frmmed1 .Combo1 = Adodc1.Recordset.Fields("MedicineName") .Text3.Text = Adodc1.Recordset.Fields("StockQuantity") .Combo2 = Adodc1.Recordset.Fields("Expmonth") …

Member Avatar for BitBlt
0
394
Member Avatar for azapovjednik

Hello all, I need to make a simple database, and then some windows application (possibly C#) connecting to it... but first... First I need to design and model a good and functional database, right? So I am stuck in it now :) and please help if you can. I dont …

Member Avatar for azapovjednik
0
264
Member Avatar for nurul_1

Hi all,please help me. I want to create bar graph in my system. But I have problems. user can pick date from datetime picker and the graph should appear. But the graph not appear. This is my code. <?php include("dbase.php"); ?> <?php $dateCollect = $_GET['dateCollect']; $show = "SELECT count(mailCategory) As …

0
112
Member Avatar for Cristianh21

Im having a problem with this. I want to echo out the number of post from every city in N.C Example: Wilmington (24) <--*24 is the number of post. Charlotte (35) Raleigh (15) include "connect.php"; $wil ='Wilmington'; $cnt = mysql_num_rows(mysql_query("SELECT add_city FROM dbAdd WHERE $add_city='$wil' ")); echo $cnt; This is …

Member Avatar for Cristianh21
0
297
Member Avatar for thorin

hi, everyone I am a Java newbie. I have followed a bunch of tutorials and examples from the web but they all failed miserably at teaching me how to properly apply this library: com.google.gson. First how do I receive properly in the java servlet a json request that has been …

Member Avatar for peter_budo
0
500
Member Avatar for ron_1

the output should be... "1 2 3 5 6 7 8 9 Merry christmas" using for loop.. here's my code ! </ #include<stdio.h> #include<conio.h> main() { int x; for(x=0;x<9;x++){ printf("\n %d ",x); } getch(); } >

Member Avatar for richieking
0
133
Member Avatar for davidjennings

Hi All I am trying to find out the best way to capture the var_dump($contents) on line 29. I am think array? but I don't know how many string elements the array is returning. This is the output via var_dump($contents); array (size=45) 0 => string '.' (length=1) 1 => string …

Member Avatar for davidjennings
0
351
Member Avatar for priyanka.choudhary.90038

Hi, In below code snippet , can anyone let me know how to print the functor value output (3,4,5,6,7) without embedding add function in class. #include<iostream> #include<vector> #include<algorithm> using namespace std; void add ( int i) { i=i+2; } int main() { vector <int> vec ={1,2,3,4,5}; for_each(vec.begin(), vec.end(),add); for (auto …

Member Avatar for richieking
0
256
Member Avatar for oks1998

Private Sub dow30_1min() command("Dow 30", "http://www.investing.com/indices/us-30-futures-technical?period=60", "1 minutes") End Sub Public Sub command(ByRef name As String, ByRef webadd As String, ByRef time As String) WebBrowser1.Navigate(webadd) Dim a As String Dim b As String Dim c As String Dim d As String Dim f As String Dim newItem As ListViewItem a …

Member Avatar for Minimalist
0
330
Member Avatar for beck.muvirimi

Write down in C++ and OpenGL a code that is able to draw a polygon with the following vertex: {-0.6,-0.6; -0.6, 0.6; 0.6, 0.6; 0,6,-0.6) and rotate the polygon by 450

Member Avatar for Ancient Dragon
0
110
Member Avatar for MaddTechwf

I have a APG Vasario 1616 USB cash drawer that I would like to hook up to my PC using a USB cable. I would like to make a small app that when clicked will open the drawer. Is this possible?

Member Avatar for Deep Modi
0
1K
Member Avatar for davidjennings

Hi All, I am trying to connect to a Network drive remotely using authentication data(\\drive_name)(T:). I will need to upload and download documents. If possible can you give me some pointers. If you require any additional information please let me know Thanks in advance David

Member Avatar for davidjennings
0
493
Member Avatar for decade

Hello everyone. I would like to ask for your help, I've been stuck in this problem for wholde day. every time I run this code it gives me an error of "The report has no tables" even though I have a dataset. my dataset is datatable that came from the …

Member Avatar for G_Waddell
0
697
Member Avatar for mysitemanager

I'm trying to get the AjaxFileUpload control working and it's giving me some strange problems. It looks like when I call SaveAs the file is just being deleted and not saved in the directory I specify. Protected Sub AjaxFileUpload1_OnUploadComplete(ByVal sender As Object, ByVal e As AjaxControlToolkit.AjaxFileUploadEventArgs) Handles AjaxFileUpload1.UploadComplete Try Dim …

Member Avatar for mysitemanager
0
371
Member Avatar for cambalinho

when we overloading a function: what matters is only the argument list(inclued the types) or the return type too? i'm overloading the assigment operator, but seems that i can't use with diferent return types:( please someone explain to me

Member Avatar for cambalinho
0
209
Member Avatar for ZeroGhost

I need to write a C# program for the encrypting and decrypting of files with PGP. I can't seem to find adequate resources in the Internet. Can someone maybe help?

Member Avatar for Angel Armando
0
3K

The End.