199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for davy_yg

Hello, I am following a tutorial about how to use VS 2005 ASP.NET. I wonder what .NET Framework version is that? Since I have to choose between 4.0 , 3.5 , 3.0 , and 2.0 . There might be some difference right? Which one should I choose for VS 2005 …

Member Avatar for JorgeM
0
204
Member Avatar for Decode098

Is there a possible way to stop an incrementing array ex. A[9]1~10 normaly it goes like 1 2 3 4 5 6 7 8 9 10 but is there a way that if a press a key it will stop at that point?? ex. 1 2 3 4 5[key pressed] …

Member Avatar for dendenny01
0
201
Member Avatar for tony75

Hi I wonder if somthing wrong with this script? I get this resuly in my linux ./accessdll.py : No such file or directory #!/usr/bin/env python from subprocess import Popen, PIPE from re import split from sys import stdout class Proc(object): ''' Data structure for a processes . The class properties …

Member Avatar for tony75
0
199
Member Avatar for DaveyMoyes

Hi Everyone, I have the following piece of code & I am trying to use to create an array of "Playing Cards" from a mysql db. I am just not sure how to one single complete array ! Thanks for looking and replying with your suggestions

Member Avatar for DaveyMoyes
0
120
Member Avatar for GlenRogers

I dont even know if this is an ajax problem, but maybe someone can help me!! I have a menu php file that containd-s categories of products, some of these categories have subcategories. I have it working that when you click a category then it shows all the products for …

Member Avatar for GlenRogers
0
136
Member Avatar for fheppell

How would I write a php script that gets article x from an rss feed? Thanks in advance

Member Avatar for pritaeas
0
148
Member Avatar for mbarandao

Hello! I was wondering if someone can take a look at the following if and else statement and point out what I have written incorrectly. In its current form, I cannot get it to work. So, essentially, I'm trying to construct an if conditional statement within another if statement. $var_test …

Member Avatar for mbarandao
0
191
Member Avatar for davidjennings

