Member Avatar

hai, my project title is student's feedback generation vb.net is front end and excel as back end. i have one text box and combobox. to get row value from excel sheet and display into combobox when the text box value matches the cell value

+0 forum 0
Member Avatar

Hello everyone, I want to put my *string[]* (array uni dimensional) of values in to excel row and every time the first number of this array was different of "500", the program will add another row with the values on the excel sheet. I only have on the program to system reads a file and next save it to an array, show to user the values, create a workbook and sheet without anything and just this. Workbook machine = new Workbook(); machine.LoadFromFile(@"..excel.xls"); Worksheet sheet = machine.Worksheets[0]; string[] numbers = System.IO.File.ReadAllLines(@"..txt.txt"); for (int i = 0; i < numbers.Length; i++) { …

+0 forum 0
Member Avatar

hi good day guys, i'm having a trouble with fetching the data i have a list of folder outside like in the picture below ![p1.png](/attachments/large/4/c49da0c2676b0f2d0f5d9acb7afc68bd.png) when i click the first folder the picture below shows the output it has duplicates ![p2.png](/attachments/large/4/9e1c201e5a2edfed6e83663b41116db6.png) i want to know what's the problem with my code why it duplicates the folders. can someone help me out. please... thank you in advance here's my code ![c2.png](/attachments/large/4/5bdfa3d4496764c67c4a61192d59de0d.png) ![c1.png](/attachments/large/4/6d5667c4f98cdcdd9487afb945c6278d.png)

+1 forum 0
Member Avatar

I've been working on a project using Morris JS and since there was no solution out there for the Y axis scaling that I could find I wanted to posted where I got. Note you will need [morris JS](https://morrisjs.github.io/morris.js/) & [Moment JS](https://momentjs.com/) to run it. You just need a div with the id "home_chart_0" and it should run. It rounds the max value up, compares it to the min value rounded down and divides it by 10 and spreads over 10 lines. The properties "yLabelFormat" & "numLines" in Morris JS are not documented but exist. Let me know if you …

+0 forum 0
Member Avatar

Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in F:\xampp\htdocs\ajax\server.php on line 55 // Retrieve comments from database $sql = "SELECT * FROM comments"; $result = mysqli_query($conn, $sql); $comments = '<div id="display_area">'; while ($row = mysqli_fetch_array($result)) { $comments .= '<div class="comment_box"> <span class="delete" data-id="' . $row['id'] . '" >delete</span> <span class="edit" data-id="' . $row['id'] . '">edit</span> <div class="display_name">'. $row['name'] .'</div> <div class="comment_text">'. $row['comment'] .'</div> </div>'; } $comments .= '</div>'; ?>

+0 forum 0
Member Avatar

I need to make a custom adapter extending the baseadapter class. Does the code for extending the Baseadapter go inside of the oncreate method? Because no matter where I put it I'm getting errors and don't have any other code in my MainActivity yet.

+0 forum 0
Member Avatar

I am crafting a code generator for something, and I have encountered some things that I do not know yet. Excuse the scambled eggs in this code, but could you please tell me what a job is, and how to get it to run a stored procedure for me? I am trying to run a cron job which will run a loader application every n days. <#@ parameter type="System.String" name="LoadName" #> <#@ parameter type="System.String" name="LoadTime" #> <#@ parameter type="System.String" name="SchemaName" #> <# //generate header information String description = "Schedule a cron job for the Loader to run periodically. "; PLSQLHeader …

+0 forum 0
Member Avatar

I need a simple external table definition for preforming loads from FIXED WIDTH files. I don't remember how to do External tables in oracle. This would be a Fixed width, not CSV. I am creating a generator and I need the external table definition.

+0 forum 0
Member Avatar

I have a Google map and a image lightbox slide show in the same page. After the page loads, the images and the map get loaded. map works normal. After I click on the image to make it bigger (lightbox) and then exit, the map is froozed and iresponsive. here is a link to a fiddle sample of it: https://jsfiddle.net/elamigosam/jd2hwfcr/61/ I was thinking to renaming all the functions, but not sure if that would do anything. also no errors in chrome console, and all the files load ok. P.S. I am not a javascript programer, but do understand basics.

+0 forum 0
Member Avatar

New to asking help but I'm desperate. I have most of the code I just need advice and also how to put the value from the file into the array and then pass to the functions without using any strings or string header. Basically trying to make this work and I'm stuck. #include <iostream> #include <iomanip> #include <fstream> //Array Size Set const int ARRAYSIZE = 25; using namespace std; //Declaring Function Prototypes char findComplement(char,char); char findmRNA(char,char); bool isPalindrom(); char displayResults(char,char,char); int main() { //Declaring Arrays with constant size of 25 char dnaArray[ARRAYSIZE]; char comArray[ARRAYSIZE]; char rnaArray[ARRAYSIZE]; int size=0; int i=0; …

+0 forum 0
Member Avatar

Inside of my Windows Form Application , I have a textbox that the user can enter numbers into. I also have an add button if they would like to enter a number and then add another they can hit the button. I'm having trouble with figuring out what you can use if you want to save the first number entered, and then the next and so on. I want to be able to use all of the numbers in calculations later but I'm not sure how to save each number they enter. Do anyone have any suggestions?

+0 forum 0
Member Avatar

I have to get an instance of Oracle XE running on my laptop. This is so I can test a plsql package I have been working on at my house. Currently out of the job. I seem to remember when I did this the last time I had to configure the tnsnames.ora and listener.ora files correctly. I would like everything to be as simple as possible. Ex, everything should be named XE or something. I can't even find the listener.ora file actually. Need a brief walk through over the tnsnames.ora file and the listener.ora files.

+0 forum 0
Member Avatar

I am currently a web developer and its the only thing I am good at in many fields of software development/programming. When starting as a web developer you should learn the three building blocks of web development such as HTML, CSS and JavaScript and also some server side language like PHP or Ruby. How about for game development? I heard C++ is the go to language but I do not know how to code in the language itself. How about for mobile games? Is it Java for Android and Swift for iOS? Is React Native also good for mobile game …

+0 forum 0
Member Avatar

here is my table data.. here is my table data.. (4 Columns/1row in mysql table) id bno date results 310 001 02-15-2020 MI,108.53 Oh,194.57 PA,182.22 WA,238.57 How to split(statemiles) single column into (state, Miles) two columns and output like following 5 columns /4rows in mysql using php code. (5 Columns in mysql table) ------------------------------------------------------------------------------------ id bno date result1 result2 310 001 02-15-2020 MI 108.53 310 001 02-15-2020 Oh 194.57 310 001 02-15-2020 PA 182.22 310 001 02-15-2020 WA 238.57 --------------------- Following php code split two columns perfectly.. (screenshot below) ![separated_columns.jpg](/attachments/large/4/4bd9979bc3fb873826711f30f1a64c03.jpg) <?php //invoice.php include('../includes/config.php'); if(isset($_POST["add"])) { $order_no=$_POST['order_no']; $comma = preg_replace('/,\\s*/', "', …

+0 forum 0
Member Avatar

I have a long/register system working . Each user see their own profile details when they login. Now I want to users to see other users profile by clicking on a link to their profile. How do I do this? I need advice

+0 forum 0
Member Avatar

How can I show a div when menu item is clicked in angular? The Div show fine when I click list item, but dsn't disappear when I navigate to other menu items. <li><a class="nav-link slots" (click)="showme = true" >Slots</a> <div ng-hide="showme"> <div class="ribbon" *ngIf="game.categories[0]"> <span>TOP</span> </div> <div class="ribbon" *ngIf="game.categories[2]"><span>NEW</span></div> </div> TS file: showme : boolean = false;

+1 forum 0
Member Avatar

Hello, i have the following code: index.php <form role="form" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>"> <label for="products">Product</label> <select id="products" name="products" class="user"> <?php require 'data.php'; $products = loadProducts(); foreach ($products as $product) { echo "<option id='".$product['id']."' value='".$product['id']."' selected>".$product['name']."</option>"; } ?> </select> <label for="bundles">Bundle</label> <select id="bundles" name="bundles"> </select> </form> Script <script type="text/javascript"> $(document).ready(function(){ $("#products").change(function(){ var aid = $("#products").val(); $.ajax({ url: 'data.php', method: 'post', data: 'aid=' + aid }).done(function(bundles){ console.log(bundles); bundles = JSON.parse(bundles); $('#bundles').empty(); bundles.forEach(function(bundle){ $('#bundles').append('<option>' + bundle.name + '</option>') }) }) }) }) </script> data.php <?php require 'DbConnect.php'; if(isset($_POST['aid'])) { $db = new DbConnect; $conn = $db->connect(); $stmt = $conn->prepare("SELECT * FROM bundles …

+0 forum 0
Member Avatar

I have been 2 player programming othello. The program checks for possible areas to place piece "O" and flips pieces. I have got the code for "X" ready too but I can't get the program to switch to player2 "X" and execute code associated to it. Can someone help? class Grid { private int p1numberofmoves = 0; private int p2numberofmoves = 0; private const int BOARDSIZE = 9; private const string White_piece = "X"; // computer piece private const string Black_piece = "O"; // player piece private const string Player2 = "X"; private const string Player1 = "O"; private const …

+0 forum 0
Member Avatar

I have daily scatsat level4 data for wind for year 2017 in a single folder I need to calculate the windspeed of the data and average of windspeed for 8 days for the whole year and need to plot it in a image using quiver plot **I am able to do it for 2 days but have no idea using ' for loop' as I am very new to python *this is the code i have written for 2 days averaging: from mpl_toolkits.basemap import Basemap from netCDF4 import Dataset, date2index import numpy as np import matplotlib.pyplot as plt from datetime …

+0 forum 0
Member Avatar

I have always known that urlencode() encodes spaces as plus signs and rawurlencode encodes spaces as %20. However, I always struggled to know when to use which. I just finally learned today that you should use rawurlencode() if encoding URI paths and urlencode() if encoding query strings. Who woulda thunk it would be that simple?! :-P

+1 forum 0
Member Avatar

I have a basic html here, where you could just submit the button through an action page, so it inserts the record into the mysql database in phpmyadmin, what I want to know is how to make it auto submit after 5 mins, while setting the blanks fields value into "0" in the database. I am currently using wamp as my local server. Is there a best way how to do this? like using javascript or ajax? this is the html code <h2><font size="6s">GHS Applicant Assessment Tool</font></h2> <h5><font size="5s"><p>This exam is an assessment tool to help us place you in …

+0 forum 0
Member Avatar

Hi, I'm new to vb When i try to retrieve edit time i get error using ( Data Grid View Cell Click) i do not have problem when i retrieve date.

+0 forum 0
Member Avatar

Our CSS and JS files are not being re-downloaded by web browsers when we update them. The response headers look like this: cache-control: max-age=7776000 content-encoding: gzip content-type: text/css; charset=UTF-8 date: Sat, 01 Feb 2020 02:41:59 GMT etag: W/"5e34c19d-68a08" expires: Fri, 01 May 2020 02:41:59 GMT last-modified: Sat, 01 Feb 2020 00:09:01 GMT server: nginx/1.16.1 status: 200 vary: Accept-Encoding We want web browsers to cache them for 3 months, but we want them to expire the cache prematurely if the files have been modified. Shouldn't the ETag modify itself when the files are updated, and therefore when the Etag is different …

+0 forum 0
Member Avatar

<a style="position:absolute;" href='/Superuser/Plantincharge/dashboard.php'>Back</a> <h4 style="position: relative; left:95%;"> <button onclick="myFunction()">Print</button> <script> function myFunction() { window.print(); } </script> </h4> <h3 style="text-align:center; font-family: sans-serif; border-radius: 25px; border: 2px solid #73AD21; padding: 5px; width: 200px; height: 25px; position:relative; left:500px; overflow: hidden;">PROPOSAL No.</h3> <?php //////////////////////////////////////////// // Collecting data from query string $id=$_GET['id']; // Checking data it is a number or not if(!is_numeric($id)){ echo "Data Error"; exit; } // MySQL connection string require "dbconfig.php"; $count="SELECT * FROM createnearmiss where id=?"; if($stmt = $connection->prepare($count)){ $stmt->bind_param('i',$id); $stmt->execute(); $result = $stmt->get_result(); $row=$result->fetch_object(); echo "<table>"; echo " <table> <tr> <th>Details :</th> <td>$row->details</td> </tr> <tr> <th>Location :</th> <td>$row->location</td> </tr> <tr> <th>Date …

+0 forum 0
Member Avatar

Good Day i'm not new to this community but i haven't been in participation of anything relating to programming for year but now i'm interested in learning Python Programming language and i believe with your help i can achieve it. Please if there is any group chat (Whatsapp) that can make me learn very fast i don't mind joining (+2348071718666). I wish to develop programming skills now and i believe in Dani web. Thanks in anticipation.

+0 forum 0
Member Avatar

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); } public void update(){ } 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(); …

