199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for EPierre

Date: January 22, 2011 Hi, Need some help to solve this error. Nothing similar in the forum, IMHO. [B]Environment:[/B] [QUOTE]phpMyAdmin – 3.3.9 with this info: # Version MySQL client: 5.0.51a # Version MySQL: 5.0.45 # Server: Localhost via WAMPSERVER 2.1 # PHP 5.2.6 # Apache 2.050 [/QUOTE] [B]TABLE [/B] DROP …

Member Avatar for smantscheff
0
133
Member Avatar for Sai Isha

hello everyone, i have a gridview which i have already populated and i got a foreign key Faculty_ID, which i display on the gridview , Now i want to display the Faculty_Name for that Faculty_ID. Can anyone help me out to do this part???? MY CODES BELOW WORKS FINE.. jst …

Member Avatar for Sai Isha
0
433
Member Avatar for jackabascal

I actually do not program in Java, I'm more of a C# and C++ person myself. But i do have a question regarding executable jar files. I have an executable .jar file that I would like to run, however can not. A console keeps flashing on the screen and dissapearing, …

Member Avatar for masijade
0
149
Member Avatar for smchauhan

Hi, I m developing a web application for video streming, but my client requires that as the user loging or singin in the site the web cam must be start automatically, and if the hardware is not found than a prompt must be displayed that "Your system doesn't support webcam …

Member Avatar for vicfen2k9
0
116
Member Avatar for Gsterminator

How do i call back a variable in void method into the main method?? [CODE]public void multiply (int x) { Vector3 v3 = new Vector3(num1*x,num2*x,num3*x); }[/CODE]

Member Avatar for Gsterminator
0
173
Member Avatar for neelle26

[CODE]Option Explicit Dim temp As Integer Private Sub Form_Load() Text1.Enabled = False Text1.MaxLength = 10 End Sub Private Sub Command1_Click() Text1.Text = Text1.Text + "1" End Sub Private Sub Command2_Click() Text1.Text = Text1.Text + "2" End Sub Private Sub Command3_Click() Text1.Text = Text1.Text + "3" End Sub Private Sub Command4_Click() …

Member Avatar for abelingaw
0
114
Member Avatar for tuanpq

Dear all, I'm a newbie Outlook Add-in and I have developed a small Outlook Add-in, but now I have an issue with the Add-in. Sample source code is bellow: [CODE] using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml.Linq; using Outlook = Microsoft.Office.Interop.Outlook; using Office = Microsoft.Office.Core; using System.Windows.Forms; …

0
107
Member Avatar for PM312

How can i generate next increment number for alphanumeric serial . i.e first cheractor is alphabet and next four cherectors are numeric. ( N1125 )

Member Avatar for debasisdas
0
73
Member Avatar for krnekhelesh

Create a Quine, that is, a program that prints out its own source code. (Expert) In this thread [B]Read Me: C / C++ FAQ's and Practice problems[/B] started by ~s.o.s~ how do you create this program.

Member Avatar for mahaju
0
2K
Member Avatar for owaka

I want to develop a website for a bus online booking system using dream weaver.pls help me guys

Member Avatar for ecmcircle
0
119
Member Avatar for NikRadSystem

dear Experts. I have a Automation Program ,Communicates with Word2010. I want to Disable Close command on System Menu and Title bar. I wrote this code by get Error on Line that Highlithed by Red: [code] Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click Const MF_REMOVE …

Member Avatar for NikRadSystem
0
289
Member Avatar for andrewliu

Hello if my page outputs a certain item number from my database, how do i put that item number into my javascript? [CODE] '<div class="update".$item_id.">'; [/CODE] say i have $item_id and it various how do i put it into javascript code? would it be the same thing? I can just …

Member Avatar for andrewliu
0
159
Member Avatar for aitha

Hai i'm new to the ajax please help me to resolve this my problem. Following is the ajax code i'm using. If the ready state is 4 i'm assinging 1 to 'y'. after that if i'm going to print y it's showing undefined. what is the wrong with my code. …

