199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for nabilchampion

hope all r doing fine.. i need a quick and very quick reply m porting some cod:confused: e from windows to linux box..n i just encountered a function findfirstfile() used in windows..this function also takes wildcards as regular expression in the string I searched the net for an alternate implementation …

Member Avatar for nabilchampion
0
692
Member Avatar for jianwu_chen

When you define a variable name same as an IFRAME name, I.E won't be able to get back the iframe. See following example: [code=html] <html> <body> <iframe id='ifLoan' name='ifLoan'> </iframe> </body> </html> <script> var ifLoan=frames['ifLoan']; alert(ifLoan); </script> [/code] In IE, it will display undefined. In firefox, it's fine. So you …

Member Avatar for AbberLine
0
141
Member Avatar for Convert

I am converting from VB to VC++ (which might give you an idea of why I would be asking stupid questions). I already have a working Win32 program written using VC++ and I now need to create Drive, Directory and File List boxes that allows the user to select a …

Member Avatar for Ancient Dragon
0
117
Member Avatar for vincenzom86

Hi all this is my problem: description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Exception in JSP: /DAO.jsp:16 13: 14: Class.forName("oracle.jdbc.driver.OracleDriver"); 15: 16: conn = DriverManager.getConnection("jdbc:oracle:thin:vincenzom86@localhost:1521:XE","xxx","xxx"); 17: 18: Statement st = conn.createStatement(); 19: Stacktrace: org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:451) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:355) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) root cause …

Member Avatar for masijade
0
364
Member Avatar for chihuyu

Hello,I am new for C++.The following are the codes I wrote to calculate the sum of 2^n. The result is 2046 after running the program.That is correct. But when I change the condition to n<=100,the result comes with -2,which is obviously wrong.Then I tried different n and found if n<=30,the …

Member Avatar for technogeek_42
0
124
Member Avatar for microgoogle

hi all Following is the code which is giving me the aforesaid error : [code] #include "MessageHeader.h" #include "MessageProcessor.h"//contains the class MessageProcessor .. class RequestCacheHandler { private: public: /*********************************************************************** * Functions related to handling of requests ***********************************************************************/ MessageProcessor msgRequest; TcpPacket tcp; ..... ..... .... [/code] Am i missing something? plz …

Member Avatar for Salem
0
97
Member Avatar for vssp

Hi friends I am converting the final report to PDF file. in my application i have displayed the google map for my report . When i convert the final report to PDF file ,contentes only convert the PDF file , i unable to convert the google map to PDF file …

Member Avatar for tere
0
157
Member Avatar for pira

Hi, How and when web services should be used? Any specific scenarios or examples please? The application that I am going to develop is called ticket booking system what can be the use of Web Service to use here. Thanks,

Member Avatar for gjain81
0
116
Member Avatar for k2k

hi, i have a txt file "names" containing 300 set of personal info such as: 3765 // id thomas //last name barry // first name 876-988776 //phone number 16.37 // a price of what he purchased 8765 // id repeat dionisio // last name repeat tom // first name repeat …

Member Avatar for WaltP
0
91
Member Avatar for saurabh.verma

How do i make a windows style menu in visual basic for my application i have a menustip but i shows only one straight column, but i want like it is in windows XP and Vista. so i have two columns for different kind fo things to add how do …

Member Avatar for AndreRet
0
115
Member Avatar for wollacott

enter 5 digit number s and have them display in single digits,using division and the remainder mod. This is what i have so far but it doesnt seem to work. #include <stdio.h> int main() { int num1,num2,num3,num4,num5,number; printf("enter five digit number"); scanf("%d,%d,%d,%d,%d",&num1,&num2,&num3,&num4,&num5); num1r=(number-(number%10000))/10000; num2=(number%10000-(number%1000))/1000; num3=(number%1000-(number%100))/100; num4=(number%100-(number%10))/10; num5=(number%10-(number%1))/1; printf("first number is …

Member Avatar for WaltP
0
98
Member Avatar for sharath61

how can i get a value from my database table and display in a textbox or in the label... using c#(window application and web application) kindly guide me

