64,152 Solved Topics
Remove Filter ![]() | |
Hi all, I'm hoping someone can help me with this as I can't for the life of me figure it out. I have a single form called 'FolderSelector' with a label, textbox and a button. The problem I'm having is that everytime I run the application, the only thing that … | |
Hey all, i am a newbie at C# and need help with this program. This is what i have so far.The first part of the program work, but the second method InchesToFeetdoes not work. Please help. Due on Monday. Create a class named InchesToFeet. Its Main ( ) method holds … | |
Hello guys, I'm starting to learn Javascript and I'm having trouble combining 3 text fields on a form in order to submit it in a single textfield. For example I have the following texfields: [CODE]<input id="country_code" name="country_code" size="6"> <input id="area_code" name="area_code" size="5"> <input name="hphone" size="9">[/CODE] I want to combine them … | |
Can someone explain this excerpt from a book I'm studying: [CODE]char phrase[] = "Game Over!!!";[/CODE] [U]BOOK:[/U] [I]"C-style strings terminate with a character called the null character to signify their end. You can write the null character as ’\0’. I didn’t need to use the null character in the previous code … | |
This program is giving me a count up to 999. which is not what it is suppose to do. can someone tell me how to fix it. The question is as follow: Write a program that allows the user to enter any number of integer values continuously (in any order) … ![]() | |
Hi everyone. Hopefully this will be the last thing that I need to do to my shopping cart. Basically I have a product details and it gives me the actual picture in its actual size. In order to look more neat, I want to make the pictures to be like … | |
My php code for upload is supposed to filter out images with file extentions different than the ones below and bigger than 5 Mb. It's a normal post fileField form in html that runs this php script. It works like a charm on Firefox and Chrome, but for some reason … | |
Hello Ive been searching around Google and while I have found some answers, Im not sure how to implant them correctly. I wish to disable the Close (X) button on a Windows Form. I read about ControlBox (I think that the property) but I perfer to do it another way. … | |
Hi, I have the database of the application i am doing stored in the bin. Now i want to make a new connection how can i do so? | |
![]() | Hi all, I am writing a server in Java and I have an issue which I've been working on for days now and I can't seem to find a solution. I want to upload files to the server using an HTML form. I can read the whole POST request and … ![]() |
I want to keep what the user selected so when he clicks back and goes to my search the values are still there, have three listboxes. Country, State, City Country Listbox [CODE] <select name="country" id="country" onChange="filter_state();"> <?php echo "<option selected>" . $_POST['country']; "</option>"; $sql = "SELECT * FROM tbl_country"; $result … | |
i created a simple program using j2me when the user input number[1-9], the element that corresponds to the input is highlighted.. i use choicegroup.. how to do it?? | |
Hi, I have a flowLayoutPanel, into which I want to add new labels when the user clicks on a button. Is this possible? C#, Winforms, Visual Studio I am trying something like this: [CODE] //inside click event handler string submitWord = tempWord; Label lbl = new Label(); lbl.Text = submitword; … | |
I have a report based on a query that uses parameters (Date datatype). In the report header I have some other data that is also generated using the parameters (Same parameters). This data is generated programatically and I use a dialog box with date in it. Now, I want to … | |
I have tried a lot for JDBC using mysql but none of them work.... Can anyone help me how to get this work.... [CODE] import java.sql.Connection; import java.sql.DriverManager; public class Main { public static void main(String[] argv) throws Exception { String driver = "com.mysql.jdbc.Driver"; String connection = "jdbc:mysql://localhost:3306/abc"; String user … | |
i m creating a new row onclick containing 3 drop downs in it, if i add 3 rows drop downs are shown but thier names are same, how can i change the name of every drop down in each row so that it can be handled on php page? any … ![]() | |
Hi, I am starting to learn JavaScript. But now I need a good IDE to code. Obviously I need a free IDE, I am not planning to make money with my code. Can experts give me some advice. Thanks in advance. | |
Hi there friends I have an inventory program that stores all the data entered by a user. I am having trouble trying to output the infos entered. I tried to use for loop but no luck. Mine only outputs the last set of keyed in information. It will not output … | |
hi, i have written this code. [CODE]#include<iostream> #include<windows.h> #include<mmsystem.h> #include<stdlib.h> using namespace std; int main (char argc) { PlaySound("TardisTest1.wav", NULL, SND_FILENAME | SND_ASYNC); system("pause"); return 0; } [/CODE] and for some reason, when the program runs, all it does is system("pause); and it doesnt play the sound. I have my … | |
hi! What sql librries are for c++? what is the most popular? | |
hello..i build my project and i made a copy of the windowsapplication1.exe and tried to open itwith txt editor.. i tried to search for "chris" (computer username) and i see that: C:\Users\Chris.Chris-PC.000\Documents\WindowsApplication1\WindowsApplication1\WindowsApplication1\obj\x86\Debug\WindowsApplication1.pdb how can i hide that?i dont want to be my name /info there..thank you | |
Hello everyone: OK, so I'm working with a hard head company and hard head boss who want until now to work with DOS, I want to make my programs with a good GUI environment, I tried to work with MGUI it's good but it has its quirks. Then I tried … | |
As 3.2 has the input bug maybe it makes sense for going with 3.1.4 (I got my computer full of zombie processes with 3.2.1rc and removed it from my WindowsXP machine) [CODE] Python 3.1.4 released Python 3.1.4 has been released. Published: Sun, 12 June 2011 13:00 -0600 [/CODE] Python 2.7 … | |
Is it possible to navigate multiple tables at a time.... The two tables are joined with primary and foreign key relationship... Pls give me some site to which i can refer or some sample code for all first,next,previous,last I can do it when its single table.... [CODE]Private Sub btnFirst_Click(ByVal sender … | |
Hi! I've been making a rather large (but not huge, by any means) program and it needs, or so I think, a couple of classes and I want them to use inheritance to make my life easier. However, when I try to include all of my files in the main … | |
Guys i have created a simple Java Desktop application in netbeans.I want to connect it with SQL server 2008.I want to know how to connect it by using ODBC.Plz help me..... | |
Hi All, I am trying to use to linq to retrieve some data, and creating my queries dynamically with where clauses added to an IQueryable object. The problem I am running into is filtering for days of the week. In the table, I have a datetime of a call. I … | |
I've been doing this for almost 6 hours and i can't figure out what is in my codes. please if there is someone out there can tell me what is the problem here. [CODE]public class thirdAct { public static void main (String write[]) { int beerNum = 99; String word … | |
How do I test whether the first character in an array is a particular character? [CODE] i=0 while [ $i -lt $# ]; do strng=${args[i]}; if [ $strng[0] == '-' ] echo ${array[i]} let i=i+1 done [/CODE] Better yet - can I test the first character in an array of … | |
I have set two environment variables for JAVA JDK. 1. PATH=C:\Program Files\Java\jdk1.6.0_26\bin;%PATH% 2. CLASSPATH=C:\Program Files\Java\jdk1.6.0_26\lib\tools.jar When I compiled the file using javac it was done successfully but when I ran the file using java command I got the following error: Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld | |
Hye All Please help me to create Data Reports Accourding to given Dates. I Created a VB6 Form put 2 Time/Date Picker Controls and one Command Button.what will be code for Button to display Report Between given dates. | |
I have two related scripts. The first script displays a pass or fail icon depending on whether the value of passState is 1 or 0. If a student failed a quiz the row also displays a link to check.php so that the student can view their quiz attempt in a … | |
Hi everyone. So I have a shopping cart which has a product details. The thing is, the photo is taken from the database but it is just a plain photo. I want to make it more pretty, so I want to add the prettyphoto script to it. Basically I have … | |
Dear Daniweb members.. Am on ma way to learn java. I hav bit knowledge about c,c++. Since am new to java, I need help for the following questions: 1. Where can i get the java software? (like turbo c++ for cpp)I need a link for it. I heard that it … | |
Suppose der is one database name Customer which have columns like Cust_ID,Cust_Name,Cust_Mob,Cust_Address And on Form der are one list box which contains all Cust_Id from database and 4 textbox so when user click on the listbox having id as 1 it should display name, mob and address of cust_id 1 … | |
<?php // Inialize session session_start(); include('config.inc'); // Check, if username session is NOT set then this page will jump to login page if (!isset($_SESSION['username'])) { header('Location: index.php'); } ?> <html> <head> <title>Secured Page</title> </head> <body> <?php $result = mysql_query("SELECT user.password, data1.dob FROM user INNER JOIN data1 ON user.username = data1.username … | |
hi guys , help me in this i have made a report in crystal reports 10 in that i want the field only displays data without the special characters like its showing 11-00-3200-002-37 but i want it would show the field like this 1100320000237 without (-). so does any one … | |
Hello everyone, My table is not showing right I have look over my code but I do not see anything wrong. So I figure I post it on here to see if any of you guys see it. Here it is [CODE]<html> <head> <title> Html Tables</title> </head> <body> <?php echo … | |
[CODE] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /products.php?brandid=27&pname=$1 [NC] [/CODE] The above works only for branid=27 and If I include mutilple statements, LIKE [CODE] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /products.php?brandid=27&pname=$1 [NC] RewriteRule ^(.*)$ /products.php?brandid=42&pname=$1 [NC] RewriteRule ^(.*)$ /products.php?brandid=47&pname=$1 [NC] [/CODE] it will also run for … | |
In the line 72 of the code i do a findAll to retrieve all 'a' tags that have a 'horariosCarteleraUnderline' class and that have an href url that contains `?ic=[code]&` where code is a common code used to identifie the movie start time. It should retrieve all movie times, but … | |
I'm novice to C#.net & i'm using Visual Studio 2010 as the IDE.I have created a Desktop Application in C# & i want to connect it with the Database in SQL server 2008.Friends can you tell me the code or web links to solve this issue..... | |
I have this code: [CODE] def closest(): citiescomp=[] distances=[] for i in range(0,len(city_names)-1): citiescomp.append([city_names[i], citiesx[i], citiesy[i]]) while True: try: targetx=int(raw_input('Please enter the x coordinate of the city you wish to target: ')) if targetx in range(0,1000): break else: print "Oops, it seems like you made a mistake. Try again by … | |
Hi, I want to put plots using pyplot in a Tkinter window, a frame. I want to have the options I usually have in pyplot figures: the user has to be able to zoom, save,... so a photo of the image will not satisfy. Does anyone now how to do … | |
So, I joined DaniWeb in february, and posted a problem regarding this code. I then quit learning for a while, and started again a week ago or so, continuing this. I've made it better, and its almost working, except for the If statement doesnt work. It asks you what you … | |
Hi, i have a form in which i have different labels and picture boxes is there any way i can get the print of it by pressing print button on d same page but ofcourse that button shouldn't b d part of that print thnks | |
Is it bad practice to create relationships between tables where the PK is an identity AKA auto incremented? The reason why I ask is, while identity keys won't repeat, they are set based on the order that someone enters data, so the first entry is 1, second is 2 etc... … | |
Hi all, According to my project, if a customer opens an account he should be able to deposit or withdraw cash. This is my table structure. [B]account_details[/B] (account_number, nic, full_name, name_with_initials, phone_number, address, gender, date_of_birth) [B]account[/B] (account_number, account_type, fd_period, account_balance, account_interest) [B]transaction[/B] (tran_id, transaction_type, from_account, to_account, transaction_amount, transaction_date) I want … ![]() | |
While debugging my code in vS2010 i get the buid error: " Visual Studio cannot start the debugging because the debug target 'D:\Users\Mike\AppData\Local\Temporary Projects\beginner\bin\Debug\beginner.exe' is missing.Please build the project and retry again." What should I do? Regards | |
i m suffering with the following error Warning: oci_connect() [function.oci-connect]: ORA-01017: invalid username/password; logon denied in C:\wamp\www\New Folder\connection.php on line 4 but i've tried atleast 100 times, username and passwords both r correct $conn=oci_connect("sysdba", "hammad90", ""); is thr any problem in the above code? |
The End.