199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for SDS20

Hi! im trying to create an object in python, but when i try to call the length of that object, it says "Mp3tag instance has no attribute '__len__'" i know i can define a method on the "object"(i dont know if im creating the object in the right way) called …

Member Avatar for SDS20
0
129
Member Avatar for AirmanTheGreat

Hello, I am to write a program that is capable of taking an array of doubles from the user, then calculating each numbers square, cube etc. and then displaying it to the screen. The program itself is fine, but one aspect of the program is that if a user enters …

Member Avatar for AirmanTheGreat
0
82
Member Avatar for metal_butterfly

When i tried to make the structure members(res_name,res_loc) as char pointer, i am getting error. i don't know how to convert res_name[25] to pointer.plz help me in this [icode] #include<stdio.h> #include<stdlib.h> #include<string.h> #define MAX 10 struct resource { int res_type; char res_name[25]; // i want to use this as char …

Member Avatar for metal_butterfly
0
143
Member Avatar for SID.SIL

Hi Guys It´s my first time here and Of course I have a problem. I have a gridView with a Hyperlink and I´d like to open a Modal Pop Up when I to click in this link. How can i do it? is it possible? Thanks a lot everyone regards

Member Avatar for SID.SIL
0
931
Member Avatar for gary2009

Just to cut straight to the heart of the problem: I only recently started working with asp because my current employer's website was built using asp.net and he requested I make some changes to the design/layout. In addition to the website there's also a kind of front-end content manager to …

Member Avatar for gary2009
0
127
Member Avatar for taylormsj

Hey there :) [IMG]http://img.photobucket.com/albums/v374/taylormsj/rascalshelp.jpg[/IMG] I am currently creating a program for my mums business. I have a .mdb access data base with member details. In the screen above, i want to type the ID number into the text box, click search and their data to be filled into the text …

Member Avatar for taylormsj
0
141
Member Avatar for manoj_582033

Hi Friends, I M Working In Vb.net, I Want that, to which form i m opening that must be top,while i don't close that,i could'nt open any other form,for this i m doing [B]topmost=true[/B](Property of form) ,& It 's working also but that is not showing the messages which i …

0
108
Member Avatar for 1newguy

[code]#include <iostream> using namespace std; int foreign(int x); int x; int main() { x=10; int i, j; i = 2 * x; if (i > 10) j = x / 2; return j - 1; cout << foreign(x) << endl; } [/code]

Member Avatar for daviddoria
0
84
Member Avatar for man4ish

I have one file with the following tab separated records with four columns.Now I am trying to convert the file into fixed length binary file. How it is possible. in C++. rs149915 29103059 A/G + rs149932 29116347 C/G - rs149933 29123223 C/G - rs149934 29084753 C/T - rs150082 29117038 A/C …

Member Avatar for Danny_501
0
130
Member Avatar for YingKang

After user choose ticket type(first class, business, or economy) and desired seat, for example row 2 A, the program will output the form: A B C D E F row 1 * * * * * * row 2 X * * * * * // now user chooses row …

Member Avatar for YingKang
0
3K
Member Avatar for metal_butterfly

I have a set of attributes such as group id,group name,etc related to a linux process. I want to know how to start a process in linux using C program.Plz do help me.

Member Avatar for ithelp
0
89
Member Avatar for LiBOC

Hi guys, I am new to programming a Rabbit microprocessor 4000. Are there any emulator or simulator program that allows my codings to be tested WITHOUT uploading the codes into the processor and then telnet in to test its response? For now, I am doing something like Command Line Interpreter... …

Member Avatar for Ancient Dragon
0
142
Member Avatar for naseeh

I'm having trouble formatting the datetime field in a gatagrid. I am able to format the date using: <asp:BoundColumn DataField="MyDateColumn" DataFormatString="{0:d}" ... /> But Since I'm using two tables, I'm creating the datagrid manually instead of using "GridView" from the Toolbox. My Code: ================ [code]Dim comm2 As SqlDataAdapter = New …

Member Avatar for P.K.Chaudhary
0
104
Member Avatar for AnGuRuSO

I've looked around and it turns out there isn't a C++ version of the java instanceof operator. I've also found out that using instanceof is supposed to be bad, for some reason. So let me tell you why I want to use this instanceof operator so badly. I've got a …

Member Avatar for AnGuRuSO
0
885
Member Avatar for Hsus

Hi... I need to implement multithreading in vb.net....I need to pass a parameter to the function which will be called by the thread...Can someone help me with this?

Member Avatar for jbennet
0
77
Member Avatar for pythonnewbie1

Here is my assignment with the directions. ###Programmer Brian Austin ###FOP ###3/30/09 ###Assignment 8 ###Using a loop, allow the user to input as many student names as they like and store the names in a list. in title format #then write the list of names to a file named NAMES. …

Member Avatar for jlm699
0
227
Member Avatar for scrypt3r

Is it possible to use Process.Start to open a file with a program other that the default program? For instance, like [code]Process.Start("C:\file.txt");[/code], but opening it in word instead of notepad

Member Avatar for scrypt3r
0
85
Member Avatar for Designer_101

