199,114 Archived Topics
Remove Filter ![]() | |
I made a vb project and there i use a database as "super.mdb".My database is located at mydocuments. So i used the path(c:\mydocuments\super.mdb)in forms of my project to connect the database with my vb project. After making my project as a setup file, I installed it in my system and … | |
Hi, I'm not sure if this is the right place for a WPF question... but you might be able to help me! I am using Visual Studio Express 2010 (Which I didn't know had an evaluation time, going to have to change to 2008!) and I'm developing a WPF application. … | |
Hey all. I'm fairly new to programming and I just have a little issue. I have a code that will read in a string of character and outut weather the character are alphabetical or not but i also need to use a counter to count how many time each character … | |
Hi- I'm getting these PHP warnings: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/fileinfo.so' - /usr/lib/php/modules/fileinfo.so: undefined symbol: zval_property_ctor in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/zip.so' - /usr/lib/php/modules/zip.so: undefined symbol: zval_property_ctor in Unknown on line 0 Can't find the cause … | |
I am trying to create a form that updates mySQL-database. I've created three php-pages. **updatepizza.php** <?php $host="localhost"; // Host name $username="root"; // Mysql username $password="billie"; // Mysql password $db_name="cygna_fyraarstider"; // Database name $tbl_name="pizza_menu"; // Table name // Connect to server and select database. mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot … | |
I am supposed to pass up my lab work a few weeks back..but i dont seem to get it rite.Pls help me see what is wrong with my code.....this is the question Write a class PlaneSeat that has the following features. Each PlaneSeat object should hold a seat identification number … | |
i want to show hide multiple divs with jquery or javascript. I seached the web but i find codes that must have unique divs like: <div id="div1">text</div> <div id="div2">text</div> and so on, but i want to add the divs in a foreache php function so i can't have multiple IDs, … | |
Hello all, I have been searching for some time to find the most appropriate enviroment to draw lines and simple tri's / quads in three dimensional space. I have recently experiemented with the floatcanvas class in wxpython and I really like it for 2D work, but extending it into the … | |
Good Afternoon all, I'm working on a project for school, and we have a part where we want a combobox filled with data from a mysql database, tabel = sport. We can work out how to fill a normal combobox just with strings, but we can't find out how to … | |
public void enqueue(Object obj) { if(count == size) throw new ContainerFullException(); else { array[rear] = obj; rear = (rear + 1) % size; count++; } } this is a code that add and object to a circular array.at the start the array is empty,rear=front=0. when we add the first element … | |
Ok well I have three LinkButtons that all work that execute when clicked, however what I want to do is instead of the LinkButtons being executed individually for them all to be executed within Button1_click. Therefore how do I do this? Code can be seen below: protected void Button1_Click(object sender, … | |
hi i want to write a program having three text box in each text box i wanna right a number and when i click a button i want to show in a message box the the smallest number first followed by the larger number and last the largest using the … | |
how can i show the week number and corresponding dates using the tax year i tried Week(date, 0) but that shows 1-1-2012 as week 0 Eg; qc_data.date holds the date a qc inspection took place. if i want to show that the first full week in April this year (2 … | |
I am Working on a project in VB.net and created an application for sending bulk sms to mobile phones through internet.I created a code and tried to send sms.But it dosen't work properly.When i tried it for a single sms, it is getting so much delay to receive the message.Is … | |
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <%@ page import="java.util.*" %> <%@ page import="java.io.*" %> <html> <head> <script src="http://code.jquery.com/jquery-latest.js"></script> <script src="http://www.jquery4u.com/scripts/function-demos-script.js"></script> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>OSM L1 operations</title> <script> function emailValidate() { email = document.getElementById("HLR_STATUS_MSISDN").value; $.ajax({ url : "GetOSMStatus1?txtname="+email, success : function (data) … | |
**I'm beginner of Php .. I Develop my first dynamic website -> http://wwww.afrogfx.com if you look at my sidebar you will see categories list my problem located here if i create sub sub categories like that** CAT A - SUB CAT A-1 - SUB CAT A-2 -- SUB CAT A-3 … | |
Hallo there, does someone knows, where is the use of VARBINARY in MySQL database? Thanks, Danijel | |
Hello Daniweb Members, I am a beginner programmer and I have a problem, I am doing a PAT (Practical Assessment Task) for my school and I have come accross a huge problem, I'm trying to get a value from a selected combobox in Netbeans, (I am using the GUI builder), … | |
Hello, I'm trying to pass a List object from view to controller. The program works by pressing the link "Add new line", this adds a new row to my web page, with a input box and i would like for that input box content, on submission, to be passed to … | |
Hi all, I know I can make a color lighter programatically, by augmenting some of the RGB values. But is there a standard way to do so or is it just trial and error? And why is a blue component needed to make orange lighter? Perhaps C# .NET has some … | |
Hi everyone, I'm making my first jQuery mobile app and using a fixed bottom navbar. But the app is acting a little weird. When I tap the background twice, the navbar disappears or moves up a little. how can I fix this problem? | |
**I am working on a project:** For this project, you’ll create a form that lets the user move a simple robot a given direction and distance. You’ll also create a class that performs the robot movements. ï‚•ï€ The robot is displayed as an arrow that points in the currently selected direction. … | |
Hello I am making a simple page with one form. I want to update the password for a user in a table in MySQL - there is only one user in the table. The code DOES work. It really does update the table record, but once its updated, if succesfful … | |
suppose there are given tables that has particular attributes, and for example I need to find how many ordered a specific dish.. example: "How many fried chicken orders were made in 1 month?" How do I do the sql statement for this? Thanks for those who will help. :D | |
So i have created a list of all the files that are in a certain folder, and in the right hand is a checkbox. echo "<form action='checkbox-form.php' method='POST' name='MyForm'>"; and this is the part of interest $c +=1; <td > <input type='checkbox' name='formImage[]' value='$c'/> <br /> </td> So how can i … | |
Hello Experts, I wanted to filter a data where when I click on a DataGrid in FormA, FormB with DataGrid will only show the corresponding data. The passing Key is CustomerID. To be more clear: Form Customer with DataGrid1(which display all Customer list in CustTbl) CustID CustName 1 ABC 2 … | |
Hello, Cab I ask some help for my project? I'm using datagridview to add, edit and search items in ms access table. I already fixed the search button to work and it displays the selected row when I enter the ID value on textbox. My problem now is how will … | |
Suppose I have a class with a constructor that takes in two strings is it okay to write the constructor this way? public class box{ private String s1; private String s2; public box(**String str1,String str2**){ s1=str1; s2=str2; } } Or can I just say public box(String str1,str2)? | |
foo |-test |-xcom |-A.class |-B.java And two files: package xcom; public class A{} package xcom public class B extends A{} Given above directory structure where root dir is foo. Class B extends A. Question is: Which allows B.java to compile? The answer is: Set the current dir to *test* then … | |
HI I would like to modify the following function so that it could take any of the operators such as +,-,* or /. I want to know if its possible to do this without having to write bunch of ifs and else to define each of the operators separatly like … | |
Hi, i have a Sql Server 2008 database, with a table that has around of 2.000.000 registers. The schema of the table is the following: idSpecie (PK, int) | Kingdom | Phylum | Class | Order | Family | Genus | Specie The kingdom, phylum, class, order, family, genus and … | |
` Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at finalprojectintersection.ProjectGUI.findbuttonActionPerformed(ProjectGUI.java:278) at finalprojectintersection.ProjectGUI.access$000(ProjectGUI.java:26) at finalprojectintersection.ProjectGUI$1.actionPerformed(ProjectGUI.java:133) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252) at java.awt.Component.processMouseEvent(Component.java:6505) at javax.swing.JComponent.processMouseEvent(JComponent.java:3321) at java.awt.Component.processEvent(Component.java:6270) at java.awt.Container.processEvent(Container.java:2229) at java.awt.Component.dispatchEventImpl(Component.java:4861) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422) at java.awt.Container.dispatchEventImpl(Container.java:2273) at java.awt.Window.dispatchEventImpl(Window.java:2719) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:703) … | |
hi, am a newbie in database design and i really need some help. am supposed to create a database for the following scenario. "your organisation is a small firm that stocks equipment for hire to customers, you are required to help management create a database to simplify management of the … | |
I created a page dynamically check below the example label l=new label() l.id="lbltest" l.text+="<div id=name name=name runat=server><br />" l.text+="<div id=age name=age runat=server><br />" l.text+="<div id=gender name=gender runat=server><br />" my question is as follows I want to assign values to name and age. How can that be done? I have tried … | |
Hi, Can someone help me on this. Really appreciated. **Requirement:** 1. To generate separate html files for each pal:fragment element, for the source document attached ,the files gets name based on @fragment-id which is present on the pal:fragment elements. 2. The <pal:fragment> can be nested, wrapped with<div> element. 3. The … | |
I have the show/hide table rows function working great now (thank you), but I am having a problem with using the back button. If someone has yes to one of the items (yes/no radio buttons) the onClick event in the input tag causes the appropriate info to display. BUT when … | |
Here is my code... #include <iostream> #include <cstring> using namespace std; class employee{ public: char name[64]; long employee_id; float salary; void show_employee(void); }; }; { cout<<"Name:"<<name<<endl; cout<<"ID:"<<employee_id<<endl; cout<<"Salary:"<<salary<<endl; }; }; int main(void); { char str1[40]="employee worker"; char str2[40]="employee name"; char str3[40]="employee boss"; char atr4[40]="employee name"; strcpy (worker.name, "John Doe"); worker.employee_id … | |
I understand that when casting a string to a float, php will evaluate from left to right and stop at the first invalid character. So for example, the string "1-23" will cast to a 1. I need to evaluate the entire string though, so that the string "1-23" would not … | |
**Tic-Tac-Toe without a class** Write a modular program that allows two players to play a game of tic–tac-toe. Use a two-dimensional char array with 3 rows and 3 columns as the game board. Each element of the array should be initialized with an asterisk(*). The program should display the intial … | |
Hello everyone, I've got a question about vb.net and I hope one of you can help. In the program I made, the user has to give some input in different textboxes and have to choose from different listboxes. This wil give an unique combination and create an certain output in … | |
I mean physically harm it. damage the processor by overheating,memory etc?? Also "Does the programmer have to control memory manually in Assembly ?" | |
I have the following code for a contact us page. It isn't working. It is suppose to come up with a page after you hit send. It does not do that. It is also suppose to send, but it isn't appearing to do that either. Any thoughts? <?php /* Template … ![]() | |
hope everyone is fine there, i just wanted to ask that i want to display the image im storing in the database using php.. but i dont know how to display it, would i be able to retrieve it simply by echoing?? im not getting how would the whole process … | |
Hello! I want to ask your help so I could now continue developing my first Win 8 app using HTML5/JS. The current app I have, has 5 questions per set with 4 choices. But I want to have a customized choices for each question. For example, 1.) Capital city of … | |
Hi! Im making a database class in PHP. And i thought i might post it here, and ask for your opinions and how i can do this better? :) <?php class Database { var $db_host = 'localhost'; // Server var $db_user = 'root'; // Username var $db_pass = ''; // … | |
Hai Everybody, i have did multiple image uploader(max 20 images). the uplaoded show in 3 different groups. group 1:first 2 pics group2: after 3 pic group3: after 4 pic again start group1 anybody plz help me. var c; var pCrop; var crop_api; var rotate = false; var temp; var tempZIndex; … | |
hello, Im new to PERL and I'm writing some code to compare two files lines: file 1 gets random password from a server file 2 is a test case to check that I'm getting the password with the required characteristics ( length, alnum or num) the problem that I have … | |
So i want to show all the files from a certain folder all in one collumn(i think i am going to use table for this) and in the second collumn i want a square, and if you click on it to put the marked thing over. Or i need to … | |
I need help with the caesar cipher homework assignment, I am stuck and I do not know where to go in this problem. THis is the decoder which moves all the letters back three, but I do not know what is missing.. import java.io.*; import java.util.Scanner; public class AssignmentSix { … |
The End.