199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Ana D.

Hi, Inside my formView, in the InsertItemTemplate, I have the following code: [CODE]<tr> <td align="right"> <b>Field</b> </td> <td> <asp:TextBox ID="MyTextBox" Text='<%# Bind("Field") %>' runat="Server" /> <asp:Button ID="myButton" Text="Find Matching Results" runat="server" OnClick=" myButton_Click" /> </td> </tr>[/CODE] In myButton_Click, all I do is bind a CheckBoxList with the results from the …

Member Avatar for GeekByChoiCe
0
82
Member Avatar for mhockey14221

Is it possible to make a list with variables in it? I'm making a quick simple harmonic oscillator program from an old Fortran prog to learn Python and I'd like to use a list to control output to a text file. So far I have a list: [ICODE]writeLoop = [t, …

Member Avatar for Gribouillis
0
8K
Member Avatar for gkaykck

Of course i am a newbie in c# and not much experienced about programming, so this must be an easy thing but i just cannot find the solution. I've been working on a project in Visual.NET C# Express. I've built the main view first, then added database connections, then started …

Member Avatar for gkaykck
0
151
Member Avatar for iamy1204

i am doing a computer project.One part is to propose different functions of a sportsday system, one is to arrange lane for different event. but i don't know how to do it. please help!

Member Avatar for iamy1204
0
90
Member Avatar for veledrom

Hi, I use this code in Windows (wamp), it works fine. When i use it in Ubuntu it generates this error "Warning: Cannot modify header information - headers already sent by (output started at /var/www/toycar/header.php:9) in /var/www/toycar/classes/class.basket.php on line 17" There is no blank space anywhere. What do i do? …

Member Avatar for EvolutionFallen
0
73
Member Avatar for leviathan185

Is there a way to create a new file with JavaScript. I have a script on a local drive and I need to create a file (XML) that i can then read off. Is this possible?

Member Avatar for leviathan185
0
84
Member Avatar for Ally89

Hi all I'm needing help with a question in my tutorial due tomorrow... I'm given this file which contains the following: toy201, Racing Car, AB239:2,DC202:2,FR277:2,JK201:1,YU201:1,EE201:1,FW201:1 toy101, Barbie Doll, AB139:2,DC102:2,FR177:2,JK101:1,YU101:1,EE101:1,FW101:1 toy301, Flying Kite, AB339:2,DC302:2,FR377:2,JK301:1,YU301:1,EE301:1,FW301:1 I am now to define a function that gives the following from the above file: >>>load_prods(filename) {'toy301': …

Member Avatar for Ally89
0
133
Member Avatar for Eyo

Hi, please I need a query that performs the following: I have a table like this: set_id | rec_id 10 | 1 10 | 25 10 | 32 20 | 61 20 | 90 30 | 77 Now I have suppose rec_id = 61 and rec_id = 90 I need …

Member Avatar for Eyo
0
112
Member Avatar for amandatm

hi based on this code: [code=python]def load_products(filename): def get_components(parts): """parts is a list of parts and their associated amounts, each separated into groups, split by (',')""" """need to take out each id, take out each integer, an associate them, by putting them in a pair -> return in big list""" …

Member Avatar for woooee
0
111
Member Avatar for power_computer

Ok, so I am working on a function that remove a element from the array if the name entered by a user is = to a element in the array It clears of the memory of said element but i need to re order the array I searched on here …

Member Avatar for emirpp
0
789
Member Avatar for roberto usu

I took the summer off from c++ and before that I had only taken one semester, so I am pretty rusty. I have this function that is supposed to add contacts into a structure of xbox gamer friends. At the end of the function It goes into an eternal loop. …

Member Avatar for roberto usu
0
85
Member Avatar for uniquevictory

Instructions Zululand has a congress with in theory 97 seats. These are apportioned among the three states Alpha, Bravo and Charlie in proportion to their population. To be precise, each state receives its share rounded down to the nearest whole number, even if this means the total is less than …

Member Avatar for sungjin
0
292
Member Avatar for Symbolistic

I am making a bot for an FPS game called Combat Arms, its full screen. The problem here is my code works, but when I open up the full screen combat arms window, it does noting at all... It is a simple AFK Bot, with simple key presses, and mouse …

Member Avatar for ImMoRtAl-
0
233
Member Avatar for jamojo

Hello Everyone, Can you please give me some thoughts on how to create a folder in http(Ex: [url]http://localhost:8080/site/myfoldertocreate[/url]) instead in a local drive (Ex. C:\MYFOLDER) Here is the current code that I am using. [CODE]public static void createFolder(String Folder){ try{ File f = new File(Folder); if(f.mkdir()) SimpleLog.write(Folder + " Directory …

Member Avatar for jamojo
0
123
Member Avatar for valleymorning

Hello all, I have a trouble finding Magic Numbers. I'd greatly appreciate any help in writing a function in C/C++ that will find all magic numbers (with 1000 iterations or less). "Magic numbers" are 6 digit numbers that have the property that they are equal to the square of the …

Member Avatar for John A
0
155
Member Avatar for Ghost

Hi: I was wondering if anybody knew anything about creating your own programming language. Thanx

Member Avatar for zack999
0
160
Member Avatar for grr

For each individual row of an array, I would like it to sort by a function that I perform on each value. For example: Array { 1 => "great", 2 => "bad", 3 => "awesome", } and I have a function that would make great a 2, bad a 1, …

Member Avatar for grr
0
77
Member Avatar for halukakin

Hi, I have the following code which aims to change the color of a parent div when the user unselects the radio button. However it doesn't work. [CODE=javascript]<div class="jquerycorner"><input type="radio" name="hat" value="4" onblur="if(!this.checked) { this.parentNode.style.backgroundColor='#000000';}">10</div>[/CODE] However the following code works when I try to detect radio button selection. [CODE=javascript]<div class="jquerycorner"><input …

Member Avatar for halukakin
0
119
Member Avatar for KC Michaels

I need to be able to find specific characters entered into a text box. I need to find out what the 2 characters before and after [space]A[space] are. For example if "RED ROSES AND A YELLOW ONE" was entered in the text box I need a way of finding the …

Member Avatar for ryuslash
0
128
Member Avatar for msr

Hello, I want to search for a given char sequence in a string. For example: I have these strings: "xpto1", "asdxpto123" If the input is "xpto", the method I called "search" should have at its ouput a list with the strings that matched the input "xpto". In this case, both …

Member Avatar for msr
0
91
Member Avatar for Barman007

Im having trouble centering the content of this PHP code (please find code down the bottom fo this post) on my joomla site. I added [code]#google_map{margin-left:140px;}[/code] to the CSS in the hopes of centering it all but it only centered the map itself. Since then I have added the "google1" …

Member Avatar for Airshow
0
116
Member Avatar for valonesal

I have pages written in html that use javascript and css, what I would like to do is use php to change how the url comes out. So I would like the url to look like mywebsite.com/index.php?xx1122 or something like that without disclosing the location of the html files or …

Member Avatar for EvolutionFallen
0
149
Member Avatar for mark2326l

I'm trying to upgrade my server from Mac 10.4.11 Server, running Apache 1.3; PHP 4.4.9; and mysql 5.0.45 (all pages work fine) to Mac 10.6 server with the latest (default) Apache, php, and mysql. Any page with a mysql connection is blank I can connect to mysql through mysql admin. …

Member Avatar for mark2326l
0
213
Member Avatar for ankit894u

For a given integer n>1, the smallest integer d>1 that divides n is a prime factor. We can find the prime factorization of n if we find d and then replace n by the quotient of n divided by d, repeating this until n becomes 1. Write a program that …

Member Avatar for ankit894u
0
197
Member Avatar for azjherben

In C++ code, how would I customize an extension. I'm using C++ and my program outputs files, if/when I make an installer for it, I'd like to know how to make a program that can assoicate a file extension ex. ".iazj" with a name, icon, and program to open.

Member Avatar for Nathan Campos
0
113
Member Avatar for Enthused

Hi all, Ive created a pretty simple user system its all working well users can sign up and so on. Though i wanted to add extra security to this system so when the user wants to modify their password it asks for their old password otherwise they cant sign up …

Member Avatar for Enthused
0
311
Member Avatar for Devendra1

I have worked on Java but new to PHP. I want to know the scope of PHP. Where PHP works ? like JAVA ban be used to create desktop applications and on J2EE platform for developing WEB APPLICTIONS and JAVA has many API to work with. Q1. Can PHP be …

Member Avatar for ryuslash
0
116
Member Avatar for empoor

I'll start by publishing my code: [CODE]// query article $query1 = "SELECT page_title,author_id FROM articles WHERE category = 'fiction'"; $mysql_result1 = mysql_query ($query1) or die ("Query '$query1' failed with error message: \"" . mysql_error () . '"'); $fiction_articles = mysql_fetch_assoc($mysql_result1); // query author $auth_result = &$fiction_articles['author_id']; $query2 = "SELECT author …

Member Avatar for empoor
0
156
Member Avatar for ricksvoid

What I want to do is get a users current login username, and pass it to an SQL query which will search a table and return all entries belonging to that person. Ive managed to pass the username onto a label when that person logs in. [code] Protected Sub Page_Load(ByVal …

Member Avatar for ricksvoid
0
148
Member Avatar for coud_ren_26

may someone give me a sample code of loop within a loop, and other that I may use for decision in my program.

Member Avatar for akulkarni
0
166
Member Avatar for foosion

I'm trying to parse xml, but am missing something. In the following, I can get the key, but not the value [code]from xml.dom import minidom xmlstring = '''<search ver="3.0"> <loc id="USAR0433" type="1">Paris, AR</loc> <loc id="USID0192" type="1">Paris, ID</loc> </search>''' dom = minidom.parseString(xmlstring) r = dom.getElementsByTagName('search')[0] res = [] for x in …

Member Avatar for foosion
0
114
Member Avatar for serkan sendur

.Net setup project outputs .msi file by default. i have some configuration files that i want to output along with .msi files. is that possible to add something to output of a setup project? Thanks

Member Avatar for serkan sendur
0
100
Member Avatar for serkan sendur

All files or project outputs that are added to setup projects are wrapped into the final .msi file. what if i dont want it to wrap some certain files and want it to output them as they are? Is that possible? Thanks

Member Avatar for serkan sendur
0
90
Member Avatar for Designer_101

Hi I know this topic isnt directly related to PHP however I understand many users in this forum may understand something further about this question. I have a webcam in a nightclub and I want to stream this live onto a webpage. This is probably very easy however i'd like …

Member Avatar for almostbob
0
160
Member Avatar for mynameis

Hello, I need to make an script that displays word "admin" or "regular member" etc below an username.e.g.If a member is admin it displays "admin" below his username every time he posts. like here in [URL="http://daniweb.com"]daniweb.com[/URL] whenever i post a thread it displays "Newbie poster" below my username. I don't …

Member Avatar for Designer_101
0
84
Member Avatar for arkaitsolutions

I'm using mysql as database . I use odbc connector to use the database , it's working fine with select statements ,but when I use insert statement with parameter it is not working. may I know if the command parameter property works with mysql or it only works with mssql.

Member Avatar for samir_ibrahim
0
368
Member Avatar for Clarkie

Hi there, I have been working for the past 3 months at Moxconsole.net and Clarkie's-Cave forums creating/editing save game files for people using a program called CWCheats for the PSP. I have edited just over 100 files each taking a min of 5 minutes. Thats around 20 hours min of …

Member Avatar for Clarkie
0
383
Member Avatar for vtsmokey88

The project involves the game scramble, where we have a 4x4 matrix of characters. The purpose of the program is to search through the matrix and find words in the matrix. I have a dictionary .txt file and can search that for a word correctly and can also print the …

Member Avatar for Protuberance
0
129
Member Avatar for baula

Helo frndz, I'm novice in shell scripting...I need ur frnd help to write a shell script for taking backups. This script should use cp command to take backups. Script can read the list of directories and destination directory from a file or ask user for this info interactively... Example: Only …

Member Avatar for baula
0
221
Member Avatar for radline75

I am trying to figure out how to set up a form in Access to automatically fill in 2 fields (Region # and Store Name) based on the Store number which is entered in another field. So whenever a user types in a store number, the store name and region …

Member Avatar for timothybard
0
371
Member Avatar for serdengil

I am a new C++ user with emacs. Our Prof. wanted us to create a prog. which basically write the positive which is entering ascending order. I can do the ascending order program but he wanted us to make user prompt to enter the number in ascending order. The user …

Member Avatar for mrnutty
0
166
Member Avatar for floydus

This is causing headache, the event [B]OnGetStatusEvent[/B] is never fired... I know it has to do with the fact it's encapsulated [B]inside class[/B]. The Event is a method of a com object, I did not implement it myself... The following code always work[I] if inside a windows or console application[/I]. …

Member Avatar for floydus
0
116
Member Avatar for feoperro

Hi, Can someone please tell me what the correct syntax for this is... I've tried everything. [CODE] parent.TopFrame.document.FormName.inputAreaName.value =(tableName.rows[1].cells[0].innerHTML).trim(); [/CODE] It works without the trim() function, as soon as I put it in, it throws an error and stops working. Thanks, -Ash

Member Avatar for Hangfire
0
76
Member Avatar for bgk111

Hello all, This will hopefully be a quick and easy answer. I am having some difficulties with multiple lists that have certain characteristics, so what do I have: 4 lists, all the same length that signify: [row] [coumn] [VAR1] [VAR2] So basically I have 2 variables at each location (row,col) …

Member Avatar for bgk111
0
95
Member Avatar for tjfitz68

I have been googling for quite a while but I just can't seem to find a precise answer to my question. I'm able to create the setup project and the installation works fine. Included in my application is a .MDB file. What I would like to do, during the installation, …

Member Avatar for tjfitz68
0
142
Member Avatar for Susan.LK

Hi, I think i am missing something obvious. The popup should bring up a page passing an id. Currently nothing happens but i can see the id is being passed into the varaiable when hovering over Link, how can this be chnaged. Below is part of the code [code=php]while($row = …

Member Avatar for Susan.LK
0
92
Member Avatar for ubi_ct83

Sorry for the messy tittle.i dont know what suit with my prob. i have posted a thread last time about string array and compare them with some data.seems like no solution for that,i want to try this way.i want to use double array. same case, i have a file with …

Member Avatar for Salem
0
160
Member Avatar for diafol

Don't know if this is the best place to ask (possibly networking - no prob if you move me). Here goes: 1. A website has its admin area and email hosted externally. The domain name belongs there. Called the 'website' from here on in. 2. A front-end (Joomla) has been …

Member Avatar for diafol
0
90
Member Avatar for veledrom

Hi, There is an error on [inlinecode]DataGrid1.DataSource = Adodc1.RecordSource[/inlinecode] method or data member not found. When i do below setting manuel in properties, there is no problem. Thanks [code] Adodc1.ConnectionString = "Provider=MSDAORA.1;Password=psw;User ID=iuu;Data Source=video;Persist Security Info=True" Adodc1.RecordSource = "Select * From movie" DataGrid1.DataSource = Adodc1.RecordSource [/code]

Member Avatar for jeng1111
0
80
Member Avatar for ElieM

I use the visual Borland Turbo C++ 2006. if the project is a CPP package this is the error --->[url]http://i156.photobucket.com/albums/t18/Mankind-195/NewNewBitmapFile.jpg[/url] if the project is a unit.cpp this is what I see. --->[url]http://i156.photobucket.com/albums/t18/Mankind-195/2.jpg[/url] I can compile for errors and warnings. But when I get 0 errors 0 warnings, I can't run …

Member Avatar for ElieM
0
87

The End.