Hi I have a tiny problem, the emails outgoing from my website are all going to hotmail and are for some reason un-openable. You have to click the 'This message has been blocked for your safety. Open message' in the red box at the top of the message. I have …

Member Avatar for samarudge
0
103
Member Avatar for kiddo39

Hi, how can I open an image and get the R,G,B values of just the first line? [code] from PIL import Image im=Image.open("image.bmp") img=im.getcolors() print img [/code] I've tried im.getdata() , im.histogram, etc.... but again, what I'm looking for is more of R,G,B pixel counts for just the 1st line …

Member Avatar for lllllIllIlllI
0
147
Member Avatar for tillaart36

Hi guys, I have a program where I need to load csv files. I have the problem where some loaded csv files have a comma as delimiter and other csv files have semicolon delimiters. For the functionality of the bigger program I want to use the load function and when …

Member Avatar for tillaart36
0
2K
Member Avatar for sashkat

Hi, I need help with writing a piece of code that counts all the folders in a specific directory and prints the number, then counts image files in the same directory but located in all the fullsize sub folder of each gallery. Example: -images -galleries -gallery1 - fullsize -thumbs -gallery2 …

Member Avatar for digital-ether
0
115
Member Avatar for joseph19.k

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim j As Boolean j = True Me.Hide() System.Diagnostics.Process.Start("LSBSTEG.exe") While (j = True) If Diagnostics.Process.GetProcessesByName("LSBSTEG").Length <= 0 Then Dim f As New Form4() f.ShowDialog() j = False End If End While End Sub

Member Avatar for joseph19.k
0
109
Member Avatar for student784

Dear, i want add the new item in combobox at run time,whiout databas. i want user enter the new item in comobox. plese help me

Member Avatar for c0deFr3aK
0
1K
Member Avatar for leverin4

I'm having trouble coming up with a solution to this problem. Say you have two byte arrays with numbers stored in them backwards. For example, say you have the numbers num1 = 843234 and num2 = 5430222124 stored in two byte arrays as follows [code=java]byte[] num1 = {4, 3, 2, …

Member Avatar for JamesCherrill
0
167
Member Avatar for psankisa

hi all , i have two arrays say : a[] = {"abc" , "def" , "ghi"}; b[] = {"abc" , "def" }; now i would like to find out the difference i.e "ghi" ..without using nested for loops.

Member Avatar for Intrade
0
126
Member Avatar for jayb

hello everyone ... I am working on a CMS in PHP, using Apache server .. in my site we have a download and upload file module .. where user can download necessary files and also can upload . but I want use an another server for this .... such that …

Member Avatar for digital-ether
0
127
Member Avatar for rajeesh_rsn

