199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mc080201812

Question 1 You are required to write the code for sevlet which will take username and password from the html file and matches with database which contains two columns; one for username and other for password. Providing correct information leads to welcome page otherwise to a login page again. You …

Member Avatar for javaAddict
0
85
Member Avatar for doclucas

Hi, I have the following search code and want to use prototype js to have it submitted without refreshing the page. I tried a few things, but couldn't make it work, would appreciate any help. Here is the html code: [code] <form method="post" action="quick_stockview.php" name="quickview"> <table border="0" align=center> <tr> <tr> …

Member Avatar for Airshow
0
187
Member Avatar for NetGD

Hello, I am am trying to get a ListView to populate based on an xml file. to acheive this I would like to use the DataTable. this is my XML file: [CODE]<?xml version="1.0"?> <main> <person> <id>1</id> <name><first>Joe</first><last>Blow</last></name> </person> </main>[/CODE] And the C# that I am using to read it: [CODE]public …

Member Avatar for kvprajapati
0
1K
Member Avatar for pupilstuff

hi guys i wan to make dyanmic crystal report according to values which i checked from check box thats all i did 1. I made data set having data table name "Customer" 2 i put four columm id,name ,age ,sex 3. then i made crystal report and drag those columm …

Member Avatar for kvprajapati
0
135
Member Avatar for cs_tx_usa

Hi all, I am trying to make a program in VB .NET that has two "browse" bottons, two textboxes which should show the full path of the files to be selected, one "Save As" button, one textbox that should show the file's full path where to be saved in, an …

Member Avatar for tathumani
0
264
Member Avatar for pupilstuff

hi , I have made cystal report by wizard but i want to make it through code i as using vs 2005 can anyone help me

Member Avatar for pupilstuff
0
88
Member Avatar for veledrom

Hi, I just wonder if this is possible. When i print a page from my localhost or web, the html link information is printed at the end of the page. How can disable it? Thanks

Member Avatar for veledrom
0
72
Member Avatar for anshusharma

anybody online there, i want the solution of my problem.i will feel free to discuss the code of my aplication

Member Avatar for peter_budo
0
99
Member Avatar for rudhra216

hi, any one plz tell me how to connect oracle database with the help of struts . i am begginner in struts or plz send me some tutorial in struts or plz send me some sample project in struts thank u:eek:

Member Avatar for peter_budo
0
88
Member Avatar for Piya27

Hi All, I am new to Vb.NET. and I am Trying to develop a textpad application using richtextbox control.. Now my problem is that, while using this application. when user clicks on Close event in File Menu, I want the Editor to only close that particular file(or text) that is …

0
52
Member Avatar for asifjavaid

Hi all, I working in VC++. I have a void pointer. I am assigning a memory block to it using malloc(). void* buf_ptr = NULL; buf_ptr = malloc(1428480); I am filling this buffer using fread(). and I want to index this buffer (buf_ptr) to acces its data. How can I …

Member Avatar for asifjavaid
0
2K
Member Avatar for dmotah

hi guyz im using phpmailer to send mails but into the message variable i cannot add an activation link? the link is send but is not hyperlinnked in any mails(hotmail,gmail etc) here is my code: [CODE]$mail = new PHPMailer(); //$body = $mail->getFile('contents.html'); //$body = eregi_replace("[\]",'',$body); $body = "Welcome $surname, $name …

0
86
Member Avatar for PhiberOptik

I am trying to execute a exe file within' a jar file. My question: 1. How do I locate the exe within' the jar? I am using the [ICODE]runtime().exec()[/ICODE] to launch it. Right now I have to extract it then launch it, then after it's finished delete it. Thanks PO

Member Avatar for masijade
0
108
Member Avatar for spiriad

Hello there, Is there any good online web based code (text) editor with syntax highlighting for different languages (C,C++,PHP, etc) and auto-completion .Or, with at least one of that options (better if both, especially auto-completion)? Seems that the results from gooogle aren't helping me so much. Thanks