Hi I seem to be lost with this form validation When submited empty the error should display next the input field in red. Thanks in advance D <?php if (array_key_exists('submit',$_POST)){ //Form has been submitted // Fields that are on form $expected = array('name', 'email', 'comments'); // Set required fields $required …

Member Avatar for Webville312
0
416
Member Avatar for abhi10kumar

Is there any method to detect location (viz. state) of the entered Mobile Number ?

Member Avatar for pritaeas
0
81
Member Avatar for asaidi

Hi i have linux mint os i have instaled python..and also wxpython and now i cannot run my application fron anywhere how i can add a path that i can run my python scripts from anywhere in my pc..

Member Avatar for asaidi
0
64
Member Avatar for Nagarajan M

Hi Friends, I have PSKC XML file.. That contains my Salt/Key,IV(Initialization Vector),Encrpted Data,password also. Now, I am trying to Do Password Based Encyption and Decryption Using PBEWITHSHA1AND128BITAES-CBC-BC Algorithm. It works,If i generate salt and IV randomly. But,it fails to work,if i dont generate it randomly... Instead of generating Salt and …

Member Avatar for JamesCherrill
0
2K
Member Avatar for game06

i had a question but i am not sure what the problem is. if user keep right key down. than camera should move left.and my player should fall down bc there are two empty(sky,'0') under player. move camera. 2d map: (0=sky,1=ground,2=player) 0,0,0,0,0,0,0,0,0 0,0,0,0,0,0,0,0,0 2,0,0,1,0,0,0,0,0 1,1,0,0,1,0,1,1,1 int camera_pos_x = 0; int …

Member Avatar for JamesCherrill
0
192
Member Avatar for krimgo

Hi, I've just started out with Python and I've been stuck on this problem for a few hours now trying to parse a file into a certain format.. I am trying to create a list in a list out of a list. I currently have this list; ['MPNRRRCKLSTAISTVATLAIASPCAYFLVYEPTASAKPAAKHYEFKQAASIADLPGEVLDAISQGLSQFGINL', 'MQLVDRVRGAVTGMSRRLVVGAVGAALVSGLVGAVGGTATAGAFSRPGLPVEYLQVPSPSMGRSELPGWLQA', 'etc'] …

Member Avatar for krimgo
0
346
Member Avatar for PreethiGowri

My TCP/IP server socket is not accepting connections from other systems. When i try to send data from the client to server within the same system i see them working fine, Here is what i get by printing the stacktraces - Waiting for client on port 50000... java.net.SocketTimeoutException: Accept timed …

Member Avatar for JamesCherrill
0
1K
Member Avatar for asif49

Basically what I want to do is to be able to detect when the particular page loads in some data dynamically. This needs to be general as the script will run across a lot of websites whose js content or other content/configuration I am unaware of. My intention is that …

Member Avatar for asif49
0
136
Member Avatar for aishapot

Hello, I have a listview wherein when I double click a student another form pops up where i edit the student info. When i click on cancel it goes back to the menu and when i click on the reports i want it to be able to [B]refresh[/B] so that …

Member Avatar for shah unnati
0
2K
Member Avatar for jLamp

Hello friends, I'm here with a another Question. I wants to redirect all users who are using mobile browsers to m.mydomain.com How can I do that?

Member Avatar for jLamp
0
118
Member Avatar for Matigo

Hello guys, I really need your help on this one, Please help me out with it I'm using a webBrowser in my application "Visual Basic 2010", And what basically it will do, Once you open up the application, It will show you a URL, let's say for example Google.com by …

Member Avatar for Matigo
0
469
Member Avatar for mogaka

$query = "SELECT encounter,amount1,amount2,posted1,posted2 FROM payments WHERE pid='$patient_id'"; $res = mysql_query($query); $max =25; $num_rows=mysql_num_rows($res); $x_count=0; while($row=sqlFetchArray($res)){ $encounter_id=$row['encounter']; //$method=$row['method']; $amount1=floatval($row['amount1']); $amount2=floatval($row['amount2']); $posted1=floatval($row['posted1']); $posted2=floatval($row['posted2']); $total_amount_paid=floatval($amount1+$amount2+$posted1+$posted2); for($x_count=0;$x_count<$num_rows;$x_count++){ //$encounter_id[$x_count]=$encounter_id; $query = "SELECT date,SUM(fee) AS totalcharges FROM billing WHERE pid='$patient_id' AND encounter=$encounter_id"; $res = mysql_query($query); while($row=sqlFetchArray($res)){ $date_fee=$row['date']; $total_charges=floatval($row['totalcharges']); $balance=floatval($total_charges-$total_amount_paid); $pdf->SetFillColor(254,254,254); $pdf->Ln(); $pdf->SetX(10); $pdf->Cell(50,4,$date_fee,1,0,'L',1); $pdf->Cell(40,4,$encounter_id,1,0,'L',1); $pdf->Cell(40,4,$total_charges,1,0,'L',1); …

Member Avatar for mogaka
0
142
Member Avatar for varadha_sd

#hai.i am using libavcodec to write video file from buffer which is capture from usb camera.i am getting video output file with larger in size.i have to compress my video file size.plz suggest me needful thing..my code is here... OS:linux IDE:Qt # void videoctl(uint8_t *destination) { //destination -->buffer from video …

Member Avatar for varadha_sd
0
202
Member Avatar for DevilDog22

I am making a video poker game for my class assignment. I have the program running that gives out 5 cards. I don't know the easiest way to do this but say after card1 suit1 is dealt I want those values stored so card2 suit2, card3 suit3, etc.... cannot have …

Member Avatar for <M/>
0
182
Member Avatar for Squidge

Evening all I am working my way through Zend Framework 1.x, and seem to have an issue. I am trying to set the `doctype()` to HTML5: class Bootstrap extends Zend_Application_Bootstrap_Bootstrap { protected function __initDoctype() { $this->bootstrap('view'); $view = $this->getResources('view'); $view->doctype('HTML5'); } } I have check the documentation and using `doctype('HTML5')` …

Member Avatar for LastMitch
0
491
Member Avatar for phpDave

Hi, I’m trying to insert multiple text fields into MySQL database. Each text field has a unique index key under a single user id. The number of indexes will depend on the user. Is this possible? I never had to do this before and I was wondering if anyone could …

Member Avatar for phpDave
0
135
Member Avatar for deadsolo

Hi everyone! I am having troubles making the second IF statment execute in my code: Pattern dl_noise_rates_p = Pattern.compile("\\d+\\s(.+)\\s(.+)\\s(.+)\\s(.+)"); Matcher dl_noise_rates_m = dl_noise_rates_p.matcher(lineString2); if(dl_noise_rates_m.find()){ String s_dl_nr1 = (dl_noise_rates_m.group(1)); //checking for non numbers pulled in the regex if(s_dl_nr1 == "NaN"){ //| s_dl_nr1 == "NaN" | s_dl_nr1 == " NaN" System.out.println ("OMGOMGOMGOMGOMGOMGOMGOMGOMG …

Member Avatar for bguild
0
185
Member Avatar for krystosan

I am using Python 2.6 with ide and i created a list with names `names = 'mark', 'raymond', 'rachel', 'matthew', 'roger', 'judith', 'charlie', 'melissa', 'betty']` and then set `names = nmls` so even if I update names, nmls gets updated... however if I do `names = deque(['raymond', 'rachel', 'matthew', 'roger', …

Member Avatar for Lardmeister
0
210
Member Avatar for My_Specs_1

I am trying to create a code that will generate a webpage. Here is what I have so far. I am looking to just take data that is queried from our server and display it on a page. Their is a form that is populating the ID on the query …

Member Avatar for pixelsoul
0
181
Member Avatar for josh.culley.31

I'm stuck writing some code for an intro programming class. I'm pretty sure the mistake is probably that I mixed integers with strings trying to get a result, but I'm just not sure which code I need to replace after messing with it all day and getting many different traceback …

Member Avatar for woooee
0
6K
Member Avatar for shhhhhh14

Help me with writing a program that calculates the average value of the elements of a 1- dimensional array of size N.

Member Avatar for rubberman
0
103
Member Avatar for alice.cooper.18659

I am currently trying to pull high,low, and closing stock data from Yahoo finance, and graph it using Turtle. I was able to pull the data from the url into a list but I can't figure out how to graph it. I know the dates have to be the x-axis, …

Member Avatar for alice.cooper.18659
0
200
Member Avatar for Daigan

`LDA C031 MVI B, A LDA C032H ADD B STA C033H HLT` Okay so I made a program that add two numbers in 8085 AL but I keep getting 0A on C033 whatever I put in C031 AND C032. Help, please? Thanks!

Member Avatar for rubberman
0
97
Member Avatar for Decode098

This Programs is a Simple Calculator that usses Arrays and pointers. Currently a freshman student and im completely lost on the errors i keep on getting #include<stdio.h> #include <conio.h> main() { clrscr(); int num1[5],num2[5],sum[5],*n1,*n2,x; char oper[4],*o; *n1 =num1[5]; *n2 =num2[5] *o = oper[4]; oper[0] ='*'; oper[1] ='+'; oper[2] ='-'; oper[3] …

Member Avatar for cproger
0
321
Member Avatar for tomz6

Is it possible to store data to CPU memory, if so how much memory can I store and how? Say I wanted to store an array, about 6MB in size?

Member Avatar for rubberman
0
242
Member Avatar for cssweb

hello how are you, i have searched on every thing has a related with my issue here but it does not solve my problem. my problem with Facebook like button it does not pick the right image that i have assigned to my topic ,it picks random images but when …

Member Avatar for pixelsoul
0
202
Member Avatar for gelmi

Hi, i just don't know why does this program is wrong, the problem is if I choose 1 and 3 . after I choose choice no.1, I enter the employee id and name nothing happens after that, same as choice no.3 which I will enter the employee id to find. …

Member Avatar for rubberman
0
167
Member Avatar for terabyte

Many string functions seem to work without the null byte... is it necessary to add it all the time? and my second question, does scanf %s automatically ads the null byte?

Member Avatar for deceptikon
0
143
Member Avatar for tanmay.majumdar2

#include <cstdlib> #include <ctime> #include <iostream> #include<conio.h> #include<string.h> /* time */ using namespace std; char square[10] = {'o','1','2','3','4','5','6','7','8','9'}; void box(); void player1_won(); void player2_won(); void fu(); int main() { srand((unsigned)time(NULL)); int abcd[45]; char type[34]; string data[56]; again: string x[3], z="sayTanmayRoxx", p; char f, g; int a; int d; cout<<"enter password\n"; …

Member Avatar for rubberman
0
219
Member Avatar for turpentyne

I created this to make an div containing an intro dissappear after so many milliseconds. It also has a 'skip intro' link at the bottom. Everything works fine, except, the first function seems to fire even after somebody has skipped the intro. So there's a quick flicker as the div …

Member Avatar for LastMitch
0
119
Member Avatar for dreday92

I am having a few compiling errors due to the syntax confusion on some the functions, Im confused to what im doing wrong, I know its a simple solution I've just been looking at this for hours and cant figure it out. //Header File #ifndef BST_H #define BST_H #include <iostream> …

Member Avatar for rubberman
0
268
Member Avatar for ireallyneedhelp

ok guys i really need help my friend asked me to help him with his assignment can help me at least give a guide where and what to do? Accept the month. Accept the name of each staff. (Assume that there are only 5 marketing staffs) Accept the number of …

Member Avatar for rubberman
0
189
Member Avatar for elmousa

I am in the process of writing a program for our department as follows: We have about 40 field directorates in addition to the central department. Each field directorate has its own LAN and is connected to the central department through our WAN. I need to write a program that …

Member Avatar for elmousa
0
255
Member Avatar for HunainHafeez

i figured out the problem it is that Hash function generates different hash each time for same value i.e 12345 and thats why it doesn't match during login with the one that i submitted during signup. so is there any way to make the hash stable for same value e.g. …

Member Avatar for JorgeM
0
84
Member Avatar for paulc79

I'm having problem with the homepage calendar. Here is an link - [http://clontarf.girlsacademy.com.au/](http://clontarf.girlsacademy.com.au) What I what to do is - When the user clicks the date on the calendar, the page will go to the events page (go to news/events tab, scroll down to see the heading …

Member Avatar for pixelsoul
0
187
Member Avatar for guilherme.carvalho.9250

Hello to everyone, I´m having problems on retrieving data from mysql to a textfield in html, the data appears with queston marks inside of a "black diamond"! I researched and followed the steps like putting the database charset utf8, the table too! When I insert for example Alimentação its goes …

Member Avatar for guilherme.carvalho.9250
0
3K
Member Avatar for safian123

Hey guys how you doing, When i try to add a record through my application i get an error message there is no row at position 0 here is the code any help would be appericiated: Dim con As New OleDb.OleDbConnection Dim dbprovider As String Dim dbsource As String Dim …

Member Avatar for safian123
0
190
Member Avatar for ppstyle

I am making a windows based application in visual studio 2010 using VB. My project starts with a splash screen and a brief welcome splash then opens the main mdi form. The menu in the mdi form has the link to open all the other modules. My question is- How …

Member Avatar for Begginnerdev
0
186
Member Avatar for rp91

Hi, my problem is as follows. My aim is when a user clicks 'comment' for a post, a `<div>` appears with the form, which I can get working just fine. However as moving on with my development, now when a user clicks 'comment', parameters are passed to change the url …

Member Avatar for pixelsoul
0
239
Member Avatar for tomz6

Does anyone know of an easy way to get the computer to do separate tasks for each core? Assuming each task has no memory collisions etc. how can I get each core to work on it's own separate block of code?

Member Avatar for mike_2000_17
0
203
Member Avatar for clausont

Is it possible to have a gridview set for horizontal and have the header only one time along the left side vertically? I have a gridview where the columns repeat depending on the number of items selected up to five. The details of each item will show in one vertical …

Member Avatar for clausont
0
416
Member Avatar for GlenRogers

Hi, Can you set auto increment in phpmyadmin to be 2? So that it goes 1, 3, 5, 7etc? Thanks...............

Member Avatar for GlenRogers
0
218
Member Avatar for johans22

import logging ... log1 = logging.getLogger() How can I find out what is the file name + path used for logging?. Like to find that out from anywhere the logging is accomplished. also, for plotting, plot.xticks(), I like to create a range to force beginning tick, the ending tick and …

Member Avatar for johans22
0
153

The End.