Hi i had a big database and need to delete and add to it daily. About 500 rows are there in that table. I add add a check box in every row ( in the output page ) .. Something like this [ICODE]<table> <?php $select=select * from table ; while($row=mysql_fetch_array($select)){; …

Member Avatar for hemasow
0
150
Member Avatar for austinslik

please help me in finding what is wrong with my array... its not sorting thanks, thanks. [code=c] int main(){ int i,j,x,y; int unsort[10] = { 34, 76, 12, 1, 56, 23, 65, 9089, 45, 63 }; //int sort[10]; for (i = 0; i < 10; i++){ cout<<unsort[i]<<" "; } for …

Member Avatar for austinslik
0
122
Member Avatar for cohen

Hello, In dreamweaver, i'm trying to do something on [URL="http://www.central-forums.net"]my website[/URL]. Now whenever someone clicks on a link like forums, i want to be [url]www.forums.central-forums.net[/url], but at the moment, that won't work.... how do i do it... This is my current script: [code] <li><strong><a href="www.central-forums.net">Homepage</a></strong></li> <li><strong><a href="forums">Forum</a></strong></li> <li><strong><a href="about">About</a> </strong></li> …

Member Avatar for cohen
0
314
Member Avatar for hemasow

hi we have one problem while using drop down list in PHP. We have a drop down list, after the selection of the items in that drop down list we want another drop down list to be displayed based on the selection of the first drop down list, we r …

Member Avatar for cwarn23
0
114
Member Avatar for tomtetlaw

what are some methods for open()? i want to know when the end of file is incountered like so: [CODE] def saveFile(filename): fout = open(filename 'w') while not fout.EOF(): fout.write(havnt figured out what to do here but dw bout it) [/CODE] any ideas?

Member Avatar for tomtetlaw
0
114
Member Avatar for jjtrooper

Hi all, Wonder if someone could help me please, I am not technically minded but I will try and explain my problem. I use Serif Webplus, ntl (now virgin) free web space, ftp, xp. For over 5 years I have been using the same set up with no problems at …

Member Avatar for jjtrooper
0
109
Member Avatar for chriswellings

hi im new to vb and i have just run into a mind boggleing prob i think i have tried just about everything to get this working but it just wont work my question is when calling a function in my case Charge(nights) i get a litte := after nights …

Member Avatar for chriswellings
0
96
Member Avatar for tomtetlaw

im doing a tut for Tkinter and in it they do this: [CODE]tkFileDialog.askopenfilename()[/CODE] but when i run it i get this error: Traceback (most recent call last): File "C:\Documents and Settings\tom\Desktop\Programing\Python\c++ + python\main.py", line 67, in <module> if __name__ == "__main__": main() File "C:\Documents and Settings\tom\Desktop\Programing\Python\c++ + python\main.py", line 64, …

Member Avatar for tomtetlaw
0
609
Member Avatar for danielle23

I am working on a code focusing on Inheritance in C++. I am getting some errors regarding the lines that read: [icode]void bat :: double travel_time (double distance, terrain_type t)[/icode] (lines 56, 68, 113, 125 in animal.h file) The others that begin with void penguin, mammal, and bird have the …

Member Avatar for danielle23
0
237
Member Avatar for New2PHP

Good Afternoon, I am realtivly new to the wonderfull world of PHP and am reaching out for help on a project I am currently working on. I would appreciate any help on this issue. Thank You in Advance! Objective: Create Dynamic Multiple Drop Down Boxs - Options to be stored …

Member Avatar for New2PHP
0
115
Member Avatar for CPPRULZ

I have been trying to make a program that uses derived classes but have run into a problem. I get the error type: " error C2440: '=' : cannot convert from 'const char [16]' to 'char' " when I try and intialize a char array of 255 to "Name Unknown" …

Member Avatar for Ancient Dragon
0
128
Member Avatar for dilipkk

Hi all, I want to classify movie reviews as positive or negative using machine learning techniques and I want to do this using python. Can any one suggest me how to these things in python. Thanks In Advance :) -Dilip Kumar Kola

Member Avatar for dilipkk
0
107
Member Avatar for dayalsaran

hi all, could you please suggest some good websites where I can find tutorials on embedded programming? Thankyou.

Member Avatar for LiBOC
0
102
Member Avatar for arvin2006

Hi everyone! is there anyone has an idea on how to incorporate the biometrics scanner (time in/time out) with visual basic. For example, what would I need (devices, component, software, etc.etc..) such that I can manipulate the data in the biometrics device with visual basic programming and ms access as …

Member Avatar for arvin2006
0
1K
Member Avatar for rajeesh_rsn

I need to delete a file using php function and then redirected the page to another one. I tried with this code : ----------------------------------------- [ICODE]delete("$file"); function delete($file){ unlink ($file); header("Location: npp.php"); }[/ICODE] Works fine in my local host but the following error coming when upload to server : [ICODE]Cannot modify …

Member Avatar for rajeesh_rsn
0
278
Member Avatar for lauren316

THis program is supposed to take a number (1-5) from the user. After each number is entered, it should ask how many of each product they want, then show the total for that product and and overall total at the end. I have to use a swich statement. And stop …

Member Avatar for BestJewSinceJC
0
113
Member Avatar for sudeep123

hey guys i am builing a program "alis score". what it does is calculate your GCSE grade and give a score for that...(total subjects divide by 9). I got like max. 9 subjects in my program and consists of three form.. I have finished all the programming but i got …

Member Avatar for hkdani
0
173
Member Avatar for Blkfxx

Please help, got this code below that i need to add to a program im making and for some reason i cant work out why it doesnt work. [code] program dbase1; uses Crt; const fileName = 'C:\TEMP\NAMES.TXT'; maxRecords = 100; var name : array [1..maxRecords] of String; address : array …

Member Avatar for Stib08
0
169
Member Avatar for free radical

Hello, I need to prompt the user if they want to actually execute the program or not. Like, "Do you want to run the program, y=yes and n=no" Then user enters y or n and the program either runs or quits. I was thinking that would be like: [code] char …

Member Avatar for free radical
0
191
Member Avatar for tripes
Member Avatar for hkdani
0
427
Member Avatar for beth2138

[code] Hi, just wondered if anyone could help, this is my college work an i have this bit of code, just wondered if anyone could help me..... im trying to do an addition of 3 array amounts public void AverageProduction() { /*Shows input dialog box asking for user to enter …

Member Avatar for VernonDozier
0
90
Member Avatar for sarawilliam

Hi, can you please tell me how to calculate execution time from the listing file shown below [CODE] 1 ; C Compiler for M68HC08 (COSMIC Software) 2 ; Generator V4.5.10.1 - 14 Jun 2007 3 ; Optimizer V4.5.4.2 - 17 Jul 2007 5 xref _printf 32 ; 1 void main(void) …

Member Avatar for Ancient Dragon
0
812
Member Avatar for pandey

I am trying to run one program using GNU compiler GCC 3.2.3. *i am seding u *partial code of my program and the compilation error i am getting. [code=cplusplus] #include <iostream.h> #include <fstream> #include <iomanip> #include <stdio.h> void fileinput(); int m,n, k, r; * main() {} void fileinput() { *int …

Member Avatar for Ancient Dragon
0
119
Member Avatar for c++noobie

I recently learned a little bit about sorting algorithm efficiency. I looked at the merge sort and saw how it could be implemented using a scratch array to store the result until it was finished. It then talked about in place algorithms but didn't offer one for a merge sort, …

Member Avatar for c++noobie
0
110

The End.