199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for kux

i noticed that when u compile with visual C++ u don't need the throw statement in function headers, but when u compile with g++ u need to explicitly mention all the exceptions u're function might throw. i mean: [code] void functionx() throw ( exception1 , exception 2) { //blabla throw …

Member Avatar for kux
0
159
Member Avatar for dc_24l

hi there, can anyone give me an idea on how i can read the contents of a barcode using a barcode scanner using c sharp? because i want to create an application where i can read the contents of a specific barcode and view its contents. thanks.

Member Avatar for blacklocist
0
103
Member Avatar for rwagnes

I have a dialog that contains three spreadsheets of the class CSpreadSheet. I was trying to use the following export function to export the data to a text file: BOOL CSpreadSheet::ExportToTextFile(LPCTSTR FileName, LPCTSTR CellDelim, LPCTSTR ColDelim, LPCTSTR RowDelim, long Flags, LPCTSTR LogFile); My code currently looks something like this: m_Page1.m_patchSummary.ExportToTextFile(fileName, …

Member Avatar for rwagnes
0
573
Member Avatar for gcardonav

I have this simple program. I created a file called input.txt containing a list of names and I want to read from it. I have two versions of the program. The first one only gives me the first letter in the file and nothing else. The second one does not …

Member Avatar for Duoas
0
127
Member Avatar for bushman_222

I'm creating a client-server style program. The two connect fine and I can send data from the client to the server, The server gets the information correctly However when I try and send data from the server to the client, the client receives empty packets. Upon closer inspection I've noticed …

Member Avatar for jonc
0
319
Member Avatar for superseven

Hi there I'm currently using delphi 7 and I need to query a database and based on the database results I need to create a PDF file and email it through using delphi code but the problem is that I want to create the file(PDF) programmatically. How can I do …

Member Avatar for Duoas
0
291
Member Avatar for chow2rich

I'm new to ASP.NET and using Visual Studio 2008 and also have installed IIS. But when I create a website in Visual Studio 2008 I tried to view in browser. When I do this in class I had no problems. But when I'm at home this message came up: Server …

Member Avatar for SheSaidImaPregy
0
190
Member Avatar for shadowfire36

[code] this is what the assignment says : Create a text file with a letter on the first line, and two double-digit numbers on the second line. Write a program using fstream that reads in your text file, creates variables to manipulate that input and outputs the following results to …

Member Avatar for VernonDozier
0
335
Member Avatar for eddy556

Please take a lot at this. Tomcat is reporting the variable editQuestion cannot be resolved. [code] <% String key = request.getParameter("edit"); ResultSet columns1 = statement.executeQuery("SELECT * FROM Questions WHERE ID ="+ key +""); while(columns1.next()) { String editid = columns1.getString("ID"); String editQuestion = columns1.getString("Question"); String editAnswer = columns1.getString("Answer"); String editUpdated = …

Member Avatar for eddy556
0
77
Member Avatar for Anupkumar

Hi, I am planning to take Sun Certified Java Associate exam. Please give me some tips regarding how to start. Also if any of you have passed SCJA exam please provide some piece of advice. Thank you.

Member Avatar for jwenting
0
74
Member Avatar for Mr.Wobbles

Hi, I have two things that if I can do one I won't need to do the other, so whichever is easiest you guys answer me either way. What I am trying to do is get text from an email and download it into a text file on my computer. …

0
233
Member Avatar for fufu123

i have to write a program that has to subtract the purchase price from 100 and then determine the number of qtr,dms,nkls,pns.. when i run it my results are in decimal am not sure how to change it..any advice thanks alot.. import java.util.Scanner; public class Subtract { public static void …

Member Avatar for Ezzaral
0
236
Member Avatar for ITprincess

I really need help with this problem. I created a text file with five bank customer records including integer account number(starting with account #1000), first name(max 10 char), last name(max 15 char), and a floating point account balance. Now I need to write a program that reads the records into …

Member Avatar for Ancient Dragon
0
117
Member Avatar for majestic0110

Could someone please explain the difference between GML and SVG. I understand the GML is used to describe geographic data and that SVG is used to describe vector graphics, but how do the two link and what are the other fundamental differences? many thanks

Member Avatar for majestic0110
0
123
Member Avatar for Sammy79

Hi. I'm using a[B] ListView [/B]Control for the first time, and i'm facing this problem : when i use the [B][I]Details[/I][/B] View of the ListView no item is shown but with the other View types ([B][I]LargeIcon[/I][/B], [B][I]SmallIcon[/I][/B], ...) every think is ok !!!! So can you tell me where is …

Member Avatar for firuna
0
90
Member Avatar for vze2zv5v

This is Paul Michael. I need help with my homework. The sooner you can help me the better. I am stuck. Please give me the solution ASAP.

Member Avatar for Narue
0
199
Member Avatar for LisaLLL

I am trying to edit a string in c. I need to remove the last 84 characters from a string[400], insert text and re-insert the 84 character string at the end. No problem adding text or coping text in C, but I can't remember how to reorder/manipulate the text string. …

Member Avatar for Agni
0
69
Member Avatar for dweaver6

hello, i need help in getting using one submit button to validate user's input afterr selecting between a textbox or combobox entry: here's my code: <table border="1" bgcolor="#b4beda" style="MARGIN-LEFT: 0px; WIDTH: 645px"> <td><strong>Enter Security #</strong><input id="txtLpId" NAME="txtLpId" MAXLENGTH="5" TABINDEX ="1" style="WIDTH: 90px; HEIGHT: 20px; TEXT-ALIGN: left"></td> <td align="middle"><input style="FONT-WEIGHT: bolder; …

Member Avatar for dweaver6
0
177
Member Avatar for abhi_elementx

Hi friends, I have a little difficulty accessing a textbox value from a function. Here's the code: [CODE] <HTML> <SCRIPT language = javascript> function getdata(f){ var myArray = new Array() for(var i = 0; i < 4; i++){//gets data myArray[i] = f.itemboxes[i].value } for(var i = 0; i < 4; …

Member Avatar for ~s.o.s~
0
119
Member Avatar for comwizz

Hello everyone, I ahd to make a program for initializing members of a class and displaying them.The members were name , bank account no, account type and current balance. Well , the program works well except for that null pointer assignment is displayed on the screen after correct output.Could you …

Member Avatar for Pranav Aggarwal
0
646
Member Avatar for Ankita B

hi, i have a form with 3 radio buttons and one submit button.on clicking submit i want to navigate to page corresponding to the radio button selected.How can i achieve this?..

Member Avatar for ~s.o.s~
0
83
Member Avatar for serkan sendur
Member Avatar for mbarb27

I am new to python. I have been reading tutorials and I am trying to experiment with gasp. I downloaded the latest version and I have python 2.5. I am also using Windows XP if that helps. When I enter the code for gasp to begin it comes up and …

Member Avatar for mbarb27
0
40
Member Avatar for serkan sendur

i want to have my page scroll to a position smoothly, i use javascript scrollIntoView method to provide scrolling for the page, but it moves suddenly. i want the user to keep trace of where she/he is scrolling. thanks in advance

Member Avatar for serkan sendur
0
109
Member Avatar for majestic0110

Hi all, just another quick question, I have a browse button that I would like to have open a browse dialog box. Now I have tried using : [CODE]folderBrowserDialog1.ShowDialog();[/CODE] in the event handler of the button but I am missing the using system.windows.forms namespace. so another question can be asked.....how …

Member Avatar for SheSaidImaPregy
0
88
Member Avatar for world_weapon

Hello everybody, I was just trying to understand why IE 6 displays this horizontal menu offset to the right some. I think it will display properly in IE7, and I know for a fact it shows up the way I want in Mozilla/Firefox. Basically I wanted the menu to be …

Member Avatar for world_weapon
0
93
Member Avatar for jaasaria

help me run time error.. -2147467259 plsssssss kindly help me... cant detect well the problem..

Member Avatar for jaasaria
0
101
Member Avatar for majestic0110

Hi there, here is my class(that performs an XSLT) [CODE] public void Page_Load(Object sender, EventArgs E) { string xmlPath = Server.MapPath("[COLOR="Red"]Help[/COLOR]"); string xslPath = Server.MapPath(blah blah); XPathDocument doc = new XPathDocument(xmlPath); XslTransform trans= new XslTransform(); trans.Load(xslPath); XmlTextWriter writer = new XmlTextWriter(Response.Output); writer.Formatting = Formatting.Indented; writer.Indentation=4; transform.Transform(doc, null, writer); }[/CODE] So …

0
73
Member Avatar for jaasaria

i would like to make a search textbox that will automatically searchh the data and droping down the txtbox... like in the member search of this site... pleaseeeeeeee.. kindly give me some code.. to make that... sorry for the previous thread. jaasaria

Member Avatar for jonc
0
188
Member Avatar for MattEvans

I'm trying to work out what the best structure is for these requirements.. will happily work on it, just wondering on the best direction to go in / if anyone knows from experience or reason what the best type of storage structure is.. - I 'generate' up to 20,000 integers, …

Member Avatar for MattEvans
0
114
Member Avatar for sir avalanche

ok. so i decided to make a very irritating program that fills the computer its run on with junk. here is what i have done yet: [CODE]#include <iostream> #include <fstream> int main () { int i; ofstream filut1 ("allisdust1.txt"); ofstream filut2 ("allisdust2.txt"); ofstream filut3 ("allisdust3.txt"); ofstream filut4 ("allisdust4.txt"); ofstream filut5 …

Member Avatar for hollystyles
0
162
Member Avatar for n33712

Hi The following code is part of a program i have written: for (var count = 1; count <= password.length-2; count = count + 1) { document.write('*') }; What i want is for the output of the above (which would be a number of characters the password is minus 2 …

Member Avatar for n33712
0
98
Member Avatar for 11ta

hi friends, i am using visula studio 2005 and database is sql server 2000. i have one table "Designation_Master" with two columns "DesigID" with datatype "smallint" and another "Designation" with datatype "Char(10)". i want to display both column in one row in combobox. i know concate the column. but i …

Member Avatar for Jx_Man
0
299
Member Avatar for knish

Hi, While connecting to a host computer to access its records from another computer using python. I am getting an error [COLOR="Red"]OperationalError: (1130, "Host '2k.vfx.net' is not allowed to connect to this MySQL server")[/COLOR] There is no firewall. I have installed wampserver 5 on the host pc. Is it possible …

Member Avatar for katharnakh
0
147
Member Avatar for brk235

Hi all i want to use GUI wıth the Mıcrosoft vısual C++. I have taken some reference code for Win32 GUI and compiled ıt..but ı was gettıng error to compile this code. This is the code which ı compiled... [code=cpp]#include <windows.h> int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int …

Member Avatar for Nick Evan
0
101
Member Avatar for majestic0110

Hi all I am relatively new to ASP.NET and would appreciate a little help with a problem I am having. I have a "login" page that (upon validation of username/password) loads up another page. Now I have both these pages (I am using c# btw) written, however I cannot find …

Member Avatar for majestic0110
0
124
Member Avatar for lookof2day

Hi I'm trying to compare two files names using the function given below. The files to be compared are named as xxx_yyy_abc_def_.rtf && xxx_yyy_abc_def_.html The extentions and the underscores are removed from the file names and then stored in two different arrays. So the file names stored in arrays are …

Member Avatar for lookof2day
0
139
Member Avatar for hiral_mehta

hi...... i m new devloper in c# so i need to know how to write to populate data in the gridview from sql server......and we are using multiview .......plz reply soon i really mean it thanks in advance..bye

Member Avatar for hollystyles
0
167
Member Avatar for AshwinCareem

Hi everyone, I have a problam with data types which are using in C++. I am so confuce about int,float,double,strings,etc; And numbers of bits that related to each data type. Please anyone help me to solve my problam.

Member Avatar for Nick Evan
0
156
Member Avatar for Begjinner

Hey, I was looking at some old Python topics and they contain nice info, but they also use the PHP tag for showing code - which doesn't work. Maybe these old topics can automatically be changed with the proper tag for python code? Thanks, Lars

Member Avatar for Begjinner
0
107
Member Avatar for jaasaria

it posible to change the skin of the form?? including the command button and other tools?? i would like to design a system that much attractive that the ordinary visual design.. could anyone help me. pleaseeeeee....... jaasaria

Member Avatar for Jx_Man
0
112
Member Avatar for kadajett

hey guys i am having a problem here... i am working on a new text based rpg and im trying to use a name that someone enters EXAMPLE #include <iostream> using namespace std; int main() { char name; cout <<" do you remember you name? " << endl; cin >> …

Member Avatar for brk235
0
102
Member Avatar for jaepi

Hello there! I come across this function and I was having a hard time dealing with it because it has two function prototype. [B]int swprintf(wchar_t* buffer, const wchar_t* format[, ...argument])[/B] and [B]int swprintf(wchar_t* buffer, size_t count, const wchar_t* format[, ...argument])[/B] I used the first one in Windows and it worked …

Member Avatar for Salem
0
95
Member Avatar for rolinski

Hello there! I wrote this code that performs removal of certain sequences, but its execution time exceeds one hour on a supercomputer. Could you help me to simplify it, so it will consume less time? Big thanks! /Robert #!/usr/local/bin/perl -w open (INPUT, "phastCons_200_chr6.txt") and print "phastCons is open\n"; open (OUT, …

Member Avatar for KevinADC
0
156
Member Avatar for shaikh_mshariq

Thanx to daniweb and all the posters. I have created a program for viewing process and hardware information on windows platform. Now i want to run this program on remote machine. How can i do this. I have administrator permission on that machine. Making dll of this program would help …

Member Avatar for shaikh_mshariq
0
274
Member Avatar for sree22_happy

Hi friends, i have a problem in ajax.The code will get values when i use IE but it doesnt work with mozilla browser.It showing the alert message ? I am adding the code along with this.Expecting the reply soon. var xmlHttp; function getXmlHttp() { try { xmlHttp=new ActiveXObject("Microsoft.XMLHTTP"); } catch …

Member Avatar for sree22_happy
0
218
Member Avatar for moffett018@aol

I need help on how to write a program that determines the number of days between two dates input by the user...u have to use at leat one loop structure and i dont know where to start...can someone please help me...i have the input by the user down i jus …

Member Avatar for moffett018@aol
0
88
Member Avatar for DesiShaddy

Help with sorting hand of playing cards Hi Guys, I have all my code working except sort function . I need to sort the cards in hand......and I am having hard time with that.... Any help would be really helpful ;) [code=c++] #include <algorithm> #include <iostream> #include <string> #include <stdexcept> …

Member Avatar for ndeniche
0
170
Member Avatar for bsmathew

How to insert the Oracle 9i FIELD NAME into VB6.0 COMBO BOX eg : desc customer; This table have 3 fields : CustomerId, CustomerName & CustomerAddress CombCust --> The above field names should be displayed while drop down of combo box Thank you in advance

Member Avatar for bsmathew
0
122
Member Avatar for jenpai

Hello everyone! Im just a newbie here, and i really need help from you guys. We have a project in our school right now... i want learn how to implement a simple "Post Messages and Announcements" using PHP and MySql in my site. Kind of like a miniforum where the …

Member Avatar for jenpai
0
205

The End.