199,114 Archived Topics
Remove Filter ![]() | |
Hi I am new database designer. I am wondering if there is ready-made standard Nationality lookup table, I think I will find those entries in some txt file since Every DBMS can load a text file. and I think there must be a standard schema for that table something like … | |
Hello everyone, I have this project where I have to convert a declaration into English word. If it reads this line(assume no spaces are used) void*(*z) (char, int (*)()); my output would be. z is a pointer to a function that takes 2 parameters a char and a pointer to … | |
I hear this argument a LOT and hear that templates/generics are far more superior in code production than virtually-driven classes. I still don't understand this. I've heard the virtual functions cause problems for performance and that the solution is always to use Templates/Generics. Do they mean that it is better … | |
Hi all, I'm working on a financial application.It is a cross platform application.I need date and time for logging purposes.Please help me out in this matter.I know about "SYSTEMTIME" but that works only for windows.Waiting for positive replies. Thanks, Asif | |
I recently completed a program and want to break up the classes into header files and cpp files. I've got the declarations in the header files, but I can't get it to build if I try to move the implementation of the classes to separate cpp files. I know you … | |
that is code to send file from pc to phon but it dont run and throw that exception java.io.IOException: Device not discovered i dont know what is the problem [CODE]try { String adr ="btgoep://000E6D80ABBE:9" ; System.out.println("addres"); ClientSession cs = (ClientSession)OBEXConnector.open(adr); System.out.println("opening"); HeaderSet hs = cs.connect(cs.createHeaderSet()); System.out.println("created header set"); byte text[] … | |
Hi guys ! Whenever I try to run an application I get the same error : [QUOTE] java.security.AccessControlException: access denied (java.io.FilePermission /var/lib/tomcat5.5/webapps/examples/WEB-INF/classes/logging.properties read)[/QUOTE] Dont know what is wrong... Here is the full log : [QUOTE]16 juin 2008 14:11:47 org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.5 16 juin 2008 14:11:47 … | |
In my project,web config properties window displays nothing.It display only plain black. comment lines and auto intelesense are not working.there are no errors to run the program.One new file included vwd.webinfo It contains below codings. [CODE]<?xml version="1.0" encoding="UTF-8"?><VisualWebDeveloper> <!-- Visual Studio global web project settings. --> <StartupServices> <Service ID="{967B4E0D-AD0C-4609-AB67-0FA40C0206D8}"/></StartupServices></VisualWebDeveloper>[/CODE] If … | |
Hello again, I've been around some threads here, some interesting, some piqued my interest. Like, forgive my ignorance, but how does one run a jar file. What special is required to run such a file? All I know is winrar a jar file and you get all these coded .class … | |
Hi All, When I run the query: [B]select (100/50)[/B] It give me "2"... good. But when I run the query: [B]select (50/100)[/B] I was expected it will give me 0.5... but it gives me 0 instead? Why? and How can I get the "0.5"? | |
[b]This is a long post with no specific questions as such. I'm just looking for any advice from people with real-life experience in the software development arena.[/b] ---------- Intro: I've just taken up a summer job, and I was really enthusiastic about this. It will be 12 weeks of C++, … | |
[quote] 1 4 15 7 8 10 2 11 14 3 6 13 12 9 5 ☺ As you can see there is a ☺ at bottom right corner. Implement the program so that a box like the above one is displayed (lines may not be displayed). Allow the user … | |
Hi everybody! I'm trying to save my web page using javascript. Can anyone please help me write the code for the same. document.execCommand(sCommand [, bUserInterface] [, vValue]) is not working in firefox. If there is any alternative to this code please let me know. Thanks a lots for reading my … | |
Hi All, I am novice in VB 6.0. I have to search data from access table using Employee no field which is unique and populate it on the form. But, I am encountering an error whenever I try to run the source code. I am getting runtime error as "No … | |
Hi All, I am making a tool in VB using MS access database. When I run the query in access it returns me the data but in VB it shows 0 recordcount. Any idea what could be the reason for this? One nore thing to ask. As multiple people can … | |
i have developed a small software. its more or less bug free. i wanted to make a setup n c if it works fine. but after making the setup software, i tried running the software but halfway it stopped and showed this error. visual basic error msftqws.pwd\$(DLLselfregisterEX) cant figure out … | |
Hey folks, I'm working on animating gifs in GD. I've adapted the use of the GIFEncoder class from phpclasses. original [B]gif.php[/B] [code=php] <?php Class GIFAnimator { var $GIF = "GIF89a"; var $VER = "GIFEncoder V2.05"; var $BUF = Array ( ); var $LOP = 0; var $DIS = 2; var … | |
For starters im making a survey form for a website and ive run into a bit of trouble, if anyone could help and point me in the right direction it would be muchly appreciated :) Im a bit of a php/mysql noob, I can kinda make cookies, I kinda know … | |
Hello, I'm trying to make a web bot that fills out a login form from this at&t site [url]http://www.viewmymessage.com/en/legacy/login.jsp[/url] I cannot seem to get it to work though here is my code: import urllib import urllib2 url = 'http://www.viewmymessage.com/en/legacy/login.jsp' user_agent = 'Mozilla/4.0 (compatible; MSIE 5.5; Windows NT)' values = {'messageId' … | |
hi guys. currently i'm doing web application in vb.net and crystal report 9. everything is ok until i run the project which problem was occured. Actually, i still newbie with this crystal report..so hopefully someone can help me to fix this problem. i don't know how to find CrystalDecisions.Web and … | |
Hi All, I am inserting data in access database using Vb6. Data is getting inserted but when I try to fetch it again, it returns an empty row.I have an idea that I have to use update/refresh statement but not getting where to use it. Please help!!! Below is the … | |
When I test my stack with an int when I do pop all it seems to return is the address of the thing that I want and not the value, which makes sense since I return something by reference.. but I just cant seem to figure out what to do … | |
hey u all code master...plzz help me...i need complete javascript code whichlist all files that are in a folder......is it possibl;e in javascript or not to list the files..... for exam ..in c:\Books\...i have five file...then i need a javascript code which list all the file on a hml page...... | |
Hi all, I have an aspx file which contains both Javascript & HTML Content. Since IE caches all .js files, i extracted the javascript content from my aspx file into a seperate .js file and referred the same in my aspx too.. [B]<script language="javascript" src="../lorappresultsmanagement/resulttab.js"></script>[/B] Now the problem at runtime … | |
Hello All, Please, advice some as quick as posible algorithm to sort file containing about 500 000 integers. Roughly 30% of them have value 1, 20% are 2, 10% 3......0,1% are 1 000 Thanks much, C | |
My problem is that i can not understand what do they mean by "The application of mathematical algorithms analisys for solving the 'perl calculus' problem". the perl calculus problem sounds like this: we have 3 ordinary perls(1,2,3), and 3 magic perls(A,B,C). Each magic perl can transform itself in the following … | |
Hey, i'm trying to sort direct in a file. The problem is that when i read the first time an int from it,it works! doh. but when it reads for the second time, it doesn't. ( Neither the swap works. No signs of errors from the compiler. [code=language] FILE *fp=fopen("element.txt","rw+"); … | |
[code]if(isset($_SESSION['admin']) == TRUE){echo "<font face='tahoma' color='#ff0000'>ADMIN : ".$_SESSION['admin']." welcome<br></font>";} $sql="SELECT * FROM messages WHERE messages.user_id=" .$_SESSION['userid']. ";"; $result=mysql_query($sql); [COLOR="Red"]$numrows=mysql_num_rows($result);[/COLOR][/code] for the previous code the browser show me this message: [COLOR="Green"]Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/www/e3lan3.freehostia.com/header.php on line 9[/COLOR]‎ and line 9 is the … | |
The vector class provides access and altering uses brackets, e.g. v[5]. How can I make a class that can do the same? e.g. given Class Test object t, t[5]=... | |
hi how i redirect from .org to .com ex: my page is [url]www.aaaa.com[/url] i want when user write [url]www.aaaa.org[/url] then it will redirect automaticly to [url]www.aaaa.com[/url] :) | |
Hi I have created a class that creates another thread. That background thread than creates a tcp client, connects to listener and waits for a message that will be send by the listener. When the message is received, it raises an event and waits for new messages. The problem is … | |
Hello all very advanced programmers. I'm a amateur programmer still learning to climb the ropes. I am trying to run a certain program on Java but seem to get some errors that does not define itself any further. These are the errors I am currently getting when I compile the … | |
Hi... my mission is to locate a certain word inside a pdf file and insert an image next to this word if anyone can recommend me on some api's or examples i will be very grateful. Thanx ahead Daniel | |
Hello, I am fairly new to Python and starting to get it. But I am having some difficulty with pickle. I am trying to get a account program to pickle user input and to save that in a data file and then reload said info and read as input for … | |
Hi, I was wondering how to get around a problem I was having with eval(). I have a list of strings and each one is the name of a python file found in the same directory as the current script. I was it to import these modules to use in … | |
Help – for both of my for header components, error reads the following, but I do not understand how to fix this because I am not sure what is wrong about it. Please help. warning C4552: '>' : operator has no effect; expected operator with side-effect [code] void inputGrades (int … | |
Help - why is there an issue with the power function? the error states: : error C2668: 'pow' : ambiguous call to overloaded function [code] void compute(int integer) { cout << integer; int value = 9; while(value > 0) { cout << ++ integer; int square = pow(integer,2); cout << … | |
I don't understand... I thought that it would be functional based on the logic, and I was fairly careful with my syntax but it's still not working. Sometimes values will compare to as being "equal" even though they're not. I'm using troolean compareTo method (an int, returns -1, 0 or … | |
hi. im having problems with comparing a string and a string array. I know it should be as simple as something like if(str == strn[0]) and if this is true, it will go to that if block statement. I've tried all kinds of test already and it seems that whether … | |
Hi, ok... Here's the story- I have been absent from my Pascal programming class for 3 weeks, I came back and now the teacher wants me to try out a few programs for a test tomorrow. I have one that I have no idea how to do... Here are the … | |
I am trying to overload * [code] class Vector3 { public: geom_Vector3 operator * (double d);//overload * from the left }; geom_Vector3 operator * (double d, geom_Vector3 &V); //overload * from the right [/code] The problem is this works [code] geom_Vector3 V(1,2,3); cout << -1 * V << endl; [/code] … | |
Can anybody teach me how to use the java source code for loading the sound device in the program, and then we can hear what the people is say? thanks a lot for helping. I am really appreciate it.. | |
I was working with my own "Vector"-like class and thought about something. If I use the [] operator and return a reference, is there any way to mark that indice when a value is assigned to it? For example.. if I want to make a trim function that removes the … | |
hi guys, pls can u help me with an algorithm that we compare record in a database one after the other.As in the first record compare to other records in the database,second record also compare compare with other records in the db,.....................untill all the records are compare. i want to … | |
hi all my tomcat6.0 not working but it's stop yourself tomcat. what about thing? | |
Whenever I try to declare a "Regular Expression" while including symbols like "+", "-", "*", the match is done based on how those operators work. Now, when I try to use the regex API via combining those operators with backslash or \Q and \E I get the error message-- "...Illegal … | |
What usually be the cuase of the file reading the wrong data, lets say I have a file and I wana read a date which is the 1st data in the file but instead is reading something else My file is more like the following but instead of reading the … | |
Hey! I'm having a problem with printing the content of a multiline textbox in a PDF document created with PDFSharp. I've searched on their site but there's nothing there. The user of my program is able to enter text in a multiline textbox that will be shown in either a … | |
I am receiving the following errors in my code. I'm trying to copy just portions of the ASP at a time into ASP.NET and fix errors as I go. I'm receiving a Statement cannot appear within a method body. End of method assumed. followed by a 'End Sub' must be … | |
1st lol..im new here, so hi every1 ;) ok my Question now..:-/ i have a problem to put an image on my MDI form which i also using an active skin in all forms including the MDI form.. can anyone tell me how can i show da Image on MDI … |
The End.