199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for amu25

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 …

Member Avatar for rucha.cool4
0
3K
Member Avatar for zismad

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

Member Avatar for zismad
0
102
Member Avatar for dadam88

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> …

Member Avatar for dadam88
0
81
Member Avatar for mimran2k

I am new, any one can tell me how can add image link in mysql after adding image link how can we display image.

Member Avatar for mimran2k
0
75
Member Avatar for jeeter19

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 …

Member Avatar for jeeter19
0
97
Member Avatar for YousefAB

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 …

Member Avatar for YousefAB
0
1K
Member Avatar for venkat123

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.....

Member Avatar for xuancong
0
3K
Member Avatar for kingofnothing

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 …

Member Avatar for dnanetwork
0
131
Member Avatar for antipin

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"> …

Member Avatar for dnanetwork
0
263
Member Avatar for Simplified

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 …

Member Avatar for Simplified
0
97
Member Avatar for kcasmir

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 …

Member Avatar for michael magwila
0
256
Member Avatar for qqwushi12345

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 …

Member Avatar for cgcgames
0
3K
Member Avatar for Allophyl

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 …

Member Avatar for Allophyl
0
557
Member Avatar for MONITORING

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 …

Member Avatar for reibi
0
149
Member Avatar for watery87

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 …

Member Avatar for watery87
0
479
Member Avatar for sathya8819

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 …

Member Avatar for dotmeatpack
0
136
Member Avatar for lotrsimp12345

[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]

Member Avatar for nssltd
0
106
Member Avatar for winecoding

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. …

Member Avatar for burgercho
0
92
Member Avatar for NargalaX

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 …

Member Avatar for jonmcc
0
278
Member Avatar for SKANK!!!!!

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? …

Member Avatar for SKANK!!!!!
0
123
Member Avatar for mymanmaid

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 …

Member Avatar for mymanmaid
0
68
Member Avatar for udigold1

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 …

Member Avatar for udigold1
0
457
Member Avatar for DaveTran

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 …

Member Avatar for Teme64
0
117
Member Avatar for Nandu Das

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....

Member Avatar for $urya
0
71
Member Avatar for vanathi_vb
Member Avatar for manoshailu
0
1K
Member Avatar for nbaztec

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 …

Member Avatar for mrnutty
0
578
Member Avatar for jemz

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 …

Member Avatar for Adak
0
681
Member Avatar for Ultralisk

[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 * * * * * * * * * * * * …

Member Avatar for Ultralisk
0
118
Member Avatar for PixelExchange

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 …

Member Avatar for PixelExchange
0
218
Member Avatar for extemer

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 …

Member Avatar for new_programmer
0
113
Member Avatar for soundman107

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; …

Member Avatar for NormR1
0
111
Member Avatar for blueman:-0

how i can print something , i was write it in textarea , labele , any thing by printer alike word ?

Member Avatar for blueman:-0
0
69
Member Avatar for PixelExchange

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 …

Member Avatar for PixelExchange
0
144
Member Avatar for Tenaciousmug

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. …

Member Avatar for andy1090
0
146
Member Avatar for dfcrackhead

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 …

Member Avatar for iamthwee
0
311
Member Avatar for Nandu Das

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...

Member Avatar for aman rathi
0
118
Member Avatar for mpc123

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

Member Avatar for edwinhermann
0
100
Member Avatar for mess110

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 …

Member Avatar for mess110
0
104
Member Avatar for nadskap2

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 …

Member Avatar for Excizted
0
205
Member Avatar for cristi08
Member Avatar for Zagga
0
2K
Member Avatar for Lukezzz

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 …

Member Avatar for Lukezzz
0
752
Member Avatar for cnuzzo

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 …

Member Avatar for woooee
0
248
Member Avatar for fire_

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 …

Member Avatar for caut_baia
0
117
Member Avatar for chrchcol

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 …

Member Avatar for chrchcol
0
157
Member Avatar for Beat_Slayer

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 …

0
1K
Member Avatar for usiyalla

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 .

Member Avatar for usiyalla
0
221
Member Avatar for Shikhin

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 …

Member Avatar for Shikhin
0
182
Member Avatar for burgercho

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 …

Member Avatar for burgercho
0
193
Member Avatar for helpingdeed

[B]using c++ is there any way to cout<<"plz help"<<endl; // only when the space bar is press not enter [/B]

Member Avatar for Duoas
0
116
Member Avatar for enazi

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 ) …

Member Avatar for enazi
0
2K

The End.