Member Avatar for digital-ether
0
133
Member Avatar for valtikz

[QUOTE]In function `DefaultDialogHandler::handleCommandString(CommandString&)': /home/ws14/Desktop/trunk/test/test1/test2/test3/test4/DefaultDialogHandler.cxx:343: undefined reference to `SipDialogPublish:: SipDialogPublish(MRef<SipStack*>, MRef<SipIdentity*>, bool)' collect2: ld returned 1 exit status[/QUOTE] line 343 here: [code=cpp] MRef<SipDialogPublish*> pub(new SipDialogPublish(sipStack, phoneconf->defaultIdentity, phoneconf->useSTUN ));[/code] Can someone help me about this error...Please explain to me what is this mean..and how can I solve this one. thanks in advance …

Member Avatar for WaltP
0
343
Member Avatar for Xessa

I want to avoid user to press " and ' characters. What must i do in keyup event?

Member Avatar for essential
0
108
Member Avatar for Engineer.Saleh

Hello everyone, i need your advise if i can get the Computer Serial number with using the Excel VBA thanks

Member Avatar for Jupiter 2
0
1K
Member Avatar for gretty

Hi I am reading a excel file & grabbing certain elements out of the file to store in arrays. I know how to do it, but can you tell me if there is a more efficient way to do this. This, meaning, grabbing certain elements out of a line/string. Inside …

Member Avatar for ArkM
0
148
Member Avatar for sebastian3

Does anybody know to import Gmail contacts. I have downloaded a useful tutorial at : [EMAIL="http://johnvey.com/features/gmailapi/"]http://johnvey.com/features/gmailapi/[/EMAIL] which is the only one available in search engines. But it is not working !!

Member Avatar for sebastian3
0
284
Member Avatar for lotrsimp12345

how can i cast a string to int when i have this [code=cplusplus] //input problem numbers cout<<"\n""enter the numbers"; //numbers represents what they input string numbers; getline(cin,numbers); //position represents at what location value comma is int position; while(numbers.find(',') !=string::npos) { //print out what the user inputs //used to split up …

Member Avatar for s_sridhar
0
335
Member Avatar for gretty

Hi I have a string & I want to grab certain elements out of the string & save them in an array. I have searched for an answer to this but I have not found a solution to what I am trying to do. What I am trying to do: …

Member Avatar for mustafaneguib
0
408
Member Avatar for bhanu1225

Hello All. Is there any syntax for [COLOR="Red"]getting fields in a column in an alphabetical order[/COLOR] in mysql? See, for example... I have a two column with "NAME & NUM". NAME NUM BHANU 6 KIRAN 3 ADAPA 8 CHANDU 7 I need to get the names in alphabetical order. There …

Member Avatar for bhanu1225
0
107
Member Avatar for waelaltaqi

Hello All, PHP newbie here ... I have the following code working to retrive the last 50 records from a reservation database: [CODE=php] <?php /* Databasae Variables */ $username="user"; $password="pass"; $database="db"; /* Database Connection */ mysql_connect("1.1.1.1",$username,$password); mysql_select_db($database) or die ('Unable to select database'); /* Select last 50 records */ $query …

Member Avatar for nikesh.yadav
0
108
Member Avatar for DimaYasny

Guys, I'm stumped here. Trying to retrieve a row from mysql using MySQLdb, I receive the number of matching rows found, not the data itself. here's the code: [CODE] def getKbd(kb_num): query="SELECT kbd_name, kbd_data, kbd_ps FROM kbd_ WHERE kbd_number = %d " % kb_num a = c.execute(query) return a print …

Member Avatar for DimaYasny
0
109
Member Avatar for smoore

Okay so I found some code online to create a simple chat server and I was trying to teach myself with it. I have a few questions though. First off here is the code: [B]ChatServer.java[/B] [CODE] import java.io.IOException; import java.net.InetAddress; import java.net.Socket; import java.net.ServerSocket; import java.net.UnknownHostException; import java.util.Scanner; public class …

