3,070 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for HitNSplit

Good day! I am new in vb.net and I want to detect if there is a duplicate of the record that a user will try to add. If the user adds an existing username from the database then it will show an error that the username has already been used. …

Programming mssql vb.net
Member Avatar for Dani
0
206
Member Avatar for foumzeur

Hi, I'm facing a problem: I've to make an undo/redo using Command's design pattern. I've succed to make one, but when I want to use my undo/redo btn in an other view, it gives me an NullPointerException. Does anyone can help me? Here's the code of the 2 view's First …

Member Avatar for JamesCherrill
0
203
Member Avatar for Cyril1

I have two different files, fileA contains employee data (ID and townCode) while file B contains field office data (OfficeID, Town, TownCode, officeCapacity) and a town can contain more than one office. i want to distribute these employees to the offices in the town against their names evenly What I …

Member Avatar for Paul Norris
0
170
Member Avatar for Anant_3

#include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <time.h> #include <string.h> #define WORDS 10 #define WORDLEN 40 #define CHANCE 6 bool srand_called = false; int xrand(int x){ if (!srand_called) { srand(time(NULL) << 10); srand_called = true; } return rand() % x; } char* decode(char* code){ int x = ((strlen(code) - 3) …

Member Avatar for rproffitt
0
122
Member Avatar for Kayra

#include <stdio.h> int main() ( float height, weight, bmi printf("Enter height in meter\n"); scanf("%f", &height); printf("Enter weight in kg\n"); scanf("%f", &weight); bmi = weight / (height * height); printf("Your BMI is %f\n", bmi); if(bmi < 15) ( printf("Your BMI category is: Starvation\n"); ) else if(bmi >= 15.1 && bmi <= …

Programming c c++
Member Avatar for rproffitt
0
92
Member Avatar for Maulana_1

#include<stdio.h> main() { int A[9]={6,3,1,5,7,4,2,8,9}; int Temp, I, J, K; printf("sebelum \n"); for(I=0; I<=9-1; I++) { printf(" %d ", A[I]); } for(K=0; K <= 9; K++) { J = K; for (I=K+1; I<=9-1; I++) { if (A[I] < A[J]) J = I; } Temp = A[J]; A[J] = A[K]; A[K] …

Programming c c++ java javascript php
Member Avatar for rproffitt
0
89
Member Avatar for rhea_6

package student; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); StudentA stud1 = new StudentA(); System.out.print("Please Enter Student Name:"); stud1.Name = scan.next(); System.out.print("Please Enter Student ID:"); stud1.StudentID = scan.next(); System.out.print("Please Enter Course:"); stud1.Course = scan.next(); System.out.print("Please Enter Student Section:"); stud1.Section = …

Member Avatar for Paul Norris
0
84
Member Avatar for هات

I have a site that I follow frequently The problem is that it refreshes the page every five minutes And I never want this. Here, an addition to the Firefox browser named "stop auto reload" When you put the name of this site, it prevents it from updating every five …

Programming java javascript
Member Avatar for rproffitt
0
84
Member Avatar for Haneen_1

Please can anybody help me? I'm a beginner . I need to write a c++ program that does the following : 1. Ask the user to enter two text file , the the first one contains a list of words in one column Regardless of their number , second one …

Programming c++
Member Avatar for rproffitt
0
83
Member Avatar for Ravi_76
Member Avatar for jonsan32

I'm using the code below to get a random number of items from an array, but I'd like to just get 3-5 random numbers from the provide range to display. Right now, it either shows 1, all, or any amount in between. I'm also good with completely changing up my …

Member Avatar for Dani
0
79
Member Avatar for andreal

ScanningI'm looking forward to implement a typical "nav" section for the articles in my website. Something like this: **Folder > SubFolder > SubSubFolder** To this end, I think that the best way is to create a database of two tables. The **first** one is called "*Category*": id - title - …

Member Avatar for Dani
0
67
Member Avatar for bprosic

Hi, I have a form in React with few select/input components. Form doesnt get populated when user enters value in them. Thats the case when I want for input "Username" -> when user starts writing here some username, then React - in Reducer -> filters array of whole users in …

0
43
Member Avatar for Deepak_71

I have my resoruces stored in mysql DB: eg : > |IPaddress | Status| |10.x.x.x| yes| |10.1.x.x| yes| I am trying to get the available resource and after that will update DB with status No. > query = ("SELECT IPaddress from TABLE where status='yes'") cursor = mydb.cursor() cursor.execute(query) result=cursor.fetchall() query1 …

Member Avatar for Dani
0
42
Member Avatar for ibrohim2808