Member Avatar for sharath61
0
135
Member Avatar for honeyS
Member Avatar for Chaky1

[B][I][COLOR="Red"]hi guys, i have a problem and after lookin around the internet at diffenrent computerforums i found you guys were the most helpful to eachother. ok heres the problem i hope you can help me with. - i got age of empires 3 yesterday for my son and i have …

Member Avatar for Geek-Master
0
69
Member Avatar for Snuckles108

I wanna make my own server MapleStory and i don't know where to start that OdinMs doesn't cut it because its an emulator and emulator sucks!!! too much bugs.I wanna know How to make a Database using SQL(MYSQL). Is there a TUT for this?

Member Avatar for Geek-Master
0
140
Member Avatar for nnobakht

Hey guys, in c i am trying to read an input such as a command like [code] xeyes -bg red -fg blue [/code] i have managed to read it fine if there is no spaces so a single word such as "abc" but when i have spaces i get segmentation …

Member Avatar for nnobakht
0
92
Member Avatar for hellsing

I using window Vista home premium(32 bit) and I cannot use python after I save a file once I get the following error messages "socket connection error" "IDLE's subprocess didn't make connection. Either IDLE can't start a subprocess or personal fire wall software is blocking the connection" I have to …

Member Avatar for Duoas
0
94
Member Avatar for ebabes

I had just compiled my site using Publlish Website feature of Visual Web Developer. But when I deployed the compiled website in the local IIS, I received the following error message in the browser: Server Error in '/' Application. -------------------------------------------------------------------------------- Configuration Error Description: An error occurred during the processing of …

Member Avatar for ukerbel
0
75
Member Avatar for micatex

Hello I am really new at this and are having trouble with MySQL updating .php files in the database program I am using. This used to work until I changed some of the .php file. I only changed the front end of these files and cannot see why what used …

Member Avatar for nav33n
0
123
Member Avatar for AniWeb

Hello All, Iam using Sql Server 2000. I want to Bind the Gridview with the Database, by giving the name of the table in the "Use Data Source" option in the Smart Tag of the Gridview. In the Add Connection Dialog Box I give "Microsoft SQL Server(SqlClient)" as a Data …

Member Avatar for AniWeb
0
113
Member Avatar for nu2cpp

Hi I am using BCB6 and have a memo component in my project. I want to change the color of a line(font color) depending on my message I need to display i.e. red color when I need to show an error message and black when no error. But when I …

Member Avatar for nu2cpp
0
116
Member Avatar for dogma

I'm getting a problem with a database resource in Tomcat 5.5.25 The error (from the log) is: [code] Cannot create JDBC driver of class '' for connect URL 'null' java.lang.NullPointerException at sun.jdbc.odbc.JdbcOdbcDriver.getProtocol(JdbcOdbcDriver.java:507) at sun.jdbc.odbc.JdbcOdbcDriver.knownURL(JdbcOdbcDriver.java:476) at sun.jdbc.odbc.JdbcOdbcDriver.acceptsURL(JdbcOdbcDriver.java:307) at java.sql.DriverManager.getDriver(DriverManager.java:253) at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1143) at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880) at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.getConnection(QueryTagSupport.java:274) at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.doStartTag(QueryTagSupport.java:159) at org.apache.jsp.test_002ddb_jsp._jspx_meth_sql_005fquery_005f7(test_002ddb_jsp.java:9766) at org.apache.jsp.test_002ddb_jsp._jspx_meth_c_005fcatch_005f7(test_002ddb_jsp.java:9732) …

Member Avatar for dogma
0
221
Member Avatar for eranga262154

Hi all, I want to add a string and a character to two columns of a sql database table. To do that I use a Command object rather to use the same connection on different functions. At the same time used a stored procedure to add data. Hear are some …

Member Avatar for eranga262154
0
205
Member Avatar for hemanthjava

I've read plenty of java Swing forums or questions and none of them have the right answers. I am trying to dynamically select a node in a JTree by searching for it using a search panel based on its property. My jtree allows single selection model. (SINGLE_TREE_SELECTION). [CODE]jTree.setExpandsSelectedPaths(true); // jTree.expandPath(treePath); …

