64,152 Solved Topics
Remove Filter ![]() | |
i am not able to execute applets. i have written the following program. [I][B]import java.awt.*; import java.applet.*; /* <applet code="sampleapplet" width=200 height=60> </applet> */ public class sampleapplet extends Applet { public void paint(Graphics g) { g.drawString("simple applet",30,30); } } [/B][/I]:?: javac sampleapplet.java appletviewer sampleapplet [B][U]The following error is displayed:[/U][/B] [COLOR="#ff0000"] … | |
Hi I have a form and I have a list of checkboxes I am trying to check 2 or all of them and get them to insert into one sql column in my database. When I select them it submits ok but in the cloumn on the database is storing … | |
hi, i have a application in which my need is to make a child checkbox enabled false on page load.When user clicks on parent checkbox ,child checkboxes become enabled true. i have used javascript to achieve this function. my javascript goes like this [code=JavaScript] for (i=1; i<inputs.length; i++) //if childNode … | |
Hello I am trying to write a program that prompts the user for 3 test scores, averages the 3 test scores, and keeps repeating until the user enters "N". My problem is that I am creating the average and exam scores as data type double but in order to check … | |
Except for this one problem I have created a board game in VB6. There are four red pieces and one blue, with the board as per chequers, only the white squares in use. The sqaures are in an indexed control array (0 to 63) with only the white squares enabled. … | |
hi. can anyone tell me the connectionstring for connecting to an ms access database over a network? only the second part, where you specify the location of the database, is needed. i know how to specify the jet engin. let me give an example. to connect to a local dbs … | |
I am trying to make a login page using php. index.php contain form for "login" and "password" which will be check by "process.php" My intention is: if the login or password is incorrect, an alert box will pop up telling the user the case, and redirect back to index.php Here … | |
I want to read each line of text file and store each line into a giant buffer so I can look at all the contents. How would I do this? [CODE]int _tmain(int argc, _TCHAR* argv[]) { ifstream indata; // indata is like cin indata.open("example.txt"); // opens the file if(!indata) { … | |
Hi all, [code] class: FileCheck(object): def checkFiles(install_vers=None, uninstall_vers=None): if uninstall_vers != None or install_vers != None: if uninstall_vers != None: for ver in uninstall_vers: print "checking %s" % ver if install_vers != None: for ver in install_vers: pass print "done" if __name__ == "__main__": check = FileCheck() check.checkFiles(uninstall_vers=["1.0","1.3"]) [/code] I'm … | |
HI I have an application that contains certain editable fields (textboxs) and what i want to do is know when someone has changed or entered new text. What i done was in the 'TextChanged' part of a text box was this: Private Sub txtCNotes_TextChanged(ByVal sender As System.Object, ByVal e As … | |
I am having an issue calling an object's function. Can someone assist? Error: PHP Fatal error: Call to a member function add() on a non-object in C:\Properties.php on line 39 [code=php] <?php require_once 'HashTable.php'; /** * Properties * * The following libraries should be load at instantiation * dl("php_pdo.dll"); * … | |
Hi all, I hope someone, or manyones, has something that could help me further my project. I presently operate a website which has over 50 artists, and each one offers 1 to 4 songs in an embedded mp3 player for free streaming. It's all legit, all permissions are obtained prior … | |
Ok, I had posted this- [url]http://www.daniweb.com/forums/thread128689.html[/url] and got this piece of code from a link ([url]http://vb.net-informations.com/crystal-report/dynamic_crystal_report_from_sql_query_string.htm[/url]) [code=VB.NET] Imports System.Data.SqlClient Imports CrystalDecisions.CrystalReports.Engine Imports CrystalDecisions.Shared Imports System.Data Public Class Form1 Dim objRpt As New CrystalReport1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim cnn As SqlConnection Dim … | |
Hello All I am Using sql2005 My Doubt is How To Format Numbers in Sql Query Like Format(NOS,"0000") in vb ie I have Table Tbl1 Fields Nos1 Datatype int values 1,2,3,4,................1000 When Simple Query Select * From Tbl1 We got Following o/p 1,2,3,4 But I want Out Put Like below … | |
Hello, I've been swimming with Python for a while, but there are remote field of it which I don't find easy. For example I have made an API from some XML files, and there will be many versions of it. The API is actually several modules either with functions or … | |
I am using MS Visual C++ to do a "quick" little project to create a tiny dll that I need. I hope this is the correct forum for this question. I have a fairly simple project that compiles with no errors but, when I try to build it, I am … | |
hello, I am having a problem getting all of my items to display correctly. I have a form that has a combobox. When this combobox changes I need to display different items on the form. This is the code to do this but for some strange reason not all items … | |
Hello, I want to save the image binaryImage in a file (bmp) so that I can open binaryImage.bmp and this way working with it in another programme. I have tried different ways (see below) but I don't find a solution. I have no idea how to use this method.Could anyone … | |
I've downloaded and compiled wxWindows using VC++ 2008 Express. Also am able to compile/link the Calculator example program (haven't tried the others yet). Now I want to begin writing my own program. So I searched google for tutorials to help get starte. None of them contain main(), and neither does … | |
Hi, I am supposed to design an outlook calendar like functionality to an existing application. The user wants to view all reminders based on a daily, weekly and monthly basis. I was able to solve this part by creating datatable on the fly with the reminder content and displaying with … | |
please can somebody help me to load a records from a textfile(random acces file)and display it into te lisview. | |
Hi, I'm going over this topic in unix and i'd be glad if someone could explain this bit of script: [ICODE]sed 's/\(abc\)*/xyz/'[/ICODE] so the input would be [ICODE]abcabcabc[/ICODE] which results in [ICODE]xyz[/ICODE] Also how come 'xyz' doesnt repeat 3 times because the input is 'abc' x 3 ? Thanks in … | |
I can not understand why I am getting this memory leak. First, here is the ouput from valgrind. [code] ==27078== 24 bytes in 1 blocks are definitely lost in loss record 45 of 827 ==27078== at 0x4A061A5: operator new(unsigned long) (vg_replace_malloc.c:167) ==27078== by 0x434B8F: ETArray::ETArray(QString const&, QWidget*) (etutils.cpp:343) ==27078== by … | |
I'm getting a really odd error in my program. The lvl value retains its initial value if it's left alone, but when the program runs after you've assigned it a value it get's a ridiculous number... then the previous number after another assignment... and the process continues. Here's the code. … | |
Hello everybody,, this is a simple java method that calls itself,, [code=java]class ex{ public static void main(String [] args){ simpleMeth(5); } static void simpleMeth(int i){ if(i != 0){ rec(--i); System.out.println(i); } } } [/code] If you follow the the codes you will find after sending number (5) to the method … | |
Hi, I am developing a hand held device. I am using .net compact frame work with WINCE support. Here i want to choose a open source database which supports WINCE. Can any one tell which open source database will support WINCE platform. Regards, Vijay Bhaskar | |
I am trying to do a simple queue using linked list. I am failing to perform dequeue because I cant get the logic straight. If there is anyone who could explain to me about the simple logic of this then it would help alot. Thanks. I have also posted the … | |
I'm sorry but I'm totally new on Web Development, I'd like to make a registration form for everyone that downloads a file I have on a Website. The ideal thing would be to send a confirmation email where the link to file is attatched. So basically when a person wants … | |
Hi guys,i am new to both c++ and this forum...I got a problem with a question i m supposed to do.I am supposed to create a queue system but i am stuck at a point where i can't add numbers to the queue system.This is the question... You have been … | |
Ok, I am fairly new in using Python, but have a pretty good understanding of it. But I'm up against something that I just can't figure out. I have an archived file that I am trying to take apart into individual files. It isn't a zip file, but an ascii … | |
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 … | |
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++, … | |
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 … | |
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 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 … | |
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+"); … | |
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, 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 … | |
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 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 … | |
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 … | |
Is there any way in which a crystal report be generated by giving the table name at runtime? ie. the user chooses the table whose report is needed and the .rpt files do not exist beforehand. | |
Hi, i would like to know if it is possible to pass values from one page to another through an image link? I've have tried to "echo" the values but it seems like the values are not passing into the other page. Any suggestions on how to do it? regards, … |
The End.