199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for zia zia

Hi Guys... I'm making a form with the ability to delete users. But don't know how to do it... My form structure.. users.php ---- Lists a user with options like edit user / delete user. (His details are displayed from database on my html page in a table.) For delete …

Member Avatar for therest
0
1K
Member Avatar for Duki

I've spent the last couple of days researching how to connect to a database server and modify the data in that server. I was able to find a lot of information on how to Read from a database, but I found very little material to assist with Writing to a …

Member Avatar for Duki
0
823
Member Avatar for Seba Sama

Hi! I'm working on a query that stuck me for some hours. I have 4 tables that I need to query to get a result that I need to populate a flexgrid with. Table Transactions contains (tID, data, clientID, operation) that I need. Table TransactionsContent contains some columns that I …

Member Avatar for vb5prgrmr
0
126
Member Avatar for khipasi

Hi, I am trying to populate a listview with the data that is entered on the Edit box, but I am getting errors: Form1.Listview.Insert(0); Form1.Listview.Items.Item[0].Caption := Name{Name in the Diaolog Box) Please help.

Member Avatar for khipasi
0
98
Member Avatar for octavia

HI , i'm new in xml. I'd like to ask one thing that what is the difference between .config file and .xml file? As long as i m not clear for this part, i can't go through anymore. Pls reply me :) :)

Member Avatar for octavia
0
584
Member Avatar for muralibobby2015

hello.... i am fully confussing with this problem. i have to display sorting order from my table. i have table like this. [CODE]auto_id,firstname,passportno(int).[/CODE] now i am displaying [CODE]order by passportno[/CODE] but here i saw very funny issue. i have passport nos like this.....[CODE]077,100,099,088,101,1000.[/CODE] now after executing the query [CODE]"SELECT * …

Member Avatar for EvolutionFallen
0
95
Member Avatar for Duki

Hey Guys, I'm connecting to an SQL server and updating some fields. This works: [code=c#]cmd = new SqlCommand("UPDATE Laptops SET Checkout_Date = '" + form_CheckOut.checkout + "' WHERE name='pen-laptop1'", conn); cmd.ExecuteNonQuery(); [/code] But this one doesn't: [code=c#] cmd = new SqlCommand("UPDATE Laptops SET " + " isCheckedOut = 0" + …

Member Avatar for Duki
0
76
Member Avatar for cc11rocks

like for a regular menu it would be: [CODE]def menu(list, question): for entry in list: print 1 + list.index(entry), print ") " + entry return input(question) - 1 items = ["bookcase", "sleeping dog", "couch", "closet", "rug", "door"][/CODE] [COLOR="Red"]How to create a menu to where when you entered 1 for bookcase …

Member Avatar for vegaseat
0
2K
Member Avatar for weavercs

I have two functions: [code] int GetRowCount() { return lvComponent.Items.Count; } string GetCellText(int row, int col) { return lvComponent.Items[row].SubItems[col].Text; } [/code] lvComponent is a ListView control. I call both of them from another thread using Invoke. The first one works perfectly. The second one throws an exception saying that you …

Member Avatar for nick.crane
0
105
Member Avatar for ebabes

I am creating an ASP.NET web page using Visual Web Developer and using C# as my script. Can anybody give me a code in C# that will load another aspx web page? The situation is like this: a page is loaded automatically when a user pressed a button and satisfied …

Member Avatar for kvprajapati
0
136
Member Avatar for progcomputeach

A friend and I were discussing again. He said programming requires too much maths knowledge-I said that you just need to know the basics (addition, subtraction, division, multiplication). He also reckons HTML is a programming language ;-) What do you think?

Member Avatar for progcomputeach
0
110
Member Avatar for reviloera
Member Avatar for chrishea
0
71
Member Avatar for djohnston1

I am using Visual Studio 2008 sp1 - VB.Net I have been working on an application for a while now that has printing for each of roughly 30 forms. All the printing up to now has been with text only, so no need to worry about color ink. I was …

