We're a friendly, industry-focused discussion community of 1M+ developers and IT professionals learning and sharing knowledge. Ask us a question …

YES or NO? and why? Article by worldbus in Search Engine Strategies
Joined the Community
Member Avatar
Sponsored 32 Marked Solved Status for
Hi Dw. I have a MySql server database, and I'm polling data from the database. The problem I'm getting is that when I'm retrieving users activities I only get the first record only which is on `Row(0)` or the first record with that username. Suppose I have a database like … Article by Mr.M in Software Development
Member Avatar
Sponsored 32 Replied To a Post in Retrieve all records with a certain name
Hi Dw. I have a MySql server database, and I'm polling data from the database. The problem I'm getting is that when I'm retrieving users activities I only get the first record only which is on `Row(0)` or the first record with that username. Suppose I have a database like … Article by Mr.M in Software Development
Thanks that was my problem on how I could loop through this, I knew I need to loop through it but didn't know how because when I try `For Each MyRow As DataRow In dvt.Rows` it didn't do what I wanted till I find [this.](https://msdn.microsoft.com/en-us/library/haa3afyz%28v=vs.110%29.aspx)
Member Avatar
1,066 Replied To a Post in Connection of PHP and mysql
Hello DaniWeb Users; I'm not a good coder here please hold on me, My machine is linux ubuntu 14.04 and I install apache2 also the php5. I was trying to create a simple log in page here (no registration thing) So in mysql I just create 3 fields (user_id, username, … Article by zelrick in Web Development
> the browser display "Cannot Select Database". ok, it's the same issue: add the **$conn** parameter to the `mysqli_select_db()` function, see: * http://php.net/manual/en/mysqli.select-db.php If you read the documentation carefully, you will see that the MySQLi extension supports procedural and object styles, depending on what you use, the number of parameters …
Member Avatar
Joined the Community
Member Avatar
Sponsored 1,895 Replied To a Post in Retrieve all records with a certain name
Hi Dw. I have a MySql server database, and I'm polling data from the database. The problem I'm getting is that when I'm retrieving users activities I only get the first record only which is on `Row(0)` or the first record with that username. Suppose I have a database like … Article by Mr.M in Software Development
I see an `if` statement that checks whether you have a result, but no loop to handle more than the first result.
Member Avatar
Joined the Community
Member Avatar
Not sure why but the chronometer counter will start as soon as the application starts without me clicking the button. Does anyone see what the issue would be? package com.example.android.courtcounter; import android.os.SystemClock; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.view.Window; import android.view.WindowManager; import android.widget.TextView; import android.widget.Chronometer; public class MainActivity extends … Article by geoffy0404 in Mobile Development
also: it's good that you show the startTime and stopTime methods, but as far as we can tell, they're not called anywhere.
Member Avatar
Joined the Community
Member Avatar
Sponsored 32 Replied To a Post in Retrieve all records with a certain name
Hi Dw. I have a MySql server database, and I'm polling data from the database. The problem I'm getting is that when I'm retrieving users activities I only get the first record only which is on `Row(0)` or the first record with that username. Suppose I have a database like … Article by Mr.M in Software Development
Any help?
Member Avatar
Hi Dw. I'm using this code available from [here](http://www.coderslexicon.com/using-hashes-to-check-if-a-file-changed-in-vb-net/) and I have changed it from keeping the hashs on a variable(array) to writing it on a file. Now what I want to do is to read this file. Basically I'm scanning through all my drive file and for each file … Article by Mr.M in Software Development
Member Avatar
Hi Dw. I'm using this code available from [here](http://www.coderslexicon.com/using-hashes-to-check-if-a-file-changed-in-vb-net/) and I have changed it from keeping the hashs on a variable(array) to writing it on a file. Now what I want to do is to read this file. Basically I'm scanning through all my drive file and for each file … Article by Mr.M in Software Development
Member Avatar
Sponsored 32 Replied To a Post in How to read Hash from a text and compare it
Hi Dw. I'm using this code available from [here](http://www.coderslexicon.com/using-hashes-to-check-if-a-file-changed-in-vb-net/) and I have changed it from keeping the hashs on a variable(array) to writing it on a file. Now what I want to do is to read this file. Basically I'm scanning through all my drive file and for each file … First Post in Article by Mr.M in Software Development
Member Avatar
Created
I am trying to run the code in openGL in Visual Studio 2013 after installation. It shows error as "Cannot open source file <GL/glew.h> and <GL/glut.h> ". Also it shows "Identifier glutInit is undefined". Can you please resolve this issue ?? #include <GL/glew.h> #include <GL/glut.h> #pragma comment(lib, "glew32.lib") int main(int … Article by Shaik_2 in Game Development
Member Avatar
Began Watching
I am trying to run the code in openGL in Visual Studio 2013 after installation. It shows error as "Cannot open source file <GL/glew.h> and <GL/glut.h> ". Also it shows "Identifier glutInit is undefined". Can you please resolve this issue ?? #include <GL/glew.h> #include <GL/glut.h> #pragma comment(lib, "glew32.lib") int main(int … Article by Shaik_2 in Game Development
Member Avatar
Replied To a Post in openGL
I am trying to run the code in openGL in Visual Studio 2013 after installation. It shows error as "Cannot open source file <GL/glew.h> and <GL/glut.h> ". Also it shows "Identifier glutInit is undefined". Can you please resolve this issue ?? #include <GL/glew.h> #include <GL/glut.h> #pragma comment(lib, "glew32.lib") int main(int … First Post in Article by Shaik_2 in Game Development
Member Avatar
Joined the Community
Member Avatar
Sponsored 1,442 Replied To a Post in Login Problems
I tried to go to a thread in Chrome and the connection timed out. I loaded Firefox and browsed to Daniweb and tried to log in. I was sent to Dazah (as expected) where I was told my password was no longer valid (I use a password manager so a … Article by Reverend Jim in DaniWeb Community Feedback
> Hope you didn't spend hours tracking down a non-existent bug. Nope, I realized right away what I suspected was going on.
Member Avatar
194 Replied To a Post in Help with my homework
I have a tough time trying to break what's in here: #include <iostream> #include <conio.h> #include <stdlib.h> using namespace std; int main () { float grade; string name; cout << " Please input your name: " << endl; getline(cin,name); cout << " Please input your grade: " << endl; cin … Article by One-up in Programming
Line 54: else if ( grade = 0.00 && grade <= 64.99) The dreaded = instead of == bug. = is the assignment operator. == is the comparison operator. I'm not exactly sure what you want in that line, but I am extremely confident you don't want the assignment operator. …
Member Avatar
Sponsored 194 Replied To a Post in Login Problems
I tried to go to a thread in Chrome and the connection timed out. I loaded Firefox and browsed to Daniweb and tried to log in. I was sent to Dazah (as expected) where I was told my password was no longer valid (I use a password manager so a … Article by Reverend Jim in DaniWeb Community Feedback
> Are you clicking the Join link or the Login link in the top navigation menu? The Join link should re-request. The login link shouldn't. Uh, I thought I was clicking the Login link. However, now that I'm paying attention, every time I click the Login link, I'm not redirected. …
Member Avatar
hey there i'm stuck in this particular problem. the table in my rdlc report doesn't update. i have updated my table in database but when it comes to the rdlc report the table doesn't update. any suggestions? im using vb 2010 by the way with ms access as database Article by Jann_2 in Software Development
I searched high and low already sir. I had done all the recommeded and all the said "working" solutions. but It still doesn't update. The data in the table still shows old data from the ms access database.
Member Avatar
hey there guys. I want to know how to Print the data from a listview into a receipt. I have found a question here which solves the printing but it only prints the listview items and not the other texts from the Receipt Form. Like the Header and total amounts … Article by Jann_2 in Software Development
hi Mr. M. Sorry for the late reply I had to go to class. I saw this code on some site and have been using it. Public Class frmPrinting Private Sub frmPrinting_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load End Sub Private Sub ButtonPrintListView_Click(ByVal sender As System.Object, ByVal …
Member Avatar
I have a tough time trying to break what's in here: #include <iostream> #include <conio.h> #include <stdlib.h> using namespace std; int main () { float grade; string name; cout << " Please input your name: " << endl; getline(cin,name); cout << " Please input your grade: " << endl; cin … Article by One-up in Programming
Member Avatar
Began Watching
I have a tough time trying to break what's in here: #include <iostream> #include <conio.h> #include <stdlib.h> using namespace std; int main () { float grade; string name; cout << " Please input your name: " << endl; getline(cin,name); cout << " Please input your grade: " << endl; cin … Article by One-up in Programming
Member Avatar
Replied To a Post in Help with my homework
I have a tough time trying to break what's in here: #include <iostream> #include <conio.h> #include <stdlib.h> using namespace std; int main () { float grade; string name; cout << " Please input your name: " << endl; getline(cin,name); cout << " Please input your grade: " << endl; cin … First Post in Article by One-up in Programming
Member Avatar
Joined the Community
Member Avatar
Sponsored 1,442 Replied To a Post in Login Problems
I tried to go to a thread in Chrome and the connection timed out. I loaded Firefox and browsed to Daniweb and tried to log in. I was sent to Dazah (as expected) where I was told my password was no longer valid (I use a password manager so a … Article by Reverend Jim in DaniWeb Community Feedback
Are you clicking the Join link or the Login link in the top navigation menu? The Join link should re-request. The login link shouldn't.
Member Avatar
Joined the Community
Member Avatar
Sponsored 194 Replied To a Post in Login Problems
I tried to go to a thread in Chrome and the connection timed out. I loaded Firefox and browsed to Daniweb and tried to log in. I was sent to Dazah (as expected) where I was told my password was no longer valid (I use a password manager so a … Article by Reverend Jim in DaniWeb Community Feedback
And again... Every time I re-login to Daniweb, it requests a re-authorization of the permissions. It didn't used to do that. Chrome. Windows 10. I have the same browser settings as always. Did not clear cookies or cache between logins.