199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ancrawford

Can anyone help me? I'm trying to display a date range from a Saturday to the following next Friday (every two weeks) in an asp:listbox for the past 12 months. I.e., would show something like: 9/11/2010 - 9/24/2010 8/28/2010 - 9/10/2010 8/14/2010 - 8/27/2010 etc... I'm using asp.net c#. Any …

Member Avatar for ancrawford
0
133
Member Avatar for shubhankarmayan

i have been given a series and ihave to find its sum. i'm just a beginner so pleese keep ur program simple; series is like this; 2^2 + ( 2^2+ 4^4) + (2^2 + 4^4 + 6^6).... take in number of terms from user.

Member Avatar for prvnkmr449
0
434
Member Avatar for remosathya

I have a form in file.php , when i submit that form it redirected to another page.There i display all the values that i got in the form.Now there is a button called Ms word when i click that the current page has to exported to a word file and …

Member Avatar for sourcebits
0
111
Member Avatar for Winterton

Hi, I set up an upload page and a script to view files uploaded into a mySQL database. I'm using phpmyadmin and everything looks fine for the database, it's showing content in the BLOB field. My problem is that my download script isn't working. It should be bringing up a …

Member Avatar for sourcebits
0
3K
Member Avatar for amras123

[CODE]<?php require('./configs/reg_conf.php'); function doesUsernameExist($name){ $exit = FALSE; $result = @mssql_query("SELECT * FROM ACCOUNT_TBL WHERE account='$name'"); if (mssql_num_rows($result) != 0){ $exit = TRUE; } return $exit; } if(isset($_POST['submit'])){ $user = preg_replace ("[^A-Za-z0-9]", "", $_POST['username']); $pass = preg_replace ("[^A-Za-z0-9]", "", $_POST['password']); if($_POST['username'] == ""){ echo '<font color="red">Enter a user.</font><br /><br />'; } …

Member Avatar for sourcebits
0
112
Member Avatar for hanvyj

I am trying to return the last value of a list: [CODE] public int GetControllerState() { // return the last controllerState in the list if (controllerStateList != null) { if (controllerStateList.Count > 0) { return (int)controllerStateList[controllerStateList.Count - 1]; } else { return 0; } } else { return 0; } …

Member Avatar for hanvyj
0
1K
Member Avatar for sankhamita

Help to write c code to implement the history features of shell(ANSI C)

Member Avatar for Adak
0
84
Member Avatar for XMasterrrr

hello guys, sorry if it's wrong topic name but in accelerated c++ book and in chapter 2 exactly i have a problem [CODE]#include <iostream> #include <string> // say what standard-library names we use using std::cin; using std::endl; using std::cout; using std::string; int main() { // ask for the person's name …

Member Avatar for XMasterrrr
0
149
Member Avatar for Ana D.

Hi, In my ASP.NET page I have a TreeView where ShowCheckBoxes="Leaf". I want to mark as checked/unchecked all the visible checkboxes by clicking in a button. My code for selecting all/none nodes is like this: [CODE=javascript]function selectAllNone(tvID, value) { var tvNodes = document.getElementById(tvID); var chBoxes = tvNodes.getElementByTagName("input"); for (var i …

Member Avatar for ananthat
0
2K
Member Avatar for Designer_101

Hi, I have a list of postcodes in the UK and their co-ordinates... I've also written a nice function that measures the distance between two postcodes. When my user logs in their postcode will be stored in a cookie, when they do a search for events I want to show …

Member Avatar for mschroeder
0
129
Member Avatar for binary_boy

i am making a command line interpreter for an os course. the preoblem statement says that i have to log the output of every command i type in this interpreter along with the usual display in the stdout. how do i do this? i have used dup2 to redirect the …

Member Avatar for binary_boy
0
93
Member Avatar for slfisher

There's a map for that. And now nonprofits can get it for free. ESRI, the company that produces the ARCView series of geographic information systems applications, [URL="http://www.esri.com/nonprofit/index.html"]announced [/URL]today its Nonprofit Organization Program, intended to provide copies of the seminal mapping software for free to nonprofits. "The Esri Nonprofit Organization Program …

0
559
Member Avatar for DARK_BYTE

Hi I have to write a simple client server application using TCP sockets to implement a movie server application (for MPEG files) whereby clients can register to a main system (server) and then watch movies. The problem is I don't know how to send video files over tcp, can someone …

Member Avatar for Jaishu
0
1K
Member Avatar for gunneronaspooky

I've built my fair share of computers and figured it was time to learn to take advantage of that hardware by learning to program. So I'm taking some courses online. I'm having some issues writing some programs though, so any help would be appreciated. Right now, I'm stuck on this …

Member Avatar for gunneronaspooky
0
133
Member Avatar for christiangirl
Member Avatar for SBA-CDeCinko

I have a SQL table that contains spam or naughty word phrases. I'm trying to decide how to take some text and determine if any of the values in the table exist in my text. In the past I have selected all of the phrases out of the database and …

Member Avatar for Geekitygeek
0
127
Member Avatar for TheSecOrg
Member Avatar for captainSheepdog

Hi everybody, I recently created my first full application and have since passed it along to my friend for testing. Unfortunately, on his laptop, the executable, when double clicked, will act as if it is launching, show up in task manager, remain in task manager, but will not launch. The …

Member Avatar for captainSheepdog
0
136
Member Avatar for srice

I'm trying to populate my textboxs with data from my database when the user name is selected but I'm having trouble getting the code right. Help Please! table users (there is a textbox for each of these fields) password lastname firstname Using upcmd As New SqlCommand("SELECT * FROM users WHERE …

Member Avatar for srice
0
153
Member Avatar for SaiBalaji
Member Avatar for Ancient Dragon
0
105
Member Avatar for firoz3321

I have seen similar posts but could not find the exact answer that i can understand. I have to store and print the value which will 2 power 5 digit number. ex: 2 ^ 55555 2 ^ 99999 etc ... Please help me [B]coding:[/B] C [B]Compiler:[/B] DevC++

Member Avatar for prvnkmr449
0
4K
Member Avatar for kumpul101

Okay, We have a Laboratory Exercise that, asks a user to input his/her name and gives an output of its initial (from the input NAME). example: My name is Dani A. Ona and the output is >> D A O. My instructor said that I will use `CharAt()` ... is …

Member Avatar for tux4life
0
216
Member Avatar for sjn21682

hi everyone!!! need some help here, im having a hard time in passing an image to another form, i have two forms (form1 i have a picturebox, in form 2 i have a combobox, a picture box and a button), when i select from my combobox a picture will be …

Member Avatar for prvnkmr449
0
3K
Member Avatar for vskumar19

Consider a single linked list with 'n' nodes and other single linked list with 'm' nodes At the 'k'th node in 'n' ,the second linked list merges at some part of it .. jst like the shape Y Now i was asked to find out the address of Kth node …

Member Avatar for vskumar19
0
111
Member Avatar for andydeans

hi, this is prob really simple but what is the best way for me to add time to call on a form? i have created a column in my tesk table called timetocall with type = TIME what is best way to allow the user to key on the time? …

Member Avatar for andydeans
0
74
Member Avatar for senior_oracle

I Have a PDF Folder containing pdf files with the names ( sp_1.pdf , sp_2.pdf etc.....) In my word files , I have the text : " and it was created under the rule sp_1 in order to acheive the level we are working for that is sp_2 " so …

Member Avatar for SpOOKy.Is.GoD
0
119
Member Avatar for arjen

hello guys..i have a question..Is it possible to make the time running in datagirdview? and also if it is possible to make the update of two form combine in 1 form for example you have a customer form that you save, update in database and another like for employee that …

Member Avatar for SpOOKy.Is.GoD
0
191
Member Avatar for Peter_TARAS

Hi! I am using a label widget in order to display a n rows and m columns matrix. My program allows repeated generation of a random matrix of integer (of arbitrarily number of rows and columns) - I am observing these matrices by representing them in a Label type widget. …

Member Avatar for Peter_TARAS
0
11K
Member Avatar for BigHappyGod

Here's the problem. Bought a new wireless printer, HP B209a. Have a wireless router, Belkin, been using it for years. I take it, the printer, out of the box, follow all the instructions on setting it up, run the setup program in a laptop, following all on screen instructions. It …

Member Avatar for Beat_Slayer
0
497
Member Avatar for guif

Hi! I need help to design an structure and the relationship. I need to create 4 tables: REGION, SUBREGION, CITIES and COUNTRY and do the relationships I have this: Table: REGION [CODE]CREATE TABLE REGION( REGION VARCHAR(2), REGION_NAME VARCHAR(200), );[/CODE] Values: REGION REGION_NAME 1 Africa 2 Americas Table: SUBREGION [CODE]CREATE TABLE …

Member Avatar for swenning
0
132
Member Avatar for daudiam

Suppose B class inherits A. Then the following code works. [CODE]A ob; ob=new B(); [/CODE] but the following throws an ArrayStoreException : [CODE]A ob[]=new B[2]; ob[0]=new A();[/CODE] Is [B]ob[0][/B] a reference of type A or B ? In the first code, [B]ob[/B] was a reference of type A and therefore …

Member Avatar for daudiam
0
57
Member Avatar for developer@india

I have a WebUserControl(having a form tag ) in which am using <asp:Image> tag And i used this WebUserControl in my master page but when i use a index.aspx page(having a form tag) with this master page the error occurs "multiple form tag on a page". What should i do …

Member Avatar for Citation
0
135
Member Avatar for new SE

Hi, i want to display several record from database with data type "date"..but when display, the record displayed in datetime format (default)..what should i do to change the format date..i have tried many thing but it does not work.. now, this is mt coding [CODE] <asp:TemplateColumn HeaderText="Expiry date" HeaderStyle-Width="10%" SortExpression="CmpExpDate" …

Member Avatar for Citation
0
103
Member Avatar for Cheesecake87

[CODE]<cfquery name="Booking_Link" datasource="HotelBookingSystem" username="HBSuser" password="HBSpass"> SELECT * FROM Bookings WHERE BookingDateIN AND BookingDateOUT NOT BETWEEN <cfqueryparam value="#FORM.SelDateIN#" cfsqltype="cf_sql_date"> AND <cfqueryparam value="#FORM.SelDateOUT#" cfsqltype="cf_sql_date"> </cfquery>[/CODE] This works .... But if my booking date(UK - dd/mm/yyyy) has a range of 05/02/2010 to 09/02/2010 And my search value is 04/02/2010 to 05/02/2010 ... this …

Member Avatar for arrgh
0
246
Member Avatar for rukonit

Hello i need help about detecting any series items in a list box. suppose two or more series items are "glass01" "glass02" "glass04" "glass03" "glass05" "marvel" "apple" "mango001" "mango002" "mango003" "mango004" "book" "pen" these items are list1 item. the series may be in different string. here two series glass and …

Member Avatar for setherith
0
119
Member Avatar for Delu:sional

Im pretty new to Python (2.7) and no programming experience before. Anyway Im in the process of learning python but have a mysterious error that I can't figure out. Whenever I put equal sign in print statement, I get syntax error. here's an example code [CODE]def main(): f = open('lines.txt') …

Member Avatar for Delu:sional
0
148
Member Avatar for robertmacedonia

Hi again. I just wrote here to ask for a little help yesterday, so I got the help and worked that out, and I'm just curious about something I am going to do in the following couple of days, as soon as I work the network part of this project. …

Member Avatar for JamesCherrill
0
120
Member Avatar for FlyByNight73

Hi, I have a list of divs with IDs which are just incrementing numeric values. I want to select a subset of those divs with IDs between say 7 and 12, like this: $('.myDivs[ID between 7,12]').doSomething(); Anyone know how to do this? I can't find anything in the jQuery docs …

Member Avatar for FlyByNight73
0
119
Member Avatar for rahulvom
Member Avatar for alyyn

Hy...My name in Alin , and I'm new using Java language/code . I'm trying make a little / simple JAva desktop aplication . Sometthing like phone book , but very very simple . I using Neatbeans 6.8 and mysql-essential-5.1 .I maked interface of that project using Java swing , I …

Member Avatar for alyyn
0
215
Member Avatar for onlyvidya

hello everyone, I want to divide an image into blocks using Matlab.how to divide it by Matlab? I tried following code but its not working. I=imread('ab.jpg'); block = mat2cell(I, [60 60 60 60 60 60 60 60 60 60], [80 80 80 80 80 80 80 80 80 80],3); imshow(I); …

Member Avatar for ealydecosta
0
135
Member Avatar for nore

in my problems, i want to use event keyboard press 'Enter' on textbox, i'm very confuse because in event property from textbox there was Enter, but after I double click and read statement in that, after i test my program, there was nothing , please help thanks before :)

Member Avatar for nore
0
117
Member Avatar for comandor

Hi all this my first thread to me here ,and i wish u help me I wanna start learning java ee and i don't know from where could i start. i am waiting your advise . thanx in advance.

Member Avatar for comandor
0
81
Member Avatar for UaBoy

from random import randint correct = 0 for i in range(10): n1 = randint(1,10) n2 = randint(1,10) prod = n1 * n2 ans = input('What's %d * %d? ' % (n1,n2)) if ans == prod: print('That's Right! Well done.') correct = correct + 1 else: print('No, I'm afraid the answer …

Member Avatar for UaBoy
0
126
Member Avatar for avario

I am trying to set up a sort of instant messaging system on a site I am creating. Users submit their messages which are then stored in a database. Other users looking at the page should then be able to see this message as soon as possible. The only way …

Member Avatar for avario
0
141
Member Avatar for rje7

How do i perform search from php within the search result that was just returned? In oder to perform a search on the result set again i need to have the result set stored some where. either in session/cookie or temporary table in the mysql server. i tried the mysql …

Member Avatar for rje7
0
126
Member Avatar for lucaazori

Hi, i would like to share you my problem in order to get solution `cause i gonna be crazy :( Actualy when i do click to insert button in my form i get this error: [ATTACH]17077[/ATTACH] the strange is when i close this window and i do click again the …

Member Avatar for lucaazori
0
190
Member Avatar for johnkj

i'm trying to load an page into my site using [CODE]href="javascript:ajaxpage('page.html', 'containerdiv');[/CODE] while the external page is loading is it possible to show some loading animation in tht div [COLOR="Red"]Please help me!!![/COLOR]

Member Avatar for johnkj
0
95
Member Avatar for cege

I'm using Mastering Visual Basic 2010 <book and it tells me... In a button's Click event handler, declare two variables as follows: Dim a As Single, b As Double Then enter the following statements: a = 1 / 3 Debug.WriteLine(a) Run the application, and you should get the following result …

Member Avatar for ÜnLoCo
0
102
Member Avatar for dipti_611

Dear All, Please Help Me i want to write a code in asp.net using c# to list previous, current and next 3 years in dropdownlist dynamically at page load without using table. Thanks and regards, Dipti

Member Avatar for rohand
0
4K

The End.