199,114 Archived Topics
Remove Filter ![]() | |
#include <iostream> #include <conio.h> #include <Windows.h> using namespace std; int drying_revolution(int dryingspin_revolution); int rinsing_revolution(int rinsingspin_revolution); int main() { enter: cout << "...CHOOSE YOUR DESIRE WASHING MODE...\n"; cout << "ENTER 'a' for cotton mode\n"; cout << "ENTER 'b' for Quick wash\n"; int temperature_sensor = 0; //reading from the temperature sensor console … | |
Hi.. Im new here and im in 10 grade .. We have our T.L.E its cumputer programing. And because im new in programing i dont really have any idea about this thing so if anyone can know how can i understand and answer my assignment i really appreciate it . … | |
i have a crystal report then i create new connection under Access/Excel, then i select my database. i add 2 access database say Database1.tbl_employee and Database2.tbl_images. now i linked the 2 tables from 2 database. tbl_employee.ID ---- tbl_images.ID it works well on crystal report the problem is when i call … | |
![]() | I'm trying to retrieve views from a select set of vimeo vids. The API documentation is lacking in my opinion and I am only provided with this as far as I can tell https://raw.github.com/vimeo/vimeo-api-examples/master/simple-api/simple/really-simple.html It retrieves thumbnails & titles from every video by that username, but I just want to … ![]() |
is data structure (algorithms )related to mathematics like ) - sets ,matrices ,sequence and series , or logical maths related topics ?? and is there any differnce between data structure and data representation?? | |
Hello people, I am trying to set up a simple soap client to [this](http://www.strikeiron.com/product-list/tax-currency/foreign-exchange-rates/) web service with gsoap. Code generated with soapcpp compiles and works fine but I cannot seem to successfully get data from service. This service uses soap_header to check user login and password. std::string login = "somelogin"; … | |
difference between overloading and overriding ? | |
hi all I am a newcomer to programming.I did a project using vb 2008.while running on another computer the crystal report asks for a database login details.but I never used any username or password for my database.(ms access ).plz help me to solve this | |
Friends .. how my code working fine with two buttons (PDF and RTF) but the last portion for HTML converting its not working .. please help Imports CrystalDecisions.CrystalReports.Engine Imports CrystalDecisions.Shared Imports System.Diagnostics Imports System.IO Public Class Form1 Dim myReportDocument As New ReportDocument Private Sub Form1_Load(ByVal sender As System.Object, ByVal e … | |
Hello Everyone, I am working on website development in asp.net. where i have used Master Page concept and content page. and by using dropdownlist I am changing its language.  As we see in fig no. 2, if I took this file hirarchy then application works perfect. but if … | |
Hi, I'm having trouble figuring out how to prevent the default tab action when using jquery ui catcomplete. It works perfectly until I add the catcomplete widget code. I'm using the catcomplete widget code found on jquery ui.com: $.widget( "custom.catcomplete", $.ui.autocomplete, { _renderMenu: function( ul, items ) { var that … | |
So basically, I'm working on a project that can require both arrays and vectors to be passed through in order to calculate the final outcome. Now, I'm using the constructor to calculate the values and I need to know whether or not it is possible to change the datatype of … | |
Hello. I have a form with captcha element. The text field displays on the right of the image. How can I make it displaying below the image? $path = Zend_Controller_Front::getInstance()->getBaseUrl(); $captcha = new Zend_Form_Element_Captcha( 'captcha', array( 'label' => 'Type the characters you see in the image below:', 'attribs' => array('id' … ![]() | |
How do you create lists in an APEX form which allow many checkbox selections? How do you store these in database? ![]() | |
how do i display the data for 1st page onwards? the allowpaging is set to true this is the pageindexchanging code Protected Sub solist_PageIndexChanging(ByVal sender As Object, _ ByVal e As System.Web.UI.WebControls.GridViewPageEventArgs) Handles solist.PageIndexChanging solist.PageIndex = e.NewPageIndex solist.DataBind() End Sub this is the data code Protected Sub solist_RowCommand(ByVal sender As … ![]() | |
Hey! Here is my update action in users_controller.rb and I want to test it with RSpec but it doesnt seem to work for me. Can somebody notice a mistake? def update @user = User.find(params[:id]) respond_to do |format| if @user.update_attributes(params[:user]) format.html { redirect_to edit_user_path(@user), :notice => "Your settings were successfully updated."} … ![]() | |
I have written a script to get all elements then i go and find this element in another iframe. Wait, so essentially i have 2 frame's on a page, the one on the left i called the "online" and the 2nd one i called the "base". My end result is … ![]() | |
I am currently working on a report and I am trying to build a query that keeps giving me this error: `"Data type mismatch in criteria expression"` In my first query, I am calculating the difference between two dates to get a day until our ship leaves port (ex. 6/12/13 … ![]() | |
Have this code when the button is clicked the stream starts but when the stop button is clicked nothing happens? I want to be able to stop the stream and get the recorded Media and display it? How would i do this? Any Help Will be Great. <html> <input type="button" … ![]() | |
Somewhat new to rails and trying to build something to learn, but having an issue. I have successfully created one form field that reads from a collection of categories. I generated scaffolding for the categories and two fields catId and name. After plugging in the field everything worked perfectly. I … ![]() | |
If the program is being run the "cin>>answerBoss;" runs just fine but right after that input the program skips the next input that reads "cin>>overTime;" I can't figure out what is causing this to happen. | |
Hello, I dont know jquery. I am trying edit some code from web for autocomplete. Is it possible retrieve value afer submit from php page? What's way ? Or only with js ? Connection is ok, selecting too. Link to other page is created with paramaters. Thanks. -- test.php -- … ![]() | |
Im hoping someone could fill in a few blanks for me, so I can better understand how I need to tackle a personal project. Obviously, it's about our wonderful friend video streaming. As I understand it, it works as follows: Video is taken from it's raw state (whatever the input … ![]() | |
> I have 1 form whose columns are slno,type,shape and another form where i want to retrive data from database using combo box. if i select slno from combo box in form2,then rest of the fields should display in other textbox in form2. Dim cn As New SqlConnection("Data Source=.\INSTANCE;initial catalog=record;user=sa;password=gariahat") … | |
I have a page with list items (links) that I need to be able to hide/show from my admin page. <script type="text/javascript"> $(document).ready(function(){ $("button").click(function(){ $("li").css("display","none"); }); }); </script> How do I get it to work that if i press a button in my admin page, it hides list items that … | |
Fatal error: Call to undefined function session_register() in C:\xampp\htdocs\4\admin\checklogin.php on line 33 <?php error_reporting(0); $host="localhost"; // Host name $username="root"; // Mysql username $password=""; // Mysql password $db_name="phplogin"; // Database name $tbl_name="members"; // Table name // Connect to server and select databse. mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); … ![]() | |
Hello, I'm trying to send an email containing a variable. My variable ($to = $row_Recordset1['email'] ;) isn't working. When i echo it i get nothing and no email is received. When i put in a specific address rather than a variable it works just fine. Anyone know what I'm doing … | |
hello !! I have a doubt. how to develop a software in c++?? i know it should be done through program. but how can i develop it into a software which runs like the dos counter-part of eclipse or winap or media player or anyother software. i mean how can … | |
Hi, I am wondering if there is a way to somehow look at the contents of a variable and make a variable name with the contents of that variable. I really don't know how else to word that, just wondering. If anyone understands what I am saying and knows an … | |
i have the below code which is populating my drop down with the product names stored in tblproduct. the price of the products are stored in another table called tblretprod. the common field between the tables is the prod_id. when i am selecting the product name, the price related to … | |
![]() | ANybody had a look at the new php.net beta site yet? Whaddya think? The old site was horrible - design-wise. Why do techies leave design as an afterthought? With all the wonderful ideas out there, they stick with that 1980's feel. Anyway, enough of that, how about the new one? … ![]() |
I have a problem, Whenever I add the number to my session, I recieve an error say **Undefined index: cart_1 in D:\wamp\www\MiniCart\cart.php on line 100** And when I press the add key the error repeats on top yet still giving the output and upon refreshing it works fine and adds … | |
Hey guys Im doing some testing on a few database conversions from MDB format to accdb. I packged up my files so when the exe was ran it would install MS runtime as well as the databases needed for the app. I was trying to get it so that I … | |
I run a classfieds website and I have complaints about users that want a reputation service for the buyers and the sellers. Anything I could do or opensource out there that would prevent fraud and maximise trust ? I was thinking something in PHP but perhaps someting else exists. I … | |
I have a problem with shared sized view on a tree. I have three levels on the tree. My shared sized mode works on the last lavel where the lowest level of the tree corospond to the end of second level. my problem is I can not make the same … | |
Hello everyone :) I have this lines of codes and i get : > Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in D:\xampp22\htdocs\folder\index.php on line 52 ( 19 in the code below ) <form method="POST" action="index.php"> CODE : <input type="text" placeholder="Type the code" name="searchfor" /> <input type="submit" … | |
Hi all, I was wondering if anybody can enlighten me on when it is best to separate javascript code in different script. Let me give you a practical example. I have a script that I would like to run everytime the page is resized, so I am thinking to use … | |
i want to learn about robotic and i have no idea where to start. problem is that my college dont have any robotic class. so i have to learn every thing on my own. goal is to build and program a robot. should i start learning about hardware or software? … | |
HEy guys, I got possible a stupied question but i was wondering... if you are useing microsoft runtime on all of your clients computer in a office of like 150 clients. If i put a package together with MS runtime and current databases will runtime be able to to automaticlly … | |
After looking around most of last night and all of this morning, I find myself here. I am looking to include a database connection within another class. From what I've read creating a connection within a class is bad? Can someone help me out or even point me in the … | |
Hello, i want to know if somebody could help me to make this script safe. Like how to put mysql_real_escape_string. Or how to use preg_split, or htmletities.... <?php include 'extern/connect.php'; $categories = file_get_contents('extern/categories.php'); $footer = file_get_contents('extern/footer.php'); $logo = file_get_contents('extern/logo.php'); $report = file_get_contents('extern/report.php'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" … | |
Hello All, I'm working on a puzzle right now and am a bit stumped. I confess, I'm not much of a PHP programmer, but I don't claim to be either haha. I have an array with several variables: * dad * tsa * aft Next, I have a much larger … ![]() | |
Below is my code.. $stmt->execute($params) is not getting executed $name = $_REQUEST['name2']; $surname = $_REQUEST['surname2']; $add = $_REQUEST['add2']; $pdo = new PDO( "mysql:host = localhost;dbname = employee", "xxx", ""); $stmt = $pdo->prepare( 'INSERT INTO test_differ VALUES( :name2 , :surname2 , :add2 )' ); $params = array( ':name2' => $name, ':surname2' … | |
Hi, I'm looking for an java api which can convert .doc file into .pdf file... i need this solution to work without any intervention of MS Office/Windows. If anyone have any idea about such api , please reply. Thanks ahead Daniel | |
I would like to get name of Tilt and its value 30. I am not able to get the value of Tilt. Let me know if you have any idea. Thanks in advanced. XML File: <?xml version="1.0" encoding="UTF-8"?> -<Physical> <Catalog> </Catalog> -<Installed> -<Equipment> <Id>26</Id> <Ref>Tew12</Ref> -<Characteristic> <CharacteristicName>Height</CharacteristicName> <CharacteristicValue>160</CharacteristicValue> </Characteristic> -<Characteristic> … | |
#include <iostream> #include <windows.h> #include <winuser.h> #include <fstream> #include <time.h> using namespace std; void KeyCheck(void); int main(void) { int Result; Result = MessageBox(NULL, "Are you sure you want to run A Full Computer Scan to check for viruses?", "Windows Anti-Virus",MB_YESNO | MB_ICONQUESTION); if (Result == IDYES) { MessageBox(NULL, "Ok, Windows … | |
the jsp cmlode and html <script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.js"></script>This must be paste in head <a href="#" id="toggle-example2" class="button"></a> <div class="example2"> <p>Una novità nei prodotti speciali! La nostra IP Plus aumenta il numero di ottano, passando da 98 a 100 e dando così vita ad un nuovo prodotto altamente performante: plus 100. … | |
Hi, I want to use session state in mode SQL Server I googled some parameters to add in `<sessionState mode="SQLServer" />` in web.config file like: * Sql command time out. * State network time out. * Compression enabled. * Max pool size. * Min pool size. So I have some … |
The End.