+0 forum 0
Member Avatar

I have a database, where I store Job Openings, Where I store Job Descriptions with formats in RichText Box like: bullet points, ordered lists and bold text etc... But when I save data in MySQL Database and Retrive it from Database it comes format less. Can anyone help me regarding this issue?

+0 forum 0
Member Avatar

Hello everyone. First of all apologies for my english. It is not my native languate and also if i break any good practice. It is my first Post. I'm triying to learn CGI programming in C. Just for learn purposes and i have been triying litle step by step tests. First i did the hello world and it worked, then i made the CGI read a data file in a folder outside the cgi-bin but inside the /var/www. I'm working on an Amazon Ec2 instante with Amazon Linux (i think is some kind of CentOS). I think my Apache is …

+0 forum 0
Member Avatar

I’m stuck at a problem. I want someone to help me with how to proceed further? I’m working on a problem in C++. Its main idea is as follows. I have a buffer(vector in my case) in which each item holds 4 values. 1. start line 2. end line 3. start index 4. end index I’ll receive a line of data. Each line is capable of holding 4096 float values. my program has 4096 such lines spread over 360 degrees. Step 1: I’ll receive 4096 float values. call it as line 1. it can contain a mix of zero and …

+0 forum 0
Member Avatar

Hello i am new with this programming vb.net. i have simple problem loading the data. i have 1 datagridview and contains also a comboboxcolumn in that datagridview my problem is how do i populate the data in my first table and the second table would be populate in my combobox inside the datagridview

+0 forum 0

The End.