199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for bbxrider

my first asp.net project, using vb, and vs2005. i started a basic web project, added a web form, default.aspx. as the project progressed to keep a reference to how far i got, some samples etc, i would copy the original default to default2.aspx, default3 etc. i got up to default5, …

Member Avatar for bbxrider
0
105
Member Avatar for benk1

Hi guys I'm looking for a starting point to have a login for a website. The situation is as follows - I have a common product list, with 3 price bands (gold, silver, bronze) When a gold customer logs in, I want to search the db for the products, and …

Member Avatar for benk1
0
137
Member Avatar for Begjinner

Hi, Sorry if this is already asked, but I couldn't find it. I got a text file with 100010101001000010000011111001010 and it is 8bit, now I would like it to decimal. With the int(file,2) function it does not work. I get a very large number. Is there an extra command I …

Member Avatar for Begjinner
0
151
Member Avatar for still_learning

I know this sounds so stupid, but it's a project that I am working on. I need to develop an application where people can upload a picture of themself and then it will add a wig to their picture over their hair. I just don't know how the code scans …

Member Avatar for still_learning
0
85
Member Avatar for sneekula

How would you make a simple bar graph from a list of data? [code]data = [20, 15, 10, 7, 5, 4, 3, 2, 1, 1, 0] [/code]

Member Avatar for Stefano Mtangoo
0
562
Member Avatar for usm

Hello, I want record the visitors ip address and how many time they access my website but the problem that if the visitor behind firewall, so all I'll get a hundreds of visits from the same IP address so I thought about using cookie , first I'll search for my …

Member Avatar for wrivera
0
88
Member Avatar for Monina

i have to sort an array of integers using bucket sort. i kind of made it but there is still a problem. before i make the sort i have to verify if there is one or many numbers which begins with one or many zeros.if there are this kind of …

Member Avatar for Monina
0
109
Member Avatar for sandorlev

Hello, I'd like to get help for a database engine in Python. I know that there are loads of databases out there and I cannot create one which would be even near as good as SQL but I'd like to do it for getting a good understanding of databases and …

Member Avatar for Stefano Mtangoo
0
103
Member Avatar for phil750

Say i have an [code] int c =8; [/code] and i want to do a fork to say do a printf [code] printf("hello im number blah blah"); [/code] is there a way to do that printf as many times as whatever c is equal too? using a fork(). maybe something …

Member Avatar for gerard4143
0
82
Member Avatar for cissee

please let me know the maximum no of page faults that can occur when executing an instruction?

Member Avatar for Salem
0
198
Member Avatar for Godflesh

How do i reach a class from within another class? I have Class A and Class B How can i activate or run class A from Class B? example, if class A and class B work toward the same resource, one create data the other consume data. How can i …

Member Avatar for Stefano Mtangoo
0
251
Member Avatar for xka

Hi, I am a total newbie to programming, so I do not know much about it. However I have created this very basic program which converts 2 currencies. I would appreciate it if I received some constructive criticism so I can improve my programming skills. Thanks, xka [CODE] #include <iostream> …

Member Avatar for jonsca
0
186
Member Avatar for __kanth

Hi Guys Is there any function in C which will help me make an input string invisible while we are entering the input?? I mean similar to oracle login. when we type our oracle password at dos prompt it is not visible. My requirement precisely. 1) I want to read …

Member Avatar for __kanth
0
188
Member Avatar for DJDan93

I am having trouble with a page where i need to insert data into a SQL field. It comes up with this error 7 times: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in / i would post the actual php page but its over 1000 lines …

Member Avatar for kishan112
0
138
Member Avatar for JAM1011

Hey all, I am a bit lost. I need something tje user can type in data to such a parts QTY cost etc. There are no predefined parts list so the user can enter any part name/Number and there is no limit to amount of parts that can be entered. …

Member Avatar for akulkarni
0
115
Member Avatar for thanatos2

hey guys i have a noob question. i'm trying to program this little text based RPG, i've made several but you're always controlling only 1 character and fighting 1 enemy, i want to change that and make you take control of 4 characters and fight 1-4 enemies at once (turn …

Member Avatar for Geekitygeek
0
137
Member Avatar for Shmoil

Hello, I have a school assignment to build a 2 minute countdown timer in java. Gunjannigam managed to assist me in creating the functions. My code for secondCount, I have built a function so that I can adjust secondCount to a number and it will change the timer. When secondCount …

