Hello everybody I'm creating a Windows Desktop App using vb.net, I'm not very knowledgeble and I can say that I'm still a beginner. So I have this project where I'm trying to create a report form using ReportViewer where as after putting the ReportViewer control to my form and select the rdlc file and datasource this error suddenly pops up: *"Could not load file or assembly 'MySql.Data, Version=8.0.17.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)"* This only shows whenever I try to add a reportviewer …

Member Avatar
+0 forum 0

package de.extrema.java; import java.util.Scanner; public class Pogramm { public static void main(String arrg[]) { try (Scanner scanner = new Scanner(System.in)) { double a , b , r , A , h; int number2; int number; System.out.println("Körper: "); System.out.println("Deine Wahl: "); number = scanner.nextInt(); number2 = scanner.nextInt(); switch(number) { case 1:{ switch(number) { System.out.println("Viereck: 1 Kreis: 2 Dreieck: 3 Trapez: 4 "); case 1:{ System.out.println("a: "); a = scanner.nextDouble(); System.out.println("b(a): "); b = scanner.nextDouble(); A = a * b; System.out.println("Fläche des Vierecks= " + A); break; } case 2:{ System.out.println("r: "); r = scanner.nextDouble(); A = Math.PI * r * r; …

Member Avatar
Member Avatar
+0 forum 5

hi, In my android studio build gradle is failed i dont know how so then i check the log and i saw this error Error:Could not find method compile() for arguments [com.android.support:recyclerview-v7:25.3.1] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. Please install the Android Support Repository from the Android SDK Manager. Open Android SDK Manager then i check it but android support respository is already installed version 47.0.0 i restart android studio but it shows same error how i solve this error from android studio please help me to solve this problem?

Member Avatar
Member Avatar
+0 forum 1

Help i need to have 3 login attempts then the program will lock down but the message box shows up 3 times consecutively, it will close then pops out it will do this for 3 times then it closes ... help pleassseee :( Private Sub btnLogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLogin.Click Dim un, pw As String Dim counter As Integer = 0 un = txtUsername.Text pw = txtPassword.Text Do If un = "student" And pw = "21217" Then Me.Hide() CourseStudy.Show() Else counter = counter + 1 MsgBox("Try again", MsgBoxStyle.Critical, "Acess Denied") txtPassword.Text = "" txtUsername.Text = …

Member Avatar
+0 forum 0

Hi everyone, I'm new to parallel programming, and my project is the two-dimensional matrix vector multiplication using mpi in C programming language. I have this multiplication function, but I don't know exactly how to run it with mpi. Can you help me, please? I write these commands, $ mpicc -g -Wall -o matrix2d matrix2d.c -lm -c $ mpiexec ./matrix2d.c But I get some errors. `mpiexec was unable to launch the specified application as it could not access or execute an executable: Executable: ./matrix2d Node: ubuntu while attempting to start process rank 0.` 2D Matrix-Vector Multiplication Function is below: #include <stdio.h> …

Member Avatar
Member Avatar
+0 forum 1

can you help me add a write and read function to the program below #include <iostream> #include <conio.h> #include <windows.h> #include <stdio.h> #include <fstream> using namespace std; struct daerah { char kel[50]; char kec[50]; char kota[50]; }; struct data { int nomor; char nama[50]; char tinggi[20]; char status[20]; char pekerjaan[20]; char tempat[20]; char tanggal[20]; char almt[20]; char jenis[50]; daerah alamat; }; main() { int menu; int no_sim=-1,i,j; int pilih; int namedit; data sim[20]; char get[1]; bool ketemu; menuutama: system("cls"); cout<<" ---------------- Aplikasi Data Pelanggaran Lalu Lintas ---------------"; cout <<" \nMENU UTAMA :\n\n"; cout<<" 1.Menambah Data Pelanggaran\n\n"; cout<<" 2.Mencari Data Pelanggaran\n\n"; …

Member Avatar
Member Avatar
+0 forum 1

I have a lecture is there anyone who can help me to change the source coding below to OOP C ++ I / O which uses #include <fstream> so that when the file is written can be saved and when the program is closed then we can still write the data back #include <iostream> #include <conio.h> #include <windows.h> #include<stdio.h> using namespace std; struct daerah { char kel[50]; char kec[50]; char kota[50]; }; struct data { int nomor; char nama[50]; char tinggi[20]; char status[20]; char pekerjaan[20]; char tempat[20]; char tanggal[20]; char almt[20]; char jenis[50]; daerah alamat; }; main() { int menu; …

Member Avatar
Member Avatar
+0 forum 2

Hi, while I was looking at a program in my textbook, i encountered this *program to reverse a string using recursive procedure*- #include <stdio.h> int main(void) { void rev(); printf("Enter a line of text:\n"); rev(); } void rev() { char c[20]; if((c==getchar())!='\n') rev(); putchar(c); } I couldn't quite understand the logic the author used, so I went to check the program on my pc which gave the error- > Runtime error(Exit status:139(Invalid memory reference)) What's this error about? and Is the program in textbook wrong?

Member Avatar
Member Avatar
+0 forum 2

My site use to work fine. But today for some reason pages with mysqli_num_rows takes a very long time to load. I can visit the page but it takes a long time to load. When it loads there are no errors but the error file in the root directory have the following error: Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given There is no problem with my internet connection because other pages load fast and do not send reports to the error file. This is my first time encountring this problem. Here is the code for the error …

Member Avatar
Member Avatar
+0 forum 1

# Class 1 # import java.awt.Canvas; import java.awt.Color; import java.awt.image.BufferStrategy; import java.awt.Graphics; import java.lang.Runnable; import java.lang.Thread; import javax.swing.JFrame; import java.awt.image.BufferedImage; import javax.imageio.ImageIO; import java.io.IOException; public class Game extends JFrame implements Runnable{ private Canvas canvas = new Canvas(); private RenderHandler renderer; private BufferedImage testImage; private Rectangle testRectangle = new Rectangle(30, 90, 100, 100); public Game() { setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); setBounds(0,0, 1000, 800); setLocationRelativeTo(null); add(canvas); setVisible(true); canvas.createBufferStrategy(3); renderer = new RenderHandler(getWidth(), getHeight()); BufferedImage testImage = loadImage("Grass.jpg"); testRectangle.generateGraphics(12234); } private BufferedImage loadImage(String path){ try{ BufferedImage loadedImage = ImageIO.read(Game.class.getResource(path)); BufferedImage formattedImage = new BufferedImage(loadedImage.getWidth(), loadedImage.getHeight(), BufferedImage.TYPE_INT_RGB); formattedImage.getGraphics().drawImage(loadedImage, 0, 0, null); return formattedImage; } catch(IOException exception){ exception.printStackTrace(); …

Member Avatar
Member Avatar
+0 forum 1

Hi, I am new to this community and would be grateful for any guidance you can give. I am constantly receiving a PHP warning whenever I create a post on my wordpress site. Below is a sample of the warning. **PHP WARNING ** html/thegeelongeditioncom/wp-content/plugins/df_social_media/df-social-media-oauth.php on line 533 [11-Dec-2019 02:16:53 UTC] PHP Warning: file_get_contents(https://plusone.google.com/u/0/_/+1/fastbutton?url=https%3A%2F%2Fthegeelongedition.com.au%2Ftag%2Fpeople-home%2F): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found This is on every single post. I can see the URL is missing but it is automatically generated so unsure how to fix the problem. Below is a snippet of the code containing line 533 as …

Member Avatar
Member Avatar
+0 forum 2

It's not showing the image in the terminal window or the jframe. import java.awt.Canvas; import java.awt.Color; import java.awt.image.BufferStrategy; import java.awt.Graphics; import java.lang.Runnable; import java.lang.Thread; import javax.swing.JFrame; import java.awt.image.BufferedImage; import javax.imageio.ImageIO; import java.io.IOException; public class Game extends JFrame implements Runnable{ import java.awt.Graphics; import java.awt.image.BufferedImage; import java.awt.image.DataBufferInt; public class RenderHandler{ private BufferedImage view; private Rectangle camera; private int[] pixels; public RenderHandler(int width, int height) { //Create a BufferedImage that will represent our view. view = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB); camera = new Rectangle(0, 0, width, height); camera.x = -100; camera.y = -30; //Create an array for pixels pixels = ((DataBufferInt) view.getRaster().getDataBuffer()).getData(); } …

Member Avatar
Member Avatar
+0 forum 1

I made this game equivalent to tictactoe but with a slight twist called find the X between two players using socket programming with Java. Don't know where I went wrong in trying to find the X but for some odd reason my count variable never updates allowing the victory message to never pop up. Basically the game is as follows, the dealer starts by placing the X then the spotter has to guess where it is by placing the O. Still quite new to Java and socket programming, I followed a few Java socket programming examples which is what led …

Member Avatar
Member Avatar
+0 forum 5

Website is redirects on other spam website? How can i comeout. Is my website hacked by someone?

Member Avatar
Member Avatar
+0 forum 1

#include<stdio.h> int main(void) { char a; a="?"; } Error i'm recieving: warning: assignment makes integer from pointer without a cast a="?";

Member Avatar
Member Avatar
+0 forum 2

There can various actions that take us to the cause of Data Loss, **Intentional Action** *Intentional deletion of a file or program* **Unintentional Action** *Accidental deletion of a file or program Misplacement of CDs or Memory sticks Administration errors Inability to read unknown file format* I really found this Wiki Content useful: https://en.wikipedia.org/wiki/Data_loss

Member Avatar
Member Avatar
+0 forum 2

This is the error im am recieving: "assignment makes integer from pointer without a cast"

Member Avatar
Member Avatar
+0 forum 3

Hi, I want to know what is wrong in this code for reading and printing an array, because it gives "the program stopped working" when I run it. #include<stdio.h> int main(void) { int arr[2][3]; readmat(arr,2,3); printmat(arr,2,3); } int readmat(int **mat,int m,int n) { int i,j; for(i=0;i<m;++i) for(j=0;j<n;++j) scanf("%d",&mat[i][j]); } int printmat(int **mat,int m,int n) { int i,j; for(i=0;i<m;++i) { for(j=0;j<n;++j) printf("%d\t",mat[i][j]); puts("\n"); } }

Member Avatar
Member Avatar
+0 forum 2

My quiz has a textbox, mcq and checkbox. At first, the checkAnswer() worked when I did not input the show() function to my javascript. It showed my overall score. But after I input that show() function to display 1 question at a time, my score is always 5/7 or less. Please do tell what is wrong with my code and if you have any recommendations. Please do tell. Here is the demo. [Click Here](https://codepen.io/huha2511/pen/zYYEaxY?editors=0010) <body> <div id="container" > <div id="start" > <div id="ready"> <button onclick="show('q1')"><h1>START NOW</h1></button> </div> </div> <div id="quiz"> <form name="quizForm" > <div id="q1" style="display:none;" > <!--QUESTION 1--> <div …

Member Avatar
Member Avatar
+1 forum 1

Hi, I've been having issues with my program where I make the rocket do what its supposed to do when it comes to outputting a filled and hollow rocket body depending on either a odd or even value. The only problem I am currently having is duplicating the body length also known as adding stages of how long I want the boyd to be. Here's my code: [code] //Draw a Rocket with a filled or hollow body with stages #include <iostream> using namespace std; void drawOddBox(/* in*/ int, /* in */ int); //Function prototype with two value parameters void getDimensions(/* …

Member Avatar
Member Avatar
+1 forum 1

Hi, I was learning insertion sort in C. But I need help to clear up my confusion in the following code: int i,j,n; puts("Enter the number of elements: "); scanf("%d",&n); int A[n]; readarr(A,n); int sortedA[n]; sortedA[0]=A[0]; for(i=1;i<n;++i) { j=i-1; while(j>=0 && sortedA[j]>A[i]) { sortedA[j+1]=sortedA[j]; /*marked line 1*/ --j; } sortedA[j+1]=A[i]; /*marked line 2*/ } In the marked line 1, you see that value at position [j] has been moved down in the list to [j+1], so that the position [j] is now vacant. Right? Then, in marked line 2, why has A[i] been assigned to position [j+1]? Because, according to …

Member Avatar
Member Avatar
+0 forum 1

Anyone can fix this code. thank you, only TURBO C program #include<stdio.h> #include<string.h> #include<stdlib.h> #define true 0 #define false 1 struct product { char id[10]; char name[20]; int quantity; int numSold; float price; int discount; float sales; }; struct product prod[30]; int count = 0; FILE *f; int writefile() { int i; f = fopen("inventory.txt", "w"); if (f == NULL) return -1; fprintf(f, "%d\n", count); for (i = 0; i < count; ++i) { fputs(prod[i].id, f); fprintf(f, "\n"); fputs(prod[i].name, f); fprintf(f, "\n"); fprintf(f, "%d\n", prod[i].quantity); fprintf(f, "%d\n", prod[i].numSold); fprintf(f, "%f\n", prod[i].price); fprintf(f, "%d\n", prod[i].discount); fprintf(f, "%f\n", prod[i].sales); } fclose(f); return …

Member Avatar
Member Avatar
+0 forum 1

CREATE TABLE Peaje ( id_no_pk CHAR(2) NOT NULL, nombre VARCHAR(30) NOT NULL, localizacion VARCHAR(30) NOT NULL, dirrecion VARCHAR(50) NOT NULL, tipo CHAR(1) NOT NULL, municipio_fk CHAR(2), CONSTRAINT Peaje_id_no_pk PRIMARY KEY(id_no_pk) CONSTRAINT Peaje_municipio_fk FOREIGN KEY (municipio_fk) REFERENCES Municipio(id_no_pk)); CONSTRAINT Peaje_municipio_fk FOREIGN KEY (municipio_fk) REFERENCES Municipio(id_no_pk)) * ERROR at line 9: ORA-00907: missing right parenthesis The parenthesis are in pairs and match. Why would this error message occur and how could I fix it>? Edit: this is the other Table for reference: CREATE TABLE Municipio ( id_no_pk CHAR(2) PRIMARY KEY, nombre VARCHAR(20) NOT NULL ) ;

Member Avatar
Member Avatar
+0 forum 1

Hi, Phrases on video is getting stacked up on each other after some iteration. Please help. Here is the link: http://responsivemts.com I have attached the screenshot for your reference. Thank you, ![Capture.JPG](/attachments/large/2/7db0d27700994ee4f0982cf8d3a54c3e.JPG) <div class="newsticker"> <ul class="newsticker-list"> <li class="newsticker-item item1"> <h1 >All Your Ad Campaign Needs in One Place</h1> </li> <li class="newsticker-item item2"> <h1 >Operational Efficiency? Check!</h1> </li> <li class="newsticker-item item3"> <h1 >24/7 Ad Ops? We've Got You Covered</h1> </li> <li class="newsticker-item item4"> <h1 >WE OFFER </h1> </li> <li class="newsticker-item item5"> <h1 >Programmatic Marketing Done Right</h1> </li> <li class="newsticker-item item6"> <h1 >Customized Campaigns and Limitless Imagination</h1> </li> <li class="newsticker-item item7"> <h1>Cutting-Edge …

Member Avatar
Member Avatar
+0 forum 1

So, with my program, I want to calculate prime numbers and would only like to see it come out with only one prime number. I tried to put it in a if statement at the end like "if (number_of_primes=number_tester) printf("%i/n", test_int)", it did not work. and at it's current state it is calculating prime numbers, but it sometimes duplicates them. Also, this is in c programming. `#include<stdio.h> #include<stdbool.h> int main (void) { int number_tester, prime_number, div, number_of_primes, test_int; printf("for which prime number do you want to know the value of?: "); scanf("%i", &number_tester); printf("Debug-> entered number = %i\n\n", number_tester); prime_number=number_tester%div; …

Member Avatar
Member Avatar
+0 forum 1

Hi, I was learning 'Selection Sorting' in C and while writing my program I constantly get the error- >[Error] expected expression before '{' token Here's my program- #include<stdio.h> void main(int A[10]) { int i,j; A[10]={2,4,1,9,0,6,5,7,3,8}; for(i=0;i<9;++i) { int Min=i; for(j=i+1;j<10;++j) { if(A[j]<Min) { Min=j; } int temp=A[i]; A[i]=A[Min]; A[Min]=temp; } } for(i=0;i<10;++i) { printf("%d\n",A[i]); } } If I try to initialize A[10] as a parameter in the function, it gives this error- >[Error] expected ';', ',' or ')' before '=' token What's the issue?

Member Avatar
Member Avatar
+0 forum 4

I have a popup from index.ejs, called math.ejs. After pressing the submit Ok button, I want the math.ejs popup to close and to show the calculated value on index.ejs. But right now, when I press the submit button, the popup goes to index.ejs and updates it there; it does not close. It does not update it on the normal index.ejs browser page. I have to refresh that page for it to update. <form class="" action="/index" method="post" name="mathform"> <p>Value: <%= myValue %></p> <button class="btn btn-md" name="button" value="confirm" onclick="CloseAndRefresh();">Ok</button> </form> <script language="javascript"> function CloseAndRefresh() { opener.location.reload(true); setTimeout(function() { window.close(); }, 3000); } …

Member Avatar
+0 forum 0

I want a calender to appear, making it so that the customer can chose the dates. #include <iostream> #include <string> #include <ctime> using namespace std; double SubTotal=0.00,Total=0.00, Dis=0.00, DisGCH=0.40, DisConf=0.15, DisSpec=0.05; int NoOfDays=0, TelNumber, CreditCN, GoldCN, RPriceSing=175.00, RPriceDoub=250.00, ConfN; string LName, FName, Address,Occupancy, DisType,GoldCardHolder,ConfDel, CheckInDate; int main(){ cout<< "WELCOME TO SANDY SHORES BEACH HOTEL"<<endl; cout<< "Select Check In Date"<<endl; cin >>CheckInDate>>endl; // current date/time based on current system time_t now = time(0); // convert now to string form char* dt = ctime(&now); cout << "The local date and time is: " << dt << endl; // convert now to tm …

Member Avatar
Member Avatar
+0 forum 2

I do not have a clue as to what the problem is with this code. I am running php 7.0. This was an old form I used long ago, decided to upgrade it for random use. It works on php 5.0 but not in 7. I have run it through many php checks and not a problem is found. Does anyone have the answer for me? I would greatly appreciate it. No Errors shown just the white age of death. <?php include_once('jcart.php'); ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); // Connects to your Database mysqli_connect("localhost", "dnk", "here1") or die(mysqli_error()); mysqli_select_db("dnnnk") or die(mysqli_error()); …

Member Avatar
Member Avatar
+0 forum 3

I'm doing an assignment for a class and I can't figure out what I'm doing wrong to keep getting the "illegal start of expression" error. Any help would be appreciated. public class Overloading { public static void main(String[] args) { public static int max(int num1, int num2) { if (num1 > num2) return num1; else return num2; } public static double max(double num1, double num2) { if (num1 > num2) return num1; else return num2; } public static int max(double num1, double num2) { if (num1 > num2) return num1; else return num2; { public static double max(int num1, double …

Member Avatar
Member Avatar
+0 forum 5

The End.