199,112 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for beela16

Python & binary tree help PLEASE?!?????????please please please help me in anyway :'(? Write a Python program that : a: Takes in as input a list of numbers (Note that you have to type in these numbers using the keyboard) using: def insert(tree, key): if len(tree) == 0: return [key, …

Member Avatar for Lardmeister
0
287
Member Avatar for bLuEmEzzy

How to make Month and Celebrants change its color to yellow? Thank You echo date('M'). " ". ('Celebrants');

Member Avatar for simplypixie
0
161
Member Avatar for ccbuilder

Aim of the program to is read to Atmega board, which has portb which is l.e.d . When the input of +25 , it will move the stepper motor forward 25 , and negative -25 move it back. I got stuck after reading the +/- and argv1. any tutorials online …

Member Avatar for VernonDozier
0
168
Member Avatar for joel.hahn

I am having issues with the syntax for a like statement in VBnet. I am using access as a back end. here is the code. Any help would be appreciated. Dim rs As ADODB.Recordset Dim cn As ADODB.Connection Dim strsql As String strsql = "SELECT Count(TractStatus.txOwnerID) AS CountOftxOwnerID " & …

Member Avatar for joel.hahn
0
138
Member Avatar for brajesh79

Hi I am trying to automate svn checkouts using python script. this below command works from windows command prompt. I tried to use subprocess.call and subprocess.Popen , C:/Program Files/TortoiseSVN/bin/TortoiseProc.exe /command:checkout /url: http://xxx-svn/svn/branches/Common/module/Common_Jars_v1_1/lib /path:D:/svn-test1 /closeonend:2 it is not able to recognise the parameter > C:\Users\rajesh\Desktop>python svn-test.py > Traceback (most recent call …

Member Avatar for Lardmeister
0
15K
Member Avatar for HacruLeian

hello, i'm confused here. i have an assignment that required me to create a project registration program that have student, project and supervisor. i haven't start to do it yet. but i've gone through the question. there's a part of the program that need to list out the student's, supervisor's …

Member Avatar for Bob
0
105
Member Avatar for andreasen12N

No, this is not an assignement. Recently I decided to pick up writing code again and the project I started writing I came to a rode block with something that I never learned in class (I don't think). How would I be able to write this better (should I stick …

Member Avatar for np complete
0
120
Member Avatar for zeusprog
Member Avatar for zeusprog
0
3K
Member Avatar for Suzie999

Hi, I'm hoping someone might be able to help me with what I think might be a simple problem. I have came across the need to add to an unsigned char array a literal single quote "'" My question is how can I achieve that? unsigned char uArray[4]; uArray[0] = …

Member Avatar for Bob
0
133
Member Avatar for sritech97

Hi , I have an xml which is in the following format. <root> <x> <y> <uri>ssomeuri</uri> <date>2012-07-11T10:29:08+00:00</uri> </y> </x> <x> <y> <uri>ssomeuri2</uri> <date>2012-07-11T11:01:08+00:00</uri> </y> </x> </root> I wanted to get uris in the order of date. I am very new to xpath, can any body help me on this. the …

Member Avatar for Mike Askew
0
192
Member Avatar for M.Waqas Aslam

hello! i am currently working on a simple file make application , this application read data from foxpro .dbf file , i want to get records between two dates , from date and to date , the invoice date field name is fl02 here is my query but this is …

Member Avatar for neeraj.shorey
0
138
Member Avatar for HibaPro

i used this code to delete row from datagridview but it dosnt delete the selected row it delete the first row , where is the problem?? Dim sCommand As SqlCommand Dim sAdapter As SqlDataAdapter Dim sBuilder As SqlCommandBuilder Dim sDs As DataSet Dim sTable As DataTable ***** Dim connectionString As …

Member Avatar for G_Waddell
0
219
Member Avatar for johncatman

I would like my vb2010 program to click on a javascript element on this webpage depending upon what they choose, here is the source of the rating system, thanks in advance: <div class="basic-info-rating basic-info-user-rating" style="display:none"> <div class="rating quick-rating"> <p class="average rating-3">3 stars</p> <ol class="user" data-analytics='{"click_id":1865,"events":"event6,event7,event24"}' data-ypid="5550608"> <li class="rating-1"> <a data-analytics='{"rating":1}' …

Member Avatar for G_Waddell
0
252
Member Avatar for franzrivas

Hello i am new to programming using Vb.net and we are required to make a web-based application for our thesis .. Can i make a web-based application using vb.net ? sorry for my english ..

Member Avatar for G_Waddell
0
294
Member Avatar for nchy13

hi all. i have implemented Karatsuba algorithm for multiplication of large numbers . when i compile .c file it is giving correct output using followin commands in **linux** terminal. **gcc ulti.c ./a.out < hi.txt** But problem arises when i try to run it in **ARM** using following commands. it give …

0
102
Member Avatar for chira9na9pal

function productview(view) { if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("product_view").innerHTML=xmlhttp.responseText; } } xmlhttp.open("GET","product_ajax.php?result="+view,true); xmlhttp.send(); }

