199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
[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] | |
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 … | |
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 … | |
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. | |
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... … | |
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 … | |
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 … | |
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? | |
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. … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 | |
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, … | |
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. | |
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 … | |
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)){; … | |
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 … | |
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> … | |
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 … | |
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? | |
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 … | |
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 … | |
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, … | |
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 … | |
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 … | |
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" … | |
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 | |
hi all, could you please suggest some good websites where I can find tutorials on embedded programming? Thankyou. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
| |
[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 … | |
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) … | |
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 … | |
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, … |
The End.