64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for ravikiran032

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"] …

Member Avatar for kumarprabu
0
3K
Member Avatar for shadiadiph

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 …

Member Avatar for Yamthief
0
150
Member Avatar for greeny_1984

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 …

0
70
Member Avatar for QuantNeeds

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 …

Member Avatar for QuantNeeds
0
132
Member Avatar for jacobi

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. …

Member Avatar for jacobi
0
191
Member Avatar for Ravenous Wolf

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 …

Member Avatar for miskeen
0
468
Member Avatar for doel.jangkrik

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 …

Member Avatar for doel.jangkrik
0
114
Member Avatar for Nemoticchigga

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) { …

Member Avatar for Lerner
0
114
Member Avatar for asciiman

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 …

Member Avatar for asciiman
0
2K
Member Avatar for ninjaimp

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 …

Member Avatar for waynespangler
0
118
Member Avatar for blufab

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"); * …

Member Avatar for R0bb0b
0
79
Member Avatar for styzer

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 …

Member Avatar for styzer
0
87
Member Avatar for tuse

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 …

Member Avatar for tuse
0
108
Member Avatar for mafaisal

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 …

Member Avatar for mafaisal
0
155
Member Avatar for tzushky

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 …

Member Avatar for tzushky
0
180
Member Avatar for rogdawg

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 …

Member Avatar for rogdawg
0
273
Member Avatar for Ole Raptor

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 …

Member Avatar for Ole Raptor
0
157
Member Avatar for &rea

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 …

Member Avatar for &rea
0
95
Member Avatar for Ancient Dragon

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 …

Member Avatar for Nick Evan
0
163
Member Avatar for bala24

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 …

Member Avatar for bala24
0
616
Member Avatar for ahmbil

please can somebody help me to load a records from a textfile(random acces file)and display it into te lisview.

Member Avatar for eanastacio20
0
114
Member Avatar for ymf

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 …

Member Avatar for ymf
0
86
Member Avatar for Kob0724

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 …

Member Avatar for Ancient Dragon
0
192
Member Avatar for Alex Edwards

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. …

0
98
Member Avatar for nemom

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 …

Member Avatar for nemom
0
172
Member Avatar for chsarp_vijay

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

Member Avatar for tesuji
0
91
Member Avatar for joshmo

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 …

Member Avatar for Lerner
0
156
Member Avatar for e_pech

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 …

Member Avatar for e_pech
0
98
Member Avatar for Yuichi

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 …

Member Avatar for Yuichi
0
208
Member Avatar for s7plc

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 …

Member Avatar for s7plc
0
255
Member Avatar for Spartan552

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 …

Member Avatar for Spartan552
0
111
Member Avatar for nandhinijp

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 …

Member Avatar for nandhinijp
0
88
Member Avatar for 330m

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"?

Member Avatar for peter_budo
0
2K
Member Avatar for phalaris_trip

[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++, …

Member Avatar for TacklesMcCaw
0
395
Member Avatar for Shilpa Jain

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 …

Member Avatar for Shilpa Jain
0
160
Member Avatar for Shilpa Jain

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 …

Member Avatar for Shilpa Jain
0
162
Member Avatar for anakastakis

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' …

Member Avatar for preyan
0
639
Member Avatar for Shilpa Jain

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 …

Member Avatar for Shilpa Jain
0
94
Member Avatar for Alex_

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+"); …

Member Avatar for Alex_
0
918
Member Avatar for Kadence

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]=...

Member Avatar for Kadence
0
92
Member Avatar for shadwickman

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 …

Member Avatar for shadwickman
0
223
Member Avatar for QuantNeeds

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 …

Member Avatar for QuantNeeds
0
795
Member Avatar for QuantNeeds

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 << …

Member Avatar for QuantNeeds
0
635
Member Avatar for Alex Edwards

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 …

Member Avatar for Alex Edwards
0
115
Member Avatar for Alex Edwards

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 …

Member Avatar for Radical Edward
0
214
Member Avatar for b_bayaraa_d

hi all my tomcat6.0 not working but it's stop yourself tomcat. what about thing?

Member Avatar for peter_budo
0
65
Member Avatar for Alex Edwards

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 …

Member Avatar for Alex Edwards
0
121
Member Avatar for marwest98

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 …

Member Avatar for peter_budo
0
210
Member Avatar for tuse

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.

Member Avatar for sheril85
0
313
Member Avatar for heels

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, …

Member Avatar for heels
0
113

The End.