199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jrosh

I want to transfer data from mysql database to an msexcel sheet... Is it possible with java. how?

Member Avatar for jrosh
0
121
Member Avatar for edwar

have this code and when i run it, i get the output on the screen, what i would like to do is that i can see the output on the screen and send it to an xls of cvs file. is there anyone who could chage the code and let …

Member Avatar for edwar
0
138
Member Avatar for metalclunch

Well. I've been developing a small game. This is what I have done: I've created a Engine project, which has these files in it: Geometry.h Engine.h Engine.cpp Now, I've created another project, called Test, and it has only one file in it: Main.cpp. I've included the Engine.h by modifying the …

Member Avatar for metalclunch
0
122
Member Avatar for skirmish

I'm having some real problem with a list of objects. My objects in this case are called Aircraft & I've given them these features: [CODE] int flightNo; void setFlightNo(int i) { flightNo = i; } int getFlightNo() { return flightNo; } [/CODE] Ok, all good - until I put them …

Member Avatar for skirmish
0
128
Member Avatar for Graphix

Hi, I am currently writing a chatprogram, and it works fine in FF but it doesnt refresh as it should every 1500ms (set with setInterval("retrieve_messages()",1500) in body tag) in IE. The object ajax is made in previous code. I wrote the following code: [code] function retrieve_messages() { // Checks wether …

Member Avatar for Graphix
0
187
Member Avatar for empoor

Hi. I tried looking for this problem on Google, and found a lot, but nothing that actually seems to work. I basically have a search script that works fine when using one keyword, but when one uses more than that, it returns every single row per keyword. So a search …

Member Avatar for dasatti
0
218
Member Avatar for leegeorg07

HI, I recently looked at sneekula's ticker code, and I was wondering about any good graph extras, to show it in a simpler form, also any tutorials if at all possible, thanks in advance

Member Avatar for leegeorg07
0
91
Member Avatar for ceyesuma

Hello. I was studying the database connectivity tutorial . I set it up with the database in MySQL. However I tried to set it up using Netbeans6.7.1. just to see if I could get it to run. it's not working out. Can this be setup in netbeans? I have attached …

Member Avatar for ceyesuma
0
245
Member Avatar for rajaseeth

Hi, I have the following string and i will pass the filename and then i want to get the corresponding path... [CODE]string url = @" --------------Boundary-00=_BLD1cvEPKmuNkgPvUNY3 Content-Type: text/plain; charset=utf-8; name=footer.txt Content-Disposition: attachment; filename=\""footer.txt\"" Content-Transfer-Encoding: base64 G:\test\Attach\test\footer.txt --------------Boundary-00=_BLD1cvEPKmuNkgPvUNY3-- "; Regex r = new Regex(@"[a-z]:\\([a-z1-9\.\s]+\\)+[a-z1-9\.\s]+\.\w",RegexOptions.IgnoreCase); string regString = r.Match(url).ToString();[/CODE] I am able …

Member Avatar for kvprajapati
0
104
Member Avatar for ashok90

How can we [B]give[/B] [B]permissions[/B] or [B]revoke permissions [/B]on applications(i.e installed softwares) for a user via [B]c#.net[/B]. i have get the all uers list on the computer and also [B]installed programs[/B] list but how can i [B]change a user permissions [/B]in a way that he may [B]not able to use …

Member Avatar for kvprajapati
0
150
Member Avatar for Umarmai

Please faithfuls, I ve been vein problems with the properties of the combo box. wat i really want is disallow users to type into my combobox ( I want them to be limited to the items in the combo) 10qs.

Member Avatar for samir_ibrahim
0
124
Member Avatar for jmodeveloper

I am using jBoss server . when we are giving print from the client it does it print in client but its get print in the server.. i don't know how to redirect it...so help me... this is the piece of code:: PrintRequestAttributeSet printRequestAttributeSet = new HashPrintRequestAttributeSet(); printRequestAttributeSet.add(OrientationRequested.PORTRAIT); printRequestAttributeSet.add(MediaSizeName.ISO_A4); PrintServiceAttributeSet …

Member Avatar for ~s.o.s~
0
104
Member Avatar for ravi_72

Hello all We are using subversion as our source repository and trying to backup the repo using Subversion hotbackup.py script I am very much new to python scripting and trying to understand the below error message IOError: [Errno 13] Permission denied Exception IOError: (13, 'Permission denied') in <bound method ZipFile.__del__ …

Member Avatar for Stefano Mtangoo
0
108
Member Avatar for mahe4us

Hi all, I would like to provide subdomains for my users while they are register into my site. For example, if a user is registering into my site then he selects xxx as his username and once he completed his registeration process successfully. A URL [url]www.xxx.mydomain.com[/url] will be provided to …

Member Avatar for maxima
0
292
Member Avatar for AjithAnnadurai

Hi friends anyone knows how to convert SIS to JAR file format . please tell me the link for that software . please reply

Member Avatar for David Boon
0
548
Member Avatar for sachin.h

Hello eyeryone, I am wrking on a project which deals with building avionic GUI like metres,gauges etc.. i was not able to create the exact look and feel using the java swing standard libraries, please tell me any other alternative for creating such GUIs like[B] activex[/B] and wheather i can …

Member Avatar for David Boon
0
160
Member Avatar for chunalt787

I am writing a database API in C++ and I cant seem to think of a good way to handle the errors. For example if certain error conditions are met I would like to set some sort of error flag and allow every class to check that flag. I have …

Member Avatar for David Boon
0
214
Member Avatar for faithingod1970

I am trying to create an inventory GUI display for scool. I have this GUI class as part of a 4 class program. For some reason I thought that the last lines created buttons yet this program lacks them. I also hav problems having my main call the GUI to …

Member Avatar for JamesCherrill
0
101
Member Avatar for iwaqasi

Hi, I am working on a Project that has to search some specific folders and inside those folders I want to check if any file resides. I used the following techniques but they are not working if I need to connect to the machine as USER: [CODE] If Directory.Exists("\\" & …

Member Avatar for samir_ibrahim
0
132
Member Avatar for sawant_nitesh

There are many[COLOR="red"] [I]Java Decompilers[/I][/COLOR] which can decomile [COLOR="Red"][B][I].class[/I][/B][/COLOR] file to [COLOR="red"][B][I].java[/I][/B][/COLOR] file revealing the source. Is there any way to prevent this reverse engineering ? Like in .Net framework, once .dll or .exe is built, noone can reach to source code. ?:S

Member Avatar for verruckt24
0
122
Member Avatar for Stefano Mtangoo

Hi All, I need to make a PHP word editor for writting notes that will have buttons like one for wordpress. How do I start it? Is there readymade class that I can employ? Or any tutorial? I have never done such project before but I need such editor to …

Member Avatar for Stefano Mtangoo
0
244
Member Avatar for veledrom

Hi, I am trying to backup one of my Mysql database with a PHP script. [code] <?php $host="localhost"; $database="toy"; $username="root"; $password=""; $connection=mysql_connect($host, $username, $password); if(!$connection) { die("ERROR: Couldn't connect to the server."); } else { $dbSelect=mysql_select_db($database); if(!$dbSelect) { die("ERROR: Couldn't select the database."); } else { $mysqldumpPath="/usr/bin/mysqldump"; $backupFileName = "Desktop/toy-`date …

Member Avatar for digital-ether
0
196
Member Avatar for yonghc

I am inclined to suspect that Borland C++ compiler 5.02 is seemingly full of bugs. Even though my C++ codes could be bug free, it reported External errors on compiling and failed to create an EXE file to run. Thanks to Mr. Salem, I have successfully compiled the above codes …

Member Avatar for yonghc
0
414
Member Avatar for ScottHam

I'm wanting to create a cruising/dating site in php and mySQL. The options I need in the site is for users to be able to login, create their own profile with photos. I need the search script to be able to search for the usual dating site options and for …

Member Avatar for ScottHam
0
1K
Member Avatar for Tekkno

I am not really sure where to go with this, but any help I can get would be appreciated. What I am trying to do is put together an array to use with a foreach loop by getting columns from multiple tables. Here is my query: [code=php] $results = mysql_query("SELECT …

Member Avatar for Tekkno
0
86
Member Avatar for elidotnet

Hello all, Im looking for few weeks for simple dialog or message or some windows that will show a message while the files is uploading. Im not looking for pre-upload (like google) or percents counter or something like that.... JUST SIMPLE windows to show that the files is upload and …

Member Avatar for serkan sendur
0
96
Member Avatar for javanub123
Member Avatar for javanub123

i started learnin Java last weekend and its my first programming language ever. ive learned most of the basic stuff (if/else, loops, etc.) and was just wondering what to do next?

Member Avatar for Ezzaral
0
51
Member Avatar for icu222much

I am trying to create a program where it will read in the student name, nationality, and grades, and calculate their tuition fee based on those information. I began to write a bit of code by I have ran into some problems. When I try to run my code, the …

Member Avatar for icu222much
0
74
Member Avatar for AirGear

i usually use Visual Studio 6 or sometimes Dev Cpp.. but, they can't show me the runtime and the memory spent.. i need that information, to make sure that my program is qualified.. can someone help me about cpp compiler that can do that? thx.

Member Avatar for AirGear
0
134
Member Avatar for MrNoob

I m trying to find idea to change like from 1 to one and 2 to two and 3 three from 1 to 999 i m had an idea to do like a string with information etc ? but i want better idea so i dunno how to do it …

Member Avatar for Anjoe18_Edica
0
225
Member Avatar for Isiak

Please I need people assistance in resolving this: I'm try to send Some parameters to a remote web service and get parameters as response. I'm just getting nothing in return below is my code: 'I Added the web service through Add Web Refrence on VS2005 and named it RemoteSite [code] …

Member Avatar for sid78669
0
178
Member Avatar for cwarn23

I'm not sure if this is possible but I'm kinda stuck in the middle. For my script I need to calculate the server load and the mysql cache usage both in percentage. Does anybody know of any scripts I can use for this. There are probably open source things that …

Member Avatar for cwarn23
0
359
Member Avatar for CD-4+

hello every one.. i m a newbie and was going through structures.the code is as followes: [code]#include<string> using namespace std; #define n_emp 3 struct workerdb { string name; short age; int salary; }employee[n_emp]; void printdb (workerdb); int main() { int n; for (n=0;n<n_emp;n++) { cout<<"name: "<<endl; getline(cin,employee[n].name); cout<<endl; cout<<"age: "<<endl; …

Member Avatar for mrnutty
0
157
Member Avatar for sjcomp

Hello, I would like to find out if there is a c++ library that supports fuzzy string search. If I have a list of words such as: hello, there, cool. But I search for 'Helo' I would get Hello. I assume this is a solved problem for spell checkers. Anyone …

Member Avatar for mrnutty
0
111
Member Avatar for gsc1ugs

I'm trying to bind to querys and would like to know most efficient way to do it I have these that both need binding as one SELECT * FROM categories ORDER BY categoryDesc and select count(*) as amount from products where idCategory = "&idCat&" and listhidden = 0" idCat is …

Member Avatar for gsc1ugs
0
129
Member Avatar for phoobah

I have somewhat a simple scenario, and having been out of PHP for some time, I'm a bit of a brainfart the past two days as I'm researching and re-educating myself with PHP. To put in lamen terms, I have a CSV file on the host server. I have a …

Member Avatar for phoobah
0
2K
Member Avatar for sp00ks

Hello everyone, My problem is that I am creating different objects, and I want them to add themselves to either a List or an ArrayList (difference?) without having to write [I]insects.Add(spider); [/I]after each new object I create. How can I add this in the constructor of the insect class? right …

Member Avatar for DdoubleD
0
160
Member Avatar for arelius

Hello all, I am taking a course in C++ and in Ada. Our professor has given us the choice to be tested in language profficiency in either C++ or Ada. The test format will be of simpler programming problems and more geared towards shortanswer concepts. I was wondering if anyone …

Member Avatar for dgr231
0
240
Member Avatar for Krstevski

Hello guys, I have some problems with my project and I want to ask you for some advice. Firstly thank you in advance. 1. How can I create an application with multiple languages ? - My solution was to read from the file, but it was not proved very effective …

Member Avatar for Krstevski
0
142
Member Avatar for baudday

[code=php] foreach($files as $filename) { $file2 = $file2.$filename."<br />"; echo $file2; } [/code] What is wrong with this foreach loop? I just cannot figure it out. It is supposed to take the value from $files and store it in $filename. It's not doing this. It says $filename is an Array. …

Member Avatar for baudday
0
96
Member Avatar for baudday

Can someone please help me with this recursive function! It's messing up the incrementing of $x. I don't know what's wrong and I've been looking at it for so long now. [CODE=php]function list_dir($handle, $path) { // Loop over the directory and don\"t display certain files global $x; $x = 0; …

Member Avatar for baudday
0
177
Member Avatar for didyouthink76

Not sure if I have the right forum...but I am wondering....my employer has advised me that I am going to need to start working with an accountant as I am the DBA. Is this becoming more and more common that DBA's have to work with financials as most databases are …

Member Avatar for didyouthink76
0
203
Member Avatar for Kombat

p1a.c: In function `main': p1a.c:20: parse error before `char' p1a.c:46: parse error before `char' p1a.c:47: `result' undeclared (first use in this function) p1a.c:47: (Each undeclared identifier is reported only once p1a.c:47: for each function it appears in.) p1a.c:47: `basechars' undeclared (first use in this function)

Member Avatar for Kombat
0
148
Member Avatar for cwarn23

Hi and I am looking for a compression mechonism that can compress text (just letters and numbers) into binary or all weird symbols. Does anybody know of any good php/mysql codes as I can't get any to work.

Member Avatar for digital-ether
0
621
Member Avatar for alsoumhi

hi guys, hope you are fine. I have project is about online form appliation , I have done half of the project, the part that the client login to the system and choose a form, filling the form , then sending to adminstrator a message saying one user has applied …

Member Avatar for peter_budo
0
87
Member Avatar for sciwizeh

Hello everyone, Someone I know asked me about a problem he has with a program he is writing. I know nothing about his code, but he is writing a keyboard program, with the midi synthesizer in the sound api. what I do know is that he is using note on …

Member Avatar for sciwizeh
0
170
Member Avatar for Rkeast

I have an application that when a new user registers, it creates a folder for that user: /users/$user_id It then writes an index.php file to that directory, that contains the following code: [CODE] <?php define('GIVE', 'TRUE'); define('GIVE_PATH', dirname(__FILE__)); require(dirname(dirname(GIVE_PATH)) . '/gp_wrapper.php'); ?> [/CODE] It uses the path info to get …

Member Avatar for Rkeast
0
177
Member Avatar for fongoos
Member Avatar for hostplator
0
80
Member Avatar for daviddoria

When debugging my code, I put a break point at this line: [code] std::set<unsigned int>::iterator it; [/code] When I step over that line, I get "Debugger reported the following error: cannot access memory at address 0x10". I am using KDevelop that ships with Fedora 11. I've used that line of …

Member Avatar for Nick Evan
0
3K

The End.