2,720 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for Ace_806

Hi! I found this code in one of the threads [here](https://www.daniweb.com/programming/software-development/threads/125119/auto-generate-id-number#post611289) I converted it into an access kind of code(?) and unfortunately, it won't increment, nor find the top/max in my database. Someone please help? ` Private Function GenID() As String Dim dr As OleDbDataReader Dim com As OleDbCommand Dim …

Member Avatar for tinstaafl
0
77
Member Avatar for Artiuh

#include <iostream> #include <fstream> #include <string> #include <conio.h> #include <iomanip> #include <stdio.h> #include <stdlib.h> #include <unistd.h> using namespace std; // Subprogram pentru Admin void Login(string& admin ,string& password) { string Users[200]; string Pass[200]; bool valid = false; void AdminOptions(); int x = 0; ifstream UsFile; UsFile.open("admin.txt"); UsFile >> Users [x] …

Programming c c++
Member Avatar for rproffitt
0
69
Member Avatar for Rober

Create the following table using SQLite database The basic building block of the system. Book: Every book will have BookID, BookTitle, Author, ISBN, Publishers. Employee : Every Employee will have EmployeeID, EmployeeName, FatherName, Designation, Salary Student: Every student will have Registration, StudentName, DOB, Program, Term Create table for issue and …

Member Avatar for Dani
0
46
Member Avatar for Dani

I've tried absolutely everything!! How can I flush the output buffer in CodeIgniter from within either my controller or my view?? They use some weird double/fake output buffer or something. Grrr!

Member Avatar for Dani
1
4K
Member Avatar for Denis_12

Write a program that stores information about the products in a single linked list that is being sold in a store: product code, product name and price. In the second single linked list stores data on products purchased by individual customers. Each of the element of the second list represents …

Programming c++
Member Avatar for rproffitt
0
58
Member Avatar for pdk123

Hello, I want to call the function from a python file. By googling, it looks like I need to use the following function. I added a "Sample.py" in the same place where the exe is stored for the c++ . int main() { Py_Initialize(); // Create some Python objects that …

Member Avatar for pdk123
1
857
Member Avatar for WolfShield

Hello everyone, I am writing a program that has a part where the user can type in notes, and I would like the program to insert the date and time into the beginning of the note. I have the time and date part figured out: [CODE] import datetime now = …

Member Avatar for Ajeet_8
0
10K
Member Avatar for Fedwa

Hi everyone here, I'm trying to show information about the material according to the year of meeting(is a meeting when they decide to buy a new material) so I use a drop-down list and the information will show according to the year chosen by the user, but it shows the …

Member Avatar for Dani
0
6K
Member Avatar for potato_1

Hello, I want to use the checkbox to update the status of a row in mysql using php. If it is checked and submitted, the status will change from 'collect' to 'received'. I tried many ways but I am not sure where the problem is :( please help! <?php include(config.php); …

Member Avatar for Dani
0
1K
Member Avatar for Madhvi_1

Write PHP Script to insert data into STUDENT TABLE with fields (roll,first_name,Last_name,city,contact,gender).

Member Avatar for Dani
0
201
Member Avatar for Hope_9

(a) Create a class named LivestockProject with fields that hold a membership number, the name of the member, surname, date of birth, gender, location and initial number of livestock (cattle) turned in. Include a constructor that initializes each field to appropriate default values. Also include methods to set and get …

Member Avatar for rproffitt
0
147
Member Avatar for eman_12

[You may use arrays] Credit Card Number Validation Payment card usage in Egypt is on a steady rise. According to the CBE report there are over 22 million active debit and credit cards in Egypt. This means that vendors accepting payments through these cards need to have a way of …

Member Avatar for rproffitt
0
144
Member Avatar for lilindiekid

Hi guys! I am currently using c++ and I wanted to start doing basics of a game with oop. And I thought MGT would be good. So, the problem is idk where to start with. I'm planning to use only Land, Creature, Enchantment and, Sorcery cards. so is there any …

Member Avatar for JamesCherrill
0
141
Member Avatar for lilindiekid

1. Combat between two creature cards: Reduce the defending creature’s HP by the attack power of the attacking creature card AND reduce the attacking creature’s HP by the attack power of the defending creature card. If either the attacker or the defender or both of them is/are reduced to 0 …

Member Avatar for rproffitt
0
107
Member Avatar for clife

Hi , I am new to python. I am trying to have a logrotate feature and also try to print the logs in formatted fashion. So I have created two handlers one for log roataion and other for log formatting. The log rotation is working fine as alone, but as …

Programming python
Member Avatar for rproffitt
0
102
Member Avatar for Ayshhh
Member Avatar for adisharma

Hello All, I just want to know what the average salary of python developer in india and Can anyone know which country gives the most salary?

Programming python
Member Avatar for rproffitt
0
84
Member Avatar for lilindiekid

Can anyone help me to write combat class? 1. Combat between two creature cards: Reduce the defending creature’s HP by the attack power of the attacking creature card AND reduce the attacking creature’s HP by the attack power of the defending creature card. If either the attacker or the defender …

Member Avatar for rproffitt
0
62
Member Avatar for nur_721

help me to identify the problem with this code public class Calculate { int service; } int price(int total, int amount, int currency)//overloading { int price(int total, int amount)//overloading { return service; } } C:\Users\User\Documents\Calculate.java:12: error: class, interface, or enum expected int price(int total, int amount, int currency)//overloading ^ C:\Users\User\Documents\Calculate.java:17: …

Programming java
Member Avatar for JamesCherrill
0
60
Member Avatar for Omar_24

how to create an app that employees can use to manage the main warehouse. The app must allow the user to enter the spare parts by serial number, name and/or use an external par code reader and specify which parts were dispatched to which aircraft notified by its number in …

Programming vb.net visual-basic
Member Avatar for Reverend Jim
0
58
Member Avatar for Farah_6

Develop a visual basic program that asks the user to enter an integer positive number, then reverse this number as a single integer and display it in a textbox. For example, if the user enters 235 the output should be 532. If the input is 79534 the output is 43597 …

Programming vb.net
Member Avatar for rproffitt
0
45
Member Avatar for Błkèęš
Member Avatar for geetajlo

Hi every1 i have a form with a textboxid, buttonAdd, ButtonSave on it , when i click on the btnAdd it must show the id and when i click update it must really Save . I want to auto generate the id through codes ... can any1 help... I don't …

Member Avatar for Ravi_79
-1
9K
Member Avatar for Dani

DaniWeb was written in Codeigniter, and when posting to the forums, we use database transactions that look like this: $this->db->trans_start(); ... insert into the posts table ... ... update the member's post count ... ... update the tags table ... etc $this->db->trans_complete(); On occassion, the error log will show for …

Member Avatar for Dani
1
4K
Member Avatar for zak99

Consider the following implementation of the node and doubly linked-list: Extend the class doubly_linked_list by adding the following methods: *Largest method .This method should return the largest element in a doubly linked-list. *Delete method. This method should delete the first occurrence of an element (value) from a doubly linked-list. template …

Member Avatar for Dani
1
91
Member Avatar for wackyal

how do you extract all email addresses from a string and put each extracted email address as an element of a simple array? <?php // define and implement your php function here function get_all_emails($text_field) { // ---- Beginning of Green Section --- // create an empty array $emails = array(); …

Member Avatar for Dani
0
3K
Member Avatar for clementer

I am looking to sort an arraylist of arraylist of doubles and I require help? I was informed that I need to implement comparator or comparable and then use the collection.sort to sort the list of list in order... ArrayList<ArrayList> list = new ArrayList<ArrayList>() If you look at the list …

Programming java
Member Avatar for tinstaafl
0
871
Member Avatar for Joslup

Hello! guys, I am developing a java game, "the rabbit, turtle, bird," I have a small problem, I do not know how to put attributes to the objects created, for example, a goal of 60 feet, the turtle walks " shift "of 4-8 meters, 6-12 rabbit, but has a 60% …

Member Avatar for Ayesha_17
0
727
Member Avatar for Griffin_3

nlp = spacy.load("en_core_web_sm") Error found OSError Traceback (most recent call last) <ipython-input-3-8d092272a28e> in <module> ----> 1 nlp = spacy.load("en_core_web_sm") ~\anaconda3\lib\site-packages\spacy\__init__.py in load(name, disable, exclude, config) 45 RETURNS (Language): The loaded nlp object. 46 """ ---> 47 return util.load_model(name, disable=disable, exclude=exclude, config=config) 48 49 ~\anaconda3\lib\site-packages\spacy\util.py in load_model(name, vocab, disable, exclude, config) …

Member Avatar for Dani
0
175
Member Avatar for Jonah_4

What are the byte values of basic data types : char , int , long , long long, float, double.?(using sizeof() )?

Member Avatar for Husoski
0
139

The End.