Member Avatar for aitha
0
158
Member Avatar for ShadyTyrant

I am trying to optimize some code I have written. I do not wish to add 0 to my list if it is already set to zero. So it only needs to be changed if the letters or words do not match. Here is the working code (You will also …

Member Avatar for ShadyTyrant
0
586
Member Avatar for cloudspade

WHY SOME COMMANDS DONT WORK IN CMD LIKE "@" my program always have an error whenever i have this command!

Member Avatar for Ancient Dragon
0
84
Member Avatar for dynaflex

I need to write a program that implements this algorithm. create a hash table. for each word in words.txt sort the letters in word and use that as a key enter the(key, word) pair into the hash table prompt the user for a string while the string s not empty …

Member Avatar for TrustyTony
0
99
Member Avatar for dynaflex

I need to modify this code to promt the user for a word and display how many times the word appeared in the input file. class HashTable( object ): """A data structure that contains a collection of values where each value is located by a hashable key. No two values …

Member Avatar for TrustyTony
0
175
Member Avatar for MasterGberry

I am getting the correct chars when i read each individually such as data.at(0), (1)...etc. But when I am trying to read them into variables, i am getting some weird values for some of these. For instance: Getting value of 3, i should be getting the value of 1311780402 Also …

Member Avatar for MasterGberry
0
508
Member Avatar for cristi08
Member Avatar for lashbandi

this was the instructions... "Write a short Java program that takes two arrays a and b of length n storing int values, and return the dot product of a and b. That is, it returns an array c of length n such that c[i] = a[i] . b[i], for i …

Member Avatar for DarkLightning7
0
768
Member Avatar for debayanmitra

I'm stuck in a problem.. I want to use two combo let Country and City, where City list depends on the Country combo, How can I don do it with HTML and PHP only? Thanks.

Member Avatar for Shanti C
0
119
Member Avatar for jordan0420

I am currently working on my first serious GUI application in python using Tkinter. I currently have a toplevel window that opens from the root window. when i envoke the window from the root i can see all 7 of my other widgets, but the widget: btncancel = Tkinter.Button(addboard, text …

Member Avatar for jordan0420
0
6K
Member Avatar for airick10

I have two separate pages. One page I'm using some UPDATE queries and the second page uses an INSERT query. Neither are updating my database. I can read the database from php, but not update it. Is my syntax correct? I know I can make it more efficiant, but I …

Member Avatar for chrishea
0
139
Member Avatar for lauzza.vauzza

Hey need to create tic tac toe but which reads from tester file - after the right direction to go from here, on how to implement it [CODE]import java.util.*; public class TicTacToe { public TicTacToe() { Scanner input = new Scanner(System.in); char[][] board = new char[3][3]; // Sets up game …

Member Avatar for DarkLightning7
0
160
Member Avatar for rusl07cl08

These are the problems: Ground Beef Value Calculator Different packages of ground beef have different percentages of fat and different costs per pound. Write a program that asks the user for: 1. The price per pound of package "A" 2. The percent lean in package "A" 3. The price per …

Member Avatar for DarkLightning7
0
2K
Member Avatar for shawnhanna

Hello, I am new to C++ windows programming and have only taken 1 class in c++ in my life (I have experience with other languages and OOP). I'm using Visual C++ 2008. and my project is created by the wizard for a Windows Forms Application. (I'm guessing this means CLI …

Member Avatar for shawnhanna
0
700
Member Avatar for lochnessmonster

[url]http://pastebin.com/uG54nJsv[/url] trying to make a linked list and C and for some reason it keeps crashing...the program is compileable if you'd like to see the memory error. I think my problem is with my pointer and dynamic memory allocation. -thx

Member Avatar for lochnessmonster
0
83
Member Avatar for wewehalim

Hi, So i have 2 form, each has 1 datagridview. In the FORM1, the datagridview contain some product column and user can input the number of product quantities they want to buy. if user press the "buy" button, i want it to open FORM2, with datagridview containing the list of …

Member Avatar for sandeepparekh9
0
291
Member Avatar for ON_Jtharpe

Hi Guys I am new to PHP and slowly learning. I have a piece of code that I need some help with. I am trying to take user input and use it to query data from a table in MYSQL. I know all my connections are working because I can …

Member Avatar for lyrico
0
247
Member Avatar for misterx100

Hi, I'm desperately looking for a free Wordpress plugin, which could easily "lightbox" HTML code. Best, MisterX

Member Avatar for The5sisters
0
83
Member Avatar for JayWeb

Hi, I have a small issue, wondering if anyone could help. I have a form, FormBorderStyle is set to None. I have a groupBox on the form called gbLogin. I want to be able to move the form via anywhere on the groupBox. I have searched the net and have …

Member Avatar for kvprajapati
0
169
Member Avatar for pseudorandom21

Hello, I thought I was doing things right when I created a delegate to call a function to access the container's data, but it still throws an exception. I have something similar to: [code] public ref class myform : public System::Windows::Forms::Form { private: System::Windows::Forms::ComboBox^ form_combobox; private: delegate String^ getItemDel();//<-- delegate …

Member Avatar for pseudorandom21
0
162
Member Avatar for saveme123

I need help with my code for computers, our final assignment is to make a simple game, so I decided to do Hangman. This assignment is worth 20% of my final mark due on Monday so if anybody could help me with it I would really appreciate it. (I'm still …

Member Avatar for saveme123
0
203
Member Avatar for Joe34

My code is suppose to crawl web pages, index the links, then crawl those web pages and on and on again! But it won't work? I get no errors what is wrong? I think it gets into the foreach but doesn't make it to the $DCheck if statement! [CODE]<?php if(empty($_SESSION['page'])) …

Member Avatar for lordspace
0
248
Member Avatar for brown23

Hey Guys, Struggling a bit here trying to get my head around something. I'm not a PHP expert, but I feel I've come a long way in the 6 months or so I've been learning it. Anyway, I thought I would pluck up the courage to build my own custom …

Member Avatar for lordspace
0
145
Member Avatar for ello

Could anyone just help me out with this. I'm trying to get my AJAX to simply echo what's in my php file when a click a link: AJAX: [code] $(document).ready(function(){ $("#gentest").click(function(e){ e.preventDefault(); $.getJSON("char_con.php?", {act: 'char_con'}, function(data){ $(".x").html(data); }); }); }); <div class="box"> <a href="#" id="gentest">Generate Quote</a> <div class="x">TEST</div> </div> [/code] …

Member Avatar for ello
0
107
Member Avatar for schalkl

Hi Guys The following question is related to the following url: [URL="http://www.sheltonwebdevelopment.com/blog/2010/03/01/calculating-totals-with-jquery/"]http://www.sheltonwebdevelopment.com/blog/2010/03/01/calculating-totals-with-jquery/[/URL] I have just a small question now regarding the dropdown. I am sure its related to an 'id'. Here is my script: [CODE] 1. <td><?php echo "<select name=\"field1\" class=\"qty\" onchange=\"calcTotal();\">"; ?> 2. <?php 3. for($i=0;$i<=50;$i++){ 4. echo '<option …

Member Avatar for Airshow
0
141
Member Avatar for Sorcher

Hello! I am trying to make this work. [CODE]//make user folder $userid = $_SESSION['loginid']; $userdir = "./u/".$userid."/"; if (!is_dir($userdir)) { mkdir($userdir,0777); copy("/home/users/web/b681/ipg.xxxx/shack/u/index.php","/home/users/web/b681/ipg.xxxx/shack/u/".$userid."/index.php"); echo "Your directory was created. This is where all your files will be stored.<br>"; } else echo "";[/CODE] This part of the code is Ok but it does …

Member Avatar for lordspace
0
2K
Member Avatar for CharlieNewey

Hi, I was pondering this earlier and wasn't sure if it was possible. Say, for example you had 2 objects; [B]spam[/B] and [B]eggs[/B], and you wanted to create a function to change attributes - e.g. colour. So spam.colour = 'Blue' and eggs.colour = 'Green'. How would you change that attribute …

Member Avatar for griswolf
0
383
Member Avatar for Sonny101

Hi, Sorry for my ignorance but the problem I have is probably so simple that I cannot seem to find an answer for it. I am just learning about the Java.Util Package but in following my course module I am getting an error. here is the simple code : [CODE]import …

Member Avatar for Sonny101
0
138
Member Avatar for LianaN

Hi! I would like to create a button for deleting all JLabel components on JDesktopPane. My code is shown below. The error message is shown below the code. For instance, let's say there are 3 JLabel components (the 4th is not JLabel). In this case, only 2 of 3 JLabel …

Member Avatar for LianaN
0
130
Member Avatar for muloki

I'm writing an application using jdbc connection to access and want display a sql query using the number of rows found to declare an array of JTextFields. Not only does nothing display but also getting an Error: java.lang.ArrayIndexOutOfBoundsException: 00. Can anyone help please. [CODE] private void selItActionPerformed(java.awt.event.ActionEvent evt) { // …

Member Avatar for vealparry
0
178
Member Avatar for curbster

Hi, I'm in my first Java class and I am working on a problem that I could solve if I just figure out how to convert a char to an int. i.e. convert A to its letter equivalent with a function like this: [CODE] intLetter = charLetter.parseInt(); [/CODE] am I …

Member Avatar for curbster
0
1K
Member Avatar for megaLU

Hello, I'm just wondering how you return a vector from a member function. I've looked online but had no luck. At the moment my function is set to long double, and when I tried setting it to std::vector it came up with lots of errors. Here is my code: [code] …

Member Avatar for megaLU
0
2K
Member Avatar for MaddTechwf

I have a zip file on a CD that has an EXE in it that I want to run. Is there a way that I can use Process.Start() to extract the zip to TempDir and then launch the exe?

Member Avatar for Oxiegen
0
106
Member Avatar for muloki

I,ve set up a JTable and want to populate it from an Access database useing jdbc odbc. The data returned is placed into an array but my problem is how to use the array results with... jTable1.setModel(new javax.swing.table.DefaultTableModel( new Object [][] { {list[0], list[1], list[2], list[3], list[4]}, }, new String …

Member Avatar for vealparry
0
4K
Member Avatar for .It.

Hi all, how could you initialize, through a loop, a c array? For instance, say I have [CODE] #define SIZE 10 int test[SIZE]; for (unsigned int i = 0; i < SIZE; i++) { test[i] = 0; } [/CODE] How can I make use of some Assembly to loop through …

Member Avatar for .It.
0
164
Member Avatar for forfreaks

[code] class trans { int m,n,l=0,k=-1,total,no=0; void det(int t) { total=t; } char[][] s5=new char[total][total]; char[][] s6=new char[total][total]; //rot90 public int rot90 (char[][] s2,char[][] s3) { for( m=0;m<total;m++) {l=0; for(n=total-1;n>=0;n--) { //[B][COLOR="Red"]line33[/COLOR][/B] s5[m][l]=s2[n][m]; [COLOR="Red"][B]\\Exception in thread "main" \\java.lang.ArrayIndexOutOfBoundsException: 0 \\at trans.rot90(gift1.java:33) \\at gift1.main(gift1.java:208)[/B] [/COLOR] l++; } } if(s5==s3) { return …

Member Avatar for vealparry
0
111
Member Avatar for Masood_786

Hi All i have downloaded following code from web that inputs sound samples and displays spectrum, i want to print frequencies present in each second in the spectrum.i.e when ever the spectrum is displayed i want to print those frequencies as well on the console. Below is the code i …

Member Avatar for ssharish2005
0
345
Member Avatar for ben.marks

Hi there, I am having a Javascript problem and any help would be apprecated. I am trying to test the input for if length = 1 then add on a 0 as this would mean if the user wanted £1.20 if would come out as £1.20 and not £1.2 as …

Member Avatar for Airshow
0
288

The End.