199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mahela

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 …

Member Avatar for AndreRet
0
977
Member Avatar for hanvyj

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

Member Avatar for hanvyj
0
235
Member Avatar for RAPTOR88

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 …

Member Avatar for Gonbe
0
152
Member Avatar for mrickert

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 …

Member Avatar for mrickert
0
117
Member Avatar for Vingklippt

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 …

Member Avatar for Vingklippt
0
221
Member Avatar for mahes_

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 …

Member Avatar for Taywin
0
926
Member Avatar for dalilice

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

Member Avatar for pritaeas
0
274
Member Avatar for elbarto

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 …

Member Avatar for TrustyTony
0
2K
Member Avatar for GeKKeR

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 …

Member Avatar for JamesCherrill
0
728
Member Avatar for alikhandro

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 …

Member Avatar for Taywin
0
107
Member Avatar for TIM_M_91

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

Member Avatar for TIM_M_91
0
116
Member Avatar for cucubear

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 …

Member Avatar for Nan0_Zor
0
108
Member Avatar for JukesK

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 …

Member Avatar for pritaeas
0
258
Member Avatar for kiranrelent

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 …

Member Avatar for smsmailcom
0
1K
Member Avatar for i_M_patil

<%@ 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) …

Member Avatar for i_M_patil
0
217
Member Avatar for afroo.gfx

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

Member Avatar for pritaeas
0
3K
Member Avatar for kv79

Hallo there, does someone knows, where is the use of VARBINARY in MySQL database? Thanks, Danijel

Member Avatar for pritaeas
0
346
Member Avatar for psy.blast

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

Member Avatar for JamesCherrill
0
244
Member Avatar for Delusional

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 …

Member Avatar for pritaeas
0
197
Member Avatar for ddanbe

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 …

Member Avatar for pvladov
0
1K
Member Avatar for dean.ong.14
Member Avatar for rotten69

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?

Member Avatar for rotten69
0
129
Member Avatar for Crima

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

Member Avatar for Mike Askew
0
293
Member Avatar for slr

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 …

Member Avatar for yewbhex
0
276
Member Avatar for king03

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

Member Avatar for seslie
0
77
Member Avatar for freakvista

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'/>&nbsp;<br /> </td> So how can i …

Member Avatar for broj1
0
161
Member Avatar for judd

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 …

Member Avatar for M.Waqas Aslam
0
126
Member Avatar for yvrej17

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 …

Member Avatar for artup
0
435
Member Avatar for Pyler

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

Member Avatar for JamesCherrill
0
134
Member Avatar for rahul.ch

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 …

Member Avatar for rahul.ch
0
1K
Member Avatar for rizwan.ali.1656

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 …

Member Avatar for ravenous
0
353
Member Avatar for _tincho87

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 …

Member Avatar for urtrivedi
0
167
Member Avatar for paolieanne

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

Member Avatar for nmaillet
0
147
Member Avatar for caniballism

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 …

Member Avatar for SethAngel
0
150
Member Avatar for vipmo

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 …

Member Avatar for JorgeM
0
138
Member Avatar for suresh.xsltlist

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 …

0
172
Member Avatar for hlamster

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 …

Member Avatar for AleMonteiro
0
449
Member Avatar for heather.fletcher.2012

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 …

Member Avatar for JasonHippy
0
139
Member Avatar for spowel4

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 …

Member Avatar for spowel4
0
233
Member Avatar for jay.zyzz

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

Member Avatar for jay.zyzz
0
9K
Member Avatar for Sneaky Pete

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 …

Member Avatar for Reverend Jim
0
245
Member Avatar for silvercats

I mean physically harm it. damage the processor by overheating,memory etc?? Also "Does the programmer have to control memory manually in Assembly ?"

Member Avatar for mathematician
0
167
Member Avatar for ajcoder

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 …

Member Avatar for LastMitch
0
138
Member Avatar for Riu 2009

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 …

Member Avatar for pritaeas
0
220
Member Avatar for bettybarnes

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 …

Member Avatar for AleMonteiro
0
145
Member Avatar for kaizokupuffball

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 = ''; // …

Member Avatar for broj1
0
195
Member Avatar for Vijaysurya

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

Member Avatar for AleMonteiro
0
123
Member Avatar for iacosar

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 …

Member Avatar for d5e5
0
175
Member Avatar for freakvista

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 …

Member Avatar for freakvista
0
109
Member Avatar for bulldogs2016

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

Member Avatar for bulldogs2016
0
181

The End.