199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for CodingSource

Hello guys, I am trying to add date range with the combobox value when a user clicks the "Enter" button. This is my code so far: Dim con As New OleDbConnection(Get_Constring) Dim dt As New DataTable con.Open() Dim da As New OleDbDataAdapter("SELECT * from EncodingComplete where Date_Bill BETWEEN @startDate AND …

Member Avatar for Reverend Jim
0
1K
Member Avatar for pritaeas

I'm looking for a user login (or identity) tutorial/example on MVC5 that uses an existing SQL Server database and user table, so NOT code first, and NOT using Entity. Can't see the forest through the trees apparently, because I cannot seem to find one.

Member Avatar for pritaeas
0
1K
Member Avatar for happygeek

2014 was not a good year for Microsoft, with the Xbox Live network being disrupted at both ends of December by [Lizard Squad DDoS attacks](https://www.daniweb.com/software-development/game-development/news/488412/lizard-squad-claims-responsibility-for-taking-down-xbox-live-today) and then as the year was finally coming to an end a different hacking collective dropped another bomb onto Xbox. A posting on Twitter simply …

Member Avatar for RobertHDD
0
633
Member Avatar for Bile

-Hellow DANIWEB?... -I've been wondering if there is a way I can Use My Own Warning Message instead of that provided by Php during file include Failure... -**NOTE:**I dont intend to Mean Error Messages that We can write to a User when something goes wrong,like failure of inserting data inputs …

Member Avatar for Bile
0
245
Member Avatar for anmol.raghuvanshi1

sir i am creating a database with name ams and 3 table with name article (fileds id(auto increment),title,image,contents and category) and 2 table login with user passwd as fileds 3rd table with category. now i want in 1st table id,title,category as primary key but it gives error multiple primary key …

Member Avatar for diafol
0
212
Member Avatar for Cripop

Hey there everyone, I am currently working on and Assignment that is due tonight and I feel like I am close but can not exactly get to the end. I would appreciate any feedback possible. Kinda stuck at the moment. ---Modify the Inventory Program to use a GUI. The GUI …

Member Avatar for JamesCherrill
0
237
Member Avatar for davidjennings

Hi all, I am trying to compare output from DB The code below works on 1 check, but I require to do this on multiple products like so `if rowProduct("GRPCODE") <> "Cross Hire" or rowProduct("GRPCODE") <> "Boiler Ancillaries" then` etc but the above line does not work as I have …

Member Avatar for MaxMir
0
603
Member Avatar for Shaji_1

I am trying to change the first character of each word in a list to upper case using Python 2.7. I am able to change the entire list to lower case, but I am not getting what I want - i.e the first character of each word to be upper …

Member Avatar for TrustyTony
0
307
Member Avatar for iamcreasy

According to JLS, the [grammer](http://docs.oracle.com/javase/specs/jls/se8/html/jls-14.html#jls-14.14.1) of basic for statement is for ( [ForInit] ; [Expression] ; [ForUpdate] ) Statement It's also said on the JLS that 'The Expression must have type boolean or Boolean , or a compile-time error occurs.' So to check if the syntax is valid, the parser …

Member Avatar for JamesCherrill
0
179
Member Avatar for rob.sigmon.1

I am new to java programming and I have to write an inventory program that can hold multiple items. I have my code from week 1 but I do not know how to write in the ability to hold multiple inventory items. Can anyone help with this?

Member Avatar for pookie47
0
569
Member Avatar for Trle94

Hey everyone, im currently use this class for my small projects: https://www.daniweb.com/software-development/vbnet/threads/361868/disable-ctrl-alt-del Now i have problem, i want to hide my form and close jammer so i use something like this: Private Sub SystemTray() If NotifyIcon1.Visible = True Then KeyboardJammer.Jam() NotifyIcon1.Visible = False taskbar.HideStartButton() taskbar.HideTaskBar() Me.Show() ElseIf NotifyIcon1.Visible = False …

Member Avatar for Mr.M
0
336
Member Avatar for Elias_5

using namespace std; int main() { int l; cout<<"Select level: easy--->1 medium--->2 hard--->3"<<endl; cin>>l; int zero(char [][3]); int fonction(char [][3]); char tab[3][3]; for (int i=0;i<3;i++) for(int j=0;j<3;j++) tab[i][j]=' '; int k; do{ k=fonction(tab); zero(tab); } while(k==2); if(k==1) cout<<"win"; if(k==-1) cout<<"loose"; if(k==0) cout<<"tie"; cin>>l; }//end of main int zero(char t[][3]) { …

Member Avatar for rubberman
0
384
Member Avatar for Luisa_1

Hello everybody, I'm searching for a book or a documentation that includes all the librairies ,and their functions, of the C++ programming language. thx

Member Avatar for rubberman
0
179
Member Avatar for Henry Mark

DISPLAY THE FACTORS AND THEIR COUNT FOR A GIVEN NUMBER. SAMPLE DIALOGUES: #1 Type a number: 9 The factors of 9 are 1,3,9. There are 3 factors. #2 Type a number: 12 The factors of 12 are 1,2,3,4,6,12. There are 6 factors.

Member Avatar for rubberman
0
111
Member Avatar for AntonyRayan

This is my Index.php:: <html> <head><title>Registration</title> <script type="text/javascript"> function numbersonly(e,length) { var unicode=e.charCode? e.charCode : e.keyCode var maxlength=length; if (unicode!=8) { //if the key isn't the backspace key (which we should allow) if (unicode<48||unicode>57) //if not a number return false //disable key press } } </script> <script type="text/javascript"> function validation() …

Member Avatar for AntonyRayan
0
192
Member Avatar for Samyx

Hi everyone, I have created a custom tab, in wich I want all the tools necessary to format a protocol document to be available and easily accessible to the users. How can I create a dropdown list with only the 5 heading styles I will need to use in the …

Member Avatar for tinstaafl
0
133
Member Avatar for ahmadali

pls i ask a some quistion help me write a progam that display pakistan 10 time by using for loop

Member Avatar for Henry Mark
0
169
Member Avatar for valdis1

I am trying to make telephone number word generator, user enters phone number 7 digits between 2 to 9 and then it generates all possible word combinations, it should be 3 ^ 7 = 2187 This is what I got so far: [code] Private Sub GenerateButton_Click(ByVal sender As System.Object, ByVal …

Member Avatar for Dragan_2
0
685
Member Avatar for doris_3

Implement a C function that can perform addition of two 15-digit (positive) integers. As in C the maximum integer number that can be stored in memory is 2147483647 it is not possible to use primitive data types in order to add very large whole numbers. For this reason, you are …

Member Avatar for Jack_11
0
216
Member Avatar for floatingDivs

Hi Daniweb, I'm trying to create a basic, grid-based (table-layout) calendar using PHP. I'm in the planning stages currently, but need some help coming up with an effective way to display empty boxes (for instance, November starts on Monday, so the left-most box (Sunday) needs to be empty. December starts …

Member Avatar for diafol
0
111
Member Avatar for Niloofar24

Hi everybody. I've created a .py file with a simple function in it. Now i want to call that function from linux shell scripting. How should i do that? please help me, thank you.

Member Avatar for Niloofar24
0
1K
Member Avatar for aseel.jaradat.9

what is the best way to save data from multiple checkboxes ?? if i have 50 , 60 checkboxes Is it reasonable to set up a column of 50 or 60 checkboxes for ٍsaving value for each question separately ? and presumably there are questions that have not responded what …

Member Avatar for Taywin
0
258
Member Avatar for uchejava

I have this message table that allows users to send messages to one another. sender_id is the id of the person who sent the message. receiver_id is the id of the person who received the message. message_id adds the sender_id and receiver_id together. This is a sample below. id sender_id …

Member Avatar for Taywin
0
188
Member Avatar for akhila.bhasker

I have code for shuffling images and display.Now i want to values of checked boxes will store on database.please help <?php mysql_connect("localhost","root",""); mysql_select_db("impass"); ?> <html> <body> <form action="" method="post"> <?php $images = array( '<input name="chk1" type="checkbox" value="1" /><img src="images/images (4).jpg" alt="" width="234" height="212" />', '<input name="chk2" type="checkbox" value="2" /><img src="images/images …

Member Avatar for lorenzoDAlipio
0
187
Member Avatar for SammyT79

'Ello I just completed my final individual assignment for my first java programming course. This is what I want to do and learning how to do it is what brought me to school. Unfortunately my class facilitator has decided that it is not in his best interest to contribute to …

Member Avatar for Traevel
0
360
Member Avatar for didyone

hello guys. I would like to ask you a help of how i can remote server and view files located on it using JTree in java.

Member Avatar for JamesCherrill
0
383
Member Avatar for kakalahori

hi DaniWEB users, it has always been a great support from dani web to answer questions and get feed back from every one. The issue i am facing is not a coding issue but a development platform issue,I have searched over the internet and was either unable to interpret my …

Member Avatar for pritaeas
0
265
Member Avatar for janicemurby

hya all i am getting the error in pic included in this post and i dont know what i could be i have found the following bit of code included below <tr> <td><?php echo date_diff($lastlogin['lastlogin']);?></td> </tr> then i have found the file where the coding for this sits see below …

Member Avatar for janicemurby
0
383
Member Avatar for Hadi.M

Hello all, I am trying to self learn the x86 assembly language and I came across a problem that I can't seem to fix. I want to recieve an integer input from the user and convert it to a word. Example: Input = 0 : Output=Zero. Any help?

Member Avatar for gusano79
0
241
Member Avatar for cambalinho

i'm using the HiliteMenuItem() for test if the mouse is above the menu item: int i=0; for(i=0; i<GetMenuItemCount(menuhandle); i++) { if(HiliteMenuItem(HandleWindow,menuhandle,i,MF_BYPOSITION) == true) { menuposition=(UINT)i; break; } } but i always get the number 0. heres how i detect the menu handle: case WM_INITMENUPOPUP: { menuhandle=(HMENU)wParam; return 0; } break; …

Member Avatar for cambalinho
0
540
Member Avatar for batoolhussain

hi everyone I have array of two dimension but I don't know the size of the array, every time the size of array is change. I used (redim Preserve) but it change only the last dimension and I want to change the first dimension of array. please help meeee

Member Avatar for Santanu.Das
0
124
Member Avatar for Alxprog

In my Windows Forms c# project I try to connect to an already existing ms sql database file (added binding Source on the form, then : bindingSource -> properties -> DataSource -> add source - > .... ) but when I pick this file it writes something like "You dont …

Member Avatar for Alxprog
0
289
Member Avatar for soomro_moon

<?php if (isset($_POST['user_id'])) { // Not logged in :( setcookie("secondcookie[id]",$_POST['user_id'], time() * 7200, "/"); // Expiring after 2 hours setcookie("secondcookie[password]", $_POST['user_pass'], time() * 7200, "/"); //when to see if cookies is set or not echo $_COOKIE["secondcookie"]["id"]; //header("Location:verification_data.php"); } if (isset($_COOKIE['secondcookie']['id'])){ // Already Logged in go to page 3 header("Location:page3.php"); } …

Member Avatar for soomro_moon
0
153
Member Avatar for Ventech_IT

Hi Guys Please have a look at my model and then read below public function get_events(){ $query = $this->db->get('events',1, 1); return $query->result_array(); Okay so when i run the page i only get my message that no entry's are in the table! So when i insert a entry it displays the …

Member Avatar for Ventech_IT
0
406
Member Avatar for coder91

Hi, I have an SQL database with data stored in it but I'd like to create reports that will allow the user to enter two dates and return the data in an excel spreadsheet. Not sure how to accomplish this in .net with C#. I've created PDF reports using ITextSharp …

Member Avatar for coder91
0
112
Member Avatar for nevek

Hi I have a stored procedure with a cursor which check if a field is filled in after a certain deadline. DELIMITER $$ CREATE DEFINER=`root`@`localhost` PROCEDURE `controleDeadlines`() BEGIN #declaratie variabelen die nodig zijn declare cId int; declare cDeadline text; declare cUitgevoerd date; declare cOpmerking text; declare cStatus text; declare DONE …

Member Avatar for nevek
0
286
Member Avatar for sriprasadk

Dear friends, I want to know if we can pass a text area value of great length from jsp to servlet as a url parameter. I have tried it but it sends a null value to the servlet. Please help me. It's urgent. Thanks and regards. Sriprasad Kannan.

Member Avatar for sriprasadk
0
211
Member Avatar for anmol.raghuvanshi1

here is my code i want that what ever value is checked that value is inserted into database i have created database with name doctor table name diseases with 3 field id dis_name and Ans plz help its urgent <?php error_reporting(E_ALL); ini_set('display_errors', 1); require 'db.php'; if ( !empty($_POST)) { // …

Member Avatar for cereal
0
5K
Member Avatar for CodingSource

Currently I have a button, 2 datetimepickers, a datagridview, and a combobox. What I like to do is the user will select the FromDate and ToDate and then with a keyword from a combobox it will search in a datagridivew according to the date range and the combobox's value. I …

Member Avatar for CodingSource
0
772
Member Avatar for igli_1

***** **** *** ** * Can someone help me with this ^ pattern above? I only can do this one below *** ** *

Member Avatar for Maritimo
0
182
Member Avatar for kouty

Hi to the forum; A simple question: I want to make a prime number checker: So if I want to test if 25 is a prime number. i should to verify if 2 is a factor. if it is not, i verify with 3 and 4 (not my subject if …

Member Avatar for kouty
0
190
Member Avatar for Garidius

I'm trying to add a progress bar to a working theaded program that uses a cancelation token too. The structure of the program is: I have a button "BeginButton" that calls the function "MyFunction()". The function runs in another thread and a cancellation token listens if I press a Cancel …

Member Avatar for Garidius
0
2K
Member Avatar for AntonyRayan

Index.php <html> <head><title>Registration</title> <script type="text/javascript"> function numbersonly(e,length){ var unicode=e.charCode? e.charCode : e.keyCode var maxlength=length; if (unicode!=8){ //if the key isn't the backspace key (which we should allow) if (unicode<48||unicode>57) //if not a number return false //disable key press } } </script> <script type="text/javascript"> function validation() { var a = document.form.phone.value; …

Member Avatar for AntonyRayan
0
238
Member Avatar for Deepak_27
Member Avatar for ritesh0104

there is a report which am presenting to my web users in an HTML formatted table. i have been using ABCPDF component for exporting this report to pdf. BUT after an update that component work s irregulary. Please suggest any other simple solution for this, i tried referring all method …

Member Avatar for khong.coai.526
0
372
Member Avatar for bskapoor11407

I am trying to bind the another dropdown list on selected item of dropdown 1. Please give me code, if some one has. **Dropwdown 1:** <select id="lst_consultantcontact" name="lst_consultantcontact" onchange="GetConsultantContactInfo()" > <option >.....</option> </select> ** Javascript Code:** <script language="javascript"> function GetConsultantContactInfo() { var ConsultantId = document.getElementById('lst_consultantcontact').options[document.getElementById('lst_consultantcontact').selectedIndex].value; var hiddenfield = document.getElementById('hidden1'); hiddenfield.value …

Member Avatar for khong.coai.526
0
1K
Member Avatar for mame.tino
Member Avatar for muhammad_74

Hi,programmers Need pdf book to learn java as 14 year old student...! My 5 months holidays are coming and i want an easy pdf book for learning java.Just give me easy book because i am completely new to java.And i dont need the words like 'dont rush into programming' or …

Member Avatar for Traevel
0
223
Member Avatar for adsegzy

I got a script that convert convert my php string (combination of customized image & text) to image, zip it & popup for download with the scripts $format=$_REQUEST['format']; $viewArr = $_SESSION['productArr']; //the images in array $outputarr = $_SESSION['outputArr']; $pngoutarr = $_SESSION['pngOutputArr']; $downloadable = 1; if($format=='png'){ require_once 'png_output.php'; $downPath = genpng($pngoutarr,$downloadable); …

Member Avatar for adsegzy
0
473
Member Avatar for rajeesh_rsn

Hi friends, In one of my project I want to convert tiff files to png/jpg using php for making a film strip. So if there is any way for doing that .... Please help me thanks in advance Rajeesh

Member Avatar for monika1992
0
6K

The End.