Member Avatar for chira9na9pal
0
262
Member Avatar for shelexelex

Please, i want to compare a column in table with 2 colomns in another table. Such dat if the values on the first column corresponds to the other then it will do something. I've tried SELECT * FROM tblToad frm d first table and then SELECT color FROM tblcolor, bt …

Member Avatar for AndreRet
0
92
Member Avatar for carlospuddwebb

pls help guys i have the digital persona biometric i have the problem in getting the id i need id because im just use id to save into database plss help me tnx.

Member Avatar for AndreRet
0
63
Member Avatar for snehavarade.24

hii..sneha here , i'm studying in te-it, and i was in search for some interesting and innovative topics for my dbms project for which we have to use vb as front end & oracle as back end... so plss can u suggest me some of them.pls avoid regular & popular …

Member Avatar for AndreRet
0
112
Member Avatar for Percival07

Can anyone help with a coding an application to produce rosters for a school time table assigning teachers periods.

Member Avatar for Sunny.W
0
131
Member Avatar for samohtvii

Hi all, I am having trouble getting a tree to and from a text file. The text file will hold questions and animals. Each node should hold one question and one animal. So if you can imagine: Does it have 4 legs? / \ Does it purr? Does it swim? …

Member Avatar for samohtvii
0
3K
Member Avatar for dean.ong.14

