199,114 Archived Topics
Remove Filter ![]() | |
The loan officer at the Belize National Bank wants you to write a C++ program that would help him decide whether to approve small loan application. The program should prompt the user for the customer’s yearly income, the number of years of the loan (loan period), the amount of the … | |
I need help on this question :(. I cant seem to get the right output for this question. 5.25 (Compute pi) You can approximate pi by using the following series: p=4(1- 1/3 + 1/5 - 1/7 + 1/9 - 1/11..... +((-1)^i+1/2i-1) Write a program that displays the p value for … | |
Say I have something similar to this: http://faculty.utpa.edu/chebotkoa/main/teaching/csci3336spring2013/slides/lexsyn/sample-lex-syn.html Does anyone know how I would be able to make "\n" or "\t" recognized as a token? I would probably need to add a case for it in the switch in LexicalAnalysis.cpp, right? And add it to the state diagram? But how … | |
how can i convert text to number values like 'one' to '1', 'two' to '2',..... | |
Hello All we want to print datagrid view's 20 records per page, but it seems LIMIT Command is not working and shows error plz can any one help or suggests alternet. this is our coding. ANPSql = "Select * from Table1 limit 0,20" MsgBox(ANPSql) Pth = My.Application.Info.DirectoryPath ANPConn.ConnectionString = "Provider=Microsoft.ace.oledb.12.0; … | |
<?php require_once('Connections/localhost.php'); ?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { if (PHP_VERSION < 6) { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; } $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue); switch ($theType) { case "text": $theValue = ($theValue != "") ? "'" . … | |
i want to create a directory file in vb6 . please help !!!! | |
How can I catch and log PHP fatal errors in CodeIgniter? if (defined('ENVIRONMENT')) { switch (ENVIRONMENT) { case 'development': error_reporting(E_ALL); ini_set('display_errors', '1'); break; case 'testing': case 'production': error_reporting(0); break; default: exit('The application environment is not set correctly.'); } } When environment is set to production and there's a fatal error, … | |
I have created a windiws forms program in visual studio. I am using a local mdf database file. I have also imported the same database inte my sql server. I hav altered the connectionstring in my.settings, But when I try to connect to the sql database the debugging just shuts … | |
hello. i got this error and i have no idea why or what is going on. could someone explain in layman's term please and help me out. > Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'event_id' cannot be null' in /home/dhsbnet/public_html/ems/add_guest.php:36 Stack trace: #0 … | |
hello,i have a column in my database named 'skills' where all the skills of a person are saved. if i want to find a person with multiple skills like he should be professional in cpppl,javapl,actionscriptpl,matlabpl i will do query like this select email from table where skills regexp 'javapl' and … | |
hi. i got 2 tables next to each other: .contact-names & .guest-list and a left and a right button between those tables and a drop down list. by default both tables have the message "Please select an event" from the drop down. when an event is selected .contact-names will be … | |
Here is the code. I am trying to hi-lite rows that are generated that have a value of "Y" for column AA_letter_recd in yellow, the rows . The ones that have a value of "N" are not to be high-lited in yellow. Thanks. <?php /*Main Store Index */ // Script … | |
Hi all, I am here for a serious suggestions!!! I am new to web applicatons using C#.I want to clarify a few things please. 1). I'm using VS 2013 .Does it contains SQL Server built-in .if Yes,which version? 2).Should i head to Web Applications using MVC etc. or simply? 3). … | |
I am very new to programming and im trying to create a simple stick figure that walks across the screen. I cant seem to figure out how to make him walk across. Any help would be great. THanks guys using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using … | |
Can anyone make em a Online/Offline script for my dedicated servers? And i am in a very fast need! =) And please code it useing HTML and PHP, if need then also Javascript. Thanks - zzMrMartinzz | |
Create a form that accepts scores from the user, displays the total, count, and average of the scores, and displays a dialog box that lists the scores.This application should check the number entered by the user to make sure it is a valid integer from 0 to 100. If a … | |
How do i do a loop which is verifying that cells in the same column are numeric until the last cell which will be determined by an empty cell? Thanks so much | |
How to integrate facebook posts in my website? [URL]www.areinfotech.com[/URL] | |
This might be the vaguest question in the history of Daniweb but I have php chat program that is great all for one thing. It will not make any noise. If anyone wants to take a poke at it. I can post logs, even give access to it, and try … | |
this is my modal button this is within the table that why i use echo $rows['id'] <a data-id="<?php echo $rows['id']; ?>" type="button" class="btn btn-success btn-lg btn-block" data-toggle="modal" data-target="#myModal">View Order</a> this is my modal body <?php include('../conn.php'); $id=$_GET['id']; $list_query=mysql_query("select * from db where id='$id'"); $rows=mysql_fetch_array($list_query); ?> <form class="form-horizontal orderitem" role="form"> <div … | |
>Take Heed There are lots of things to be aware of with the Windows Registry. In most cases the best thing to be aware of is that ideally you should avoid playing with it at all costs. Alas, we are what we are and we do what we do. My … | |
Good day/night to all; As the title says, its really troublesome. Lets say i have form1 and form2 i want form1 to hide while form2 shows, what i do is get a button and use this code: Form2 trials = new Form2(); trials.Show(); this.Hide(); this will hide form1 and show … | |
cut_list We have to use a cut_list by writing a function called cutlist that "cuts" a list. Whwew a list and an index is given, and returns a copy of the list, but the items before and after the index is swapped, but what i dont get is it should … | |
Hello everyone, I have a problem as every newbie :) I'm using vvb express 2013 and opening my windows with below code (credit goes to the owner, thanks to him btw) to prevent the form from opening twice: If Me.yenifaturaekle Is Nothing OrElse _ Me.yenifaturaekle.IsDisposed Then Me.yenifaturaekle = New Yeni_Alış_Faturası … | |
Hi! I have problem with my payroll program, I'm beginner in c#. how can I connect or how to Automatic update the datagridview in form1 after I insert a new info from form2? I cant add the `updategrid();` in the form2 because there is no datagridview, only the textboxs. like … | |
ABC Bank gives loans to its customers at a monthly interest rate of 0.75%, and recipients are expected to make fixed payments every month. The bank uses the formula below to keep track of the remaining balance recipients owe after each monthly payment. where: Balk = balance remaining after the … | |
from reading these site: http://www.catch22.net/tuts/flicker-free-drawing i understand that i must avoid the pixel been changed more than once and a double-buffer: //how avoid the pixel be changed more than once: case WM_ERASEBKGND: return 1; //for other controls, we must use another messsage(see the child control messages) and heres how we … | |
I have a problem My program has 2 form 1: form1 - main form 2: form3 - history browser - to load ariables from "database" (simple csv file) into form1 (Main) controls.. form3 should load and pass variables to form1 controls.text I have only problem with ckheckedListBox in form3 - … | |
Hello, What variable types should I use for phone number. I tried to put integer(20) earlier then, I cannot record : 021888888 since it saves as 21888888 If I choose varchar(20) then it allows alphabets also, which it should. Any other ideas? | |
Hey! I'm trying to connect my backend (Ms Access) to the front end (VB.NET 2010). I'm trying to retrieve data and I get these errors. I have two problems: 1. For i = 0 To dt.Rows.Count - 1 when typed the above code in the load form I get the … | |
Hello All, I am writing c++ program to insert, sort, display and merge two linked lists. Insertion, sorting and display functions are working fine but merge function is not working as expected. Please help me correcting merge function. I have used One header file "intSLLst.h" and two cpp file "intSLLst.cpp" … | |
I am developing web based mess management application where i need to make attendence through finger print identifications , for this purpose i want to use my laptop HP Probook 4530s build in finger print reader as for development and testing purpose .... is it possible or not ? ![]() | |
I am trying to understand some old FORTRAN code and have reached a point that puzzles me. In the main program, a 1-D work array has been defined. i.e. - REAL WORKA(30) Later on, portions of this work array are passed into a few sub-routines: e.g. - CALL SNAME1 (10, … | |
Hi thanks for reading this post. Hope you could help me. I have this question i can't figure out. Thanks in advanced for helping :) I kept receiving message dialog box containing "The document has no pages." whenever i click the PrintAllbutton. I used jasperreports, in which i'm not familiar … | |
404 error.requesting the resource while i click submit, i included lib files of struts in web-inf dir in this project. build success, not forwarding as per code in mainpage.java. index page(run): <body> <h1>Hello World!</h1> <a href="mainpage">Main page</a> </body> main page: out.println("<html>"); out.println("<head>"); out.println("<title>Servlet mainpage</title>"); out.println("</head>"); out.println("<body>"); out.println("<form action='strapp' method='post'>"); out.println("<input … | |
Below is my queue code. Whenever I enter nos. 1 to 8, it will print 1-7 then replace 8 with 0. If there are any other mistakes in my code please let me know. import java.util.Arrays; import java.util.Scanner; public class Queue { private int[] elements; //integer values from scanner private … | |
I am using Python 2.7.8. I installed the following: py2exe-0.6.9.win32-py2.7.exe and pywinusb-0.3.3 I have a script that I am trying to run. When I do I get the following error: C:\Python27\MyScripts\VMS\Python_Firmware_Upgrader-4_00_02\Python_Firmware_Upgrader\python-msp430-tools\win32>python ./setup-combined-tools py2exe.py changed directory to C:\Python27\MyScripts\VMS\Python_Firmware_Upgrader-4_00_02\Python_Firmware_Upgrader\python-msp430-tools running py2exe *** searching for required modules *** Traceback (most recent call last): … | |
Heya guys, i'm a newbie at java gui and trying to make a calculator using swing. Although i have made the calculator previously but this time i'm trying to add a menu bar also. The problem with the code is whenever i try to add menu bar without making the … | |
Hello Everyone, I am creating the maze game in vb.net I found the way of creating the maze game is easy way. But now I want this to access the auto updates. - Fine I can do this. Now the ## problem is: ## How can I set the levels? … | |
I have this shell script but not responding to command after been upload to wp-content. Anybody wanna help? | |
![]() | I need to join 2 access databases. I have tried using dataAdapters and then filling 2 different datatables. Then I used the merge method to join the datatables. The problem I had with that is that it added extra rows when adding the 2nd datatable in. Would anybody happen to … ![]() |
private void btnCancel_Click(object sender, EventArgs e) { //setDirty(); this.Close(); } private void btnOk_Click(object sender, EventArgs e) { setDirty(); //openFileDialog1.ShowDialog(); saveFileDialog1.ShowDialog(); } private void btnBrowse_Click(object sender, EventArgs e) { OpenFileDialog openFileDialog1 = new OpenFileDialog(); openFileDialog1.InitialDirectory = @""; openFileDialog1.Title = "Select a File"; if (openFileDialog1.ShowDialog() != DialogResult.Cancel) txtFilePath.Text = openFileDialog1.FileName; else txtFilePath.Text … | |
hi there people i got a prob with my code in my problem i got a matrix and i need to find the even number or numbers on that matrix (12x30) (by the way is the even minimun or minimums), so here is my function "tempeven" part., the actual issue … | |
in response to an inclass exercise where the following question was possed: write a program using structures, which will capture a list of 10 movies, the data members should be title and year. the problem is the program is not capturing all the details and is printing unintelligible information. what … | |
Hi I got a problem with converting from LPARAM to std::string. What I do is getting the selected object from a Listbox, the example I found on how to do this is to convert the object to LPARAM. Now I want to convert this LPARAM to std::string and I've tried … | |
I am not looking for anybody to do the work for me - I have a questions I am trying to get answered as I go thru trying to learn - I am ahead of myself but am looking to the future I am looking to create a soccer simultor … |
The End.