64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for puvi

Hi ppl yestday i posted a thread and that issue was solved, but a similar issue is raised again. this time, 1)i am populating the options(eg: base material, film, glass pane) in dropdown from database. 2)user selects a option, enters other details and click submit. 3)on clicking submit, all the …

Member Avatar for puvi
0
72
Member Avatar for tcl76

hi, i have a function that returns a string. For eg: 11111 or 11011. 1 is Pass and 0 is Fail. i want my code to scan the string from right to left side and also look for 0 and indicate its location. Below is my code. But i'm having …

Member Avatar for TrustyTony
0
140
Member Avatar for BlueCharge

Hello Everyone, I have some code which i use for BB codes in my forums. It works fine but I want to be able to not show the links if the user is not logged in. So below is the code I'm using for all BB codes used and the …

Member Avatar for BlueCharge
0
108
Member Avatar for devinodaniel

Hey everyone. So for example sake I have this: [CODE] <title>index.php</title> <form name="form1"> <select name="useraccounts" id="" value="" onChange=""> <option id="" value="">cant login</option> <option id="" value="">forgot password/option> </select> </form> <form name="form2"> <select name="computers" id="" value="" onChange=""> <option id="" value="">physically broken</option> <option id="" value="">needs repair</option> </select> </form> ////////////////////////////////////////// <title>popup.php</title> <form name="form"> <select …

Member Avatar for devinodaniel
0
129
Member Avatar for gyuunyuu

I understand the concept of bubble sort and have no trouble implementing it, but I can't grasp the concept of doing it for 2D array. I've googled for some resources but I was unable to understand those codes. So let's say I have a 2D char array with words (maximum …

Member Avatar for Adak
0
1K
Member Avatar for Mr.BunyRabit

Hey there. Its Ruan I have a little problem. I have a column Student number, and i can access all the individual student number values in the database ACCEPT one... the very last one in the column. this is my code [CODE] String StudentNumber = myDS.Tables[0].Rows[myDs.rows.count]["Student_Nr"].ToString();[/CODE] but when i do …

Member Avatar for Mr.BunyRabit
0
89
Member Avatar for Javitri

Hello I am working on php website. Now here im working on sending orders. So once it is ordered the confirmation e-mail goes to one who ordered(he enters his e-mail id manually) and the head of the department(e-mail ids written in code). But now I have put a checkbox that …

Member Avatar for Javitri
0
128
Member Avatar for Katana24

Im aware of the different data types in java but say if one wanted to have two different types of data in a single array; integer and string, would this be possible? Im aware that java can have an array of each type but I stumbled upon using this and …

Member Avatar for Katana24
0
199
Member Avatar for rcossy1023

