199,114 Archived Topics
Remove Filter ![]() | |
So I am trying to reverse a string inputed by a user and I am getting an error on one line of my code the line is lw $t3, $t0($t1) #load value. Why can I not do this? .data prompt: .asciiz "Enter in a string: " backwards: .asciiz "That string … | |
This (http://jsfiddle.net/dPrXM/) is supposed to make two more fields appear when you click the more button, but it is unfortunately not working. I cannot for the life of me figure out why, but I am convinced that it's something very simple and probably pretty stupid. | |
Hi I have a partial view, where my partial view will be called from Menu. When i call it, do server send only the partial view, or send all view (header, menus, footer)? | |
So I just began a college course in Java, and our first assignment was to write a text-based Mastermind game in Java. I was able to lay out all the necessary framework, but the area that still has me in a fix is getting the computer to check the secret … | |
Hai everyone, i have a problem, currently i am developing software using Java (netbeans): Currently my database looked like this: Username and UserType Fuhans and Administrator Nies and Member When i login with Username: Nies The program respond, but it gave me the dialog box where both Username are displayed. … | |
Plz Help me I'm creating a form-View in asp.net 2010 and successfully upload all my data on the Form View but my problem arise when i edit the data in the form, it does not update the data. Following is my code. <%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="Default2.aspx.vb" Inherits="Default2" … | |
please tell me how to create and code too. ![]() | |
Hello, Excuse me. I have been using vb 6.0 for more than one year.But now i want to use vb.net. i have setup of visual studio(2010) in my computer but yet i have not installed it on my pc. please tell me that how it will help me in working … | |
Hello i'm using javascript code to redirect visitor to random link like the example below but sometimes i get error 404 response :( var pageArr = ["http://google.com", "http://yahoo.com", "http://bing.com", "http://youtube.com", "http://facebook.com"]; document.location.href = pageArr[Math.ceil(Math.random()*5)]; ps:the code does exist in external js file what the problem here ? i'm not coder … | |
I was wondering if anyone could show me how to take a string that is entered and then find that string and use it as my unit of measure . I also have to find a number that is part of a string. for example: How many feet in an … | |
I need help writing this pseudocode please!! Write the pseudocode for an application which loads a one dimensional floating point array named *tests* with 25 test scores from a file. Use the *tests* array to calculate and print the average of the 25 test scores for a class of students. … | |
i would like to develop a chatroom with video calling so help me. Is there any function to call the webcam on page?? | |
i want to creat a post script to auto insert new codes on my site when a member post a picture or video buth it dsnt seem to be working just like posting coments and suggestions in a forum | |
Diggit, is funded by the local authority in the Greenwich area. The project is to take young people who are seen at risk of offending and involve them in helping to look after the gardens of the elderly. A young person can be referred to the project from a number … | |
I need help with the button action for this code. When you click on the button, a new window should open with the GIF image of the horoscope sign. The name of the GIF image files are "Pisces.gif", "Taurus.gif",etc. from Tkinter import * #Call all modules for TKinter in order … | |
Public Class Add_Material_Form Public Sub ComboBoxMaterialClass() Dim MatClassnum As Integer Dim MaterialClass() As String = {"Book", "Dissertation", "Journal", "Theses"} For MatClassnum = 0 To 3 MaterialClass(MatClassnum) = cmbMaterialClass.Items.Add(MaterialClass(MatClassnum)) Next cmbMaterialClass.Text = "Select Material Class" End Sub Private Sub Add_Material_Form_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load ComboBoxMaterialClass() End … | |
A palindrome is a word or sentence that reads the same forward as it does backward. Write C++ code that read string consist of 6 characters only and check if the string palindrome word or NOT. | |
Programming Python 3rd Edition by Mark Lutz has example code (below) where a variable seems to be assigned with options ("or") but what the criteria for selecting the options is not clear. The explanation is almost non-existent but I think this is to do with feeding in a variable number … | |
please help i would like to Write a program that inputs three integers from the keyboard and prints the sum, average, product, smallest and largest of these numbers. | |
my application backup is not able to locate the database file when I instal the application setup it only works when I debug it. this is my code: dim path as string = application .StartupPath & "\POPdatabase.mdb" dim backup as new folderBrowserDialog if folder.showdialog()=windows .forms.dialogResult.OK Then backuptextbox.text =folder.selectedPath End if … | |
This is the problem: Write a class EncryptableString that is derived from the STL string class. The Encryptable string class adds a member function void encrypt( ) that encrypts the string contained in the object by replacing each letter with its successor in the ASCII ordering. For example, the string … | |
iam trying to create a smotth transition between 3 images inside a div using jquery. i have managed to get the needed opacity transition on moving mouse to any side of the div.Now i want to have some change in position also like this [Click Here](http://www.adhamdannaway.com/) But iam changing the … | |
What is the best way to read a text file and print to console, then grab that string and convert string to a const char? ![]() | |
Instead of entering text to console, I want to use the text from a text file and use this function and method to do a concordance count of words and how many times they appear in the text file. check line 137 #include "stdafx.h" #include<stdio.h> #include<stdlib.h> #include<string.h> #include<conio.h> #include<ctype.h> #include … ![]() | |
Hello ! i'm working in dreamweaver , and i have 2 lines : $part="..\fl1\"; echo "OK"; Dreamweaver produce an error in second line. if i change the first line to $part="..\fl1" everything is ok. what is the problem with the \ character at the end ? thank you. ![]() | |
Dear Sir, I have following code <html> <head> <title>Javascript function </title> <script type="text/javascript"> function hello(){ var xx=eval(form1.text1.value); var yy=eval(form1.text2.value); if (xx>0 && xx>yy){ alert("Amount 1 is greater") form1.text3.value=("Amount 1 is greater") }else{ alert("Amount 2 is greater") form1.text3.value=("Amount 2 is greater") } } </script> </head> <body onload="form1.text1.focus()"> <center> <h1 style="color:#2c80d3 ">Javascript … ![]() | |
$newtypeid=$_REQUEST['newstype']; $action = (isset($_REQUEST['action'])&& $_REQUEST['action'] !=NULL)?$_REQUEST['action']:''; if($action == 'ajax'){ echo "newtypeid is".$newtypeid; -------------- //some stuff here } How to get $newtypeid value inside if statement. ![]() | |
Hey all, this is kind of a 3 part question/request. I have a contact form where I want online users to fill in their name, email and message and press submit to send that information to the site admin. I want to do 3 things with this. 1) I want … | |
Hi all, I am trying to connect to a remote server, I am using the IP address server name and folder to connect, not sure if ths is working? I am aslo getting an error on the final foreach loop (`foreach ($files as $file) {//print array`) Warning: Invalid argument supplied … ![]() | |
Hello! I am a newbe to python and apologize in advance for this question, because I am sure it is an easy fix that I am oblivious too - I wrote this simple program for a guessing game- very basic, which is fine - but when you get to the … | |
Hello, i would like to allow the user to press Retry button from msgbox only 3 times. I just don't succedd to do it, here is my code if anybody can help me? Private Sub cmdValid_Click() Dim Response As Integer If txtPassword.Text = txtPassword.Tag Then MsgBox "You've passed security!", vbOKOnly … | |
Hi there, I am a newbie in programming. Python is my choice. because it is easy to learn. But the Tkinter GUI making is horiible. I don't like to write code for GUI. I like the visual basic method. So i installed Qt Designer. But i don't know how to … | |
I have been working on this code (school assignment) for a few days now. It seems to be almost finished, but I am not sure what's going on. When I run it in an online complier, it displays correctly, which is supposed to look something like this "12345" "1234500000" However, … | |
Here is a simple implementation of implementing a simple Left trim (ltrim) and Right trim(rtim) of unwanted characters from a C style string. (null terminated strings). Doesn't suffer the overheads of the memmove implementation in which the worst case scenario (a string containing all junk characters) is approx. N^2 / … | |
#ifndef BASE_H #define BASE_H class Base { public: int m_nValue; Base(int nValue=0) : m_nValue(nValue) { std::cout << "Base" << std::endl; } }; #endif #ifndef DERIVED_H #define DERIVED_H #include "Base.h" class Derived: public Base { public: double m_dValue; Derived(double dValue=0.0) : m_dValue(dValue) { std::cout << "derived se" << std::endl; } friend … | |
I have added a access database to my project and created the connection, dataset and all via the wizard. But when I run the program I encounter error > An unhandled exception of type 'System.TypeInitializationException' occurred in System.Data.dll > Additional information: The type initializer for '<Module>' threw an exception. From … | |
hi I have create VS project using C#, I am using Crystal Report when i run project using VS 2010 The Crystal report work very well, but when i create setup from project and run the project after download setup the crystal report does not open, - Although i am … | |
Ive tried everything, even typing the whole thing again from scratch but it doesnt seem to work. Please help about the error on line 9. Coding below: 1. <?php 2. $name = $_POST['name']; 3. $surname = $_POST['surname']; 4. $company = $_POST['company']; 5. $email = $_POST['email']; 6. $contact = $_POST['contact']; 7. … | |
hi how can i fetch data from the database and stroe it into session variable. my code: $sql = "SELECT password, fullname, username, active FROM ".$mysql_table." WHERE (username = :username OR email = :username) AND password = :password"; $statement = $pdo->prepare($sql); $statement->bindValue(':username', $_POST['username']); $statement->bindValue(':password', md5($_POST['password'])); $statement->execute(); $result = $statement->fetchAll(PDO::FETCH_ASSOC); if … | |
var tabLinks = new Array(); var contentDivs = new Array(); function init() { // Grab the tab links and content divs from the page var tabListItems = document.getElementById('tabs').childNodes; for ( var i = 0; i < tabListItems.length; i++ ) { if ( tabListItems[i].nodeName == "LI" ) { var tabLink = … | |
How can I change the time that the images of my website (www.eduardlid2013.com) change faster? | |
Hello, I have a form that retrieve the data from the database, which it depends on the expenses ID, then I want to send email to the employee to notification him that his expenses claim has rejected. The problem is on the phpmailer that does not take the value of … | |
how do you use two datareaders at the same time in a vb.net windows application ? for example: while(datareader1.read()) while(datareader2.read()) end while end while this is not allowed even though both datareaders have two different sets of data. can someone help me out with this please..is there another way to … | |
Hello I would like to know how can we make speech to text PHP based application. Any API reference and tutorial. | |
Hy my apache2.4.6 is not reading htaccess files My 000-default.conf file is <VirtualHost *:80> # The ServerName directive sets the request scheme, hostname and port that # the server uses to identify itself. This is used when creating # redirection URLs. In the context of virtual hosts, the ServerName # … | |
Dear Sir, I have modified your codes once again as <?php if (isset($_POST['button1'])){ $name=$_POST['text1']; }else{ $name=""; } if ($name) { echo 'My name is ' . $name; }else{ echo 'No name entered'; } ?> <html> <head> <title> First form </title> </head> <body> <form name="aa" method="POST"> Name <input type="text" name="text1" value=""> … | |
I am a computer science student and i have to do a miniproject using only c.my project title is "to estimate time complexity of a given algorithm/program code.please tell me how can i initiate that i tried counter,line count it couldn't help,i have to submit my project at the first … | |
hi, my professor ask us to create a program that has auto logout feature after 2mins or set my own time to logout, after the user logged in to the machine, if ever he or she left it without pressing the logout after 2 mins of being idle or standby … | |
Hi guys, I have a table called "goodsbalance" qtyBalanceID | k8goodsID | goodsIn | goodsOut | qtyBalance ---------------------------------------------------------------------------- Can I do some calculation like this? $query_recgoodsbalance = "SELECT * FROM goodsbalance"; $rs_recgoodsbalance = mysql_query($query_recgoodsbalance); $rec_goodsbalance = mysql_num_rows($rs_recgoodsbalance); while (($reck9goodsout = mysql_fetch_array($rs_recgoodsbalance) )!= false) { $query_UgoodsOut = $rec_goodsbalance['goodsOut'] - $_POST['k9goodsQty']; $rs_UgoodsOut … |
The End.