64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for maddy5326

Is there any way by which one could pass a HTML form variables to a python script? Is there any library for it?? Any help would be appreciated...

Member Avatar for maddy5326
0
80
Member Avatar for Progr4mmer

I'm wondering if its possible to program using xcode for ios(I pod touch, I phone, I pad) on windows?

Member Avatar for Progr4mmer
0
116
Member Avatar for Smithy566

I'm trying to compare two DateTime objects, but I am receiving the following error. error C2664: 'System:: DateTime::Compare' : cannot convert parameter 1 from 'System:: DateTime ^' to 'System:: DateTime' I'm just trying to use the DateTime 'Compare' method to perform the check. Below is an example to illustrate what …

Member Avatar for jonsca
0
2K
Member Avatar for lkrvk

hi guys, i wanted a table to get created with the table name submitted from the form. how shall i go about this, i have tried it with my basic knowledge its here bellow but it dint work well, please help me anyone. [CODE] <?php if (isset($_POST['update'])) { mysql_connect('localhost', 'root', …

Member Avatar for smantscheff
0
163
Member Avatar for bhagawatshinde

Hi, i am getting an error like invalid attempt to read when reader is closed [CODE] Try Dim k As Integer = 0 Dim l As Integer = 0 Dim str_select As String = "select * from Suggetion_master where que_no=" & FrmErrorQuestions.dtgErrorQue.Item(0, FrmErrorQuestions.dtgErrorQue.CurrentRow.Index).Value dtgQueSuggestion.RowCount = 1 nxtlsdquescon.Open() cmd = New …

Member Avatar for bhagawatshinde
0
574
Member Avatar for Stazloz

I am writing a program for school, its a problem from Deitel and Deitel Java: How to program. I have to write a turtle drawing program. It works great, what I have now is a method named enterCommands() that works that takes no arguments that can be used to cycle …

Member Avatar for masijade
0
122
Member Avatar for charming-_-eyes

Hi ,,, I need your help plz... i have programed a calculator and i have an On\Of button . when the user click On\Off button i want to disable all buttons i have except On\Of button, But also I need to enable all buttons when the user click it again. …

Member Avatar for prvnkmr194
0
201
Member Avatar for Aser Gado

After successfully creating a Registration/Signin/user profile... now I am assigning a profile picture for a user ... I have a question... Everytime I hit upload it doesnt upload I added an "echo' to say if no file is chosen "Please Select a file", it shows this even when I select …

Member Avatar for Aser Gado
0
132
Member Avatar for khushhappy

Hi I cannot figure out the results when the code reaches at line 41 (while loop) . ! it throws an error. displaying records of two different tables, want the solution but with the JOIN statement. Thanks, and kindly look into the Attachment file as it contains jpg file.

Member Avatar for khushhappy
0
85
Member Avatar for ChieftanBill

I came across a code snippit from my textbook with a : symbol. [CODE] for (String arg : arg){ System.out.println(arg); } [/CODE] I'd like to know what that : is, and what function it serves. Thanks,

Member Avatar for JamesCherrill
0
109
Member Avatar for James singizi

How can one write a c password program that accepts only 3 attempts of password input

Member Avatar for navedalam
-1
102
Member Avatar for arsheena.alam

Hi guys, In C# when i use the using statement. in case of try catch do i have to close the connection in case of any error. [CODE] try { using (connect=connecttodabase()) { SqlParameter demo_ID = new SqlParameter(); SqlCommand command = new SqlCommand("Demo", connect); command.Parameters.Add(demo_ID); int rowsAffected = command.ExecuteNonQuery(); return …

Member Avatar for arsheena.alam
0
2K
Member Avatar for Netcode

Please how do i create a report at runtime in vb.net? I have no idea at all because i've never worked with crystal reports and most tutorials I've come across actually don't treat the topic.

0
52
Member Avatar for william604

Hi im new to php and i have been following along on a video on how to create a registration form, but im getting an error "Notice: Undefined index: button in E:\EasyPHP-5.3.2i\www\Survey\register.php on line 3" Please help im new to php and don't know much Here is the code: [CODE]<?php …

Member Avatar for stefh
0
111
Member Avatar for shenbagam

Is anybody having idea about bar chart in php. I need to import the datas from excel sheet into php. I have created static bar chart. but i have to create dynamic bar chart . The datas should be retrieved from mysql or from excel sheet. If anybody knows kindly …

Member Avatar for qazplm114477
0
566
Member Avatar for professor123

hi can you help me l trying to run a certain php job recruitment system but l am getting the following error: [COLOR="Red"]Fatal error: Using $this when not in object context in D:\xampp\htdocs\jobs\pb_events.php on line 5[/COLOR] and below is the referred pb_events.php script. [CODE]<?php function DoEvents($this) { global $_CONF, $_PAGE, …

Member Avatar for qazplm114477
0
98
Member Avatar for jasoncastro

Hi again! is there any way a program can read a .txt file without typing the .txt extension name? I need this for my ATM program for accessing an account number, it wouldn't look right if i have type 1234667.txt. I'm using Borland C++. Hope you can help me! Thanks! …

Member Avatar for jasoncastro
0
345
Member Avatar for brite_a

Hello geeks, this is my first post. ive gone through all the help in this forum but cant get this working. i will upload my project for you to help me. it contains a main form which calls a thread running on another class which runs a tcplistener. i want …

Member Avatar for brite_a
0
5K
Member Avatar for arjunpk

Hi.... I have just written a c# code which connects to a web server.... Pulls out xml, extracts data and inserts the data onto a database..... however i have a small problem scrubbing certain data of junk values..... few examples of the data i want to scrub are posted below... …

Member Avatar for arjunpk
0
665
Member Avatar for mwaidyanatha

Hi, I want to get installed Xen kernels & initrds in my computer using a python code. When I do a ls /boot I get the following results. config-2.6.26-2-686 config-2.6.26-2-xen-686 grub initrd.img-2.6.26-2-686 initrd.img-2.6.26-2-686.bak initrd.img-2.6.26-2-xen-686 initrd.img-2.6.26-2-xen-686.bak System.map-2.6.26-2-686 System.map-2.6.26-2-xen-686 vmlinuz-2.6.26-2-686 vmlinuz-2.6.26-2-xen-686 xen-3.2-1-i386.gz and what I want is "vmlinuz-2.6.26-2-xen-686" & "initrd.img-2.6.26-2-xen-686". We can …

Member Avatar for Gribouillis
0
278
Member Avatar for txwooley

I am completely new to C++. I have a function that deals cards for a blackjack game. To do this, I need to call this function 10 times (two cards each for 4 players and a dealer). But it just deals the same card to everyone. I think it might …

Member Avatar for WaltP
0
154
Member Avatar for cjd_1986

I have to write this applet for my CIT 130 class. I understand that you can not give solutions nor do I want you to do my homework for me I just need some pointers. The questions ask to "Write an applet that draws a house with it's door and …

Member Avatar for cjd_1986
0
198
Member Avatar for manish250

Hello all i have created a java application which is writing to log files to specific path.logs are created successfully.When i use cat command to show the contents it is showing the correct data but when i use vi to open the file it is showing the contents like binary …

Member Avatar for ~s.o.s~
0
233
Member Avatar for LexLieberthal

My friend needs a program that will: 1. Ask the user for the size of the matrix. The choices are 2x2 or 3x3. 2. Ask the user for the operation to perform. The choices are addition or subtraction. 3. Let the user input the numbers for the first matrix. 4. …

Member Avatar for LexLieberthal
-1
147
Member Avatar for musikluver4

I want to be able to create JLabels, all different names, with a for loop ex: [CODE] static JLabel[] totalAYearLabelYr = new JLabel[termYears]; [/CODE] So I got 30 JLabels named totalAYearLabelYr, which I'm not sure you can have 30 JLabels named the same thing. I wanna name them all totalAYearLabelYr1 …

Member Avatar for musikluver4
0
7K
Member Avatar for oree

My question is, if I want to upload 4 files at a time do I néed to store at my database all 4 filesize type and path or can I get away with only storing the file name and upload them. Thanks

Member Avatar for sudeepjd
0
139
Member Avatar for flebber

I started writing a python script to rename files. I wanted it to be able to rename multiple files in a given directory. I started off trying to use rename but then found other options Can't quite get it to happen. Hope my code is understandable, can anyone assist in …

Member Avatar for snippsat
0
2K
Member Avatar for dhairyaguptha

I use following code to Upload images to Web Server. But it shows successfully uploaded and even it shows image exists when i try to reload the same. But i cant see those in my Document root. I use Godaddy Windows hosting. Please Help me. Thanks. [CODE]if ((($_FILES["file"]["type"] == "image/gif") …

Member Avatar for dhairyaguptha
0
128
Member Avatar for tdba.316

After a few months of learning and practicing C++ with the book C++ Primer Plus through Chapter 7, I decided to do myself a little simple program. I started with the decision to try splitting my program into multiple files, and I decided to collect all shared declarations/definitions (*) into …

Member Avatar for tdba.316
0
2K
Member Avatar for jj.amonit

Can somebody help me get my lingo and terms correct? I have a website hosted on Godaddy.com (please no criticisms, I know it's not the best. It's temporary). It the most basic hosting option. I need to run a nightly script at a specific time. I know and use php, …

Member Avatar for chrishea
0
138
Member Avatar for FUTURECompEng

[ICODE]I need to solve a 3x3 matrix, x,y,z of a funtion (I only have a 2x2 matrix determinant solved) I have figured out how to solve the determinant with this code and I have created another attached program that displays any size matrix I thought it might help.[/ICODE] [CODE] public …

Member Avatar for FUTURECompEng
0
656
Member Avatar for insanely_sane

Hey guys. So I want to learn how to do a simple I/O to and from a file. I want the simplest way to do this. My teacher sent me her program but I don't think I get what she is doing and it's giving me an error. So I …

Member Avatar for Progr4mmer
0
226
Member Avatar for james6754

Hi, I am making a program where I am to ask the user a series of questions and add up the amount they get right blah blah.... I have to ask them the area of a square, the perimeter of the square along with other shapes.... So I was going …

Member Avatar for james6754
0
113
Member Avatar for Sevyt

Hi everybody, i just registered here. Hoping to learn some from everything i find here and also hoping a bit to be helped out. I am creating a small program which has a few texboxes which i want to saved in a access database. My problem is i have no …

Member Avatar for Sevyt
0
158
Member Avatar for jimJohnson

I have a very simple question for someone. I am trying to get back into java programming and I downloaded the latest textpad. Can someone please provide me the link of what else I need? I am on a Windows 7 machine.

Member Avatar for Progr4mmer
0
140
Member Avatar for lianpiau
Member Avatar for Archenemie

I'm trying to find a way to make a wx.Frame stay on top of my other windows until I call hide(). I do not mind if it stays on top of all windows or just the windows called by my program. I think I need to set a style on …

Member Avatar for Archenemie
0
183
Member Avatar for rbduck09

Can someone please explain it saying that warning C4700: uninitialized local variable 'd' used? Enhance the Quadratic program in the following manner. If the user enters a valid set of coefficients (the else” case compute the value )of the discriminant d, defined as: d = b^2 - 4ac If the …

Member Avatar for rbduck09
0
224
Member Avatar for raghujosh

I have a simple login module wherein I enter login info to a database. After that, I use another file, loginauth.php which validates the login info. However, I am getting the else statement executed. Can somebody point out what's wrong. [CODE]<?php session_start(); if (isset($_POST['userid']) && isset($_POST['password'])) { $userid = trim($_POST['userid']); …

Member Avatar for raghujosh
0
120
Member Avatar for davieJohnson

I have 2 projects that I have been working on for a while. I want to open a form that is part of project 2 when I click a button on a form in project 1. I have no doubt that that this is possible but I don't know how, …

Member Avatar for davieJohnson
0
212
Member Avatar for buhoasa

hey guys.....i need for a part of my homework in python...to change the text in color. for each letter a specific color will be assigned, in this way, the text that will be typed in will be turned into the specific color. can anybody help me?

Member Avatar for Gribouillis
0
250
Member Avatar for Rorystu

yt= 1.0 + 0.90yt-1 + e1t zt= 1.0+ 1.0zt-1 +e2t Using RATS generate 500 observations for y and z. note e1t and e2t are iid. save the generated y and z in a RATS data file (.rats) and open your data file. plot y and z and discuss the time …

0
73
Member Avatar for Archenemie

I would like my wx.TextCtrl box to only accept numbers, preferably to only 2 decimal places. Where should i start? should i use an input mask or are there styles too control this kind of input? [CODE]value = wx.TextCtrl(parent)[/CODE]

Member Avatar for Archenemie
0
4K
Member Avatar for kardklub

The code below displays a signature on the screen previously signed on the form before. It has now displayed the image as a png. How do i go about saving the image into a mysql database field so i can recover the picture as and when i need to / …

Member Avatar for kardklub
0
57
Member Avatar for MagicMedia

I'm having a bit of trouble replacing parts of a string. I'm using preg_replace and it works but it replaces everything in between. I need it to search for every match between the string. What I have so far: $message = 'I have a [color]red[/color] apple and a [color]blue[/color] car.'; …

Member Avatar for MagicMedia
0
103
Member Avatar for efronefron

The problem is I use malloc in the last function(toString()). I just wanna know if there is anyway to free it? or that I dont have to? Thanks [CODE] #include<stdio.h> #include<string.h> #include<stdlib.h> #include<ctype.h> /* Function prototypes */ void process(char input); void update(char words[][51], int position); char * toString(char character); /* …

Member Avatar for WaltP
0
214
Member Avatar for maniac00

Hi guys i need help with one thing in Python... I've got something like [code] number=001 example = "picture%d" % number print example ---> But it prints picture1 not picture 001.... [/code] and i need it as integer not as string because i want to use --->[code]number=number + 2 for …

Member Avatar for Gribouillis
0
123
Member Avatar for cjay175

Hi all, I am at a stand still with trying to figure this out. I have a textarea, i would like to check for links entered by users and replace/remove the anchor attribute from the string. ie. change [ICODE]<a href='google.com'>website</a>[/ICODE] to [ICODE]website[/ICODE] its more so to validate ( i have …

Member Avatar for cjay175
0
93
Member Avatar for nickliutw

I write a simple average program, but for some reason I keep getting compiler error. I tried to check my work, but still can't find where do I do wrong. It shows the message on average = total/10, and it says something like unable to reach statement. [CODE] //test import …

Member Avatar for nickliutw
0
101
Member Avatar for sharksaw40

Hi I have recently learned c++, I'm 14 and want to get started on developing software. The problem is I'm too young to get a career in programming but I would like to start now partly to make it easier in later life and partly because I enjoy programming. The …

Member Avatar for sharksaw40
0
279

The End.