199,114 Archived Topics
Remove Filter ![]() | |
Hello everyone I m using java and ms access. I want to retrieve values from database into combo box. When I m trying to do this, only first value is getting displayed in combo box insted of list of all items. can you plz help me with the code? Thanx … | |
Hi all, I have a Database program and I want the initial Database to be installed, when the program first runs. How do I make a chunk of my program to run only once ? thanks Zvika | |
If I end my cost of .60 cents with a [B]NICKLE [/B]or a [B]DIME [/B]I get a 2.####.E number. If I end the total cost with a quarter I don't get a big number ( Wrap around number right ? ) Can anyone tell me why? [CODE]#include <cstdlib> #include <iostream> … | |
I am new, any one can tell me how can add image link in mysql after adding image link how can we display image. | |
Hi, I am practicing MySQL JOINs and was hoping I could get some insight on how to do a particular problem. I am using the World database, it has a table called City with name, population, country code. It also has a table called Country, with Code and Name. What … | |
Hey all, I would really appreciate it if you can help me with this problem. The basic idea, read all the files in a folder, and print them as links to each file. Which does work. But now, after it gets out of the foreach loop, I need it to … | |
Hi, Can anybody tell me how to access hard disk partition information or MBR content through Visual C++ Programming? Suggest me how should i do programming and which API i should use for this purpose. Bye..... | |
hi every body i build login page in visual web developer using vb with standard create user control which have username,password,email,security question and its answer the question is how to customize create user control so i need only from it email and password without security qustion and security answer and … | |
hello every one. i new in this stuff and i have a question. i put imagemap in my website and i want to use the hotpoints to popup new window. i add this thing: [CODE] <body style="direction: rtl"> <form id="form1" runat="server"> <div> <asp:ImageMap ID="ImageMap1" runat="server" Height="376px" ImageUrl="~/7777.png" Width="559px" EnableTheming="True" onclick="ImageMap1_Click"> … | |
Hello all Just joined the site - mainly due to the fact that 7/10 times I Google a problem this site comes up :) Not looking for an easy ride, but can someone point me in the direction of a site/tutorial that shows how to run a loop periodically? What … | |
I need someone to help me with VB6 codes to add new columns to already created Access database table at run time. Secondly, i needed to create a duty rota table that keeps track of staff duties for 365 days. I am a bit confuse as i intended placing the … | |
A pair of (positive) integer numbers are called twin primes if they are both prime numbers and the difference between them is 2, i.e. they are consecutive odd numbers and they are prime numbers. (3, 5), (5, 7) and (11, 13) are three examples of such pair of twin prime … | |
I have the line [code=c++]#include <algorithm>[/code] at the top of a file, and the line [code=c++]nth_element(minRollArray,minRollArray+n,minRollArray+numSets);[/code] in one of the fuctions in that file. However, when I try to compile it I get the error error C3861: 'nth_element': identifier not found at that line. I would expect this if I … | |
Please let em know if this is valid....... I am trying to run mysql from my shell script by passign a parameter.the sql(script.sql) is in directory $mydir and the parameter is $date and trying to run it this way: un="username" pd="PASSWORD " dbname="dbname" result = `mysql($un,$pd,$dbname,$mydir,"script.sql",$date)` I am trying to … | |
Hi guys, am currently creating a client/server program. However im having trouble reading from a text file. Im not sure whether fgets or fread is better in my case. Basically my program requires user to input a country, and the program will display its details out.My question is, what method … | |
Hi, I would like to know if it is possible to obtain a color picker in c#, something similar to the properties dialog box in .NET. My application requires choosing the color dynamically. I know that there is a ColorDialog control, but I assume that the color picker is far … | |
[CODE] using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Win32; using System.Deployment; namespace RegisteryCheck { class Program { static void Main(string[] args) { ApplicationDeployment ab = new } } } [/CODE] ![]() | |
There is a small program. [CODE]#include <stdio.h> void f(char **p); int main() { char *argv[]={"ab", "cd", "ef", "gh"}; f(argv); } void f(char **p) { char *t; t=(p+=sizeof(int))[-1]; printf("%s\n", t); }[/CODE] Assume the size of int is 4, I was asked to give the running result of the following code segment. … | |
I've been looking around for some good DLL Injection tutorials, because I would like to create a DLL Injector, mainly for educational purposes. I've looked around on google for the past 20 minutes and the only things I've come up with are debates on whether its possible or not. I … | |
theres nothgin wrong with my ajax, it works and is sending other variables but whe i want to send "pood" from [CODE]function farmers(pood, happy)[/CODE] i twill not work. now when i call the function it goes like this [CODE]onclick="farmers('pisslet', 'popcocky')"[/CODE] now it will not send PISSLET, what do i do? … | |
I purchased a template for the sole purpose as it had a page I need for my business and website to request information for customer quotes and I have everything figured out EXCEPT for the checkbox part of it. I have no idea what to do and have spent the … | |
Hi, How do I pass data between two open forms? I have form1 that contains all sorts of definitions for Stocks, Bonds etc located in a DB. Through form1, I can open the form2, which is a form for searching the Stocks. I want to pass the search result from … | |
I'm using a dictionary to store my Foo classes. [CODE] class Foo { int i = 0; public void Update() { i++; } } Dictionary<string, Foo> fooDictionary = new Dictionary<string, Foo>(); [/CODE] The dictionary contains [CODE] fooDictionary.Add("MrFoo", new Foo()); fooDictionary.Add("MrsFoo", new Foo()); fooDictionary.Add("BabyFoo", new Foo()); [/CODE] How can I iterate … | |
I installed c++ and started to write a new simple program.But i got a warning "Function should return a value". The source code is correct and the directories are also correct. What should I do? Pls help.... | |
please guide me how to resize or stretch the picture with in a cell using vb 6.0 | |
Basically, I didn't know where to put this so I choose the Super of the 2 Languages. Our lecturer gave us an assignment to lay out diff. b/w C & C++, which started with a rather dirty spurge of concepts. He stated: In C program , the MAIN() should NOT … | |
hello i have problem on this program i don't know the formula to get the exact parking time, rounded total and total charge...please help me... Write a C program program to calculate the parking fare for customers who park their cars in a parking lot when the following information is … | |
[CODE]totalRows = int(raw_input ("Please enter a number: ")) for currentRow in range(1, totalRows+1): for currentCol in range (1, currentRow+1): print '*', print print for currentRow in range (1, totalRows+1): for currentCol in range(1, currentRow+1): print '*', print[/CODE] Output * * * * * * * * * * * * … | |
Hello everyone. I already know the C code required to use SQL statements within C++. Using mysql_real_connect, I was able to establish a connection to a remote MySQL server. The problem is, even though mysql_real_connect did not RETURN NULL, (meaning that a connection to the mysql server was established) I … | |
guys i cant hit on the rite path...i love programming and i recently decided to go with java..but some people say that go with vb.net its better than java because its more demanding while i think that what ever you do,do it way that no way is better in that … | |
Having homework issues again. This code compiles but when I try to execute it it gives me an "exception in thread main java.lang.nosuchmethoderror main" Can anyone help me due tomorrow....Thanx [CODE] import java.awt.*; import java.awt.event.*; import java.text.NumberFormat; // used to format currency import javax.swing.*; import javax.swing.Icon; import javax.swing.ImageIcon; import javax.swing.JButton; … | |
how i can print something , i was write it in textarea , labele , any thing by printer alike word ? | |
Hello everyone. I have tried to fully install MySQL on Windows Server 2003 for a few days now, with no success. There are two things stopping me from completing the install: 1) I forgot the initial password that was used for the root user 2) Every time I get to … | |
Wow, I have no clue what I'm doing.. I'm trying to make a random game and if you roll a 6, you will win 500 rp and I'm trying to insert the 500 rp into the user who is logged in ($_SESSION['username'). But I... just don't know where to begin. … | |
I am trying to write a program that will read values from spreadsheets and stuff and I know I need to use CSV files instead of Excel files and stuff, but say I want to just read a single entry at a specific coordinate how do I access that one … ![]() | |
I was copying a c++ program and i came tosee something like this: char a[10][10]= {....} What does a[10][10] means?? what does the symbol [] do? Pls help me... | |
Sorry very very new to php , obviously my code below is wrong. What should the code be? [code=php]$result = mysql_query("SELECT * FROM TEST Where Name LIKE 'Smith%'") or die(mysql_error()); // Print out result while($row = mysql_fetch_array($result)){ echo "There are ". $row['COUNT(Surname)'] ."; }[/code] Thanks If anyone can help | |
Hello! I made a frontal face detection web service. Free to use, no limitations for the open source world and programmers all around. [URL="http://detection.myvhost.de"]free face detection api[/URL] Give it a try :) I hope programmers all around find it useful. (if this is not the right place to post this … | |
Hey there everybody! Me and a couple of others are currently making a CMS but we got a problem :( Here is the code: [code=php] function ImportSQL() { $conn = mysql_connect($_POST['host'] . ":" . $_POST['port'], $_POST['user'], $_POST['pass']); mysql_select_db($_POST['vision_db'], $conn); $db_content = @file_get_contents("../sql/Database.sql"); $query = mysql_query($db_content); if(!$query){ return mysql_error(); }else{ return … | |
ex: If user=1 send to user1.php page or if user=2 send to user2.php. else redirect to user page login page. ![]() | |
Hi.. I will make a "release" of a project I have done in VC++ 2008 Express Edition. I go to: Project/Form1 properties. Here I choose: Configuration: Release In the General tab, I choose: Output Directory C:\Release & Intermediate Directory: C:\Release. In Debugging tab I choose: Command: C:\Release Now I press … | |
I am trying to use an event box with a label inside to create a custom button. I found an example online to create a button using an event box but when I tried to load the event box button into a VBox I ran into errors. Does anyone see … | |
Hello. I'm trying to write a program witch asks you to write delay and then counts time left. But it's not working how it should. If i write number 9 or less it's working fine. But if i write number 10 or more it prints numbers wrong, ex. ir write … | |
I have a page I am putting together that has a drop down box, and allows me to choose an item from the drop down, and then it queries the database matching from the drop down to a table field and then grabs all database entries that match. That part … | |
ITunes Library Persistent ID Editor. Sample usage: [CODE]fxml = 'iTunes Music Library.xml' # path to xml file fitl = 'iTunes Library.itl' # path to itl file itk = ITunesLibKeys(fxml, fitl) print itk.file_xml # prints path to xml file print itk.file_itl # prints path to itl file print itk.xml_key # prints … | |
hi want to learn javascript and i'm using ubuntu 9.04.i have google chrome and fire fox with enabled javascript. All things are good but when i write a js file and open it in browser but nothing happening html code loads but js not any hint why . | |
Hi All, I am a newbie and am traking a course in Aptech for C++. Now my instructor asked me to make a program to create, display and insert nodes in a circular link list. I have made the following code: [CODE]#include "stdafx.h" #include <iostream> #include <stdio.h> #include <new> class … | |
I am making an application for blackberries and wanted to make use of touch capabilities on touch capable phones. Is there a way to do this without making two separate projects (like I would in c with preprocessors that check the compiler)? An idea of what I'm trying to do … | |
[B]using c++ is there any way to cout<<"plz help"<<endl; // only when the space bar is press not enter [/B] | |
Hello guys ; I have a question in java . is it possible to great a method in java program that : if ( user press "Enter" ) do some thging I tried this simple examples , but dosn't work with me [CODE] Scannaer in = new Sccanner (System.in ) … |
The End.