199,114 Archived Topics
Remove Filter ![]() | |
How do i go about creating an exception handler when i want to login to my form to access the rest of my forms. The username and password are linked to server.What if it doesnt connect to server? here is coding for me to login: Private Sub btnLogin_Click(ByVal sender As … | |
Hi, I've been reading into testing my PHP code particularly unit testing using PHPUnit. The problem I have is that most of my code is procedural with not even many functions. I have read that unit testing is more suitable for OO PHP however i have seen that many people … | |
hey there. (i first posted this question on the wrong forum... idiot.. i know) I want to change the looks of my buttons in netbeans (6.9.1) But when ever i try (when i go to the properties -> icon -> and try to select the images, ONLY a few of … | |
Hey there i have a problem with a program that works on other pc's but not on my laptop. (it connects to access) When i try to run it it gives me the error "AAAjava.sql.SQLException:[Microsoft][ODBC Driver Manager] data source name not found and no default driver specified" I already reinstalled … | |
Hey there I started coding again on my old project in netbeans but i have no idea what kind of a prject it is, for example, is it javaEE or whatever. like in the image attached. How can i find out what my current project type is? Thanx | |
Hello, I want my program to take input from a file rather than from keyboard and also output it to a file not screen. I tried writing prgram. This is what I wrote in visual studio... 1. #include<iostream> 2. #include<conio.h> 3. #include<stdio.h> 4. using namespace std; 5. void main() 6. … | |
Hey there. Whyy is my netbeans so retarted?! is this a common problem? or is it just with me? Ive attatched two images to show you what it does to my buttons. image one is the actualy program running image two is in the design view Thanx | |
hello everyone, I am recieving this compiler error stating that `else if(input%100 || input%10 == rndNum%100 || rndNum%10)` this line ^ gives me the error error: bad operand types for binary operator '||' was hoping someone could explain this error to me if possible, also any advice would be greatly … | |
Hello all, so I was tasked with looking into a way to rewrite our dynamic url's to something more user and seo friendly. I have absolutely no exprience in this area so it's been a lot of googling and trial and error. However; I've reached something of a wall in … | |
Hello everyone, I want to create a web application where an artist can register with us and create their own profile which others can view. The site should also enable members to view the names of all the albums produced by said artists and confirm if the serial number for … | |
 hi everyone! below i will be showing you the codes of my scheduling module for an enrollment system..my problem is that on how to set conflict. i included a screenshot of the interface for further understanding... i hope you could help me... here is the code: Option Explicit … | |
Hi Anybody who knows how to read the active tag id from a RFID reader connected via TCP/IP in vb6 please! Thank you | |
I am a new user in PHP and currently developing a blogging web-site using PHP. I have designed a simple design of Create Blog page using HTML syntaxs, created database fields in MySQL as 1) Blog-Id 2) User-Id 3) Blog-title 4) Blog-text. Now if I am supposed to give interface … | |
I am new to writing C# programs, actually new to object oriented programming. I normally write programs in PICK. But I have a software package that will call a pre-processor to allow us to modify a text file before it processes a the file from a 3rd party. I have … | |
Hi everyone, I need a wee bit of help with the following. I am calling all country names from a db table and echo-ing out each country name in a list format. $query = "select * from countries order by Country Desc"; $result = mysql_query($query) or die(mysql_error()); while($row = mysql_fetch_array($result)){ … | |
Hi everyone, im programing an agenda in c++ but im having a little trouble erasing an entry. Sorry the code is long, i was too lazy to use call functions... anyways bear with me. i tried setting the value to NULL on the entry i want to erase but that … | |
I am using jQuery and Ajax to add items to a shopping cart and in all areas of the site apart from one it works fine and I cannot for the life of me work out why this one area isn't working. The form code (which is the same as … | |
Hi everbody, in the server side of my project,when i close the socket then try to open it again the following exception is thrown java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind how to solve this without close the whole pogram to enable a client to reconnect to the server? | |
Hi all i am working on a third party recruitment site in wordpress. Site basically acts as intermediary between candidate and employee. Is there any plugin to manage employees and employers in wordpress?? | |
Hey Im wondering if various users can a web services at the same time and execute the same code to generate something. Does it do it at the same time on difference threads/objects? Is it FIFO (First in, first out)? Questions like those. Thank you. | |
Hello guys, I'm fairly new to Java. I have been asked to create a simple GUI (JLabel, JTextField and 3 JButtons) I have managed to create the GUI but I'm having trouble with making the buttons work. Here is my actionPerformed method: public void actionPerformed(ActionEvent evt) { if(evt.getSource().equals(printButton)) // This … | |
I need to retrieve a valeu from a select in html like on this [Link Anchor Text](http://www.saxoprint.co.uk/shop/folded-leaflets.aspx/) and calculate the price can anyone help me? | |
I want to make a checkbox to control two textfield The checkbox default checked and two textfield default disabled When user uncheck the checkbox , These two textfield do not disabled. How can I write the script? | |
Ok, so I'm writing a chat client/server and both the client and server are multithreaded to accept user input and read from the socket at the same time. Since it can do both at the same time, I'm trying to overcome the problem of the user typing in a message, … | |
# Java Conversion Program # Hi everyone reading this. I appreciate you taking the time to even look at my problem. I'm designing a converter app in Java to convert units, km to ms-1, degrees celsius to fahrenheit etc etc.. I have built a basic Gui using the WindowBuilder plugin … | |
Hi I've read through the posting regarding 'actions on a link' but as my function is not in javascript I didn't want to confuse the conversation. I was wondering how/if it is possible to call a function from a text link, button, image etc via something like this: <?php if … | |
Hello I'm not sure how this is possible but I want to enter a wildcard(?) into a php variable.. like this, <?php if($_SERVER['HTTP_HOST'] == '*.domain.com') { //do something } ?> Notice the * I basically need it to match if its any subdomain of domain.com Possible? | |
Hello friends, Its my first thread here. I am lookin for source from where i can learn to change control properties at runtime using VB.NET. Actually I havent started working on the project so I cant mention exactly what I need. So if you can suggest me some source from … | |
cant get it to play crrectly What is my error? include <stdio.h> void displayBoard(char [3][3]); int main() { int player = 0; int winner = 0; int choice = 0; int row = 0; int column = 0; int line = 0; char board [3][3] = { {' ',' ',' … | |
hello! i am working on a client and server application , i want to connect my server with my client application to perform some database transactions.i think it is very simple to connect a client with the server , but here is the point , i have two pc , … | |
Hi, I'm getting this error Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\wamp\www\Adult\index.php on line 155 Warning: mysql_free_result() expects parameter 1 to be resource, boolean given in C:\wamp\www\Adult\index.php on line 261 Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\wamp\www\Adult\index.php on line 301 … | |
Hi, I have a icon which on mouseover action i'm changing to another icon little bigger and with a tooltip. This icon is placed inside a table row before the text data. When mouseover happens it moves the text data to right and new icon is displayed. Instead of that … | |
Hi to all, i'm writing a little interface in python with Tkinter on linux debian, with this interface i need to execute some program like rdesktop and vnc. but i've a little problem: i use a fullscreen window without decorator (read buttons for iconify and close) where i've putted some … | |
What is a reasonable number of queries to Memcached per page? We do use getMulti to try to fetch what we know we'll need in advance all at once, but we mostly use getDelayed() (which is a two-part call with fetchAll(), and we do some other processing in between them. … | |
I don't understand what I am doing wrong. Can anyone help me please??? Code blocks are created by indenting at least 4 spaces ... and can span multiple lines using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace chapter_5_c_sharp_array { class Program { static void Main(string[] args) { int x; … | |
Hello all. I am working with threads at the moment in my program. The thread is simple and looks like this. Thread oThread = gcnew Thread( new ThreadStart( this,&qualifiedlist::ThreadProc ) ); oThread->Start(); I have another simplar thread like this but its more complex. I try to set variables in it … | |
Hi everyone. I'm trying to convert an assembly code to its corresponding regular expression. I'm trying to match program patterns to discover anomalies. Being a novice in assembly language, i thought i would try to first convert a simple addition program to its corresponding expression before moving onto other code. … | |
I want some help to generate a report in PDF/Doc(MS Word) format . I’m not able to find any module to generated report in doc, except “docx” which I’m not able to comprehend. Actually my actual task is to generate the report in Doc only, but as I’m not able … | |
#include<iostream> #include<conio.h> using namespace std ; int main (){ string name; cin>>name; cout<<name; cout<<endl; getch(); return 0;} //if u run the prog, and u enter ur first and last name after hitting enter it will show u the first name. My professor asked me to search why this is happening, … | |
Hello, I'm new here and I could use some help please. Im trying to learn c++ with a book called Programming Principles and Practice Using C++. Im on Chapter 3 now, and so far not having to many problems. But i am stuck on one of the exercises at the … | |
Alright everybody! Here's a whopper for you. I've looked over this for the longest time and just can't figure it out. I want to update my database with the user's information when they save the html form. I'm guessing there's like a quotation mark or comma misplaced or something, and … | |
I want to call 'n' which is the input number followed by a string. I've been putting it like this: (n 'string') but it is wrong. How do I write it? | |
Recently, I meet a problem that I need to insert header and footer in excel with C#, I use the following code: Worksheet sheet = workbook.Worksheets[0]; sheet.PageSetup.FullHeaderString = "E-iceblue"; sheet.PageSetup.IsPrintHeadings = true; sheet.Visibility = WorksheetVisibility.Visible; sheet.PageSetup.LeftFooter = "everlasting"; But when I launch it, the header and footer do not appear … | |
So I'm working on an assignment where we have to make a deck of cards using a Card class and a Deck class and when I try and test the constructor by testing the size i get this: Running 1 test*** glibc detected *** runner: free(): invalid pointer: 0x00902ff4 *** … | |
Hey guys, i need Your suggestions(help). i created a social network website not long time ago,now i want to put the News feed in the home page like the Facebook one. That is if a friend posts status,add friends,uploads photos,video,join groups,Commented something etc to appear in the home page. Please … | |
Is there a way to create a dynamic array without necessarily knowing the size beforehand? I need to specifically use a dynamic array for a homework assignment, and I don't really want to ask the user how large the array should be (in this case, an array of chars i.e. … | |
Hi, I have a file which contains some lines of text. What I want to do is after the first two lines, insert a new sentence. So if the original file looks something like this: Sachin Ganguly Dravid Laxman Sehwag after the insertion, I want it to look like this: … | |
okay....my cookies and session varibles are not working on my handheld...but its working on my computer...i have checked my handheld using phpinfo(), it does accepts cookies...in desperate need to idea...kindly guide me please invoice.php <?php session_start(); //starting session $host="localhost"; // Host name $username=""; // Mysql username $password=""; // Mysql password … | |
Hey guys, I recently had an assignment to write a sort algorithm we have not yet gone over in class. I had no problem getting my code written and to compile, but now that it compiles I keep getting an error that says "Exception in thread "main" java.lang.NoSuchMethodError: main" I … | |
Hello my fellow Danniwebbers, I am going crazy here. I have been messing around with the scanning packages(WIA and TWAIN) and have gotten WIA to work, but not as intended. At first I used the common dialog to show a Image Aquisition Wizard, but that did not return desired results. … |
The End.