Member Avatar for Shmoil
0
230
Member Avatar for dynamicman

Hello my name is Mikal. I am working on some python code, and it is now at the point where it does what I want, but its not quite fast enough for my liking. Here is my current code that works: [code=python] self.timersVS = {'combat':0,'regen':0} ... # Tick Timers and …

Member Avatar for dynamicman
0
119
Member Avatar for nerdinator

How to make a time based regular function?Like something that plays a sound every 1 second?

Member Avatar for Salem
0
119
Member Avatar for ankur_

In Suse I have got 2 libs which I have to use to link with my source files but they are interdependent on each other. Means if the 2 libs are A and B than A is dependent on B and B is dependent on A In that case what …

Member Avatar for Salem
0
145
Member Avatar for vizz

I want to use 3 DIV tags: 1) As Left Panel 2)Center Panel 3)On different page with contents How to use 1 DIV to open 3 DIV in 2 DIV? Is it possible?

Member Avatar for Kruptein
0
77
Member Avatar for barryw33

Hi I am a Ajax noobie and need a little help with a simple ajax mysql problem I have a php page witha ajax function that calls a php page and in the php page I run a mysql select I then pass the result back to the page that …

Member Avatar for wrivera
0
112
Member Avatar for cali_dotcom

Hi i am not so good with javascript so i really dont know the best way do do what i want to do. want to make a form that allows people to add and delete rows with javascript but it just doesn't work the way i would like. javascript is …

Member Avatar for wrivera
0
152
Member Avatar for s_mostafa_h

Hi All , there is an application for 8051 processor that when u write ur code in asm , and then convert to hex file , [URL="http://chaokhun.kmitl.ac.th/~kswichit/easy1/easy.htm"]this application [/URL](EZDL.4) , it Write ur programm to the Microntroller . apparently , this win application written in C++ . thanx for any …

Member Avatar for s_mostafa_h
0
253
Member Avatar for barryw33

Hi, I am trying to create a private chat from hacking some opensource chat room. All going well to a point. I am trying to use some basic AJAX (noobie) to insert a field into a mysql db. It is doing what I want it to do mysql wise but …

Member Avatar for barryw33
0
174
Member Avatar for omnis
Member Avatar for siEricko

Hi I am learning how to use database. I am using sql server 2005. I would like to know how to make an sql query to the database from vb.net. I have tried some code. what i would like to know is, how to make the sqldataadapter statement with 2 …

Member Avatar for siEricko
0
3K
Member Avatar for tqmd1

Dear Experts I use following codes to display data. Next & Back buttons work fine, but when I enter some sno into textbox1 then it displays nothing Codes on textbox1 lostfocus [CODE] Me.ds.Tables("employees").Rows.Find(Me.TextBox1.Text)[/CODE] Codes in Form Load [CODE]Dim sql = "select * from employees" Dim da As New SqlClient.SqlDataAdapter(sql, con) …

Member Avatar for tqmd1
0
86
Member Avatar for charlottetemp

Hi guys i was wondering how in python you invert this line as I have indicated. I have tried all sorts of mathemtical functions. I am using zelle graphics module. Currnetly I have produced lines going in one direction im trying to produce the same lines again but in the …

Member Avatar for charlottetemp
0
125
Member Avatar for Boronia

Hi If anyone could help with below code as I am new to php [code]<?php $result = mysql_query("SELECT * FROM hotels ORDER BY city"); while($row = mysql_fetch_array($result)) { echo $row['city'] . " " ; echo "<br />"; } ?>[/code] above code list all cities as below newyork newyork newyork newyork …

Member Avatar for wrivera
0
58
Member Avatar for mitalichauhan

Hey guys! I am a beginner of php. so i don't know that which will be the best as a loop? While ? or For ? Can anyone help me please.... I want to do this...! Just count 1 to 10 and then add it... i mean 1+2+3+4+5+6+7+8+9+10 nothing much.... …

Member Avatar for JRM
0
108
Member Avatar for SgtMash

Back again! I now need to check if a variable holds one of multiple values...I.E: [CODE=PHP]if ($cvalue == "Germany" OR "England" OR "latvia" OR "Africa") { echo "Do something" ; }[/CODE] In VB I'd just have used something like: [CODE]in("Germany" OR "England" OR "latvia" OR "Africa")[/CODE] Any help appreciated...digging through …

Member Avatar for kireol
0
122
Member Avatar for sayeedbd

