199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for kyle.mace.35

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 …

Member Avatar for turboscrew
0
6K
Member Avatar for monkeytherat

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.

Member Avatar for designershiv
0
345
Member Avatar for old_apache

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)?

Member Avatar for pitic
0
170
Member Avatar for amalcolm96

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 …

Member Avatar for jwenting
0
394
Member Avatar for fuhanspujisaputra

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. …

Member Avatar for stultuske
0
269
Member Avatar for Yousha

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" …

Member Avatar for ryan.ally2
0
406
Member Avatar for govindgupta
Member Avatar for Saboor880

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 …

Member Avatar for Saboor880
0
543
Member Avatar for mario90

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 …

Member Avatar for mario90
0
256
Member Avatar for cobalt555

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 …

Member Avatar for DavidB
0
120
Member Avatar for 2butawil

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. …

Member Avatar for DavidB
0
148
Member Avatar for sohail.comsians

i would like to develop a chatroom with video calling so help me. Is there any function to call the webcam on page??

Member Avatar for isaac.iji.5
0
277
Member Avatar for isaac.iji.5

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

Member Avatar for isaac.iji.5
0
134
Member Avatar for ishancoolstar

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 …

Member Avatar for ssj005
0
321
Member Avatar for stevewilliams02

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 …

Member Avatar for sneekula
0
192
Member Avatar for raidenx44

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 …

Member Avatar for raidenx44
0
144
Member Avatar for saja.omarii.7

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.

Member Avatar for Jamblaster
0
338
Member Avatar for robert99x

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 …

Member Avatar for robert99x
0
293
Member Avatar for qhweeman

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.

Member Avatar for Jamblaster
0
169
Member Avatar for add.steve

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 …

Member Avatar for Ancient Dragon
0
874
Member Avatar for princessophia

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 …

Member Avatar for tinstaafl
0
1K
Member Avatar for anuran

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 …

Member Avatar for anuran
0
434
Member Avatar for VUEKID

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?

Member Avatar for iamthwee
0
496
Member Avatar for VBOI

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 …

Member Avatar for iamthwee
0
180
Member Avatar for mysybet

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.

Member Avatar for diafol
0
174
Member Avatar for tqmd1

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 …

Member Avatar for diafol
0
179
Member Avatar for jacob21

$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.

Member Avatar for diafol
0
262
Member Avatar for leroy green

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 …

Member Avatar for leroy green
0
297
Member Avatar for davidjennings

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 …

Member Avatar for diafol
0
402
Member Avatar for Pioggia254

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 …

Member Avatar for vegaseat
0
173
Member Avatar for alina.nazchowdhury

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 …

Member Avatar for alina.nazchowdhury
0
544
Member Avatar for vinodvinu

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 …

Member Avatar for vegaseat
0
446
Member Avatar for KAMAE94

a C++ program that reads in two partially filled arrays. One array contains student IDs (with int type) and the other contains GPAs (with double type). The program will sort the two arrays according to the student ID and print out the results?

Member Avatar for iJimJones
0
160
Member Avatar for prettyknitty

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, …

Member Avatar for Ancient Dragon
0
913
Member Avatar for ~s.o.s~

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 / …

Member Avatar for Ancient Dragon
0
3K
Member Avatar for skyyadav

#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 …

Member Avatar for gerard4143
0
322
Member Avatar for Raaif_1

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 …

Member Avatar for Mr.M
0
368
Member Avatar for IT_Techno

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 …

0
127
Member Avatar for Hannah Sibongile

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. …

Member Avatar for Hannah Sibongile
0
212
Member Avatar for Eagle.Avik

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 …

Member Avatar for Eagle.Avik
0
272
Member Avatar for nadiam

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 = …

Member Avatar for noelthefish
0
3K
Member Avatar for eduardar

How can I change the time that the images of my website (www.eduardlid2013.com) change faster?

Member Avatar for eduardar
0
223
Member Avatar for Nadera

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 …

Member Avatar for AARTI SHRIVAS
0
178
Member Avatar for rheanqoh

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 …

Member Avatar for RomelynCastillo
0
316
Member Avatar for malisubhani

Hello I would like to know how can we make speech to text PHP based application. Any API reference and tutorial.

Member Avatar for noelthefish
0
158
Member Avatar for dany12

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 # …

Member Avatar for dany12
0
3K
Member Avatar for vbdotnetlover

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=""> …

Member Avatar for vbdotnetlover
0
139
Member Avatar for Pooja_2

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 …

Member Avatar for Pooja_2
0
177
Member Avatar for jemartalaban_1

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 …

Member Avatar for jemartalaban_1
0
278
Member Avatar for sagisgirl

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 …

Member Avatar for sagisgirl
0
147

The End.