199,114 Archived Topics
Remove Filter ![]() | |
Hi I'm a noob. Can anyone please explain why I get a "'ranum' was not declared in this scope" error in this script? I was obviously using Arduino. void setup() { pinMode(13, OUTPUT); pinMode(12, OUTPUT); pinMode(10, OUTPUT); pinMode(09, OUTPUT); double ranum = rand()%11; } void loop() { if (ranum==0){ digitalWrite(13, … | |
When selecting from DataGridView as program line below: Diameter = DesignationsDataGridView.Rows(e.RowIndex).Cells(0).Value I get following exception message box:- System.ArgumentOutOfRangeException was unhandled Message="Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index" If I select 'continue' from message box then I return to … | |
i just dowloaded a fiverr clone from http://phpvalley.com/phpvalley-micro-jobs-site-script/ but am unable to install it on my localhost.am told to change 644 to 777, but i dont know where or how. I rigth click on connect.php and tryed changing its propaties, but it too did'nt work... | |
#QUESTION ONE person = input('Please enter your name:') print('Hello', person,'. How are you today?') #QUESTION TWO emotion = input('Please enter happy, sad or neither:') if emotion == 'happy': print('Well, it is great to hear that you are so chipper',person,'! Shall we continue?') else: print('Sorry to hear that. Hopefully we can … | |
I have a project coming up Select a Theme and have 50 words associated with it Words must have a common theme - your choice Examples: Like Periodic Table Elements, or Sports teams, or Types of cars… Have one Term describing category you picked. This is the FACE term… Menu: … | |
hello, so i am having some problem x = 50; y = 31; //declaration from line 1 to 5 lastx = x; lasty = y; while(1 == 1) { gotoxy(lastx, lasty); printf(" "); gotoxy(x,y); printf("**|_A_|**"); a = getch(); lastx = x; lasty = y; if (a == 77) x = … | |
My main application has a datamodule containing a TSQLConnection component. When I call a package from this application and try to create a transaction (StartTransaction(TD)) from within the .bpl, I receive an Access Violation. I am able to open a TSQLQuery from within the bpl to that same TSQLConnection, but … | |
how to `.replace()` the `'error'`? only use `a` and `b` var str = 'bla bla anything error anything bla bla'; var a = 'anything', b = a; im not good with regular expressions so im asking for how to do this with variables so i can set them up all … ![]() | |
HiHi seems like i have so many queries for programming.. EG. textbox use to set the password how can i make a program so that i can set MINIMUM character to be inserted in textbox is 7 then i can save the data if not validate[ insert password with at … | |
if (!empty($_POST['twitnam'])) { $message = $_POST['message']; $TwitterUsername = $_POST['twitnam']; $tw_sql = mysqli_query($connection, "SELECT oauth_token,oauth_token_secret FROM TwitterUpdate WHERE uname='$TwitterUsername'"); $row = mysqli_fetch_array($tw_sql, MYSQLI_ASSOC); $oauth_token = $row["oauth_token"]; $oauth_token_secret = $row["oauth_token_secret"]; if (strlen($oauth_token) > 0 && strlen($oauth_token_secret) > 0) { $Twitter = new EpiTwitter($consumer_key, $consumer_secret); $Twitter->setToken($oauth_token, $oauth_token_secret); $status = $Twitter->post_statusesUpdate(array('status' => $message)); echo … | |
Code1: <input id="text" type="text" name="fname" value="First Name" onclick="this.value='';"/> Hi Friends, Code1 - this print in my text box value "First Name". onclick this value gets erased so I can type Name. but if I go to second text box and come back to this text box to modify or add … | |
[CODE]Hi every one, hope u r fine. i have a java program and it call matlab exe file ,but i have a problem in run time it is so so slow . i need a help in how to make this faster, i will be grateful for any help Hint: … | |
Hello all, I need help regarding developing an asp.net application to compare images using facial recognition. I mean comparing 2 different images of the same person and returning whether the 2 images are of the same person or not..... I have developed the application which compares the images pixel by … | |
I have been creating small personal projects and trying to monetize or just learn from the creation process. I love programming and I am doing it as a hobby, looking forward to become a strong developer as soon as possible. Starting out I used Joomla, Wordpress, Drupal as CMSs but … | |
HI,Everyone GOOD NOON I am creating a WINDOWS form using C# which have text box like part.no ( NUMBER ONLY NO Alphabets) i have used the following coding to accept number only . private void Partno_KeyPress(object sender, KeyPressEventArgs e) { //e.Handled = (!char.IsDigit(e.KeyChar)) && (!char.IsControl(e.KeyChar)); } Now i need to … | |
I import a spreadsheet (csv) into my sqli database (keeps a track of all our firewalls) there are 10 excel columns , one for each connected network on the firewall. i would like all these columns to be imported as one entry in the database, so 1 database field would … | |
Hi guys I've written a very simple program that reads in some files, does some cleanup on the data and then creates a sql statement to insert the data into a table. Now I have 125 of these fies of varying sizes and on some (not all) of the files … | |
Hello all, It has been long since i am facing this problem. I want to convert my datagridview data to pdf format. I have searched a lot but couldnt find any. Need your help. Regards, Ajinkya | |
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\wamp\www\firewall\php\allresults.php on line 3 The annoying thing is, I have used this multiple times on different applications, I dont know why it think the result is boolean? the exact same code works on a different database, I just cant … | |
Hi I wonder if any kind soul could help me with a timer problem in c. I am not at all experienced in writing c code. In a c dll (called from a vb user control) I need to avoid blocking the parent application, and also be able to abort … | |
Having a problem with the link list program . have failed to resolve.worked over 12 hours but the solution looks pretty disorganised an incoplete, please advise thanksInline Code Example Here ` #include <iostream>` #include <stdlib.h> #include<list> using namespace std; class Node { public: int get() { return object; }; void … | |
need how to make an virtual learning class room in php and student teacher profile in php | |
Hello I am able to display the images that i am retrieving from the database as a list. But i want to know how i will be able to display the same images as a grid or table. I have posted my code below.Can you please let me know how … | |
My data is going in to the queue just fine, but when I go to print the data nothing happens. How do I pull the data from the priority queue heap to print? NOTE: The heap implementation cannot be altered. /** ADT priority queue: Heap-based implementation. Listing 17-3. @file Heap_PriorityQueue.h … | |
Hi All, How can i get mac address from other computers with input ip address? Please helps Best Regards... | |
I wanted to know how i can print the purhcase that the user got. Thank you. import java.util.Scanner; public class VendingMachine { private double chips; private double cookies; private double soda; private double gum; private double candy; private double energyDrink; private Scanner kb; private int dollar; private int quarters; private … | |
Hi guys, OK, here is the issue I am having. Perform a search and when you click the submit button, it takes you to the page that displays the info. Now, when the user clicks the back button on the browser it tries to re-submit the info. I don't want … | |
hi all. i searched and i did find that someone was facing this same problem. Although i did what was told to him, i am still getting the same error. guide me? Error : Parse error: syntax error, unexpected 'exist' (T_STRING) in C:\wamp\www\ProjectCms\login.php on line 6 <?php session_start(); include("passwords.php"); if … | |
- the GetWindowRect() give me the window size and position; - the GetClientRect() give me the window size without inclued the scrollbars\menus\borders\others; so when 1 image is more big than client size, what size i can use? DC size? and if a child window position is more big than client … | |
Hello all, I have an XML string that I need to tear down and process. Sorry for what may be a simple problem, but I'm new to XML processing. Here is a sample of the XML: <?xml version="1.0" encoding="UTF-8" ?> <CCSMessage Type="4" Name="CustomerFetchResponse" Source="CoremaContextServer" Destination="WSA0205" UserID="LoyaltyBatch" IncludeLoyaltySummary="true" LimitLoyaltyTransactions="0" > <Result> … | |
1) What are three ways of creating a String object ? 2) What is the difference between string concat method and simply adding 2 strings ? | |
Hi all, What is the difference in inheriting a class and instantiating a class, as both allows to inherit properties from the base class.I know there is a difference in both, but i want a clear idea on this. Kindly, can anyone help.Thanks in advance. | |
Alright, so I am simulating a rice roll 100 times, repeatedly. It's getting some whack numbers for some reason, I can't find the problem in code. I have done some printing of the different variables and it seems fine, but I know theres something wrong. package com.github.geodox.dicerollingstats.main; import java.util.Arrays; import … | |
Hello to all, Having to arrays of the same size like below. A = ["SL","MW","OP"] B = ["RU","YF","L2"] How can I concatenate in columns to print in parallel like below? SL - RU MW - YF OP - L2 I've tried with code below but is printing all in one … | |
**MainActivity** package com.elitiv.myapplication2.app; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.RadioButton; import android.widget.TextView; public class MainActivity extends ActionBarActivity { private EditText Result; private String Operation; private EditText editYear; private EditText editCapacity; private Button calc; private RadioButton radioD; private RadioButton radioB; @Override protected void onCreate(Bundle savedInstanceState) { … | |
i have 3 tables and i want to display companyname,maincategory,city,place 1.SELECT `id`,Companyname from spa 2.SELECT `id`, `mainCatagoryid`, `RelatedCatagory`, `spaid` FROM `relatedcatagories` SELECT `id`, `MainCatagory`, `name`, `size`, `path` FROM `catagorykeywords` SELECT `id`, `Subcatagory`, `MainCatid` FROM `subcatagorykeywords` 3.SELECT `id`, `city_id`, `state_id`, `spaid` FROM `city_place` SELECT `city_id`, `city`, `state_id` FROM `cities` SELECT `state_id`, … | |
for this particular pages i need <li><a href="about_us.php?abtid=2" title="About Us" onclick="function changetab();">About Us</a></li> <li><a href="contact_us.php" title="Contact Us">Contact Us</a></li> <li><a href="faq.php?abtid=4" title="FAQ">FAQ</a></li> <li><a href="terms_of_use.php" title="Terms Of Use">Terms Of Use</a></li> $abtid = $_SESSION['abtid']; $sql1 = mysql_query("SELECT st.`id`,st.Catagory, st.`title`, st.`description`, st.`keywords`,sft.id,sft.titles FROM `seo_title` st JOIN seo_footer_title sft ON sft.id=st.Catagory WHERE st.Catagory='$abtid'"); $result = … | |
hi all : i wanted to create w form that store all data in to a db for example : name surname date of birth gender comment afterthat i wanted to create a page just to call these data but not all (it's variable so sometimes i need to generate … | |
You have been hired by an amusement park company to write a JAVA program that prompts a person to enter their age and height and to find out if they are eligible to ride. A person is eligible to ride if their age is above 9 years and their height … | |
Critically analyze the following statement "Multiple inheritance can be achieved without interface"? | |
| |
I have Visual Foxpro ver. 3 and also Foxpro upgrade to Ver. 9. When I try to run VFP.exe on my windows 7 system I get an error "Insufficient Memory" and Foxpro will not run. Any suggestions would be appreciated. | |
hi I have 1 iframe which includes another iframe it and I want to auto height both frames whenever any activity peform in the iframe it load the new page and auto height according to the 2nd (inner iframe) the code which i am currenlty using in main page and … | |
I have a table called "mytable". The columns are Time_Stamp (datetime) PK Time_stamp_ms (int) PK data1 (int) data2 (int) data3 (int) data4 (int) data5 (int) data6 (int) cycle (int) name (varstring) I want to order by Time_Stamp and Time_stamp_ms and then each time cycle reaches 1, I want to get … ![]() | |
I have a gridview that displays client details and a button to allow the clients details to be edited. A modal pop up is used to edit the client details with the text boxes prefilled. What I was wanting to know is if there is a way to only display … | |
Hi All, I'm trying to connect to a mysql database using the MySQL Connector from Oracle. I'm hitting my first issue of linking the libraries and was hoping that someone could nudge me in the right direction. What I have done so far: Downloaded mysql-connector-c-6.1.3-osx10.7-x86_64.dmg from http://dev.mysql.com/downloads/connector/c/ In XCode, in … | |
hey guys! this is my first post to daniweb. and also i've not been so long on php. i m trying to manage customer transection records but stuck on one place and i need help.. here is my mysql table for transection of customer id-1 => +-----+------+----------+--------+------+-------| | svn | … | |
The page source for http://www.nordpoolspot.com/Market-data1/Elspot/Area-Prices/ALL1/Hourly/ includes this latin(?) paragraph: *Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam quis mi eu elit tempor facilisis id et neque. Nulla sit amet sem sapien. Vestibulum imperdiet porta ante ac ornare. Nulla et lorem eu nibh adipiscing ultricies nec at lacus. Cras laoreet … | |
Hi all, I am very new to php and am slowly trying to get something together. I have a MySQL database with a table that has (among others) a field which is TINYINT called "field1". I have managed to be able to store a 1 or 0 in it from … | |
* I have to make a maze with 21 rows and 77 columns, allow some for the user's input and for messages. * It also has to have A multidimensional array containing the board. * A function to print the board. * Find the user's starting location (i.e. the location … |
The End.