64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for fredrickme

Good day all please ADO, I need help.After developing my jsp,the code work fine except that it displays image link from the database instead of the image itself.I tried manipulating the blob datatype by setting (Blob bl=resultset.getBlob(n)) but it returns an error.Secondly,assuming i want the size of that image to …

Member Avatar for Shanti C
0
6K
Member Avatar for soft_coder

Hi! I am a developer. I am using jquery to implement various functionalities. I am using jquery.js with jquery-1.2.6.min.js. It shows an error in the following code snippet: (!q&&!n&&c.data(this,k,new c[l][k](this,p))._init()) as object expected when I debug the web application. I am a novice in this field. Any kind of help …

Member Avatar for soft_coder
0
285
Member Avatar for Celtrix

i get an undefined reference to _objc_class_name_greeter error when I compile When I remove the line Greeter * Hi=[[greeter alloc] init]; it compiles and all but one option works any idea what's wrong with that line Also the error is at .data+0xa4 and correction it actually happens during linking ? …

Member Avatar for Celtrix
0
392
Member Avatar for Celtrix

That had a string delimiter that you could specify. It would be quite useful if you guys could help me remember. It might have been fscanf or might have been a c++ function.

Member Avatar for Celtrix
0
99
Member Avatar for borchu

Hello Everyone; I have been trouble with putting Random numbers in an array for an 2 hours My problem is ,yes I know that how I can put Random numbers in an array but, for example my array length is 6 and I generated 1 to 6 random number and …

Member Avatar for borchu
0
196
Member Avatar for WHchaz1027

Hi geeks, I really need your help. I want to query in a table in MS SQL using a data in another table. This might give you an idea on what I am talking about. This is the query I've constructed : "SELECT TABLE1.FIELD1,TABLE1.FIELD2 FROM TABLE1, TABLE2 WHERE TABLE1.FIELD3 = …

Member Avatar for WHchaz1027
0
93
Member Avatar for dophine

Hi All, I just read the book called "C++ coding stardards - 101 rules". And Found there is something I don't understand. [CODE]class FlagNth { public: FlagNth( size_t n ) : current_(0), n_(n) {} // evaluate to true if and only if this is the n-th invocation template<typename T> bool …

Member Avatar for dophine
0
123
Member Avatar for artie77

I have been trying to download the community server edition of MySQL for 2 days with no success. I was able to download the installer and found the ZIP archive (both downloaded and mirrored properly) which I was also able to download but I cannot for some reason open the …

Member Avatar for dodgeitorelse
0
118
Member Avatar for plasticfood

this program just prints out prime number within the range of the for loop. however it doesn't print anything. [CODE] boolean prime; for(int i = 11; i < 100; i++){ prime = isPrime(i); //this method works as i tested it before if(prime){ System.out.println(i); } } [/CODE] everytime i run this …

Member Avatar for plasticfood
0
118
Member Avatar for privatestatic

hey guys im kinda new to java n want ur help in solvin this problem : post: all of the "letter" characters in the entered string will have been switched (lowercase to uppercase, vice versa) i can only use for loops, character class methods, string methods heres my code but …

Member Avatar for pbl
0
108
Member Avatar for Elgan