Hello All, I am trying to lock some my video, picture, Excel and Word file in my PC by using Visual Basic. I am using Visual Studio 2008 to develop this application but I am unable to do this job. It'll be something like security utility application. Actually without me, …

Member Avatar for sayeedbd
0
191
Member Avatar for DGXI

i have created lines in graphwin but i did it the long way is there a simpler way using loops ? cheers

Member Avatar for vegaseat
0
183
Member Avatar for lifeworks

im completely new to python and not particularly experienced with anything that isnt running off of a web server... Im reading 'A byte of Python' and while my first shell script worked, which was just the 'Hello world', but if I create a separate file and have saved it within …

Member Avatar for vegaseat
0
126
Member Avatar for ctpsolo

I recently got into coding dll's and now I'm interested in having my own injection routine code to spare time and effort instead of using general injectors. However it seems impossible for me to find a source to study that actually does the job. I've been all over the net …

Member Avatar for Ancient Dragon
0
162
Member Avatar for mundetas

I have been trying to post a value from a radiobutton selection into my database. My datatype in mysql is int. I want value to be 1 or 0. But I believe it takes the value from the radio input type as a string. I need help in posting a …

Member Avatar for wrivera
0
80
Member Avatar for Hitman Mania

So I'm trying to make a program that counts how many vowels are there in the user's first name. I tried to make the code but its not 100% functional, can someone take a look and tell me where I went wrong? [CODE]<html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> …

Member Avatar for Hitman Mania
0
1K
Member Avatar for twoshots

I've been writing a Python module which contains a few classes. As I have come to use the module in earnest it has become clear that I need to create a _very_ large number of instances of these classes. This is using more memory than I would like. Speed is …

Member Avatar for twoshots
0
169
Member Avatar for peck3277

Hi guys, Hope i'm putting this in the right place. Apologies if i'm not! I'm making a website for a sports suppliments supplier. I'm having some trouble with how to layout the database. I have a navigation menu which has all the categories listed. But some of my products are …

Member Avatar for peck3277
0
74
Member Avatar for ahmed supari

i am a beginner to the c language recently i`ve come across the expression - *s++ == *t++ what does this expression means??

Member Avatar for Narue
0
173
Member Avatar for bajanpoet

The code snippet below is the beginning of a script I've been working on. What I need to figure out is make sure that I can generate the corresponding day last year. The business logic is such that I am supposed to compare sales data from the last business day …

Member Avatar for bajanpoet
0
2K
Member Avatar for Waseem Siddiqui
Member Avatar for reececropley

[B]Ok so I guess there are many threads about undefined indexes.[/B] I am trying to create a form in which a user can upload both textual information and an image. In my site its adding a watch included information and a picture into a database. I have two questions. First …

Member Avatar for nav33n
0
239
Member Avatar for Jellybaby

I'm making a program that adds favourite programs, files and websites to an Oracle database so there is no longer a need to browse my pc to find those files. I'm stuck on trying to find a way to edit the database and refreshing the program so the edited data …

Member Avatar for Jellybaby
0
84
Member Avatar for sapphyr

Hi, I'm trying to make a program that prints a solid square of asterisks based on the side size entered by the user. The code builds fine but it doesn't work when I try to run the program. I get some code (looks like hex)? Please help! [CODE] #include <iostream> …

Member Avatar for sapphyr
0
159
Member Avatar for jibhekar

Hi, i have developed a asp.net project(on visual studio 2005) and created a web setup, this project is running fine while i am running in development enviorment(Visual studio), but after installing the setup ,my installed website is running but it is not able to access sqlServer Database ... what i …

Member Avatar for mail2saion
0
84
Member Avatar for Web_Sailor

Hi, I have a data I want to make fix length records Like suppose:- [CODE]one two three four one two three one[/CODE] In this case the fixed length should be of the maximum string length which is of the first line. My code below is giving creating faulty fix lengths. …

Member Avatar for jonsca
0
234
Member Avatar for gramatton

Ok, I got the assignment from my CompSci teacher to write a program that converts a string of an infix operation to a postfix one and it has to use a list and stack. The class that we have to write, Postfix, has to include a conversion, parsing, clear, and …

Member Avatar for joseph111
0
141
Member Avatar for SgtMash

Hi there, I'm struggling to get a simple if statement to work. I am passing a country though to a page from a previous page ( ?country=Poland) and then trying to evaluate it and display a specific bit of text if the country is for example'Germany'. Here's what I have: …

Member Avatar for nav33n
0
96

The End.