My homework says: Write an assembly language program that, when given an integer n, will calculate the value of the expression (2n^2-1)2 + n^3. Your program is to get the value for n from ECX and is to leave the value of the expression in EAX. (Note: The name of …

Member Avatar for untio
0
549
Member Avatar for winky

Hey Daniweb, I am looking to FTP into a server, take a list of filenames, and store them into an array, so I can eventually write them into a text file. I am currently having an issue with the storing of the ls into a local array: [CODE] use Net::FTP; …

Member Avatar for JeoSaurus
0
557
Member Avatar for crapgarden

Here's a defined enumeration: enum shipCost {FIGHTER_COST = 25, BOMBER_COST, CRUISER_COST = 50}; Then they do this which I don't understand: shipCost myShipCost = BOMBER_COST; My question is why don't you just do the following instead? int myShipCost = BOMBER_COST;

Member Avatar for crapgarden
0
167
Member Avatar for UzuNarU

Ok what I am trying to do is submit changes. I have all the information being collected. I'm just having trouble with the proper query to run. I currently have: [CODE] $sql = "UPDATE anime_list SET anime_name = '$animename' rating = '$rating' episodes = '$episodes' WHERE id='$id'"; $result = mysqli_query($dbc, …

Member Avatar for UzuNarU
0
296
Member Avatar for ntrncx

Hey i am beginner and i read a book about c++,and i like to do all the exercises alone until i find alone the solution. but one of the topics that give me a hard time is recursions. i am on an exercise with the following code. [CODE]#include <iostream> using …

Member Avatar for alaa sam
0
206
Member Avatar for olegb

Guys: Please help. I need to create an on-screen shape (circle) that has a fill color, which will blink every X seconds (go from fill color, to white, back to fill color). This is trivial to do...BUT... i want to do it in my own class, so that I can …

Member Avatar for olegb
0
990
Member Avatar for realproskater

Im getting this error while im working on my pig latin code and have no idea what it is referring too. so here is the error and my code. ill specify the piece of code that is erroring. [code] #include <iostream> #include <fstream> #include <string> using namespace std; bool isVowel(char …

Member Avatar for realproskater
0
183
Member Avatar for eduard77

Thank you for your help so far.I try now to move on with my vector but now comes the hardest part. All the values that the float vector receives must combine somehow that the value of their addition do not overcome 12. So in other words even if I have …

Member Avatar for eduard77
0
251
Member Avatar for staticclass

Hi, guys I'm new to this forum, and also kind of new to C#. I actually develop programs in C# for 2 years, but in a very amateur level. Here is my question; I'm trying to make a game like [URL="http://www.techgadgets.in/images/block-d-puzzle-game.jpg"]Block'd[/URL] I found the way to create an array of …

Member Avatar for Mitja Bonca
0
172
Member Avatar for devinodaniel

Hey friends, I have a page that I've been working on for HOURS and finally almost have it perfect except for TWO things: 1. Every time I load the page it automatically inserts a blank row of data into my MySQL database. (Submitting it after filling out the for works …

Member Avatar for diafol
0
6K
Member Avatar for y2kshane

[CODE] Dim mark_value() As Integer = {30, 40, 45, 50, 55, 60, 66, 70, 75, 80, 85, 90, 95, 100} Dim Grade_value() As String = {"W", "F", "-D", "D", "+D", "-C", "C", "+C", "-B", "B", "+B", "-A", "A", "+A"} temp = rdr(c2) For c3 = 0 To 14 If temp …

Member Avatar for y2kshane
0
134
Member Avatar for darkelflemurian

hello guys, i have the following question/problem: -what i need to do is to get some data from sqlserver and send it to a dataset(no problem there) after i get the dataset filled i need to send the columns and rows to a textfile but i have to separate the …

Member Avatar for darkelflemurian
0
111
Member Avatar for StevoLord

Hi All, I am a newbie at java and need some help. I have a JFrame setup where basically I want to show two pictures. I have everything setup however at sleep, timers ect dont currently work and I dont know why. The snipplet of code below should show imagePanel1 …

Member Avatar for StevoLord
0
116
Member Avatar for Harliquin

Ok, so I have to write a program for school that will read data from a text file, split the data (comma delimited) into the correct type, pass that information on to a class, store the class object into an array. This is what I have so far: [CODE]import java.io.*; …

Member Avatar for Harliquin
0
153
Member Avatar for realproskater

Here is my problem: Write a program that reads in a text file and converts it to pig Latin. i.e. if the first letter is a consonant, move it to the end and add “ay” to the end, if it is a vowel add “way” to the end. Here’s an …

Member Avatar for realproskater
0
1K
Member Avatar for puvi

Hi ppl, I am trying to save the details of a form on clicking submit into a database. the details entered in text box get saved, but the options chosen from drop down are not getting saved. I noticed that, if the option has space (Eg: Tom Hanks) it doesnt …

Member Avatar for puvi
0
125
Member Avatar for ChrisHunter

Hi i need to add a combo box to a property grid that can be populated with the result of an sql statement, i can more than likely populate it when i come to it but i have no idea how to add the combo box. Currently i am creating …

0
205
Member Avatar for jonnod123

Hi All, Just a quick question to see what others think is the best preactise... You have an Windows application that connects to a SQL Server DB. You use a dataset to represent the database locally. Is it better to write queries locally in your dataset, or in SQL Server …

Member Avatar for jonnod123
0
100
Member Avatar for boifang

i have been strugling to identify my error but i have failed to solve the problem my code errors is incompatible types in line 11. [CODE]import java.io.*; public class Appliance { public static void main(String args[]) { try { File file=new File("Name.txt"); FileReader f=new FileReader(file); int ch; while(ch=f.read()) { System.out.print((char)ch); …

Member Avatar for masijade
0
133
Member Avatar for abelLazm

hello all i m working with datagridview in c# .... i have a checkboxcolumn in my datagridview..... the problem is that whenever i check the state of checkbox column in all the rows in order to perform any further operation the current row doesnt include in the checked rows although …

Member Avatar for jay.gadhavi
0
105
Member Avatar for professor123

hi guys l wanted to know that it is it possible generated diagrams in php....what l mean is that l am doing an online exam project and some of the exam questions must have graphs or diagrams on them so how can this be done to output these diagrams....... the …

Member Avatar for professor123
0
86
Member Avatar for DecreaseEntropy

I'm trying to make a QR encoder that takes a text file of URLs and names and generates QR bar codes with the URLs and names. Can anyone point me in the right direction?

Member Avatar for katmai539
0
176
Member Avatar for saad749

I have recently started learning Object oriented programming and design. I had made a small program using the procedural design to move a block after selecting it in XNA. I then tried to make the same program with an Object centered Design, but I am not able to make it …

Member Avatar for saad749
0
140
Member Avatar for SPereira

Hi Guys, I have written a program in VB 6 wherein I want to delete a particular record from MS Access Database Table. I noticed that the record does not get deleted immediately. Only after I close the recordset it disappears. I have a Delete Command Button in a Form …

Member Avatar for SPereira
0
2K
Member Avatar for tariqi

hi, when i try to run the procedure below to export the gridview1 to msword,nothing appears on the document except tags <div> </div>.anyone knows what i might be doing wrong? [code] Public Overloads Overrides Sub VerifyRenderingInServerForm(ByVal control As Control) ' Verifies that the control is rendered End Sub Protected Sub …

Member Avatar for tariqi
0
130
Member Avatar for dvprez

Hi, I need a little help importing an XML file into sqlserver 2008. I followed this example [url]http://www.sql-server-performance.com/articles/dba/Loading_XML_data_into_SQL_Server_2008_p1.aspx[/url] (make sure you goto the rest of the pages in the article!) , generated the schema etc., but I can't get the import to do what I need. I was able to …

Member Avatar for l.geetha86
0
609
Member Avatar for ctkam

i've generated dynamic pdf files from php script with mysql which suppose to have 25000 files. The problem is after the loop i only have 24978 files and 22 files is missing. I couldn't find the problem and which record did not process. i was thinking of the solution reverse …

Member Avatar for ctkam
0
100
Member Avatar for kvskchaitanya

Hello I've large data in a table in which one of the columns is description. in this column i'm to store description of materials and their tolerance which is a (+/-)ve value. for sample:18K 1/4W ±1%. while restoring the data on a test system i observed a special character before …

Member Avatar for kvskchaitanya
0
161
Member Avatar for eikal

Hey for hw i gotta do a program that spits out the perfect squares between 0 and a number entered... well i got it done but it spits out 1 extra number that goes OVER what the person entered... here's my code. [code] public static void main(String[] args) { String …

Member Avatar for ztini
0
117
Member Avatar for Hakoo

Hello Friends, I want to synchronize the database from server to mobile application. I googled so much. I got much information on : [LIST] [*]DB2 Everyplace [*]IBM CloudSpace [*]PointBase(Not able to download) [*]Sync4j [*]SyncML [*]Data Sync API(Not able to find) [/LIST] Now I am confused to which one to select? …

Member Avatar for Hakoo
0
179
Member Avatar for rssk

hi all, f1 =['0.2' , '0.4','0.0'] f2 =['0.1','0.2','0.1'] f = f1 - f2 i need a output like f = [0.1,0.2,-0.1] but wen i run this program it is showing error like [B]TypeError: unsupported operand type(s) for -: 'list' and 'list' [/B] thanks in advance.........

Member Avatar for rssk
0
176
Member Avatar for arguav74

Hi everyone, I am new to C++ and I'm having difficulty getting this program to work to calculate Haistone numbers. So please - any advice or solution as to what I'm doing wrong would be greatly appreciated. The program is to take two numbers, and then for each number in …

Member Avatar for Ancient Dragon
0
368
Member Avatar for L3gacy

Hey everyone, My problem is that in my program below I made an indefinite loop for comparing strings and values, my problem is on line 60 & 61, the loop automatically accepts whichever if statement is on line 60 when I test for an uppercase and lowercase char, as soon …

Member Avatar for L3gacy
0
234
Member Avatar for azzu khan

i have a (check style)list box which have some items.i want to remove more than one items which are selected(checked) . this removing event is done by clicking on command button. but it gives error of "invalid property array index" plz help me to correct this error.... [B]this my coding.....>>>[/B] …

Member Avatar for WaltP
0
165
Member Avatar for CaffeineCoder

Can anyone recommend some good online tutorials for learning .NET? Something for VS2005 or 2008?

Member Avatar for Fortinbra
0
115
Member Avatar for comSysStudent

Hi all, I'm mostly into my Java so I'm not even sure if I gave the post a proper heading. Basically I'm trying to read two matrices from the command line and print them out. Reading works as far as I can tell but when my program tries to call …

Member Avatar for comSysStudent
0
219
Member Avatar for bettybarnes

I'm having a problem with user control.. how can i disable from the panel the user control if another user control is selected from menustrip??? here is my code at the moment [CODE] Private Sub LabToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LabToolStripMenuItem.Click If LabToolStripMenuItem.Enabled = True Then …

Member Avatar for lolafuertes
0
138
Member Avatar for miturian

So, in the course of a numerical simulation I have noticed that if I save and load the state of my system (a large number of doubles), the following behavior of the system will be slightly different from if I just kept the info "inside the program" and didn't bother …

Member Avatar for miturian
0
187
Member Avatar for bettybarnes

Hi guys pls help me with my problem this is for my update code [CODE]Private Sub BtnUpdate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnUpdate.Click Dim StrSQL As String = "updatePatient" classLibrary = New ConnectionLibrary classLibrary.openConnection(strConnection) 'label1.text = databasestatus If Not classLibrary.isConnectionOpen() Then Exit Sub End If classLibrary.initializeCommand(StrSQL) classLibrary.addParameter("@IPD_ID", …

Member Avatar for lolafuertes
0
155
Member Avatar for alex55

I have this string function that should calculate the average of and array compare the values of the 12 numbers and output which month has the highest temperature -(0-11) = (Jan-Dec) -all variables not defined in the function are defined globally The problem is when I compile and run the …

Member Avatar for alex55
0
131
Member Avatar for raghujosh

I want to get the list of items from a database as a Java resultset. When I use the following SQL statement it works perfectly fine [CODE]SELECT First_Name FROM dbo.Names where First_Name LIKE 'A%';[/CODE] However when I pass it as a parameter, it does not work I have tried a …

Member Avatar for raghujosh
0
143
Member Avatar for discovery-power

Hi All, I really need some help. I have been asked to write a search screen for a rooms booking application. I have kept the design nice and simple so all the user has to do is enter the dates they want to book a room for and the results …

Member Avatar for discovery-power
0
95

The End.