<html> <head> </head> <body> <table border='1'> <tr> <th>Agent_ID</th> <th>Address</th> <th>Bedrooms</th> <th>Price</th> <?php $connect=mysql_connect("localhost","root",""); mysql_select_db("ong_assesment',$connect); $query = mysql_query (SELECT Agent_ID,Address/Suburb,Bedrooms/Bathrooms,Price FROM suburbs); { echo '<tr>'; echo '<td>'. $row[Agent_ID].'</td>'; echo '<td>'. $row[Address].'</td>'; echo '<td>'. $row[Bedrooms].'</td>'; echo '<td>'. $row[Price].'</td>'; echo '</table>' mysql_close(); } ?php> </body> </html>

Member Avatar for phorce
0
293
Member Avatar for reco21

Hello. I have this below SimpleXMLElement Object ( [item] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [id] => plid_2 [name] => Playlist [ro] => ro ) [content] => SimpleXMLElement Object ( [name] => Playlist ) [item] => Array ( [0] => SimpleXMLElement Object ( [@attributes] …

Member Avatar for reco21
0
410
Member Avatar for dean.ong.14

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name = "description" content = "Wellington Real Estate"/> <meta name = "keywords" content = "home, housing, Karori, Mirimar, Te Aro, Thorndon, Farcourts, Jonnys, Relax"/> <title> Agents </title> <link rel = "stylesheet" type = "text/css" href = "assessment.css"/> </head> …

Member Avatar for phorce
0
148
Member Avatar for sanjeewa.abeywardana

What is the best and fun way to learn MVC 3 technology that can apply to real production environment? Any web site or sample projects are always welcome. I would always like to learn quick too so any videos are also welcome

Member Avatar for sanjeewa.abeywardana
0
127
Member Avatar for tboctavan

New to C#. This is the code I am working with: using SC = System.Console; public class Lab01 { // Main Method public static void Main() { string hoursWorkedAsString; string payRateAsString; double hoursWorked = 24; double payRate = 11.5; double grossPay = hoursWorked * payRate; double stateTax = 0.04; double …

Member Avatar for nakor77
0
226
Member Avatar for grh1107

Hey, I'm trying to change the color of a textbox border say if a value returned false. private void UserBox_TextChanged(object sender, EventArgs e) { ControlPaint.DrawBorder(e.Graphics, this.ClientRectangle, Color.Red, ButtonBorderStyle.Solid); } } the problem is EventArgs e doesnt have a graphics member, EventArgs should be a PaintEventArgs, but when i change its …

Member Avatar for grh1107
0
186
Member Avatar for Skate Bart

Hi there. I developed a program that creates Data Reports using this way : [Click Here](http://www.vbtutor.net/vb6/lesson40.html) But instead of using "Microsoft Jet 3.51 OLE DB Provider", I used "Microsoft Jet 4.0 OLE DB Provider" because when I used "Microsoft Jet 3.51 OLE DB Provider" it couldn't connect to the database …

Member Avatar for Skate Bart
0
617
Member Avatar for akasekaihime

We are atsked to create a net salary calculator or something that computes the net salary. I used three radio button in which if it is selected, it has corresponding solution for each selection. The three radio button are probationary, regular and permanent.......here is the code Private Sub Command1_Click() Dim …

Member Avatar for akasekaihime
0
228
Member Avatar for markjames2012

Ok i manage to autoselect items on listbox till reach the end of list, but i need it to automatically loop back to the fist selection of indexes when it reach the end list and so on .. i need help on this part newbie here :) if Me.Listboxs1.SelectedIndex + …

Member Avatar for markjames2012
0
2K
Member Avatar for jckb188

I have resorted to everything I can think of and I can't get a PHP variable to go into a form that is onclicked with a Javascript Function... Here is my attempts thus far: 1. Give the div that contains the onclick function the php variable as an id, and …

Member Avatar for Airshow
0
326
Member Avatar for aiki985

I trying to learn HTML by studying code from a downloaded web site. In the HTML code is the following snippet of Javascript. I am so new to Javascript and HTML and have no clue what this snippet is for. Any ideas? function gID(name) { name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]"); var regexS …

Member Avatar for aiki985
0
186
Member Avatar for Sanchixx

I would like to split a txt file that i use as a log in a comment system after each 10 comments how can i do that? Here is my code, Sorry for the bad indentation: <?php $act = $_POST['act']; if ($act == "post") { $name = $_POST['name']; $area = …

Member Avatar for iamthwee
0
138
Member Avatar for Tko_1

hello, im tyring to change script from another page. i would like to change (a > true) to false and back if need be. As a dropdown or radio selection, maybe using variables but everything i have tried i have no luck. <?php if (a > true ) print "a …

Member Avatar for Tko_1
0
289
Member Avatar for iqbal2907

anybody help me "how to write our own (by user) scanf function so that it will works exactly as scanf function defined in liberary, what will be its declaration and definition ".

Member Avatar for deceptikon
0
899
Member Avatar for mookey2011

I am currently working on my computer science project and I am working on transforming a pole into a robot and I cannot seem to get it to work right. I really need some help!! please! I am working with eclipse.

Member Avatar for debasisdas
0
55
Member Avatar for fishsticks1907

hello, im having troblue getting my linked list to show everything on the list. it only shows the first node, and nothing afterwards. #include <iostream> #include <string> class list { private: struct node { std::string name; std::string phone; node *next; }*head, *tail; public: list() : head(0), tail(0) {} ~list(); void …

Member Avatar for fishsticks1907
0
151
Member Avatar for HunainHafeez
Member Avatar for vikuseth

In the below programme i use one boolean variable named check , which is being accessed inside main function by two objects of Tst1 and Test2 . But the value of check variable is not maintained in the programme . we can use static but i want to know some …

Member Avatar for ravenous
0
154
Member Avatar for lse123

trying develop a Russian/English Flag game, given the flag image you choose in Russian or in English modes... Since English country names get from country file image names, can have a Java generic Map key=englishCountryName & value=inRussianEquivalent.... to do the Russian part??? Or exist other way? if you think this …

Member Avatar for lse123
0
191
Member Avatar for inthiran115

#include<iostream> #include<cstdlib> #include<fstream> using namespace std; int main() { int n=3; float total,wait[3]={0}; float p[3],twaiting=0,waiting=0; int proc; int stack[3]; float burst[3],arrival[3],sburst,temp[3],top=3; for(int i=0;i<n;i++) { p[i]=i; stack[i]=i; cout<<"Enter arival time : "; cin>>arrival[i]; cout<<endl<<"Enter burst time: "; cin>>burst[i]; temp[i]=arrival[i]; sburst=burst[i]+sburst; for(i=0;i<sburst;i++) { proc=stack[0]; if(temp[proc]==i) { //temp[proc]=i+1;; twaiting=0; } else { twaiting=i-(temp[proc]); …

Member Avatar for Despairy
0
85
Member Avatar for chris99

Just wondering how the game would be put together, maybe even a step by step tutorial. I could use this to practice with the commands used without Tkinter or Pygame. This could be a good learning experience.

Member Avatar for Jacklittle01
0
1K
Member Avatar for AngelOfRock

Hi guys, i'm trying to program a simple Tic-Tac-Toe game with extern Buttons. When i'm compiling the Code there's no mistake, when i press Button1 every thing ok, but on the most other Buttons a mistake is shown up : Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at grafik.Zeichenfenster.farbeAufloesen(Zeichenfenster.java:330) at grafik.Zeichenfenster.zeichnen(Zeichenfenster.java:276) at …

Member Avatar for JamesCherrill
0
816
Member Avatar for showman13

I have located a potential issue in the correlation between 2 tables and would like to correct it before it actually becomes one. (actually I need to fix it so the new scripting I'm doing will work correctly) I have a member information table called 'members' (38,881 records) I have …

Member Avatar for showman13
0
180
Member Avatar for simplypixie

Rather than write a huge list of properties used by a class I want to know if I can dynamically generate them when needed. I have looked and __set and __get but I am not sure how (or if) I use them with what I am trying to do. The …

Member Avatar for simplypixie
0
5K
Member Avatar for Duki

I'm trying to find an event that handles which tab is clicked? I know it has to be simple, I'm just missing it. I want to say "when tab1 is clicked, do this, when tab2 is clicked, do that"

Member Avatar for xydn
0
106
Member Avatar for I_m_rude

Can i allocate memory to an array of it or char using malloc ? if yes, then why is it so ? And if no then also why ? I am confused a little bit. thanks in advance to james sir ;)

Member Avatar for I_m_rude
0
183
Member Avatar for RecognizeIM

Hi! We're a startup from Poland and we created an image recognition API. It would be awesome, if you could help us with testing. :) You can find our API at: http://recognize.im An example of what you can do with it: http://www.youtube.com/watch?v=K57Q-LVE1XU If you are interested in testing, please send …

Member Avatar for RecognizeIM
0
267
Member Avatar for Sanchixx

How can i reload `$file` with ajax or javascript each 5 seconds? <?php if ('' == file_get_contents($file)) { echo '<div id="shadow">Nobody has commented yet. Be the first? </div>'; } else { include($file); } ?>

Member Avatar for urtrivedi
0
149
Member Avatar for nova4005

Hello, I am new to the forums and I am just starting to learn python. I have been writing the following program and have ran into a problem with getting it to work right. If anyone can offer some advice on what I am doing wrong I would be thankful. …

Member Avatar for nova4005
0
148

The End.