199,114 Archived Topics
Remove Filter ![]() | |
<HTML> <HEAD> </HEAD> <BODY> <APPLET Code = WelcomePage.class width=300 height=300> </APPLET> </BODY> </HTML> | |
how to inset data into ms access database in vb 2008 | |
Hi all, I have region which initially needs to be fixed in a certain position. After data is returned to the page and the user scrolls down to the bottom instead of remaining in its fixed postion I want my region to float to the top of the page, if … | |
Hi guys, hope you can help. I'm creating a mixture of an employee scheduling system with elements of a Human Resource Management System for small to medium businesses. I ideally want to create a java application with a database backend, which I'm trying to see if I can apply sql … | |
Write a program that tells you if the expression entered is a tautology or not. Assume that you have no more than three propositional symbols in your expressions -- call them P, Q, R. You must use the linked list implementation of the data structures needed. The above is my … | |
Hey, I'm on the rookie side, to Python, and Pygame and new to this community, and I'm confused if this could be possible; I want to change the data type of a list, in Python, from strings to integer (they have to be integer, because I need to sort them … | |
I have two classes named [B]ROAD[/B] and [B]PATH[/B] [CODE] public class ROAD { public string getData() { return "Marlton Road"; } } public class PATH { public string getData() { return "Tagore Path"; } } [/CODE] Also i have a function named FETCH() in my Static Void Main FETCH() contains … | |
My problem is as said "expected ';' before "int" " I dont the problem => This obviusly aint the hole text, rather its the place where its complaining. [CODE]int tarning2(void) { return(tarning1()+tarning1()); } int tarning1(void) { int max = 6, min = 1; return (rand()%(max-min+1)+min); }[/CODE] This might have something … | |
Hi!, I have a text file that contains a 2 dimensional matrix, and I will have to deal with many different files with different matrix dimensions, so I decided to use vector of vectors as they double their size automatically. the problem is that I don't know how to get … | |
Hi :) I'm trying to create a small javascript menu. I have 4 images which serves as menuitems. [code]<div class="myMenuButton"><img goes here /> <div class="myMenuContent"> Random content1 here <br /> Random content2 here <br /> </div> </div> <div class="myMenuButton"><img goes here /> <div class="myMenuContent"> Random content1 here <br /> Random … | |
public class thermostst{ private float currenttemp(); } I thought in java only abstract classes can contain abstract methods like this! I got this from a algorithms and data structures book and im guessing its a printing mistake and currenttemp should not contain the () . Thank You | |
I have a problem - I need some help. I am having trouble with some coding. I have created a drop down list with the months of the year. Next to this I have created a button. What I want to do is when the user selects a month from … | |
Hello Daniweb posters. I have a code that is supposed to make a sign up sheet for a web page. Problem is, the code does not work. When I run the code it gives me: syntax error, unexpected T_PRINT in line 15. I know there is something wrong with the … | |
So both classes are in the folder. How am I able to call variables in one class from another another class. For example, I ahve 2 classes, Class1, and Class2. So in Class1, I have "double a" and its value. How can i refer to this "double a" and its … | |
Can someone pliz guide me on how to consume jax-ws web services from a gwt app. Or if one knows a good tutorial can post a link. Thanks | |
I have the following html file [CODE]<!DOCTYPE hmtl> <html> <head> <title> Minimum Spec Test </title> <script src="Compatability.js"></script> <script type="text/javascript"> var can, ctx; var img = new Image(); function Init() { can = document.getElementById('canvas'); can.width = 100; can.height = 400; ctx = can.getContext('2d'); img.src = 'Images/_test.bmp'; ctx.drawImage(img, 0, 0); } </script> … | |
I have a page with a slideshow which doesn't look too great in IE8 or lower. Is there a way to display different content for these browsers? | |
DW has written some js code for me and it works just like I want it to in FF but IE .... not so much. [CODE]<div id="menu"><p onclick="MM_openBrWindow('sitemap.php','SiteMap','width=640,height=480');return document.MM_return false"><a href="sitemap.php">Site Map</a></p> <p onclick="MM_openBrWindow('policy.php','Policy','width=640,height=480');return document.MM_returnValue"><a href="policy.php">Policy</a></p> <p onclick="MM_openBrWindow('send_mail03.cfm','EmalMe','width=300,height=370');return document.MM_returnValue"><a href="send_mail03.cfm">E-Mail Us</a></p></div> </div>[/CODE] The questions of course: Why not? and "What … | |
I'm modifying a page that handles content addition. I've been tasked with allowing simple PDF file uploads, but can't figure it out. The PDF is to be posted, then uploaded and the title saved into a database field. All this functionality is to be contained within the one content addition … | |
hi there! i would like to ask if what am i going to do to save in having multitasking function . here's my code below: can u suggest what to do wih this thing ? thanks <?php $server = 'localhost'; $user = 'root'; $password = ''; $database = 'access'; $con … | |
don't go by the size of code. [U]before inserting search function my code was working fine with insert function. but don't know what is wrong with search fn. or declaration of variables in main().[/U] [B]this is what compiler shows. tree.cpp:316:15: error: cannot convert ‘int*’ to ‘redblacktree<int>*’ in assignment tree.cpp:318:15: error: … | |
(If you are familiar with Memcached, better) can take a look at the img. on the third column (named 'Value'), I need to put a 'button/link' that when clicked it will display/hide the content of the cell. In a sort of javascript 'toggle' function. (i'm not sure which to use: … | |
t to do something like [code] void f1(int a[][]) {//do smth } //and call the function like this F1({{1,0},{2,5}});[/code] | |
Hi, this is what i'm trying to do [icode] class a { private: string attribute; string p_msg; public: string& getAttribute() { return attribute; } }; [/icode] above is the class, i want to call function getAttribute() from class a is a linked list: list<a*> aa [icode] void sortFile(Manager& manage, const … | |
Can the value of vertical scrollbar attached to Msflexgrid be made to maximum through vb code. thanks & regards | |
Hello, [[All sample links may not work after the thread is solved, I will keep them up as long as I can though]] I'm trying to make a graph work, which it does, not when CSS is present on a page though... In my setup I use graph.php to create … | |
I'm making a little script using jQuery to send a sentence to a textarea by clicking on the text. It does this fine however, if I edit the textarea to remove a sentence manually, I can no longer click on the sentences to send them to the textarea. Don't know … | |
[code] # -*- coding: utf-8 -*- #diretorios de imagens alldir = ("C:\\Users\juridico.anoreg\Desktop\OFICIOS-ANOREG\imagem\\") # from tkinter import * from tkinter.filedialog import * import sys import tkinter import time import math import datetime import os import subprocess import tkinter.messagebox import calendar as cd from tkinter import * import webbrowser import tkinter.font class … | |
So in C# I can create an array of n elements: [CODE] int[] myArray = new int[n]; [/CODE] I have looked and it doesn't seem as though I can create an array like this in C++ (using new). Could anyone please explain why I cannot use new to create an … | |
Hello this is my problem below How would i do this: Got a text file called directorycontents.txt in this directorycontents.txt there is a bunch of text each one is a filename with a filename extension i want to be able to go like this if there is a filename extension … | |
Hi. I am making a membership application in which users will need to login and then can make a reservation, edit their previous reservation, cancel etc, and in which admin will be able to add new users, edit all reservation etc. So I would like to ask you is php … | |
Is there a command in Perl that will strip off the last element in an array and replace it with a constant value? | |
I need to copy multiple sheets into the template accordingly. well, i manage to copy for the first sheet only. i've tried to modify the code to copy multiple sheets at one time and i couldnt get it right. here's the code for copying the first sheet into the template. … | |
Here is a item tablelist.Its a JCombobox.I wrote the itemlistener for it. The problem is when ever i select an item in it for the second time onwards i am unable to see the data in the listScroller in UI,but i can see the data in the console. Ewerything is … | |
Hi folks, I have written code to random access files in c++ . I got result without creating a method for write a record to the file. I have given the code snippet below. [code] #include<iostream> #include<fstream> #include<iomanip> using namespace std; class student { int rollno,marks; char name[20]; fstream fpointer; … | |
Hi All, I am having a bit of an issue moving back into Java. The issue that I am having is that I am trying to call a method of a custom class that has been instantiated in my main java file from a form that is also in an … | |
This is my first time really dealing with C# i did this in VB with ASP but never with C#. What i need to do is take data that I enter into a textbox and save it to my SQL server and there is also a Image that needs to … | |
hi all. here's my problem;. I would like to have a macro to export data from an excel file into the database(SQL) for insert and update data purposes. but i'm not sure how to do this.Can someone please show me a code syntax on how to do it?the excel file … | |
I am having problems with this line of code: --System.out.println(line +"is ranked at" + location + " in popularity amoung girls with" + model.getFrequencyListName(location));-- what it is telling me is that I need an int method for getFrequencyListName, and I have have one but it is for an array. Obviously … | |
I need some help. I'm trying to create a number pad like a cellphone that captures user input by pressing buttons in a panel on the left and displaying what the user punches in the top panel. Then I have a clear button in the panel on the right to … | |
how can i pass mu multiple selecteditems from listbox to database... i convert it to string however , the currently or last selected item is the only values being pass to the database.. [CODE]string list = listbox1.SelectedItems.ToString();[/CODE] | |
Hey guys, i have an image on my screen that I want to go on and off every half second, so it has a flashing affect. i am using Netbeans and J2Me and I want to know the best and simplest most efficient way to do this, any help is … | |
I can compile following code using "cl A.cpp" but i want to compile with an input file A.in and generate output file A.out.. is there any why to do that from cmd.... [B]A.cpp[/B] [CODE] #include<stdio.h> int main(){ int n; while( scanf("%d", &n) ){ if( !n )break; printf("%d\n", n); } return … | |
I am writing code for a C++ class. I have tried a couple of different ways to write it, but I keep failing. Here is what I have so far and also what the assignment asks us to do. Please help You have been asked to write a program to … | |
Okay, so what I am trying to do is pull user data from a phpBB forum site, basically just what a member's ID is, their "rank", join date, and the other information fields that are generally displayed on their account to the public. The problem is, the site is setup … | |
project help! how to make shape like this? (using "while") * * ** ** *** *** **** **** ***** ***** very please, i need help immediately... i can make only one triangle(using "for"), but now i'm gonna make two triangles using "while".... ------------------------------ and this is my triangle(using "for"),, but this is only one shape … | |
I'm having trouble sorting my column tables. When a title of a column is clicked, it is sorted alphabetically or by number smallest to biggest. I'm also having trouble formatting the date (Born and Died dates). Currently it looks like this YYYY-MM-DD. I need it to look like this MM-DD-YYYY. … | |
I have a serious problem, I read 100+ articles all over the web about tis exemption, and I cannot solve my problem... [CODE] String query(string groupuser, string parametr1, string parametr2) { try { string connectionPrefix = "LDAP://" + domain; DirectoryEntry entry = new DirectoryEntry(connectionPrefix); DirectorySearcher search = new DirectorySearcher(entry); if … | |
Hi guys i am having this exception [I][I]Initial SessionFactory creation failed.org.hibernate.MappingException: Foreign key (FKF5B10F06F8C1E633:detalle_pedidos [pedido_id])) must have same number of columns as the referenced primary key (pedidos [pedido_id,cliente_id,empleado_id]) Exception in thread "main" java.lang.ExceptionInInitializerError[/I][/I] according to this my table pedidos mismatch detalle_pedidos here pedidos pojo [CODE]import java.math.BigDecimal; import java.util.Date; import java.util.HashSet; … | |
Ok i am trying to create a simple program that will allow me to use an array with 8 numbers, the output form should show the numbers in their original order that the user inputs them, in numerical order, Highest number, lowest number and then the average number. If anyone … |
The End.