Member Avatar for hemanthjava
0
117
Member Avatar for kami7125

Hello. I would like If possible get some input and assisstance on operations with external files. So this is what i have so far: [code=cpp]#include <iostream> #include <fstream> using namespace std; void main (){ cout<<" Input into the file '.' " <<endl; char zbor[20]; ofstream dat; dat.open("tekst.txt"); do{ cin.getline(zbor,20); if(strcmp(zbor,".")){ …

Member Avatar for Ancient Dragon
0
125
Member Avatar for mariegomez84

Hi! I'm trying to open a .xls file in vb, but not a specific file. What I need is something like this: if [COLOR="red"]filename.typefile=.xls [/COLOR]then msgbox ("it's an Excel file") end if What I wrote in red colour is the code I need, because I know this code doesn't exist. …

Member Avatar for Jx_Man
0
115
Member Avatar for sivaslieko++

Hi everybody, I have a class called "dynamicArray" which makes use of static array and provides addElement, deleteElement methods, etc. It stores the datatype, "myObject". I want to construct the JList with the instance of dynamicArray class, say myDynamicObj. so that whenever when I delete/add element from/to dynamicArray the JList …

Member Avatar for Ezzaral
0
201
Member Avatar for JLC

Hi guys, I'm currently trying to develop a simple graph on my website by using 3 panels. Basically I want to use one panel for the background image (X and Y axis) and the other two for bar graph blocks. My problem is that the panels are set to left …

Member Avatar for ericstenson
0
97
Member Avatar for mark2326l

I have stories and images displayed on a web page through a "repeat region" mostly designed with DV. I'm getting the data & image path from MySql. The image with the story is a link (to larger image) and is "thumbnail" size, reduced from the full size using a style. …

Member Avatar for nav33n
0
93
Member Avatar for mambojerry

I am a new asp.net user and I am trying to use this peace of code inorder to send data from the website to a console and email address. I have managed to write all the required functions, but when it comes to sqlConnection and sending the data, that is …

Member Avatar for SheSaidImaPregy
0
147
Member Avatar for dani190

Hey guys, i just registered here. I have always read posts here but never thought to register. Anyways, i am looking for some help with this script. So i have about 300 students that all need to be placed in option statements (html). I need these names then put into …

Member Avatar for mad2001_in
0
195
Member Avatar for marcus lau

hey Guys, well i need a CMS for my website ... << url snipped >> Any recommendation ???? I am quite budgeted or i would say if someone would like to sponsor a CMS i would advertise for him in my website for a year. Any possibilites for discussion is …

Member Avatar for sureshjoshi
0
425
Member Avatar for Red Horse

This code hangs on me running. The problem is that "r" does not count right (not like it is directed under FOR expression). Does the problem lay beyond the code? #include <iostream> #include<string> using namespace std; // using std::cin; // using std::endl; // using std::cout; // using std::string; int main() …

Member Avatar for Red Horse
0
99
Member Avatar for bigbadowl

Hi there I'm trying to learn how to do classes in C++ while working on a project. I have some code (below) which fails to compile with the error (below) Any help would be appreciated. Many thanks [CODE]packageType.cc: In static member function ‘static packageType* packageType::fromString(std::string)’: packageType.cc:20: error: request for member …

Member Avatar for bigbadowl
0
90
Member Avatar for Shataken

I have a combo box on a binding control. It is bound to a name column in my dataset. It works like it should, but I need the autocomplet to be able to find names by either first name or last name. For example, if I have two names in …

Member Avatar for Estella
0
875
Member Avatar for mgn2683

I am running into a problem where users insert their data into a textarea, which is then sent to a corresponding table in Heidisql. When the user clicks on the print button, it recalls the information to be printed. However, all the paragraph breaks and formatting, which is still present …

Member Avatar for mgn2683
0
114
Member Avatar for armend90

hi i dont know how it works in JS but in PHP is var codeofheight = "<?php echo $codeofheight; ?>"; but i need it in JS... the opossite of this code thnx