$ array = array ('Main', 'Photo Gallery', 120, 'Rustam', 'Services', 'Lesson 12', 'Link'); This array also contains menu items for the web page. Describe the required menu items in HTML lists.

Programming mysql php
Member Avatar for Dani
0
41
Member Avatar for Dima_5
Member Avatar for tinstaafl

Basically this scheme uses variable offsets, but it generates the bytes on the fly. They aren't truly random, but there aren't any obvious patterns and the output passes all the NIST tests. Since a simple password can be used to do the de/encryption it is much easier to hand off …

Programming c# encrypt java
Member Avatar for JamesCherrill
2
316
Member Avatar for Magic8Computing

I have some crystal reports that i would like to use PHP in order to execute the reports and then either view the reports in the browser as is or to generate PDF files. Does anybody know how to do this and what is required to be installed on the …

Member Avatar for rproffitt
0
834
Member Avatar for Eu_531

Hi, I am a begginer and I can't find an useful full and free tutorial for using Open GL in game development... do anyone know a place to learn it? Also, an full C++ free tutorial would help me a lot!

Member Avatar for Naheedmir
0
77
Member Avatar for hirenpatel53

hi all iam working as software developer i wish to create my blog website using asp.net and C# so any one have idea so please help me in this Please thak you in advance

Member Avatar for shahid.tariq
1
3K
Member Avatar for madhan

Hi - I am working with a windows OS created wordpress plugin unit testing code written as below <?php class Test_WP_Simple_Plugin extends WP_UnitTestCase { public function test_constants () { $this->assertSame( 'wp-simple-plugin', WPSP_NAME ); //Error line $url = str_replace( 'tests/phpunit/tests/', '', trailingslashit( plugin_dir_url( __FILE__ ) ) ); $this->assertSame( $url, WPSP_URL ); …

Member Avatar for rproffitt
1
48
Member Avatar for ddanbe

Well, there was a thread about a frequency function and a bell curve in Excel. [url]http://www.daniweb.com/forums/thread295203.html[/url] So here it is how about to do the NORMDIST function in Excel in C#.

Member Avatar for dlhockey12
0
3K
Member Avatar for Fungus1487

I browsed google and found nothing so thought i would put my efforts up here. hope this all helps. this function will allow you to return the number of days between two dates minus saturdays and sundays. (including the start date)

Member Avatar for pritaeas
0
3K
Member Avatar for Mr.M

Hi DW. Anyone knows how I can get the device name the browser is running on? I mean something like on the attached image with Javascript? ![FireFox_SendTo.PNG](https://static.daniweb.com/attachments/4/6cbee440f2043da722eba44bed14568b.PNG)

Member Avatar for rproffitt
0
1K
Member Avatar for joe82

Hello everyone, I am writting a code where result is not coming correct because I am not able to join 2 lines to make a single line. Please help me e.g my input file is: AATTCCGGTTT CCTTAACCCCC I want my code to first join them together as AATTCCGGTTTCCTTAACCCCC and then …

Member Avatar for vishakha_3
0
22K
Member Avatar for codeblock

Hi all I have uncountered a problem which has me totally confused. The problem is I have created a website with a login form. Everything so far has been working fine. but then when I try to login all of a sudden I’m hit with a "Object not found! The …

Member Avatar for Dani
0
20K
Member Avatar for or.linux

According to my assignment requirement I wrote this program, but still doesn't work......can someone help.....please Here is my exercise: "Write assembly code in ASSEMBLY LANGUAGE to read a password from the keyboard. Display the message ' Enter Password: ' and echo each character that the user types as an asterisk(*). …

Member Avatar for or.linux
0
1K
Member Avatar for agrbinoo.albaker

Write a C++ program that inputs a wavelength and then displays the associated light color. If the wavelength is shorter than 400 nm or longer than 700 nm, display the message “Wavelength outside visual range”. Classify boundary wavelengths as the lower-wavelength color. For example, label a wavelength of 424 nm …

Member Avatar for braian44
0
718
Member Avatar for Saboor880

Hello to all! I have been Using google firebase with my android apps for more than 2 years. Today while developing a new app I am facing a weird problem. I set up my firebase project on Google firebase Console successfully. I write the code to push data on firebase …

Member Avatar for rproffitt
0
509
Member Avatar for Braven

I tried using this code(below) to change the button text when i run the code from "Button1" to "Click" but when i run the code the name still remains "Button1" and if i click the button the name then changes to "Click". I want the code to show "Click" on …

Programming vb.net visual-basic-6
Member Avatar for Reverend Jim
0
422

The End.