Hi, I am a beginner at programing and I have to do this project where it is asking me to valid ISBN 10 and 13 using MySQL database to store the information. I checked my php code to validate ISBN 10 and 13 and it works, but when I try to store the data to MySQL it is not working. What I mean is that when I click ShowISBN link it doesn't show this information: Please go to this site to check my code because when I post my code here Iget the following message: The code snippet in your …

Member Avatar
Member Avatar
+0 forum 2

hello, ahm, can somebody help me, i'm always getting this error InvalidArgument=Value of '25' is not valid for 'index'. Parameter name: index this is my code: Dim currrentRow As Integer currrentRow = lv2T1.Items.Count() If compare(lv1T1.Items(currrentRow).SubItems(2).Text, txt2T1.Text) = True Then Dim lv As ListViewItem lv = lv2T1.Items.Add(txt1T1.Text) lv.SubItems.Add(txt2T1.Text) txt1T1.Text = "" txt2T1.Text = "" txt1T1.Enabled = True txt2T1.Enabled = False txt1T1.Focus() End If If lv2T1.Items.Count = 25 Then txt1T1.Enabled = False txt2T1.Enabled = False btnStopT1.Enabled = True btnPauseT1.Enabled = False Timer1.Stop() btnNxtT1.Enabled = True End If

Member Avatar
Member Avatar
+0 forum 10

My UPDATE vb.net code below displays this error message:conversion from string "UPDATE tblstaff SET fName='name' " to type 'integer' is not valid.Microsoft.visualBasic conn.Open() If conn.State = ConnectionState.Open Then com = New OleDb.OleDbCommand("SELECT *FROM tblstaff ") com.Connection = conn Dim cb As New OleDb.OleDbCommandBuilder(da) da.Fill(ds, "Eeestaffinfo") Dim sql As String = String.Format("UPDATE tblstaff SET fName='{1}', lName='{2}', dob={3}, eMail='{4}', mobileNo='{5}', designation='{6}', address='{7}', fAppointment={8}, fpromotion={9}, lpromotion={10}, publications='{11}', position='{12}', leaveStatus='{13}' WHERE pfNumber='{0}'", txtPfNo.Text, txtFname.Text, txtLname.Text, Format(dtpDob.Value, "dd/MM/yyyy"), txtEmail.Text, txtPno.Text, txtDesignat.Text, txtAddress.Text, Format(dtpFappoint.Value, "dd/MM/yyyy"), Format(dtpFpromo.Value, "dd/MM/yyyy"), Format(dtpLpromo.Value, "dd/MM/yyyy"), txtPublicatn.Text, txtPosition.Text, txtLstatus.Text) com.CommandType = sql com.CommandType = CommandType.Text com.Connection = conn com.ExecuteNonQuery() com.Dispose() 'conn.Close() MessageBox.Show("Good") End …

Member Avatar
Member Avatar
+0 forum 10

I'm trying to find a record in a csv file in a nested stucture: for elem in lstLine[1:]: for item in open(fname): lstData = item.rstrip('\n').split(';') andexfield = lstData[0] if andexfield == elem: do bladibla Now I want ot add error handling: if no record in fname is found where andexfield == elem print "Error, no andexfield in fname" Can I do this with "try" ? Any help is much appreciated.

Member Avatar
Member Avatar
+0 forum 3

Hi I tried creating sftp server using OpenSSH and I get some errors. First I tried on Microsoft Windows Server 2003, R2, SP1 and then on Windows XP Professional, SP2 and the error is same. Installation went smoothly on both the OS (after a few complications, see note at bottom), but when I tried to start the service, I get the following error: [QUOTE]Could not start the OpenSSH server service on local computer. Error 193: 0xc1.[/QUOTE] Here is the log of error from EventViewer (System) [QUOTE]The OpenSSH Server service failed to start due to the following error: OpenSSH Server is …

Member Avatar
Member Avatar
+0 forum 1

When you are attaching a file to thread don't use # for a file name it will give 404 not found page. [Example](http://www.daniweb.com/software-development/csharp/threads/425890/problem-connecting-c-app-to-a-.mdf-file-in-sql-management-studio)

Member Avatar
Member Avatar
+1 forum 2

Hey everyone, I've made a game with SDL and I'm now trying to distribute it. I've included all of the required .DLLs and such but now I get this error whenever I try to run the .exe: The application or DLL E:\GAME\DEBUG\MSVCR100.dll is not a valid Windows image. please check this against your installation diskette. How could I fix this problem? Thanks for any help, Ichigo

Member Avatar
Member Avatar
+0 forum 4

How Would i be able to check for valid input on cin or getline heres what i have [CODE] #include <iostream> #include <string.h> using namespace std; int main() { string word; getline(cin, word); cout << word; system("PAUSE"); return EXIT_SUCCESS; } [/CODE] what i mean by valid input is either if the user enters an integer when i wanted a string or if the user enters nothing and causes weird results

Member Avatar
Member Avatar
+0 forum 13

I am trying to create an array of 20 values the have 4 methods that 1st will create a total of all values listed, 2nd search the array and return all values less than 5.00, 3rd return the average of the values using the output method from the first method and finally display the average of all values in the array greater than the average. I am getting an error that total + prices is not a valid statement. Here is my code: public class Prices { public static void main (String[] args) { double[] prices = {1.59,8.98,2.56,7.82,9.70,2.85, 1.98,10.80,5.05,12.76,13.20,7.36,4.86,1.25,2.05,2.70, 9.98,4.25,13.05,6.00}; …

Member Avatar
Member Avatar
+0 forum 11

The End.