199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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. | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 = … | |
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. | |
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. … | |
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 … | |
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 … | |
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 | |
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 … | |
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. | |
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. … | |
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; … | |
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; … | |
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 … | |
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?.. | |
how can i get y coordinate of browser window after scrolling? | |
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 … | |
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 | |
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 … | |
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 … | |
help me run time error.. -2147467259 plsssssss kindly help me... cant detect well the problem.. | |
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 … | |
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 | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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. | |
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 | |
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 | |
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 >> … | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
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> … | |
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 | |
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 … |
The End.