Member Avatar for smoore
0
145
Member Avatar for shers

Hi, Is there any way I can select multiple items in a listview programatically in WPF?

Member Avatar for kvprajapati
0
65
Member Avatar for cgfxcoloneill

I am starting to learn python and since I have had some programming before ( intro to java last semester and intro to c++ a couple years ago) the teacher gave me an interesting problem to solve. It is an equation called the Prandtl equation from fluid flow measurement it …

Member Avatar for cgfxcoloneill
0
267
Member Avatar for firoz.raj

i simple was to add information in a listview using save button. but when click save it hangs.kindly help me .any help would be Greately appreciated. here is the code what i have written. [code=vb] Private Sub btSave_Click() Dim con As New ADODB.Connection Dim rs As New ADODB.Recordset ' On …

Member Avatar for vb5prgrmr
0
96
Member Avatar for nish123

[B]is it possible to have Postback method on page Refresh.?? (Hold the values of a form on page refresh..!!) I have Two Columns for Example: Items | Price item1 | textbox(in which we fill price) item2 | textbox(in which we fill price) item3 | textbox(in which we fill price) Add …

Member Avatar for OmniX
0
320
Member Avatar for HTCGuy

Im having a strange problem here , Im reading settings from a .txt file using the code which works like a charm . [CODE]private string[] splitArray; private void Form1_Load(object sender, EventArgs e) { string[] lines = File.ReadAllLines("settings.txt"); foreach (string line in lines) { if (line == "" || line.StartsWith(" ") …

Member Avatar for sknake
0
114
Member Avatar for athlon32

Hello All, I'm compiling my program, and i keep getting this error: [code]obj/Debug/fubar.o||In function `fubar::fubarl(int*, int*)':| /home/miguel/Documents/pointersandref/fubar.cpp|7|multiple definition of `fubar::fubarl(int*, int*)'| obj/Debug/fubar.o:/home/miguel/Documents/pointersandref/fubar.cpp|7|first defined here| ||=== Build finished: 2 errors, 0 warnings ===| [/code] This is my complete source code fubar.cpp [code=C] #include <string.h> #include <stdio.h> #include "fubar.h" void fubar::fubarl(int *foo, …

Member Avatar for athlon32
0
113
Member Avatar for Vermillion

Yeah, I'm aware it may be an stupid question, but I really don't know what a "template" in C++ is, because my knowledge on it is very limited, I don't have any good books on it so I really can't get as much knowledge as I would like from it. …

Member Avatar for ShawnCplus
0
117
Member Avatar for luismanuel22

hi i am doing a program that has to order a great set of numbers, but i need to use threads i am working with microsoft visual c++ 6.0 and i use windows.h when i tested the program, my threads used only 25% of the processor and i am very …

Member Avatar for Stinomus
0
92
Member Avatar for SKANK!!!!!

this code isnt workin: [CODE]$newer = mysql_query("DELETE FROM messages WHERE id = '$rawr', user = '$rew', read = '$roll'"); [/CODE] this code works: [CODE]$newer = mysql_query("DELETE FROM messages WHERE id = '$rawr' AND user = '$rew'");[/CODE] the variable is the same that is included in the first, so its not …

Member Avatar for SKANK!!!!!
0
137
Member Avatar for nakemaro

hii again ..sorry but this project is kinda killing me anyway just small Q ? how can I burn my (c++) project in a CD ? my friend did it but they faced a problem that when they wanna open it in the Teacher computer they had to copy it …

Member Avatar for nakemaro
0
202
Member Avatar for rasizzle

i'm trying to create a simple minimum function by comparing items in a list to each other. [code] list1 = [4,20,2,19,3254,234,21,03] for i in list1: if list[0] < list[0+i]: print i [/code] basically my thought process in pseudocode is for all items in the list if item n is less …

Member Avatar for woooee
0
117
Member Avatar for SKANK!!!!!

its a mess. i dont know why it would be doing this. considering the message it says its in the inbox in the mysql database and then its not. i dont know what to do. its php and mysql database. is there a posiblitily its showing up on the webpage …

Member Avatar for SKANK!!!!!
0
144
Member Avatar for TerabyteST
Member Avatar for glahr32

I am trying to write a program that will open a specific file and go through it, writing the data I need to another file. Everytime the tag 'Step 4[2]' comes up I need to get the next two numbers and write them to a seperate file. (the purpose is …

Member Avatar for ArkM
0
125
Member Avatar for tiger86

Hi; I have been studying PHP and I'm coding it. I ran into an odd problem but I'm sure it is a newbie error. Whenever I run my php script on xampp I get parsing error line 103. I go to my code and the closing html tag is at …

Member Avatar for diafol
0
160
Member Avatar for 3xxx

I am more interested to know a site that got sample web access code -- to access SQL server / oracle database == could include any of the following language --- c# , vb.net, jsp --- asp, javascript -- ajax answer could be in form of the coolest CMS on …

Member Avatar for Ezzaral
0
89
Member Avatar for chg

I'm really kind of stuck here, and would really appreciate some help. I have a function that reads from a csv that can get quite large, and it will block some other routines from running in there allocated time slice. I need to make this code “non-blocking”. I think there …

Member Avatar for chg
0
256
Member Avatar for xixpsychoxix

Yeah, probably a bad place to post this, but I'm desperate! I am trying to install GTK+ under Linux but have no idea what is going wrong!!! I see that i need like fifty million packages to install it, but i can't get this working! can anyone give me advice? …

Member Avatar for xixpsychoxix
0
71
Member Avatar for Vermillion

Yeah, I am aware that binary is pretty much ancient technology, but I was wondering, anyone uses it? I know binary, but not as a way to program. I can only read binary text, and that's about it. I was thinking that if you know binary, you can pretty much …

Member Avatar for Vermillion
0
299
Member Avatar for suncica2222

I just inctance 5 JFrames with string drawed and its using 100% ...??? that add(panel); make the diference in CPU 5 or 100% I marked it in the comment in the code here's the code: [CODE]//import java.awt.event.WindowEvent; //import java.awt.event.WindowListener; import java.awt.*; //import java.awt.Color; import java.awt.Font; import java.awt.Graphics; import java.awt.event.*; import …

Member Avatar for sciwizeh
0
259
Member Avatar for beertje

I have created a Flash CS4 survey form that uses a borrowed PHP3 form. I borrowed it since I have no PHP programming knowledge. The problem is that I am either missing something or doing something wrong with the PHP script. The Flash file works fine. I will be happy …

Member Avatar for beertje
0
99
Member Avatar for slawted

hello this code seems to give me wrong results and i carnt figure out why :( [code]#include <iostream> int main() { float pi = 3.142; char area; float diameter; area = diameter * pi; std::cout << "Hello. Please imput the diameter of your circle... "; std::cin >> diameter; std::cout << …

Member Avatar for wildgoose
0
133
Member Avatar for mohan7690

hi i want to read data from com port of client system, using asp.net page how to do it, any one please help me.

Member Avatar for Tekmaven
0
228
Member Avatar for anilopo

after i've got this error: pure virtual method called terminate called without an active exception Abort (core dumped) i searched and found that it is probably because i'm calling to a pure virtual function from a constructor. well, yes, i'm doing that, but - - what is wrong with that? …

Member Avatar for ShawnCplus
0
262
Member Avatar for iversia

[code] <?php require("config.php"); if(isset($_GET['id']) == TRUE) { if(is_numeric($_GET['id']) == FALSE) { $error = 1; } if($error == 1) { header("Location: " . $config_basedir); } else { $validtopic = $_GET['id']; } } else { header("Location: " . $config_basedir); } require("header.php"); $topicsql = "SELECT topics.subject, topics.forum_id, forums.name FROM topics, forums WHERE topics.forum_id …

Member Avatar for ShawnCplus
0
397

The End.