199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for developer707

Hello, I have two tables one for the company staff and one for their projects(table name objecte). The table objekte has 4 colums that are connected with the id of the staff. The problem is that I want a query that shows all staff's names. I have also included the …

Member Avatar for 1stDAN
0
254
Member Avatar for charles.dupree.37

Hi, I am stuck trying to figure out how to include a class within a class and how to properly call members of a class from the main(). I cannot figure out what these error messages mean. I would greatly appreciate and insight into my dilemma. Thank You, C.D. Enclosed …

Member Avatar for rubberman
0
3K
Member Avatar for Learner010

i want to add a label over progress bar to show the percentage of the completed task . i added the code : Label1.Parent = ProgressBar1 Label1.BackColor = Color.Transparent but now i can't see the label1 even. so how to make label1 transparent.

Member Avatar for Gé48
0
4K
Member Avatar for terryds

First, take a look at my code <?php try { $dbh = new PDO('mysql:host=$db_host;dbname=blogproject1','root',''); $dbh->setAttribute(PDO::ATTR_ERRMODE,PDO::ERRMODE_EXCEPTION); $dbh->exec('SET NAMES "utf8"'); } catch (PDOException $e) { die('Error: ' . $e->getMessage()); } if(!defined('GUEST')) { define('BASEPATH', dirname(dirname(__FILE__)); header('Location: ' . BASEPATH); exit(); } When it executed it gives me an error.. Looks like, the error …

Member Avatar for code_rum
0
163
Member Avatar for santosh.m

Can You Please exaplain what **0**(ZERO),geocode=**0**,33.32032770893669,-111.96618234118574) represents geocode parameters of below url https://maps.google.com/maps?f=d&hl=en&saddr=&daddr=7200+West+Ray+Road,+Chandler,+AZ+85226,+USA&geocode=0,33.32032770893669,-111.96618234118574

Member Avatar for almostbob
0
203
Member Avatar for Shodow

how to select all item in listview? For i = 0 To lvList.Items.Count - 1 lvList.Items(i).Selected = True Next i PrintToolStripMenuItem.PerformClick()

Member Avatar for Reverend Jim
0
115
Member Avatar for Angelrawzz

Hi, I am trying to create a function which takes two chars and a char* string. Then run the function and replace each occurence of Char1 with char 2. E.g. String = Apples. Char 1 = A. Char 2 = B. Char 1 is present in string so replace all …

Member Avatar for deceptikon
0
617
Member Avatar for harde_1

Im trying to add Total function and isMono functions to this code. Did total already Need help with function ismono which returns whether a tree is mono (all the elements are unique aka no element appears more than one time) or not. Please this is the original program #ifndef T_H …

Member Avatar for deceptikon
0
309
Member Avatar for abhi10kumar

I am using Facebook, Twitter and Gmail APIs to login. I am getting **email, uid, provider, username** in **Gmail** & **Facebook** and **Provider, username, token, secret code for twitter**. But I want as much as user's details. Do they provide more information ? If yes then how I can get …

Member Avatar for pritaeas
0
142
Member Avatar for cgull

Hello, This is the first time I am trying to use jQuery DataTable. I read a lot of articles, but I can't make it work. I hope someone can help. I need to build a table that displays Rugby games scores. The table I am building should look like this: …

Member Avatar for cgull
0
316
Member Avatar for Azmah

I'm looking for a really good 3D and/or Game engine to work with? I currently use C++, though I am willing to switch if the it's worthwhile :) Thanks in advance.

Member Avatar for 3dwalkyan
0
520
Member Avatar for leghorn

we know perl gives us the facility to use hashes %ages = ('Martin' => 28, 'Sharon' => 35, 'Rikke' => 29); what if I want to do the same thing in shell script ?? thanks

Member Avatar for masijade
0
153
Member Avatar for Olagsfark

I've got a simple php script here that recieves a POST data from my ajax script. But i want to make sure that only my own ajax script can have a successful request from the page and not some other ajax scripts to avoid brute attacks as ajax requests are …

Member Avatar for Olagsfark
0
643
Member Avatar for NardCake

