199,112 Archived Topics
Remove Filter ![]() | |
i've read many articles and discussions through google, i have followed and corrected all yet still nothing happens. they say that it does not appear if it has no data to display, yet it does have data. i also set AutoGenerateColumns of gridview to true i was using linqdatasource connected … | |
Greetings expert programmers, May i ask for a help on how to solve this error? " A network-related or instance specific error occured while establisihing a connection to sql server. The Server was not found or was not accessible. Verify that the instance name is correct and that SQl server … | |
#include<stdio.h> #include<string.h> main() { int n; char aan = 'y'; while (aan == 'y') { printf("entr ") ; scanf ("%d", &n) ; printf("sq of %d is %d", n, n*n ); scanf ("%c", &aan); printf("\n want aan y/n""\n"); } } I want to make this using while loop. kindly tell me … | |
I'm trying to create a triangle that would be display along side rectangles and circles after I run NervousShapes. I can't seem to get it right. I try doing it with the math but doesn't create the triangle the way I want it. If anyone one has done the NervousShapes … | |
Guys,i want to wait or sleep statement in a Java Desktop application when button press.I used thread.sleep & wait().But it doesn't work.I have a doubt that those functions are working only for console applications.Is it? or can i use it?Plz help me.... | |
hello all, I am trying to create an istock kind of pagination of pictures, I am trying to find out how to do this in php (using divs or tables? not sure which is more suitable)and mysql.(ps is it a bad idea to store pictures in mysql database). I have … | |
Hi everyone, Having difficulty comparing two strings (Inside variables) in php. I have tried several methods, one being strcmp but I think I was doing that incorrectly, and now the simple [B]===[/B] / [B]==[/B] comparison methods. Here is the code: [CODE] <?php if ($pubinfo_username === $currentuser) { echo "<img alt=\"Remove … ![]() | |
did someone know Ms-Dos's dir command i need to take all contets of any folder for using my praggram how can i do that is any one knows? thx for replys | |
In my index.php file I have this $answer = $a + $b; echo '<iframe src="ianswer.php".....etc. etc. ianswer.php contains only the following line echo $answer; But the ianswer.php doesn't know what $answer is. If I change that line to echo "RUBBISH"; The word RUBBISH appears in the iframe. How do I … | |
After marking gofish up to a temporary loss I've moved back to my address book. The issue I'm currently having is that webbrowser is opening the wrong broswer. I've set my default browser to firefox (currently using windows vista), and yet the program is still opening IE, however when I … | |
some one help me pls.. segmentation fault for merge_sort....:( [CODE]#include<stdlib.h> #include<stdio.h> void merge_sort(int [],int ,int ); void merge(int [],int ,int , int); int main() { int i,n,a[25]; printf("enter the no of elements:"); scanf("%d",&n); for(i=0;i<n;i++) { printf("enter the element:"); scanf("%d",&a[i]); } merge_sort(a,0,n-1); for(i=0;i<n;i++) { printf("%d\n",a[i]); } return 0; } void merge_sort(int … | |
I'm doing an exercise about pointers in this C book i'm reading. This code should traverse through a linked list and there's a function that removes an entry from the list. It works, and I don't know why. The function removeEntry is undeclared int the main() function. Here's the code: … | |
I have to get this program to read from a text file and write the data to another text file. The problem i'm having is the format. It's typing everything on one line [CODE]#include "stdafx.h" #include <iostream> #include <fstream> #include <iomanip> using namespace std; //reading data from a file int … | |
Hey, I'm having a problem executing the following code: [CODE] <?php session_start(); require('connect.php'); if($_POST['username'])){ $name=$_POST['username']; $checkUsername = mysql_query("select * from users where UserName='$name'"); if(mysql_num_rows($checkUsername){ echo 'Logged in successfully!'; $_SESSION['username'] = $name; } else{ echo 'The username or password you've entered is not valid!'; } } ?> [/CODE] | |
I've created a gui for the day of the week program. The problem that I'm having is adding functionality to this program. I would like this program to allows a user to select a month and day from choice menus, and enter a year in a text field. Whenever the … | |
I need help with this program where the program has a textbox that will allow you to input the strings, and then it will output how many letters, numbers, and special characters can be found on the given input. The design goes like this: [url]http://i.imgur.com/nwfDl.png[/url] | |
i got a large picture box sent to the back with a default image. i got a few picture boxes set to transparent and they are placed in front of that large picture box. these picture boxes have no images, just set to transparent in the properties. I use the … | |
Hi! I got this image uploading script that will upload the user's choosen picture, and save it in the user's folder with the users nickname. Now, when i got the picture uploaded i want to resize it to 3 exact sizes (3 versions of the image). 240x250 and 2 other … | |
Hi all, I'm just working on a little Allegro 5 puzzle game for a bit of fun and practise between jobs. Anyway, I have a bit of an optimization issue. It's a board based game where you have an 8x8 board with each square having a value of 0-3 representing … | |
I am trying to create a program for the RSA algorithm. I have managed to get the public keys, but I hit a brick wall trying to figure out how to generate the secret key. I have tried, but the output is either incorrect or doesn't output at all. my … | |
$pimg="../pimages/".$_FILES[p_img][name]; move_uploaded_file($_FILES[p_img][tmp_name],$pimg); image does not move into image folder ![]() | |
Three files. A simple contact form. I am trying to get checkboxes & dropdowns to work, but so far, only (1) dropdown works, and after going at it for hours, have found no error in the <form> itself. Not a PHP genius, so maybe it has something to do with … | |
I Keep Getting This Error Please Help? Parse error: syntax error, unexpected T_VARIABLE in C:\xampp\htdocs\Bot.php on line 897 <?php declare(ticks=1); set_time_limit(0);//DO NOT REMOVE THIS IF YOU ARE GOING TO USE XAMPP!!!!! class XatBot { var $creator = array('name'=>'MisterBlaze', 'id'=>'370058127'); private $roomID = "152905091"; //152905091 private $botName = "BlazeBOT"; var $botID … ![]() | |
i have this 2 custome modules and when i try to call module turtle i get an error message and i dont know what it means or better said i dont know where seems to be a problem. i think it should work just fine this is the message i … | |
I don't know where did I do wrong here, but it is a compiler error. I was try to create an Arraylist that can store the double value. For some reason, I got a compiler error when I try to create an Arraylist. By the way, the assignment specifically ask … | |
how do I get the css and the html into the function? [code]<html> <head> <script type="text/javascript"> function myFunction() { return ("Hello world!"); } </script> </head> <body> <div style="float:right;"> <script type="text/javascript"> document.write(myFunction()) </script> </div> </body> </html>[/code] | |
Pls help me with this... [CODE] //FINANCE.PHP <form id="frmpay" name="frmpay" method="POST" action="finance_payment.php"> <input type="radio" name="seltour[]" value="<?php echo $tour_code; ?>"> <input type="submit" value="input" name="submit" /> </form> [/CODE] once submitted.. [CODE] //FINANCE_PAYMENT.PHP if(isset($_POST['submit'])) { for($i=0;$i<$numrow;$i++){ $code = [B]$_POST['seltour'][/B][$i]; $query = "SELECT tour_amount, tour_name FROM `tbl_tour_profile` WHERE tour_code = '[B]$code[/B]'"; $result = mysql_query($query); … | |
What will happen? Here's a code that i tried, it works but i don't really get what's actually happening or how many instances of the static test t are getting created. [CODE] #include<iostream> using namespace std; class Test { public: static Test t; void hello() { cout<<"this line shall be … | |
Hello~ I'm having a little problem on how to make a timer which include minutes and seconds. The design of the form goes like this: [url]http://i.imgur.com/lh1pk.png[/url] Another condition here is when the timer goes down, the interval gets faster. Please help me~ | |
Can someone explain why, when I input 'mytag' it does find it? When I debug, it shows the text matches, but the IDs are different. Not sure why that would matter? [code=java] public void RemoveTag() throws IOException, NoSuchTagException{ System.out.printf("Tag to delete: "); BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String tempTagText … | |
Hi, I am using CKEditor (FCK) and I want to filter certain things from being used by users like (.com, <, >) symbols and words. Is there any plugin available for this or in which way i can do this? any help please.. thanks rave ![]() | |
import java.awt.*; import javax.swing.*; import javax.swing.table.DefaultTableModel; import java.util.Vector; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.text.MaskFormatter; import java.sql.*; import java.awt.event.MouseListener; import java.awt.event.MouseEvent; class MyFrame extends JFrame implements ActionListener,MouseListener{ Container c; JLabel lRollNo,lName,lAge,lMarks; JTextField tRollNo,tSName,tMarks; JTextField tAge; DefaultTableModel mStud; JTable tStud; JButton bAdd,bNew,bRemove; MyFrame(){ c=getContentPane(); setLayout(null); setTitle("My Frame"); setSize(800,700); setLocation(10,10); lRollNo=new JLabel("Roll no"); … | |
How to do graphics in visual c++. Is it possible to run a graphics program in c++? | |
Hello! any expert can help me. Please. I'm design a form with click Search button to search date and display data in datagridview. but when I set my access database OTDate column as Date, It will cause data mismatch problem. however, set OTDate column as Text is fine. But it … | |
Hi, I am a very new programmer, I started dabbling with python script only 2 days ago because I was on a quest to build a [URL="http://en.wikipedia.org/wiki/Roguelike"]roguelike[/URL] game, and I found a good informative tutorial on how to do this using python and an API called libtcod. So I figured … | |
I need to export data from excel to datagrid and have done it..whole excel data is displayed in datagrid..coding but i got an error when Conversion from type 'DBNull' to type 'String' is not valid coz' i have some null data in my excel file | |
my project is on education with fun so i want to add sound API for alphabets for example:if alphabet a is pressed then in picturebox image of apple is diplayed and we can hear a sound that is "a for apple"....how to do so???? | |
Hi I am trying open a record from a shelve db I Know that it stops working at `copy = db[opened]` But why please help ASAP #*****START VARIABEL BLOCK***** #file = the database/shelf file #db = the database/shelf object #tapp = to be appended/recorded to the database #keys = a … | |
Hi, This is just part of a bigger program I'm writing, but at the moment I don't know how to do what I'm about to say. So first, the user enters a sentence. Now, I have a text file with sentences to match it to. So let's say the first … | |
hi. I need to create a table, but I want to set three forgein key each one of different tables. Is that posible to do with oracle? | |
Ive wrote a small program to open at startup, but i want to give the user a chance to delete it from showing on startup by clicking a button. But it needs to be compatible on XP, Vista and Windows 7. Is there a line of code which will get … | |
Hi I am using the following to auto search db [CODE] Dim connString As String = My.Settings.strConn Dim conn As New SqlConnection(connString) Dim cmd As New SqlCommand("select firstName, existing from tenant Where (existing = 1)", conn) Dim da As New SqlDataAdapter(cmd) Dim ds As New DataSet Try conn.Open() da.Fill(ds, "List") … | |
hello, i want to calculate total salary according to attending days. please help me in coding. | |
Hello, currently new to C++ and learning the ropes. I'm trying to create a simple database-like program, but the following code doesn't output any meaningful data. The program compiles fine, though. The rest of the program is still under work, so I'm just posting the relevant parts which I think … | |
showing illegal start of expression in defining functions of mouselistener interface import java.awt.*; import javax.swing.*; import javax.swing.table.DefaultTableModel; import java.util.Vector; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.text.MaskFormatter; import java.sql.*; import java.awt.event.MouseListener; import java.awt.event.MouseEvent; class MyFrame extends JFrame implements ActionListener,MouseListener{ Container c; JLabel lRollNo,lName,lAge,lMarks; JTextField tRollNo,tSName,tMarks; JTextField tAge; DefaultTableModel mStud; JTable tStud; JButton … | |
I'm working in this project that has a feedback form and in this feedback form there is only body, so it doesn't ask for subject and who it's from. And all the messages send from will go to a custom mail account, for example [email]Example@custom.com[/email] How can I do this … | |
[B][/B] Hi all, I am trying trying to make both the "Tab Key" behave as the "Enter" key. keys. In otherwords, both the Tab and Enter should acheive the same objective. I am using the code below but only the "Enter" key is working, but the "Tab" key is not … | |
I have two textboxes...on the textchanged event of one textbox, readonly property of other textbox gets defined...e.g. first textbox is retrieving data as add,update,delete...when the first textbox text is changed to update then & then only second textbox readonly property is set to false...Now the problem,I am facing is....whenevr first … | |
Hi, I wants to display my results on the browser. Table1 Table2 sno name sno name 1 sss 3 kkk 2 aaa 4 xxx I need the tables on both side. How can i do this ? Thanks | |
Well, i was wondering if this is possible . If it is possible, can somebody show me how or give me the code ? Im pretty newbie in coding as my only resource of learning Visualbasic is from the internet :/ And , I would like to disable some key … |
The End.