64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for lps

Good day, I having a problem where creating my setting table as condition below column User_id setting effective_date effective_end_date Row 1: 1 ABC 2017-03-01 2018-02-28 Row 2: 1 DEF 2018-03-01 2019-03-01 I wish to add a constraint to block if same user add in a setting with the effective_date or …

Member Avatar for lps
0
298
Member Avatar for Clif40RD

Hi Guys, I have a data bound grid-view with action buttons for updating and deleting items in a users shopping cart. The grid-view uses a 'SelectMethod' in the code behind to generate the data. The problem I'm having is that every time I edit some data in the grid-view, the …

Member Avatar for ddanbe
0
1K
Member Avatar for sciprog1

Hello Members, I want to write a C program which creates two threads and uses a semaphore (as a critical section) to sleep for 1 second and then terminate. I am having a hard time with some of the C Syntax for semaphores. Is it possible to post an example …

Member Avatar for charlottegracie
0
4K
Member Avatar for Mark_65

Hey guys i'm a noob with javascript. I have two scripts that generally do the same thing but each do not properly work with my code. The first script will work with adding rows and allow me to delete them, however it will also delete the top row. This is …

Programming finance javascript
0
191
Member Avatar for Mark_65

The following code will allow me to add a table row line and I can add the starting amount with the first amount input into the first row, but if I add a row and enter in an amount I want it to add or subtract that as well. Thanks …

Member Avatar for broj1
0
2K
Member Avatar for nadiam

Hello. I have an exercisse to convert from 24-hour to 12-hour clock. code: /*ALGORITHM READ INPUT VALUE IN 24-HOUR FORMAT DISPLAY THE EQUIVALENT 12-HOUR CLOCK WITH THE PERIODS AM OR PM */ #include<stdio.h> #include<conio.h> int InputValid24Hour(void); void Output12HourClock(int); void main() { int data; data = InputValid24Hour(); Output12HourClock(data); _getch(); } int …

Member Avatar for nadiam
0
482
Member Avatar for kishpopboy

I'm Currently working with a payroll system with daily time record.. I'm having troubles with their time records, what i did is this, i created 6 textboxes on the form the 1st textbox is for the AM IN 2nd is for the Lunch OUT the 3rd Is for the total …

Member Avatar for CERTIVE
0
5K
Member Avatar for koneill

All, In the code snippet below - I am trying to only send an e-mail if the page is reached via a POST request - the if statement is not being recognized in the CGI code - as when I access the page this is on directly - I get …

Member Avatar for koneill
0
360
Member Avatar for Minimalist

Good day guys, here is another question I have, working with vb.net community 15. I have a large datagridview to display all lessons for my school timetabling program. There could be up to 14 timeslots = lessons per day. Now I like a timetabler to be able swap days like …

Member Avatar for ddanbe
0
840
Member Avatar for Anel_1

