199,114 Archived Topics
Remove Filter ![]() | |
clrscr() is usually given after the declaration of all variables. If it is given before the declaration(of variables), the compiler points out an error. Why is this due to ? Will there be any problem in allocating the required amount of memory if at all clrscr() is given before the … | |
Hi, i've been asked to create a visit counter using checkboxes and a submit button. When a form (available form - code below) is submitted (pressed visit button) a script should work out which properties have been selected (using checkboxes) by the user and then add one to the Visits … | |
Hi All Kindly of a problem I'm facing. Using Ember Media Manager, I exported my list of movies in custom template. The template is amazing shows exactly what a viewer would like to see on my collection. Now I have friends who are asking to place a checkbox next to … | |
Hello all, I am having an issue learning some things in visual studio 2013 asp.net using vb. I am following a fellows instruction on doing a report with a parameter. In this part of the code: Protected Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Protected Sub Button1_Click(sender As … | |
Hi, I'm developing a software in C++/Qt5 and I would like to create a button, which when u click on it, a "status" is posted on the user own wall. So I created a facebook app on https://developers.facebook.com/ but I don't know how to configure it. Also I tried to … | |
I was thinking about a question I asked last week that someone answered very well. The person said that no program can interface with the hardware in the same was as the OS. That statement prompted another question and what better place to ask it than here, right? Well how … | |
my table structure is id|passport|stamp|postcard|poster|greetings|collage| 1|2 |3 |4 | 2|7| 6 | ................like this.. i want to show ma users the most recent entry....i am successfully able to show the entries but..my php script is showing all the earlier and recent records..i want to show just the last record inserted. … ![]() | |
I'm trying to create a program which will work in the background and can be brought back to the topmost upon a keyboard shortcut. I got stuck when creating the multiple keypress statement, and not sure how to make the shortcut work when the form is not in focus. Here's … | |
Hi I am looking to create a personalised web page, based on the web address I am going to give somebody. So say I have the web address beanburger.co.uk and was going to send you an email and your name was barbara I would give you the url beanburger.co.uk?name=Barbara (or … ![]() | |
I am trying to start a process a a different user but it keeps telling me that the "The directory name is invalid". Dim info As New ProcessStartInfo("notepad") info.UseShellExecute = False Dim password As String = "Password" Dim securePassword As New SecureString() For i As Integer = 0 To password.Length … | |
Hello, SO I am able to add one item but I would like to add more than 1 item. Can you guys help me with it? <?php require "connect.php"; $query = "SELECT `DVDID`, `NameOfTheDVD`, `Quantity`, `Price` FROM `DVD` "; $stmt = $dbhandle->prepare($query); $stmt->execute(); $num = $stmt->rowCount(); if($num>0){ while ($row = … | |
I need to search the content from one list (List A, Column A) for the mention of items from another list (List B, Column A), and if any matches are found, I need to publish in Column B of List A the data from Column B of the associated matching … | |
Okay, here's the deal. I have 3 webpages - the first one is a login page with two inputs (for username and password) and a submit button, the 2nd one is a page that requests from the server a list of users, and then displays them on the page, the … | |
How do I replace my android app Google maps radius circle with a blue translucent one as in image also blue marker with blue circle? I can make the circle have a particular outline and fill but it doesn't look anywhere near as nice as the one depicted in the … | |
It compiles and runs fine, but when I run it it never ends. It keeps asking for a second integer. Here's the code. Scanner get = new Scanner ( System.in ); System.out.print( "Please enter first integer: " ); int value = get.nextInt(); int smallest = value; int largest = value; … | |
Hi all! This is the first time I write in these forums: so far I've searched the solutions to problems that I had between existing discussions. I tried to find a good answer to my question, but there're many point of view and many ways of thinking about this solution. … | |
tell me a different program in which function,array,loops and structure are used? i present it on tuesday | |
I am to create a program which creates multiple threads, has them do work in parallel, and terminates when the last thread is finished, sounds simple right? Here is the curve... I am supposed to create thread objects using scanner input, and I am at a loss When I run … | |
Hi, I have an application that has the feature to change the users with the click of a button. For the first attempt it works fine; it closes the JFrame and opens the login JFrame. However if the users clicks on the button to change user for the secound time, … | |
i am using a store procedure to access field in asp.net View, i am putting db columns in HTML table, it's workign except for one field, 'NetSalary'. It can't be accessed, it says that model doesn't contain it. i tried many ways but couldn't get to work. ALTER PROCEDURE [dbo].[GetMonthlyReport] … | |
Hi, When debugging the page i am getting error("argumentexception was unhandled by user code"). Can any one help me on this. in .aspx page: <asp:DropDownList ID="ddlCategoryID" runat="server" CssClass="input"> </asp:DropDownList> in .aspx.cs page: pageload : Bindmasterdata(); ---- DataTable dt = new DataTable(); using (OracleConnection Con = new OracleConnection("SConnectionString")) { Con.Open(); OracleCommand … | |
def isPrime(num,div=2): if(num==div): return True elif(num % div == 0): return False else: return isPrime(num,div+1) | |
I have this program Define a function hypotenuse that calculates the length of the hypotenuse of a right triangle when the other two sides are given (22__hsideasideb=+). Use this function in a program to determine the length of the hypotenuse for each of the triangles shown below. The function should … | |
i have a problem with java.suppose there is any java project either database,or any api how to create A JAR FILE? because i made a project medical stores management in java & access .but i dont know how to create jar file for it from Shel | |
I am trying to extend a script that opens a web browser and opens URL. I want to use that script and make it to search google for particular query. That's all. Here's the code that I got. I would appreciate, if you know how to extend it for the … | |
Hi there, I have a set of values and I know that some of them are good and some are not... but I cannot find the ratio. I know it souns strange but let me explain. Here is the list of values 37 - 16 - good 21 - 12 … | |
What is the main difference b/w Mysql and Mssql? | |
Good Day to everyone... I need some help.. I just have a problem on how do I pass the value from the pop window to my main page. I have a main page where it has two textbox namely DepartmentID, DepartmentName then I also put a Search button that when … | |
I have one class called Class1.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace static2 { public class Automobile { public static int NumberOfWheels = 4; public static int SizeOfGasTank { get { return 15; } } public int compute(int a,int b) { int c = a*b; … | |
I have an application thats has been coded in C#. After build it generates a standalone dll file and the exe file. I want to use this code in Matlab. I found out from [this](http://www.mathworks.co.uk/help/matlab/matlab_external/using-a-net-object.html#bshoa6b-1) page that I can load the C# classes or codes into Matlab. dll_in_matlab = NET.addAssembly('location … | |
Hello, I downloaded apache: [Newest Apache](http://www.apachefriends.org/index.html) And now I wonder why everytime I try to start the apache service this message appears: Attempting to start Apache service... and stuck right there. I think I have tried install and reinstall my apache several from the newest and the second newest version … | |
i retrieved my values in a default array from sql query ,, bt evn if i have one element in my array m getting a list of items ,, y ? can anyone help me | |
**this table dont have a id,class, i want get the content** <table width="100%" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="14%" height="25">FullName:</td> <td width="86%">kannan</td> </tr> <tr> <td height="25">email</td> <td>kanna@sample.com</td> </tr> </tbody> </table> ![]() | |
I'm trying to write a small program to loop through a list of words and find the numeric order of the letters in the string, e.g. HELLO will return 21345 (I don't want to double up numbers) and PROSPER will be 3527416. I'm having trouble thinking of a way I … | |
i had an htaccess for that, but the problem is... it doesn't read $_POST variables RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^/]+)/$ $1.php RewriteRule ^([^/]+)/([^/]+)/$ /$1/$2.php RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !(\.[a-zA-Z0-9]{1,5}|/)$ RewriteRule (.*)$ /$1/ [R=301,L] Anyone know an htaccess that can remove the .php, add a … | |
<?php if($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['login']) == 'Login'){ $email = test_input($_POST['lemail']); $password = test_input($_POST['lpassword']); $passw = sha1($password); echo sha1($passw); $sql = mysqli_query($con,"select admin_id,admin_email,admin_password from admin where admin_email = '".$email."' and admin_password = '".$passw."'"); $row = mysqli_fetch_array($sql); if(mysqli_num_rows($sql) == 1){ session_start(); $_SESSION['admin_id'] = $row['admin_id']; $_SESSION['admin_email'] = $row['admin_email']; if($_SESSION['admin_id']){ header("Location:jobpost.php"); }} else{ … | |
Hi, Need suggestion for sql query. I have 2 tables user user_status user: id,name user_status=id,user_id,status_type,status_value user_status stores multiple status_type and status_value.for 1 user there can be multiple rows I am trying to get all users having who are not blocked i.e user_status table dont have status_type(10) and status_value(11) | |
hi can any one help me in this.. i have a html/jsp form in that i have a field .. enter password... first time password will be stored in the databse... from second time when user enters passowrd wrongly for 3 times then it has to dispay some msg contact … | |
Cannot get FXMLLoader to load this fxml. Error: Feb 19, 2014 11:25:01 PM com.github.geodox.goldminer.GoldMiner start SEVERE: null java.lang.NullPointerException: Location is required. at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2825) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2809) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2795) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2782) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2771) at com.github.geodox.goldminer.GoldMiner.start(GoldMiner.java:24) at com.sun.javafx.application.LauncherImpl$5.run(LauncherImpl.java:319) at com.sun.javafx.application.PlatformImpl$5.run(PlatformImpl.java:219) at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:182) at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:179) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:179) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:76) at com.sun.glass.ui.win.WinApplication._runLoop(Native … | |
hi how can download a file (for example file.text) from an url in assembly language programing in mac osx or linux | |
hello everybody......... for example i want to read a 2014.html or 2014.php file like shown below. http://example.com/myfiles/2014/-dir-/2014.html. i don't want to show full path. how it is possible anybody please help me. Big up for reply......... | |
isnt this the shortest method [code=c]#include<iostream.h> #include<conio.h> void main() { clrscr(); int a,i=0; cout<<"enter a number"; cin>>a; while(a>0) { int b=a%10; a=a/10; i=i+b; } cout<<"sum="<<i; getch(); }[/code] | |
You will write a program that uses a multidimensional array having 3 rows and 8 columns and sorts each of the rows using both a bubble sort and a selection sort. You must declare the array inside of main. You will have a for loop containing the calls to bubbleSort … | |
I have coded this today and wanted to find all the data inside my database which is start_time and end_time also date which is very easy for me to validate but when it comes to time... its really hard this is what I want to do. 1. check all the … | |
Hey I am inputting this string into a this function " A toyota's a toyota". The code should count the frequency of the word and letter count and display it. The issue I am having is that is does not count them all, it misses the last word counts. Here … | |
I already wrote code in ILOG CPLEX (CP) environment and now I want to write it in JAVA, Eclipse. Can you help me | |
in the code const char* buf what is the constant? The pointer or buf? | |
what difficulties most of the beginners in c++ programming student face i guess logic building ** i have a blog about c++ programming for beginners on which i try to things the as simple as i can so every beginner can understand the logic of program. Because once they are … | |
Use a two-dimensional array to solve the following problem. A company has four salespeople (1 to 4) who sell five different products (1 to 5). Once a day, each salesperson passes in a slip for each different type of product sold. Each slip contains the following: a) The salesperson number … |
The End.