Hello! I'm very interested in compiler/language design but It's an extremely complicated topic so I've recently tried to wrap my head around and understand one of the beginning and main parts, lexical analyzation. I'm not here to ask for code or anything but I've tried thinking up various methods of …

Member Avatar for NardCake
0
163
Member Avatar for sonyeo

The problem is when i delete a records from the listview, it deleted but when i look unto database it doesn't deleted. Please help me solve this problem: Here's my recent code: Module1.connect() Dim sqlconn As New OleDb.OleDbConnection Dim Button = MessageBox.Show _ ("Are you sure you want to delete …

Member Avatar for sonyeo
0
180
Member Avatar for sprishi9

I am trying to print a single record on the data report control in vb6.0 with sql2005 as backend can you please sugest how to do this. please send the code.

Member Avatar for Ancient Dragon
0
74
Member Avatar for sonyeo

The problem is it works updating the records but all records will gonna update... i want to update the selected records only.. I use Listview~! example column table: Processor Pentium(R) Intel(R) Dual CPU when I edit the Intel(R) into VGAgraphics, the Pentium(R) and Dual CPU will also change into VGAgraphics …

Member Avatar for sonyeo
0
146
Member Avatar for kohkohkoh

Hi, I'm at my wits end. I just need some idea/brain storming here with the expert/professional. Scenario, I have 30 text files. (each files about 300mb-500mb) What i need to do is to convert these files into some sort of binary and store it some where. But not in SQL …

Member Avatar for kohkohkoh
0
186
Member Avatar for coding101

Need help dhcpdiscovery message...using raw sockets..dont want dhcp headers or libraries..do it myself anyway im getting error on sending my packet..any USEFUL help? #include <stdio.h> #include <stdlib.h> #include <netdb.h> #include <arpa/inet.h> #include <sys/socket.h> #include <netinet/in.h> #include <netinet/ip.h> #include <sys/types.h> #include <string.h> #define DHCP_UDP_OVERHEAD (14 + /* Ethernet header */ \ …

0
117
Member Avatar for OsaMasw

Hello there am working now on download script for some projects I have many option to do from limiting the speed or make the download resumable. everything works fine except for the resume download, I've tried many script and codes, none of them works :( here is my last code …

Member Avatar for OsaMasw
0
2K
Member Avatar for Dani

We use hashes a lot in our URIs to jump people around to a specific place on the page. For example (www.example.com#part1 and www.example.com#part2). However, we have a static fixed header at the top of the page, and so if it tries to jump you down, it ends up plopping …

Member Avatar for Dani
0
309
Member Avatar for eshajoshi

Hi everyone, I have a list of an unknown number of Microsoft Access 2003 databases. All of my databases have the same tables but obviously different recordset data. I am able to open one table from one of the databases (select a table from one database) and edit one recordset. …

Member Avatar for Klahr_R
0
221
Member Avatar for adil.ghori

Hi everyone, I have created a program with my whole day and night hard work in dev C++ and now im trying the same code in Visual Studio C++ 6.0 ... I'm showing you the code of that program, kindly guide me through this, or correct the problem in getting …

Member Avatar for adil.ghori
0
947
Member Avatar for inihan

hi all, I am quite new into web development. And i need some help about a chat application. I think the is the 2 popular method in a chat application. one is with ajax and other one is socket. As i think of ajax chat its quite good, I as …

Member Avatar for inihan
0
198
Member Avatar for mikewyatt

I have a popup window that instead of the ordinary YES_NO_CANCEL_OPTION I want the user to select from 3 options {A, B, or C} static int Select_Use_Move_Items(int Select_Col){ int n = JOptionPane.showOptionDialog(frame, "Select Option for:\n "A: Remove - Discard one Item\n"+ "B: Transfer one Item to Person\n"+ "C: Transfer one …

Member Avatar for mikewyatt
0
362
Member Avatar for GlenRogers

Hi, I use some jquery/ajax to try and get the id of a link button and display all the products associated with that id. I'm using the exact same code that worked for me on another site, but nothing happens when i click a button! This is the menu of …

Member Avatar for GlenRogers
0
182
Member Avatar for ibpet11

Hello guys, I did appreciate this quick assistance, I have a .csv file and I want the lines in the file to be sorted using value in the first column and the write out the sorted file to another file Take an instance we have: ================================= 36,Line1 APPLE FRUIT 11,Line1 …

Member Avatar for ibpet11
0
2K
Member Avatar for tanatos.daniel

I have this function that should open two files and write their content in a third file, separated by "\n". I don't get why it works for code in comments and not for the one below it, although both provide valid text file names. void concatenate() { /*char *file=new char[strlen(" …

Member Avatar for tanatos.daniel
0
368
Member Avatar for harde_1

Hi, I need a function that will take a tree as argument and return the number of ints that were typed and a correct call. would it just be preorder? like below. Please. Thanks #include "t.h" void preorder(tnode * t){ if (t == NULL) return; cout << t->info <<endl; preorder(t->left); …

Member Avatar for harde_1
0
446
Member Avatar for furlanut

Have I got this totally wrong ? It should be simple. Whatever I try I return the COMPLETE A-Z and never the selected letter only. It seems I am not able to change the variable $name at all. The relevant code I have made is: <?php $alphasearch=''; $spanSearch = range('A','Z'); …

Member Avatar for furlanut
0
126
Member Avatar for Stefce

why my app is crushing after passing the seconds ? new Timer().schedule(new TimerTask() { @Override public void run() { Health -= 1; if(Health <= 20) { if (!canSeeWarnDialog) { final AlertDialog alertDialog2 = new AlertDialog.Builder(MainActivity.this).create(); alertDialog2.setTitle("Im hungry"); alertDialog2.setMessage("The dog health is going low " + "\ngive him some food"); alertDialog2.setButton("Got …

Member Avatar for Stefce
0
198
Member Avatar for james.lu.75491856

I want to start a command in command prompt, but os.system() can only do one command, and I want it to start from a url. Example: import os,getpass print "Altline (C) James Lu" print "All rights reserverd." def currentuser(): try: return "Users/" + getpass.getuser() except: print "Cannot detect user, starting …

Member Avatar for Gribouillis
0
204
Member Avatar for mpc123

HI I have an else if statement that all the results are coming out as the first if even though in the info row they are different in the table, hope someone can help. // showbanners if($row['info'] ="Some Apples") { $showbanners = '<img src="1.png"><br><br><img src="2.png">'; } elseif($row['info'] ="Some Bananas") { …

Member Avatar for mpc123
0
142
Member Avatar for L-D

Does'nt say could not connect. This is a new one for me. Don't know what to submit other than <?php $MySqlHostname = "mysql1.000webhost.com"; //the name of your host - if its local leave it as is. $MySqlUsername = "a8271678_unet7c3"; //the username to your database. $MySqlPassword = "pw"; //the password to …

Member Avatar for L-D
0
807
Member Avatar for Mr.M

Hi Dw I'm trying to create a program that I will use to browse through websites when I'm not connected to the internet and I can download the single page using the code I provide bellow but what I want is to download the entire website with it contents e.g. …

Member Avatar for Mr.M
0
329
Member Avatar for weeraa

I faced to a huge problem when i coding some stored procedure. How to combine some string to sql string in stored procedure??? This is what i did upto now. @WhereCondition = ' WHERE id = 102 ' DECLARE recoredSet CURSOR FOR SELECT SUM(Amount) as AmountSum FROM sale + @WhereCondition …

Member Avatar for C#Jaap
0
228
Member Avatar for game06

i am making a calculator in swing and need help with some logic. so some of button my cal will have: 0,1,2,3,4,5,6,7,8,9,dot, mult,divide,mod, equal,sqrt, ln,log,sin,cos,tan, ^, exp, fractor, etc...... bc i have alot of buttons i need a good way to compute them. here what i am thinking: first user …

Member Avatar for stultuske
0
231
Member Avatar for bradly.spicer

Hey guys, So close to the end with this! function JobBoard_admin_edit() { echo "<h4> edit </h4>"; ?> <form name="jobboard_form" method="post" action="<?php echo str_replace( '%7E', '~', $_SERVER['REQUEST_URI']); ?>"> <?php echo '<select name="ID">'; $con_edit= mysqli_connect("localhost", "profiled_job","", "profiled_jobboard") or die(mysql_error()); $sql="SELECT ID,Employer FROM details"; $result =mysqli_query($con_edit,$sql); $employer_id = $_POST['ID']; while ($data=mysqli_fetch_assoc($result)) { echo …

Member Avatar for pzuurveen
0
190
Member Avatar for Octet

Hello Daniweb, I am facing a problem with my web host, 123-Reg and their basic Linux startup package. To summarise what this package contains, it is a small scale shared hosting environment with support for PHP. I am developing a content management system which writes data to a flat file …

Member Avatar for Octet
0
592
Member Avatar for hbm11

<?php include ( './includes/template_pageTop.php' ); if (isset($_POST['submit'])) { $username = $_POST['username']; $password = $_POST['password']; $check_username = mysql_query("SELECT username FROM users WHERE username='$username'"); $numrows = mysql_num_rows($check_username); if ($numrows != 1) { echo 'That User doesn't exist.'; } else { $check_password = mysql_query("SELECT password FROM users WHERE password='$password' && username='$username'"); while ($row …

Member Avatar for pritaeas
0
309
Member Avatar for MrEARTHSHAcKER

Hello everyone, I want to start implementing some of my mathematics knowledge into programming through AI. Back 3 months ago I had no idea what is AI, but then I took Machine Learning course on Coursera and finally realized how much maths is included in AI. However I wasn't able …

Member Avatar for jwenting
0
249
Member Avatar for manel1989

hi every one ! i'm sorry to be so bothering but i really don't know how to solve my problem here: Mathematically, the placement problem of testers into the right nodes) can be modeled by merging the two introduced knapsack variants: multidimensional and multiple knapsack problems. The obtained model is …

0
217
Member Avatar for silentkill89

I am trying to update whatever content in the textbox that has been edited and post to database. However, only the second record is update but the first record is not. I think should be the while loop problem but I don't what is the mistake. Here's my edit page …

Member Avatar for F-3000
0
217
Member Avatar for Fangling

Hi i have a datatable, dt3 showing: adminno paperno 111411H 4 111411H 9 182938C 2 192839A 3 111380Y 26 111380Y 36 111380Y 40 182737N 26 182737N 40 i want to populate: conflictingpaper numberof students adminno 4:9 1 111411H 26:40 2 111380Y 182737N ... .. .... ... i have these codes: …

Member Avatar for ss125
0
250
Member Avatar for ss125

When i implement the following code in my Global.asax.cs in the session timeout procedure, It prompts me an error... HttpContext.Current.Response.Redirect("login.aspx"); What will be the problem? Note: I want to forward the user to login page when the session is timeout.So i used this. Correct me if i am wrong in …

Member Avatar for ss125
0
167
Member Avatar for Rachael_1

Hi, I have read through several questions on stackoverflow before asking this. I have very little knowledge on php and mysql so much help is needed. So, what I needed is to create a button for every table row so that when user hits the "copy" button, the data for …

Member Avatar for broj1
0
1K
Member Avatar for durgesh1

hello all i need to create comobox untill value come from database,example:-if in data base have 5 value then there should be five combox and value should be set in combobox each time automatically anyone help me to how create combobox that should equal to np. of value in database

Member Avatar for stultuske
0
215
Member Avatar for EXTRA_RICE
Member Avatar for raknahs

Dim asynconn As New pfcls.CCpfcAsyncConnection Dim conn As pfcls.IpfcAsyncConnection Dim session As pfcls.IpfcBaseSession Dim oModel As pfcls.IpfcModel Dim A As IpfcBaseParameter Dim Av As IpfcParamValue Dim A_value As Double Dim A_value_new As Double Dim new_paramowner As pfcls.IpfcParameterOwner Dim pa_model As pfcls.CCpfcRegenInstructions Dim asyncConnection As IpfcAsyncConnection Dim cAC As CCpfcAsyncConnection Dim …

0
142
Member Avatar for cleve23

Hi all, I was trying out this for loop example and i notice that the for loop only works for the printing of x.The printing of y value did not work at all until the loop ends. I am trying to understand how for loop actually works. Am i right …

Member Avatar for cleve23
0
138

The End.