**A newbie would appreciate if someone could give him a pseudocode or any kind of explanation for the part of the code where the actual algorithm for matrix determinant is written.** using System; namespace Determinant { class Program { public static double DET(int n, double[,] Mat) { double d = …

Member Avatar for Anel_1
0
6K
Member Avatar for Minimalist

Good day community, I have completed vb.net program (a school timetabling program) and I am in the process to create a website. At the moment word -press on wamp server and parallel Microsoft Expression Web 4. To sell the program off the website, either clickonce or downloaded, I request the …

Member Avatar for Minimalist
0
311
Member Avatar for Karuna_2

Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click 'Using writer As System.IO.StreamWriter = New System.IO.StreamWriter(Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory), "Word List.Txt", True) Using writer As System.IO.StreamWriter = New System.IO.StreamWriter("C:\Users\Home\Desktop\lessons Word\Word List.Txt", True) Dim curLine As String = TextBox1.Text If (TextBox1.Text.Count > 1) Then curLine = "" For Each line As …

Member Avatar for tinstaafl
0
455
Member Avatar for long5001

Hi, I am trying to write a simple script that reads a file for two time stamps and then finds the delta. However, I can't get passed converting the time strings to datetime objects. I haven't done any coding since college and I everything I've read says this code should …

Member Avatar for long5001
0
974
Member Avatar for Shereen_1

Write a C++ program that inputs the number of students in a class and the number of tests and the grades of the tests conducted by each student, then it calculates the average of the student and outputs related information as given below. The Average of a student is calculated …

Member Avatar for JamesCherrill
0
333
Member Avatar for gentlemedia

I have an issue with what seemed a simple task, but I'm having a brain farth, so it's not :) I count child elements with `length`and add `+1` on top of that length. This works fine and I store that in a var `$trackCount` $trackCount = $carousel.find('.owl-item').length +1; Now I …

Member Avatar for diafol
0
338
Member Avatar for naazsayed

HI , There are TWO Excel Files in my Program which I am trying to upload to a FTP server and then later Download it and its getting uploaded and downloaded with no error but when i try to open the file i get error message its corrupted or not …

Member Avatar for naazsayed
0
1K
Member Avatar for Saboor880

Hi! I have create a simple desktop application (CRUD operation) using java derby by using the library "derbyclient.jar" I want to deploy it on another computer which not have netbeans IDE installed. I ''clean and build '' the project and a jar file created in dist folder of my project …

Member Avatar for JamesCherrill
0
611
Member Avatar for Hawk123

i can't get DateTimePicker to insert into Access databse. I've tried all the suggestion i can find from this forum, so i'm thinking my problem is different? my table has a column date which has a Date/Time format my code [CODE] Dim cmd As OleDbCommand Dim sqlstr As String, ans …

Member Avatar for izzah_3
0
3K
Member Avatar for John_147

i've got code like this naglibog.CommandText = "UPDATE ptransaction " & _ " SET Quantityt = " & mm & _ ", Partial_totalt='" & jj & "'" & _ " WHERE Product_Codet =" & intProduct11_Code & "'" & "'AND soldtime = '" & stime & "'" naglibog.ExecuteNonQuery() libogsya.CommandText = "UPDATE …

Member Avatar for Reverend Jim
0
231
Member Avatar for Cameron_4

<!DOCTYPE html> <head> <title>Traffic Light Sequence</title> </head> <body> <script> function Light(){ if (document.getElementById("Img").src ="Stop-Amber.png"){ then document.getElementById("Img").src = "Stop.png" } else if (document.getElementById("Img").src ="Go.png"){ then document.getElementById("Img").src = "Stop-Amber.png" } else if(document.getElementById("Img").src ="Amber.png"){ then document.getElementById("Img").src = "Go.png" } else if (document.getElementById("Img").src ="Stop.png") { then document.getElementById("Img").src = "Amber.png"}} </script> <button type="button" onclick="Light()"> Change …

Member Avatar for Cameron_4
0
704
Member Avatar for anousha

hi i'm anousha and i have a big problem ive an aasignment to create a calculator in VB.net to prfrom addition and subtraction then show the results using mouse controls. Can you give me a hit how to do it plz?

Member Avatar for Reverend Jim
0
786
Member Avatar for SimonIoa

Hello i made a search box and i want to make a link what will pass the search word that the user put in the search box. e.g. http://localhost/myproject/allSearches.php?searchword=aa **aa** is what the user put for search. Now i want to get that, sort it and return the data. I …

Member Avatar for SimonIoa
0
301
Member Avatar for Begginnerdev

Hello Daniweb, and thank you for taking the time to read this post. I have a question of efficiency. I am wondering, what is the most efficient way to print from a listview. The listview's values are loaded from a database, and I would like to print from that listview. …

Member Avatar for Ivan_14
0
6K
Member Avatar for double_cola

Im trying to send an array using curl. I am brand new to curl. **How do I populate my array depending on form data?** I need full_name to pull data from the form. So email goes into email and company goes into company. Here is where I am right now. …

Member Avatar for double_cola
0
436
Member Avatar for Karl_6

Here is the dilemna, I can't figure out how to count the time a value is above a certain amount in c#. Exercise: A radio station specialized in classical music is raising fund. People call in to pledge donations. Donors who pledge for $100 or above will receive a coffee …

Programming
Member Avatar for Karl_6
0
302
Member Avatar for Amr_3
Member Avatar for sankar_2

the text file has more than one word. the user to put the input from the jtextfield and get the input related word from text file, to display the jlist how

Member Avatar for JamesCherrill
0
132
Member Avatar for cereal

Hello, so, I'm playing a bit with **MariaDB 10.0.29** and I cannot understand why `FOUND_ROWS()` keeps returning the `1` whatever happens to the latest select query. Here's my test: > CREATE TABLE `test` (`id` INT UNSIGNED AUTO_INCREMENT PRIMARY KEY, `msg` VARCHAR(100) NULL) ENGINE = InnoDB; Query OK, 0 rows affected …

Member Avatar for cereal
0
3K
Member Avatar for Satyam_1

In vb.net application I have 10 Textbox and value entered by Barcode scanner So when one Textbox1 get the value by Barcode scanner the focus moved automatically to another Textbox2 and so on. I have this code but its working. Private Sub A1TextBox_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) …

Member Avatar for Mr.M
0
1K
Member Avatar for Jezer

Hello i am creating the assembly program that accepts a single character and display the alphabet . The requirements are (1) The input character should be displayed (2) The input of the single uppercase letter should be displayed the lowercase letter. (3) The alphabet should be displayed horizontal position and …

1
212
Member Avatar for Bernardo_3

Hi guys. i'm new to this forum and new to programming in general. ive had some classes of vb.net and im just starting to actually play around with vb. im trying to make a program that starts with an image in a certain position (in ths case a car) and …

Member Avatar for Bernardo_3
0
365
Member Avatar for Sandra_9

hi im hoping someone can help, I've been updating my website recently and noticed that for some reason when you navigate the pages after a few seconds of landing on any page it sudenly reverts to a different page, ive had various people test on multiple browsers and operating systems …

Member Avatar for Dani
0
471
Member Avatar for genieuk

Hi, I wrote some code below, at the moment i'm testing so there's no database queries in the code but before i do that i'm hoping someone can help. The code below where it says `if(filesize($filename) != 0)` always goes to `else` even though the file is not 0 bytes …

Member Avatar for genieuk
0
377
Member Avatar for Shirin_2

Hi PerlGurus, I am really new to perl and liitle handson with the concepts here. I am trying to learn the hash & Array concepts and come up a self exercise to do practice. *Got two files * # inFile01 as below: # CLAYCOUNTY;Wood;statecode=FL CLAYCOUNTY;Wood;statecode=FL SUWANNEECOUNTY;Wood;statecode=FL SUWANNEECOUNTY;Wood;statecode=TX SUWANNEECOUNTY;Wood;statecode=TX SUWANNEECOUNTY;Wood;statecode=TX NASSAUCOUNTY;Wood;statecode=UT …

Member Avatar for Shirin_2
0
999
Member Avatar for vivekH

how to export my table data which is in mysql database to a csv file I am not getting any error or exception but my csv file is empty after successful running this code. code what i did: import java.io.FileWriter; import java.sql.Connection; import java.sql.DriverManager; import java.sql.Statement; import java.sql.ResultSet; import java.sql.SQLException; …

Member Avatar for aditya_20
0
12K
Member Avatar for JohnMcPherson

Hello, I am working on a new screen for a program used by the U.S. Department of Labor. I am getting a signal SEGV (access to address exceeded protections) when I try to excute the command snprintf(rowh[1] + 30, 4, "%4d", baseyr + 1);. The string I am trying to …

Member Avatar for rproffitt
0
314
Member Avatar for davy_yg

Hello, I have this online shop that I am trying to configure: www.advance-web-studio.com/bestshop/ and www.advance-web-studio.com/bestshop/index.php How to make the first one direct to the second one. The result is different. I expect the second one appears not the first one. Can anyone help me out?

Member Avatar for lucweb
0
264
Member Avatar for Sherwin_4

Good evening everyone, Does any one have a reference/videos/tutorials on how to use recursion effecitely in C++? v/r

Programming c++
Member Avatar for Chris_38
0
365
Member Avatar for cossay

I have the following class that I intend to validate by passing it in the symfony validator. <?php namespace Shop; use Symfony\Component\Validator\Mapping\ClassMetadata; use Symfony\Component\Validator\Constraints as Assert; use Shop\Validation\Constraint as ShopAssert; class Country { /** * * @var int */ public $id; /** * * @var string */ public $name; /** …

Member Avatar for cossay
0
411
Member Avatar for Sherwin_4

Good morning everyone, The library will be home, 0800 till 2100. I've been working on trying my loops in my hailstone sequence into recursions. It seem recursion can easrier to do, instead of creating loops. I say seem, because now I have come to halt on my progress. The halt …

Member Avatar for JamesCherrill
0
783
Member Avatar for newbee_jv

Hello everyone, I am new to Regular expression, and would like some hints, please if someone can direct me to right place. I have a bunch of files in a directory, and i need to rename them based on certain pattern. I think I need to use regular expression to …

Programming java pdf regex
Member Avatar for newbee_jv
0
269
Member Avatar for charles_23
Member Avatar for charles_23
0
148
Member Avatar for gentlemedia

I'm trying to retrieve the values of checkboxes in a custom post type. My complete function: function getTeam() { global $post; $team = new WP_Query(); $team->query('post_type=coaches'); $workshops = get_field('workshops'); if ($team->found_posts > 0) { echo '<ul>'; while ($team->have_posts()) { $team->the_post(); $listTeam = '<li>'; $listTeam .= '<a href="#" class="js-modal">'; $listTeam .= …

Member Avatar for gentlemedia
0
425
Member Avatar for gentlemedia

I'm not sure why it returns Array, because as far as I know I don't retrieve the profile images from an array. See the following function. function getTeam() { global $post; $team = new WP_Query(); $team->query('post_type=coaches'); if ($team->found_posts > 0) { echo '<ul>'; while ($team->have_posts()) { $team->the_post(); $listTeam = '<li>'; …

Member Avatar for gentlemedia
0
782
Member Avatar for davy_yg

Hello, I am having a problem aligning text to the top of the table. Cek this out: http://gsa-constructionspecialist.com/experiences All the text is not aligning to the top. It's aligning to the center vertically. I wonder how to align the text to the top with tiny mce. I don't think I …

Member Avatar for gentlemedia
0
3K
Member Avatar for Dhelandel

How to implement bucket sort in C using Linkedlist.. Or any weblinks please share...

Member Avatar for JamesCherrill
0
262
Member Avatar for Jhovyn

Why am I getting an error "Operation is not allowed when the object is open"....Here is my code Option Explicit Public Report As New CrystalReport1 Public mvCn As New ADODB.Connection Public Function printReport() Dim strConnectionString As String Dim rs As ADODB.Recordset Dim strScript As String strConnectionString = "Provider=SQLOLEDB............" mvCn.ConnectionString = …

0
177
Member Avatar for genieuk

Hi, Not done any programming for a few years so am somewhat rusty again. I have two tables **users** table and **users_profiles** table. I want to update **users_profiles** table on the condition that **user_uid** matches on both tables (**users.user_uid** and **users_profiles.user_uid**) and where **users.user_login ** = 'johndoe' and **users.user_uid** = …

Member Avatar for genieuk
0
769
Member Avatar for a5opyan

I want to increase the limit of upload size max, but because I using shared hosting, I cannot edit php.ini. Then I try to edit my .htaccess file. I added these lines: php_value upload_max_filesize 700M php_value post_max_size 700M php_value max_execution_time 600 php_value max_input_time 600 When I test it in localhost, …

Member Avatar for a5opyan
0
400
Member Avatar for nagatron

Hallo to all web developers, I have a problem in load PHP in mozilla fire fox. . .I am using XAMPP web server. My PHP file is currently stored in this path [COLOR="Red"]C:\xampp\htdocs\test\index.php[/COLOR]. Whenever I run my PHP in mozilla it won't display anything even just a simple "hello world." …

Member Avatar for koford
0
2K

The End.