Member Avatar for ShawnCplus
0
81
Member Avatar for Spartan552

[QUOTE] ArrayList<ArrayList> liste = new ArrayList<ArrayList>();[/QUOTE] eclipse saying : [QUOTE]ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized[/QUOTE] The list should be containing some strings and some integers. So what I should write is ArrayList<ArrayList<MyClass>> to get rid off the warning. The problem is I dont …

Member Avatar for Ezzaral
0
418
Member Avatar for rajatC

hi! i want to change the icon of an exe file. And the file will be moved from computer so the icon must be embedded in the exe file...is there any way?? the exe file is a daily use application so i want to give it an icon which shows …

Member Avatar for Duoas
0
375
Member Avatar for jliu66

Hi, Dear my friends, I have a trick questions to ask you about python scripts for help. How can I set up a complied python code with a password so that nobody can touch or modify it and even copy it from one PC to another PC? In other words, …

Member Avatar for BearofNH
0
187
Member Avatar for fonzali

hi everybody , I have a program (below) but don't know how to direct the out put to the printer , can anyone help thanks [code=python] from calendar import * setfirstweekday(5) #saturday prcal(2008) raw_input('hit a key') [/code] another question is that I tried writing " saturday " instead of "5" …

Member Avatar for fonzali
0
309
Member Avatar for jmvr_danga_14

Hello! im new here and i have a problem regarding programming. We are required to compute for the distance of a certain city to another city...for example whats the distance of new york to los angeles..then the program will compute its distance... the output of the said program should be …

Member Avatar for WolfPack
0
93
Member Avatar for nljavaingineur

Hello developers, Im still practising my programming with coding a calculator after some reading on the basics of Java. Could really use a pointer or two here. I wrote a calculate function(calculateResult). The error message I got says that the function cannot be applied on the 'number2' argument. (on line …

Member Avatar for Ezzaral
0
102
Member Avatar for majestic0110

Hi all, I have a new job in software development and am trying to design a class specification. Now I am able to do this, but i just wondered if there is a class specification 'how - to' template I could read up on? any suggestions will be greatly appreciated. …

Member Avatar for majestic0110
0
91
Member Avatar for rajatC

hi friends... i have some doubt regarding the output at the console. what we generally have is that the output is written on the console and the cursor moves always forward. But what if in some special case we want to back track the cursor a few characters of lines …

Member Avatar for rajatC
0
133
Member Avatar for jamello

hi there guys! I have a scenario that is presently giving me sleepless nights. I need to call an asp method from an "onclick" html event but the method is being called too early. [CODE] Public Sub CheckForSomeErrors() If Session("FliteDate") = "" Then Response.Redirect("../Errorpage.aspx?ErrorDetails='Flight Date' cannot be blank!! Click 'Previous' …

Member Avatar for jamello
0
154
Member Avatar for legendarya49

I'm am trying to write a program that will do the factorail of big numbers and yet i still can not figure out why it does not work. when i do the factorail of 5 i get 20 it should be 120 and i cant figure out where the bug …

Member Avatar for JRM
0
90
Member Avatar for diyerxa

Hi all, I'm training at college in VB.NET, I'm not that far along, but know the basics. My father is in the IT dept at a printing firm. A programmer developed a fairly simple "Label Printer" application for his company in VB6. They've been running it on the shop-floor computers …

Member Avatar for Dhaku
0
213
Member Avatar for reiyn17

Write a java program that uses inheritance to extend box. Use the extend keyword to include weight. // use the super keyword to access the variables //of the parent class, remember that only weight(m) //was declared in this class but the other three //were declared in the parent class so …

Member Avatar for lovely12
0
288
Member Avatar for Venom Rush

I have a standard SELECT query as follows: [code=MySQL]SELECT eid, title, content, thumb_image FROM diary ORDER BY eid DESC LIMIT 3[/code] ...and a SELECT SUBTRING query as follows: [code=MySQL]SELECT SUBSTRING(content, 1, 200) FROM diary[/code] I'd like to combine the two so that it selects the latest 3 entries in the …

Member Avatar for nav33n
0
904

The End.