Hello, I am trying to read some words from section in an INI file. Then putt hem into a vector of a section vector, This is the struct and class def [code] struct elgbotsections_t { char name[30]; vector <string> phrase; }; class ElgbotManager { private: char * filename; public: ElgbotManager( …

Member Avatar for Elgan
0
222
Member Avatar for kkjay

Hi Guys, I really don't not know where I'm going wrong with this. I am learning PHP. I have been able to input a user birthday on registration on my website using a list menu such as is on facebook. I however just cant be able to extract the date, …

Member Avatar for kkjay
0
114
Member Avatar for akirson

In the following code snippet, I am using the same two expressions in two places. In the first everything runs fine, but the second generates a run-time error '424' Object required. I have tried retyping the code in case there is a hidden character somewhere, I have rebooted, cleaned the …

Member Avatar for AndreRet
0
234
Member Avatar for JJHT7439

Alright, I have a problem with a program that I am trying to write. The purpose of the program is to solve 1 specific algorithm. That algorithm is send + more = money. The program is supposed to find the value of each letter and return them to you. I …

Member Avatar for TrustyTony
0
336
Member Avatar for azegurb

I have taken little CMS script. but there some lines in script it confises me. who can help me to understand this lines this is [B]index.php[/B] [CODE]<? //É™ session_start(); $sid = md5('atlasmed.az'); define('_INCLUDED_', true); include_once('config.php'); include_once('class.php'); $class = new functions(); $id = $class->is_num($_GET['id']); $menu = $_GET['menu']; $menus = array ( …

Member Avatar for azegurb
0
382
Member Avatar for adams161

Hi, I have a frame and it contains some different JInternal frames. I have a request that some people want some of these frames to be free floating, and not confined within a desktop. Is there any way to do this with JInternal frames? Or is there any way to …

Member Avatar for adams161
0
230
Member Avatar for ibdatx

Hi All, I have a small problem that I am trying to solve...It regards storing string values in an array and outputting them to a .csv file. As you know the .csv file accepts inputs delimeted by commas ",", however the arrayed values are also delimeted by commas therefore $arr[$i]="1,2,3"; …

Member Avatar for fredfletcher
0
818
Member Avatar for benjaminFowl87

Hi I have my initialise constructor, why won't my function to_hash work ? [CODE]def initialize(msg) @original_msg = msg.strip.delete(' ') s = ["|","^"] @chunked_msg = @original_msg.split(s[0]) @msg_hash.self.to_hash end def to_hash @chunked_msg.each do |x| s = x.split("=") @msg_hash[s[0]] = s[1] end return @msg_hash end[/CODE]

Member Avatar for benjaminFowl87
0
98
Member Avatar for kkjay

Hi everyone, I am new to PHP and need help in making my script be able upload multiple images simultaneously. I need a large image and a thumb for each. I got this script from the web and made a few changes. I would really appreciate any help. The forms …

Member Avatar for kkjay
0
1K
Member Avatar for morteza_ipo

Hello. I want to create this address with php! [CODE] <?php $a = new dbclass(); $a->tablename->fieldname1('fieldvalue1')->fieldname2('fieldvalue2'); $a->delete(); //<<-- example! $a->insert(); //<<-- example! $a->update(); //<<-- example! ?>[/CODE] Please help me how to create class with this feature. thanks a lot.

Member Avatar for morteza_ipo
0
121
Member Avatar for G_Waddell

Hi All, I have an application written in VB.net for batch print jobs. As part of the application, the user selects two printer trays to use to print the batch to (one plain paper the other coloured for coversheets and batch seperators) I had this working until we upgraded our …

Member Avatar for G_Waddell
0
231
Member Avatar for rikiroxs

[COLOR="Red"][B]Can Any One help with some simple Text Box VALIDATION Please Urgent[/B][/COLOR]

Member Avatar for rikiroxs
-1
131
Member Avatar for Acute

Hi everyone, can anyone explain me why following code [U]alerts[/U] me nothing: [CODE=javascript] var text = $.ajax({ type: "POST", url: "registration.php", data: "email=" + elementValue }).responseText; alert(text); [/CODE] but when I add option "async: false": [CODE=javascript] var text = $.ajax({ type: "POST", async: false, url: "registration.php", data: "email=" + elementValue …

Member Avatar for Acute
0
261
Member Avatar for moroccanplaya

i get a undefined reference to get_menu_choice error message but i dont know why ? [CODE] int get_menu_choice( void); int main() { //code// while (choice != QUIT) { choice = get_menu_choice(); if (choice == 1) //code// } else if (choice == 2) //code// } if (choice == 3){ puts("you chose …

Member Avatar for gerard4143
0
165
Member Avatar for Alex_

Hello. I'm trying to serialize a class that implements Serializable and a Runnable. My class has a transient Thread object as a field that is created and started after the restoration of my class(object). This is proven possibile by a tutorial from Oracle, [URL="http://java.sun.com/developer/technicalArticles/Programming/serialization/"]here[/URL]. But i fail to compile my …

Member Avatar for Alex_
0
2K
Member Avatar for WHchaz1027

Hi geeks, I really need your help. I want to query in a table in MS SQL using a data in another table. This might give you an idea on what I am talking about. This is the query I've constructed : "SELECT TABLE1.FIELD1,TABLE1.FIELD2 FROM TABLE1, TABLE2 WHERE TABLE1.FIELD3 = …

Member Avatar for jbisono
0
124
Member Avatar for RenanLazarotto

hey guys! how can I read strings from a file? Like... They will compose part of the interface... something like, read a string from a file, then this string points to a image that will be used in a picture box, as same as a label that will be shown …

Member Avatar for RenanLazarotto
0
132
Member Avatar for daviddoria

I have a drop down box like this: [code] <select name="DateDropDown"> <option value="2010 selected">2010</option> <option value="2009">2009</option> <option value="2008">2008</option> </select> [/code] I use the value that the user selects to refresh the page and perform a query on a database. Is there a better way than the following to keep the …

Member Avatar for daviddoria
0
7K
Member Avatar for draven07

[COLOR="Green"]..im just wondering...If I have entered a sentence in a InputDialog box, using JOptionPane, how can I get the middle character per word and put it at the beginning of each word then add a "java" word at the end of each word..?..[/COLOR] [B]for example:[/B] [I]The girl jumped[/I] [B]The result …

Member Avatar for draven07
0
96
Member Avatar for jingo1126

[I]Not sure if this is the right place to post this.[/I] I'm currently working on my personal site, and was wondering how would I connect a desktop application to my site without entering my site on a browser. I'm not here to get any codes worked by someone but I …

Member Avatar for bakir
0
146
Member Avatar for ayan2587

Hi all, I am trying to understand as to how this InputStream.read(byte[] b) function actually works. I have a doubt regarding the InputStream.read(byte[] b) function. The code is as follows:- [CODE] import java.io.*; public class SpeedReading { public static int count(String filename) throws IOException { InputStream is = new BufferedInputStream(new …

Member Avatar for ayan2587
0
104
Member Avatar for ivanwafoo

i used this code for email [CODE]$to = "somebody@example.com"; $subject = "My subject"; $txt = "Hello world!"; $headers = "From: webmaster@example.com" . "\r\n" . "CC: somebodyelse@example.com"; mail($to,$subject,$txt,$headers);[/CODE] however this error shows up Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or …

Member Avatar for bakir
0
2K
Member Avatar for abelingaw

Ok, my code for my Backup module works well via Copyfile. Here's what it can do (current): [COLOR="Red"]Backup my Database but using the date function as its filename Restore my backup file only if the filename is Database.mdb[/COLOR] Here's a screenshot of the prog: [URL="http://img262.imageshack.us/i/restore.png/"]http://img262.imageshack.us/i/restore.png/[/URL] and the backup files: [URL="http://img152.imageshack.us/i/backups.png/"]http://img152.imageshack.us/i/backups.png/[/URL] …

Member Avatar for AndreRet
0
270
Member Avatar for abelingaw

Having trouble with my code. You can see the values of the list in the code. Here's my code: [CODE] If cboGender.Text <> "Male" Or "Female" Then MsgBox "Please select from the list provided.", vbExclamation, "Error": cboGender.SetFocus: cboGender.Text = "Male": Exit Sub If cboGender.Text = vbNullString Then MsgBox "Please select …

Member Avatar for AndreRet
0
674
Member Avatar for MARKAND911

I want to find out days gap between two dates excluding sunday. How can i do this in oracle. Please help me.

Member Avatar for MARKAND911
0
89
Member Avatar for 4ukh

Dear Experts please help and support: Scenario: 1. 4 excel sheet (same structure) stored on 4 different computers attached to a network… 2. 1 master sheet (same structure) as other 4 sheets stored in my PC... Objectives: 1. Want to consolidate into one master sheet that is stored in my …

Member Avatar for AndreRet
0
162
Member Avatar for jemz

Hello can you help me please i got problem in making the crystal report 9,i have form which is inquiry of customer no. if i will input 0001 keydown this will display the data and i want to print it to have hard copy...can you help me please how to …

Member Avatar for AndreRet
0
139
Member Avatar for pardeep3dec
Member Avatar for abelingaw
0
127
Member Avatar for ivanwafoo

Hi Guys, I am having trouble with my links, i am currently trying to use my $_SESSION['SESS_MEMBER_ID']; to automatically link it directly to the specific user page. However I always have this error: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\ThesisDB\DisplayThisUser.php on line 21 [CODE] …

Member Avatar for sudeepjd
0
318
Member Avatar for cs_tx_usa

Hi VB .NET experts, I was wondering if you could give me some help. I am planning to write a simple program which reads two binary files and apply a simple math function ((file1-file2)/(file1+file2)) then outputs the file (file3). Then the user selects the file (file3) outputted as an input …

Member Avatar for kvprajapati
0
386
Member Avatar for public-image

Hey Guys! :) Sorry to bother you all I can't seem to get my code to work and I would be much obliged if you could help me out. So what I was trying to do was get a column from a table of my database and show only the …

Member Avatar for Shanti C
0
101
Member Avatar for coroll

Hi, im getting an error 'Invalid term expression else'. [CODE] private void button1_Click(object sender, EventArgs e) { ClassLogin clgn = new ClassLogin(); bool sts =clgn.Check(textBox2.Text, textBox1.Text); if (sts == true) { MessageBox.Show("OK"); else MessageBox.Show("Your Username or password is incorrect"); } } [/CODE] WHY?

Member Avatar for Munnazz
0
106
Member Avatar for steven8579

In lstresult i put in the item name. in lstresult2 i put in the the numerical value for that item. i included a picture to show what i mean. I want to alphabetize lstResult but i want the value in lstResult2 to stay with the value. A better example is …

Member Avatar for steven8579
0
285
Member Avatar for bwallace

Trying to use [URL="http://mythreads.sourceforge.net/demo/"]MyThreads links manager[/URL] to update links on our front page without having to directly edit the code. Here is the page we're trying to include on the home page: [URL="http://www.ealantamagazine.com/links/index.php3?category=1"]http://www.ealantamagazine.com/links/index.php3?category=1[/URL] and here is the home page: [URL="http://www.ealantamagazine.com/"]http://www.ealantamagazine.com/[/URL]. Notice that the original page shows up but the area …

Member Avatar for bwallace
0
368
Member Avatar for TSims11

Hey guys, I'm having trouble with an error message in my code, would you mind taking a look and helping me out? [CODE]private void button1_Click(object sender, RoutedEventArgs e) { if (textBox1.Text == "user" && passwordBox1.Password == "password") { Window2 W2; { W2 = new Window2(); W2->Show; } Close(); } }[/CODE] …

Member Avatar for TSims11
0
165
Member Avatar for GobanToba

OK, I was working on a project where I needed to randomly generate tens of thousands of 1s and 0s. I started noticing it didn't seem very random. To test it out I created an array of 458752 (896x512) ints. Then, I tested by seeing how many 1s were generated. …

Member Avatar for Zjarek
0
163
Member Avatar for NargalaX

Hey, Most of you who help in this forum have probably read my posts, and this is another one for my math bot. :) I am using string arrays to assign to math operands, for example I would have an array such as this for a basic math equation: 5 …

Member Avatar for ephraim21
0
108
Member Avatar for jj.amonit

I have one table that I need to pull data from to display. there are two fields that a user's id can be attached to. Field1 and Field2, but they are always either or. In addition, I have a couple of extra where clauses in my query. My experience in …

Member Avatar for jj.amonit
0
176
Member Avatar for vanalex

Hello everybody! I wrote an example about a copy constructor and the result wasn't what i expected. Here's the example: [CODE] #include <iostream> using namespace std; class A { public: A(const A& cp); A(double t[], int size); ~A(); double *getTab() const { return tab; } double *tab; int size; }; …

Member Avatar for vanalex
0
152
Member Avatar for davieJohnson
Member Avatar for jbrock31
0
135

The End.