Member Avatar for djohnston1
0
263
Member Avatar for manojd

fellow developers...i am new to web development...I am developing a simple web application using Oracle for Weblogic Workshop with Weblogic 10Gr3 server. However my deployment server is weblogic 7.1. When i deploy and run the app, i get the following error Parsing of JSP File '/index.jsp' failed /index.jsp(6): class 'xxx.xxx.xxxx' …

Member Avatar for Thirusha
0
309
Member Avatar for _taz_

I am trying to insert data from one column in one database into a column in another db. the tables already have the column in place. they both have a unique identifier column (userid) I wrote a little insert statement, but when I try it I get the following error …

Member Avatar for _taz_
0
95
Member Avatar for anjkris07

hi.. i'm still new to java and i have a project to work on regarding card games. I want to shuffle the deck but i just can't get it.Shuffling the deck must be alternate each element. I don't know if i'm doing the right thing. I keep getting a " …

Member Avatar for anjkris07
0
210
Member Avatar for zia zia

I just want to know if this is the correct syntax for updating data in the database. [CODE]<?php $user_id = $_GET['user_Id']; $qry = mysql_query("SELECT win_id,win_net_drives,win_asset_no,win_new_pc,win_requirements,win_uid FROM windows_application WHERE win_uid = '".$user_id."'"); $db = mysql_fetch_array($qry); if($_GET['process'] == 1){ $drives = $_POST['network_drive']; $asset = $_POST['win_asset_no']; $newpc = $_POST['new_pc']; $winreq = $_POST['win_requirements']; $qry …

Member Avatar for rajarajan2017
0
157
Member Avatar for redZERO

I know that i might be jumping straight into the 'deep end', however I want to make a program which accesses a file (.txt for example) over the network. For example, you type in the IP Address of the computer where the file is stored, and the program reads from …

Member Avatar for NormR1
0
162
Member Avatar for vijayindia

plz reply to my web id my web id is <EMAIL SNIPPED> plzhelp me[code]import java.io.*; import java.applet.*; import java.awt.*; class crystal extends Applet { private crystalGrid crystal; private Button reset, stop, go, moreRows, fewerRows, moreCols, fewerCols; public void init() { reset = new Button("Randomize"); add(reset); stop = new Button("Stop"); add(stop); …

Member Avatar for CrazyDieter
0
109
Member Avatar for iqra123

hiii... i running a program of C heres one function in which i am getting an error. [CODE]void snmp() { int count; char switch_val; printf(" start sending requests\n"); printf(" select '1' to send get request\n"); printf(" select '2' to send get next request"); scanf( "%d", switch_val); switch(switch_val) { case '1': …

Member Avatar for iqra123
0
72
Member Avatar for ayesha789

Hi, this is my option value. June is my Default selected Value, but there is a small issue. When Users select any month like January-2010, when he/she click on submit button. Page will show again June in Option. But I want which the user selects. [CODE=php]<td> <label>Billing Month <span class="small">Like …

Member Avatar for rajarajan2017
0
135
Member Avatar for tulipputih

Hi everybody, I would like to have functionalities & interface like this [url]http://www.bluenile.co.uk/diamond-search?filter_id=0&track=head[/url]. Currently, the search result and checkbox are presented as in the above example. However, I am not sure of where should we keep the checked value to have something like in the bottom. ( all selected record …

Member Avatar for tulipputih
0
271
Member Avatar for healthbasics

Can anyone tell me what the best option for getting the dynamic title AND dynamic meta description on my particular site setup would be? I have an index.php but all of the individual page content is stored in a subdirectory called \html\ it's stored as .html files and is called …

Member Avatar for vibhaJ
0
78
Member Avatar for ayesha789

This code is about months and year options. When you change the months or Year and press Submit button it will show selected month and year which you sleclet. This will be helpful for you all.

0
133
Member Avatar for eshabajaj
Member Avatar for dan1992

i have done a login form but its giving error :9 can somwan help me[B] index.php[/B] [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1250"> <title>Login Panel</title> </head> <body> <form action="login.php" method="POST"> Username : <input type="text" name="username" > Password : <input type="text" name="password" > <input …

Member Avatar for dan1992
0
170
Member Avatar for charqus

Hello guys. I have an application ( size ~3MB ) , with 5 forms. In my principal form i want , like when the program starts , a [B]SoundPlayer[/B] to sing. Ok , look what i did: first , i loaded my picture ( in resources - Audio - save …

Member Avatar for nick.crane
0
161
Member Avatar for xaop

[QUOTE]Armstrong numbers are the sum of their own digits to the power of the number of digits For example, 153 = 1³ + 5³ + 3³[/QUOTE] Here is my attempt [CODE]#include <stdio.h> #include <conio.h> void main() { clrscr(); int i,r,h,t,o,s,n; printf("Please enter any integer.(Not more than four-digits) "); scanf("%d" , …

Member Avatar for Banfa
0
145
Member Avatar for ajwei810192

Hi, I wonder if anyone on this list has tried to mix numerical variable, such as 1, 2,3 within an xpath expression. [CODE]songList = document.SelectNodes("/music_songs/song[category='" & drop1.SelectedItem.Text & "'][item_number_first<=position()<=item_number_last]") [/CODE] For some reason, item_number_first and item_number_last appear to have no value in the above code snippet, when they do have …

Member Avatar for ajwei810192
0
116
Member Avatar for Xinnie

I am writing a project planner/tracker program and it's my first attempt to write a program on my own. It's almost done but my forms aren't really cool. I'm not any experienced so I can't be mega creative. Do you know any sites/tutorials that might help me develop my design, …

Member Avatar for Xinnie
0
107
Member Avatar for teddy99

Hi all, Here's my first post. I have a problem which I've worked on for a while now. I'm new to php, html, scripts, but I'm a very quick learner and have worked in IT for years, so hopefully someone can point me towards what I need to do/learn to …

Member Avatar for pzuurveen
0
106
Member Avatar for SciFiCoder

Hello. This is my first post. Hopefully the first of many. I am currently starting my journey in collegiate Computer Science and as such I know some basics about programming - logic and a fledgling understanding of some languages. Right now I am trying to create a program that uses …

Member Avatar for nick.crane
0
131
Member Avatar for War_Archer

in shell scripting let say a variable [CODE]first="abcd:efgh"[/CODE] how do I find the index of : if its even possible thanks

Member Avatar for akand
0
142
Member Avatar for nestensity

I'm trying to create a program that prompts the user to input the amount of students and their score and then prints it out. However im stuck at slots.get(i).inputData(); as i get [CODE]Exception in thread "main" java.lang.Error: Unresolved compilation problem: Cannot invoke inputData() on the primitive type int at GradeBook.main(GradeBook.java:52)[/CODE] …

Member Avatar for stephen84s
0
130
Member Avatar for xofth

unable to put new line in this code i try "\n" , <br/> but not working i want that when this docoment write in the file data.txt there should be new line between First name, last name and email [CODE]<?php $file = fopen("data.txt", "a+"); fwrite($file,"First name:$_POST[fname] Last name:$_POST[lname] Email:$_POST[email] Comment:$_POST[comment]"); …

Member Avatar for xofth
0
97
Member Avatar for deeptakshd

i created a page for searching records from database it is working well for repeater control but i want to display result in gridview......plz help [code] <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> <asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Click" /><asp:Repeater ID="Repeater1" runat="server"> <HeaderTemplate><table width="100%"><tr><th>NAME</th><th>LAST_NAME</th><th>EMAIL</th></tr></HeaderTemplate> <ItemTemplate> <tr><td><%#DataBinder.Eval(Container.DataItem, "fname")%></a></td> <td><%#DataBinder.Eval(Container.DataItem, "lname")%></td> <td><%#DataBinder.Eval(Container.DataItem, "email")%></td></tr> </ItemTemplate> <FooterTemplate></table></FooterTemplate> </asp:Repeater> [/code] …

Member Avatar for dnanetwork
0
184
Member Avatar for masterofpuppets
Member Avatar for TrustyTony
0
798
Member Avatar for danny4444

Hi, im a new user, and fairly new to ajax. I'm trying to create a blog that uses RSS. The problem is that google chrome displays the results from the rss.php script, yet Internet Explorer does not. Any help would be greatly appreciated. Here are the functions i am using …

Member Avatar for danny4444
0
153
Member Avatar for meo_spt

I want to code a page index.html, when loading this page, we will show a child form, its name is child.html, and disable body of index.html, when i closed child form, the index.html must be enable. This resembles Daniweb page, when i click member login.... Everybody can tell me a …

Member Avatar for EvolutionFallen
0
83
Member Avatar for zia zia

Hi Guys! I want to know how to limit the no of records to be shown in dropdown list from mysql.Below is my code. I just want to list 4 records from colum name 'department_name'. The colum has 11 records in total. [CODE]<select class="ac" name="area" > <?php $qry = mysql_query("SELECT …

Member Avatar for zia zia
0
109
Member Avatar for ariez88

I want to monitor the activities of all the folders present at "C:\Inetpub\ftproot\san".User can work on any type of files and not only text files.Since we have given 1GB space (lets say) to each user, so user can do anything to utilize this space. Variable "id" is redirected to this …

Member Avatar for kvprajapati
0
179
Member Avatar for pmishra
Member Avatar for thehelios
0
145
Member Avatar for sbabanli

Hi, My question may be very simple [B]How to know that subscriber has received my letter (i need get message or mail from my script)?[/B] I need just to know statistics of my subscribers receiving (even not opening it) my newsletter.I need just code in PHP. best regards

Member Avatar for sbabanli
0
82
Member Avatar for dansnyderECE

I think this is an easy question but I don't know the answer to it. How does one link the value of an argument to a function and the functions parameters? For instance: [CODE]int a; int b; void fn(int &c, int &d) { c++; d++; } int main() { fn(a,b); …

Member Avatar for aman rathi
0
181
Member Avatar for iqra123

helloo i have to communicate between two users and i want to do it through e mails. how can we send messages on email address in php??? do we have to use any e mail server?? plz help !! Regards!

Member Avatar for iqra123
0
136
Member Avatar for Alex314

Hello, This is probably trivial, but I can't find a solution to the following problem. In C++Builder 2007 I was able to write different strings both to the Application's Title and to the Main Form's Caption. In the Title I displayed the name of the Application; in the Caption (showing …

Member Avatar for Alex314
0
153
Member Avatar for mazdaspeed6

Ok, im using vb.net and a DGV to open a access DB. On load im filtering out everything except what was created on the current date. [code] Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'TODO: This line of code loads data into the 'Database1DataSet.Table1' table. …

Member Avatar for Teme64
0
110
Member Avatar for pathostamuka

i have data which i am receiving as xml files and i need to put the data in a database and then use it to create reports on a windows app using vb 2008 anyone who can help me ?????

Member Avatar for pathostamuka
0
96
Member Avatar for alfredtiu

Hi everyone, can you check for me if my codes below are correct? i am having problem to retrieve my image file from mysql database. The errors start at "header" parts. I have no problem to store image file (mediumblob) in mysql database. The file shown are in HEX forms. …

Member Avatar for kalpanasarvan
0
350
Member Avatar for reebeca

Hi all, I have developed a java web application which sends sms to many people at once, Now I wanted to get the delivery status of the sms sent. Can Any body help me to do this. Rebeca

Member Avatar for stephen84s
0
92

The End.