64,152 Solved Topics
Remove Filter ![]() | |
Hi, I'm having CLI0100E Wrong number of parameters. SQLSTATE=07001 exception when I try to [code] private void PopulateTable() { bool IsConnecting = true; while (IsConnecting) { try { cn = null; cn = new OleDbConnection(strConn); cn.Open(); sSqlCommand = "select a.sicil_no ,a.adi||' '||a.soyadi as isim,b.unvan_aciklama,a.ilkgir_tarihi,a.ayrilma_tarihi,a.sua,a.dogum_tarihi " + "from per015_ssk a,per003_ssk b"; … | |
I am trying to create an HTML form which displays text from a text file, using a Java Servlet. I keep getting the following error: Error instantiating servlet class servlets.ReportServlet. Here is the HTML page: <html> <head> <title>TODO supply a title</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body> <form … | |
Hi All, I have a collection of huge records (6000+) wherein the object in the collections has got 50+ properties, so ideally it is not a good idea to run a "For-Each" loop here. What I want is a "GroupBy" clause which would get me a Dictionary (Of String, String) … | |
Hi, i have installed prestashop 1.4.8.2 & i need a report of first order date for each customers, please help me to create mysql query. i need below columns information from database. id_customer, firstname, lastname, first order date thanks, Ritesh | |
I know this title is rather confusing, but here it goes. I have a PHP cURL request and the return is in a string. Normally i can easily echo specific objects from the JSON response, but i have never dealt with string returns. Here is my php <?php $url = … | |
Hello, I was testing a class in a GUI, and that error message showed up. Please help. Code: [CODE]from Tkinter import * class Application(Frame): def __init__(self, master): super(Application, self).__init__(master) self.grid self.create_widgets() def create_widgest(self): self.bttn1 = Button(self, text = "I do nothing!") self.bttn1.grid() self.bttn2 = Button(self, text = "Me too.") self.bttn2.grid() … | |
AM new to php, but i included my php header to all page of my website, but thay are all showing the same html meta tags and I want them to show display meta tags per page, like showing meta title For Home and Meta title for our services. I … | |
hello sir, i am new in vb.net.. i am making a project on railway reservation.. in train booking page, there are multiple textbox in my project to insert multiple passenger name for reservation.. i want to book train in one click... so, i have to insert all the passenger name … | |
Hello i have a problem. Locally (xampp local server) the image uploads just fine but it doesn't when i try it on my webiste. The GD library is activated. So thats not the issue. html <video id="player" width="480px" height="240px" autoplay></video> <button id="takeSnap" class="startbutton messageButton" style="display:none;">Take Snap</button> <div id="webcam"> <input type="hidden" … | |
In a XAML file you can add a control like a Button and start to edit its attributes like `<Button Width="200" ..`. When you type in Width you get something like `Width="|"` and is rather nice. After typing 200, you end up with `Width="200|"` Does anyone knows a way to … | |
I currently have some code that gets the overall top 25 frame sales, which is as follows: `Dim FrameCountSelectStr As String = "SELECT TOP 25 Count(Glasses.OrderID) AS GlassesCount, Glasses.Manufacturer, Glasses.FrameName FROM(Glasses) WHERE FrameName <> '' AND OrderDate >= #" & SearchDateStart & "# AND OrderDate < #" & SearchDateEnd & … | |
I've downloaded the file "qt-unified-windows-x86-3.0.0-online.exe" and installed Qt and I've also downloaded and unpacked the file "PyQt5_gpl-5.9.zip". I'm using Python 3.6 but I can't figure out where to drop the extracted PyQt5 files. I can't find a Python directory anywhere on my C: drive except for under my home directory. … | |
I'm writing a code that will save the username of a user when a button (in this case button1) gets pressed. I save it to a file called info.txt, and i use fstream in order to save it. Currently I'm running into the issue that, while i can open up … | |
Hi! I am an engineering student.I was exploring the conio.h file in c++ when i encountered inp(),outp() functions. I understood the basics about them but i am still not able to create a meaningful program with it.Somebody please help me ! | |
![]() | hey guys I'm doing lms project. I created login page and php file. I can't find where I stucked. Here explanation of login form : * Check whether given username and password correct or not.. * If correct then check user type... * redirect to different pages according to user's … ![]() |
Hello to all, I am trying to display the images on my page through php from mysql database Problem is - Images are repeating , It always display only first image. <?php include("header.php"); include("connection.php"); $sql = "select Image from flood_light"; $result = $conn -> query($sql); if ($result->num_rows > 0) { … | |
so i tried adding a defintion for the reset command but it doesn't seemed like it works other method was moving the defintion around the localfunction which didn't work and also affects other elements # Guessing Game from tkinter import * from tkinter import ttk import random number = random.randrange … | |
Hello! I am developing a POS System. I have need to print Sales receipt. I have no physical printer to test my printing but i have print on xps document. I am facing a problem with indentation of my data on Sales receipt. Following is the code which i wrote … | |
At the moment i ahve a task where i have to make a guessing game in GUI python. So it will generate a random number and also when a certain number of tries have been reached it will stop. The problems i am having as of now is that: 1) … | |
howdy folks please am working on an Annual Crop Cashflow Calculator like an Excel i have 3 text boxes. textbox22 textbox31 and textbox71 if i multiply textbox22 by textbox31 it shows in textbox71 but the problem is i need an event jus like excel after calculating and user goes back … Programming | |
Hi I am learning python and there is these two code snippets but I keep getting an error when I try to run the program. # survey.py class AnonymousSurvey(): # Collect anonymous answers to a survey question. def __init__(self, question): # Store a question, and prepare to responses. self.question = … | |
Greetings, I have an error when start debugging an application "Retrieving the COM class factory for component with CLSID {00853A19-BD51-419B-9269-2DABE57EB61F} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))." I'm using a DLL "Interop.zkemkeeper.dll" in my application it was working fine on windows 7 … | |
Hello Dear, i have problem to multiple two textboxs ,one is Decimal and second i didnt asign ..... Please check code.. private void textBox18_Leave(object sender, EventArgs e) { decimal first; decimal second; decimal re; var b1 = decimal.TryParse(textBox18.Text, out first); var b2 = decimal.TryParse(textBox13.Text, out second); if (b1 && b2) … | |
I use the this code. showing "Update" msg but not update and if i add an item then show "Update" not "save" Please help me..... Private Sub Button14_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button14.Click Dim sql = "select Count(*) from pur_invdet where purinvid= txtpurinvid.text" Dim cmd = … | |
I'm new to daniweb community.it seems to be veyr useful.hope now someone wil definetely help me solve my problem in vb6. I've a combo box that displays the name of the customers and also a text box that must display the number of the customer.. but in my project i'm … | |
So I'm trying to convert my code into 3 files, the main.cpp, a header, and the classbody.cpp. This was my original code: #include <iostream> using namespace std; #include <string> #include <ctime> #include <stdio.h> #include <stdlib.h> class colorPicker { private: string colorArray[7]; public: colorPicker() { colorArray[0] = "Red"; colorArray[1] = "Green"; … Programming c++ | |
Hi guys; I'm new in python and thread ,i start learning by create a simple code but i find some defficult this code below have some function and thread also Queue function to share data between thread this is a part of my code: def PutChar(Ch): #ask user to put … | |
I have 3 td's in a portion of a table. Sometimes, the data coming in from the database is less than 3. I need a method that will lay-out the data precisely compared to a rank in the table. Ideal situation: array |-0 |-name => Joe |-rank => 0 |-1 … | |
I have a table with nutrient data(in Dutch) it looks like this  My DB design skills are very low, I only know Mr. Codd is lurking 'round the corner somwhere. Could anyone give me some hints on how to set up my tables or should I just usr … | |
I have been butting my head against this problem for the past 4 hours, and I have to tap out. I know I can't be too far from correct I am just not sure what the missing ingredients are. Here is the problem question: Student status: List of all students … | |
Hello Am looking for an out-of-the-box Wordpress theme which can help me create a website similar to either FileHorse or FileHippo in a very short time. Any one has an idea? | |
Hi Any one know how I can get the following function to return a value - thanks. [CODE]import threading import time def stringFunction(value): str = "This is string no. " + value return str thread1 = threading.Thread(stringFunction("one")) thread1.join() thread1.start() while threading.activeCount()>1: time.sleep(1) print thread1 [/CODE] Currently returns "<Thread(Thread, stopped)>" Not … | |
 Can not call form1,, help please | |
As I am doing a application on attendance management where I need to store the details by using check boxes I am unable to store the details of check boxes where it will be generated as present or absent in database Can anyone help me to find out this | |
Hi Everyone, Can anybody suggest me. I have mysql with two database operations and production. My operations db have master master syncing on live server . I want to make production's master slave syncing onsame live server . Is it possible. How can do it?. Please help me. Thanks in … | |
I've enabled `allow_url_fopen` via MultiPHP INI Editor in cPanel, but if I check with `phpinfo()`it's still on 'Off'. Why's that? I've cleared my cache. | |
Hello Dear Friends, I need some help to check avilidity of the username on Leave event of a textbox in Database SQL Server, but i cann't get. it code is bellow private void textBox6_Leave(object sender, EventArgs e) { cmd = new SqlCommand("SELECT * FROM usertab WHERE username='"+textBox6.text+"'",con); SqlDataAdapter da = … | |
hello everyone [{ "uid": "BR-M12068", "registeredDate": "Thursday May 11th 2017 03:56:37 PM", "file_path": "BR-M12068.pdf", "file_thumbnail_path": "BR-M12068thumb.png", "test_type": "Free", "title": "Medical Bills", "createdAt": "Thursday June 29th 2017 05:02:19", "chkTime": "Thursday June 29th 2017 05:01:53 PM", "chkoutTime": "Thursday June 29th 2017 05:02:29 PM" }, { "uid": "BR-M12068", /// first data "registeredDate": "Thursday … | |
I have a problem with bootstrap design i want to make a very simple page which will contain two buttons and a video. The prob. is i dont know how to align theese two buttons with the video in one row here is the code i have: <body> <div class="container"> … | |
Hello everyone, I'm working on a card trick program that essentially has the user pick a card and the program will figure out which card it is. However, When I get the the displayed cards, I get some results that have no value and some that are not alligned properly. … Programming c++ | |
I need to configure a server for the CS-Cart Multi-vendor software (http://docs.cs-cart.com/4.6.x/install/system_requirements.html) and if I check things with `phpinfo()`there's no php.ini file. It shows the path where it should be in, but there's no file. `Configuration File (php.ini) Path /etc/php70` `Loaded Configuration File (none)` I don't see this directory either … | |
hi.I want play linux shells command with python.for example i did it: [CODE] def add(userName, pasword): import os os.system("useradd -d /home/%s -m -p %s %s"%(userName, pasword, userName)) [/CODE] but some where i have problem. for example when you want change the users password you have to send the command for … | |
**Am was already created form like this and working perfect but on last two forms not working, it displays warning-Undefined variable: reg_no and cost. Am trying to follow algorithm as previous forms but nothing happen. My goal is to update inserted data and here is my form** <?php @session_start(); if(!isset($_SESSION['b_lname'])){ … | |
i defined a structure for a student `typedef struct {` `char firstName[20];` ` char lastName[20];` `int id;` ` char *birthDate; `} Student;` the function definition for a student is this `Student * createStudent(const char * first_Name, const char *last_Name, int ID, const char * `birthDate_str) {` ` /* Declare a … Programming c | |
![]() | Hello, I am creating a code that allows the user to insert data into textboxes and then have it stored in an Access database. The code that I used worked previously but since I added the second query, nothing is added to either tables. Here is my code: Private Sub … |
hi there, I'm coding in windows, c++, but when I traslate my code to ubuntu, g++, I get this error: [B]lvalue required as left operand of assigment[/B] This is the line where I get the error: [COLOR="Red"][/COLOR][CODE]&*raiz=&*p;[/CODE] What could be the problem? *raiz and *p are pointers to an avl … | |
Hi, I have created a function that searches for a category in a category tree object and returns all the paths for it as an array of strings, please advice how I can improve it ? the result im getting now is : ["vehicles",["cars","mercedes"],["trucks","mercedes"],["motorcycles","BMW"]] i need it in one dimesional … | |
how can I use Alt+Del to Delete listview item ... Now I just select the row and press del key delete the item, But I want to delete item by press alt+del key. How it is possible Please help me.... What I have tried: Private Sub ListView1_KeyDown(ByVal sender As Object, … | |
Greetings, Can anyone tell me why my loop does not actually add anything for interest? I'm thinking it is because of the way my interestRate variable is setup as a class variable (static). Here is the code snippets /**************************************************************************************** HNUnit4Ch13Investor.java xx All variables should be declared private Declare a class … | |
Hi guys. I'm having a very serious problem. I've created Client,Server Socket applications and they work great on local mechine and I also created a test Windows Phone 7 app and configured the static IP address and the wp7 and server does connect when I run WP7 on a simulater, … |
The End.