199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Azurea

Hey Daniweb Python forumers, I'm guessing that this is a Vista thing, but when I run my wxPython programs in Vista by double-clicking the file, I get errors from the computer saying that "python.exe has stopped working". I also use the IDLE IDE, so when I run the program from …

Member Avatar for shadwickman
0
138
Member Avatar for bhavik_thegame

Hii All, I am working on Drupal right now, well, the problem I am facing is that I am not being able to track the flow bcoz I am not familiar with the urls, for. e.g in the <form> tag the action attribute says "action=user/manage/books/add" What does this mean? On …

Member Avatar for bhavik_thegame
0
126
Member Avatar for gouki2005

I am new in this language.....but..i want to know this... is VB- you have SUB AND FUNCTION Ths sub is just a procees...Doesnt return nothing... and the function is that a function but returns a value in Csharp...did you use sub and functions????

Member Avatar for dickersonka
0
81
Member Avatar for chanda gul

Hi all, i want to find the last write time of a registry key but i am not able to find a function for it in C# (like the function regqueryinfokey() in c++) so can any one tell me how to find last write time of registry key in C#

Member Avatar for Jugortha
0
116
Member Avatar for dellarby

I am interested in hearing opinions from experienced developers on which represents best practice in the following scenario: When files appear in a filesystem, processing needs to occur. Meta data about the files also exists in a database. Which is better: 1) to monitor the file system directly for new …

Member Avatar for pritaeas
0
115
Member Avatar for Kakashi

Hello.. I need help urgently on how to save an output from the command prompt using the BufferedWriter bw= new BufferedWriter(new FileWriter(".text",true)); a little help i much appreciated and Thank you =) regards Kakashi

Member Avatar for peter_budo
0
104
Member Avatar for svulli

We are trying to implement MySQL clustering on our E-commerce database, but presently the tables are MyISAM based and some of the tables have full text search index on. In the wake of Clustering environment, one of the requirements is moving to InnoDB. However, that would pose the problem of …

Member Avatar for svulli
0
126
Member Avatar for freefika

Hello, I'm currently developing a Chat Application in VB.NET which is similar to MSN Messenger. I need to know the control to use for the message area of the chat window in which the messages sent and recieved will be shown. I tried using the rich text box but it …

Member Avatar for slimtugo
0
271
Member Avatar for rmlopes

Hello, I am writing an application that uses the Loki library and I get undefined references inside loki if I use the DefaultSPStorage with std::vector<int> (it happens the same with int or using HeapStorage instead). I am developing on Mandriva 2008. Can someone please help me? Thank you in advance …

Member Avatar for rmlopes
0
219
Member Avatar for janamrob

Hi, I have a class MovieRating below: [code] import java.util.*; public class MovieRating { private Map ageMap = new HashMap(); private String movieRating; public MovieRating() { ageMap.put("PG", 18); //parental Guidance ageMap.put("G", 4); //general viewing ageMap.put("A", 27); //Adult material } public String getRating() { return movieRating; } public boolean getStatus(String rating, …

Member Avatar for stultuske
0
122
Member Avatar for Achupa

Can someone help me modify the code below to do the following: Ensure that your mammal has a [B]private property which is an collection of limbs[/B] and [B]protected methods to add, remove and retrieve the limbs[/B]. You need to pass a limb not a list to the methods for adding …

Member Avatar for dickersonka
0
153
Member Avatar for Se7Olutionyg

I am confused because of those term 1) Endian , Procuste( I don't know if the second term is correct because I tried to look it up but I can't find it) a) Who/What b) Origin. History c) How applies to Simple Data type This is my answer for the …

Member Avatar for ddanbe
0
168
Member Avatar for daviddoria

I have a Triangle class which has members [code] Point P1, P2, P3; [/code] So generally I pass the constructor 3 points. [code] Point A(1,1,1); Point B(1,1,0); Point C(0,0,1); Triangle T(A,B,C); [/code] Then I have a bunch of functions that I can pass point's to such as to find intersections …

Member Avatar for Narue
0
116
Member Avatar for emamizadeh

Dear All Friends i have an problem with windows vista . i write an program for Readind Data From Serial port in delphi . and then compile it in windows XP . Application is worked very good . but when i do compiled this application in windows Visat , i …

Member Avatar for LizR
0
193
Member Avatar for gp04lch

hey guys, was having a great time with SkyBound's FreeStyle when i ran into a very funny problem. On removing a tabpage from the tabcontrol which is using the FreeStyle component, i get an error when executing the following line: [CODE]this.Controls.Remove(this.TabPages[SelectedIndex]);[/CODE] exception thrown is: System.ArgumentOutOfRangeException was unhandled Message="InvalidArgument=Value of '0' …

Member Avatar for LizR
0
146
Member Avatar for FallenPaladin

Hi all, I am trying to create an xml file and schema that can be oppened by a .net app. However when the app trys to read from the data set, nothing is being held. I think this may be due to an error in the creation of the xml …

Member Avatar for FallenPaladin
0
101
Member Avatar for koushal.vv

Hi , i am working with CTreeCtrl, Here i need to add and remove IMAGE on the tree item at runtime. ie add an image only on the particular tree item . How can i do this. i have tried something like this . [CODE] HTREEITEM itemSelected = mtreeCtrl.GetSelectedItem(); mtreeCtrl.SetImageList(&mImageList, …

Member Avatar for koushal.vv
0
102
Member Avatar for No1unoin98

Hello everyone, newbie here, im getting an "illegal start of expression" where the while loop starts but im not sure whats wrong with it. I would really appreciate it if anyone could help me as i understand most of the concepts of java but have a hard time writing the …

Member Avatar for No1unoin98
0
93
Member Avatar for gp04lch

hi, i've downloaded the SkyBound VisualStyle dll and have included it in my custom tabcontrol. the purpose is to enable the control to retain the default windows style even after i set the DrawMode to OwnerDrawFixed. problem is after i added it into the control and set the SetVisualStyleEnhanced property …

Member Avatar for gp04lch
0
153
Member Avatar for clutchkiller

How would you put a counter into an If statement to check if there is a specific amount of chars, Say 'x' or 'y'? Thanks

Member Avatar for DemonGal711
0
98
Member Avatar for kamo10

ANY ONE WHO CAN EXPLAIN THIS CODE FOR ME BY COMMENTING ON THE LINES THAT ARE IMPORTANT PLEASE HELP ME!!!!! [code=cplusplus] //--------------------------------------------------------------------------- #include <vcl.h> #pragma hdrstop #include "CastUnit1.h" //--------------------------------------------------------------------------- #pragma package(smart_init) #pragma resource "*.dfm" TCastForm *CastForm; //--------------------------------------------------------------------------- __fastcall TCastForm::TCastForm(TComponent* Owner) : TForm(Owner) { } //--------------------------------------------------------------------------- void __fastcall TCastForm::DisableButtonMouseDown(TObject *Sender, TMouseButton …

Member Avatar for ithelp
0
123
Member Avatar for rushin25

Hi, i am having some problems writing down the source code that can figure out all the types of triangle(isosceles,scalene,equilateral & right trianlge). here are the things that i need to do: 1. to determine if the entered sides form a valid triangle or not. 2. to determine the types …

Member Avatar for DemonGal711
0
344
Member Avatar for Ixeman

Can someone help me convert this to vb.net I can't read this whatsoever, i can barely read it XD [CODE]const int buflen = 10240; static char readbuf[buflen+1]; static int last = 0; static int next = 0; typedef struct PK11SlotInfoStr PK11SlotInfo; // NSS Library functions typedef SECStatus (*NSS_Init) (const char …

Member Avatar for ithelp
0
437
Member Avatar for khaleekcool
Member Avatar for khaleekcool
0
83
Member Avatar for tigerkartik

hi i m plannin to build a gaming web site using java. so basicaly i want to know where to start from and the things i need to consider and are concerned for the same.

Member Avatar for ithelp
0
88
Member Avatar for smile4evr

please help me out in wat could be the error in the below code as it is not running when it comes down to the openrecordset statement! [code] Private Sub cmdOK_Click() Dim rst As DAO.Recordset 'check for null password If IsNull(Trim(userid)) Then MsgBox "User Name required.", vbExclamation userid.SetFocus Exit Sub …

Member Avatar for smile4evr
0
83
Member Avatar for smile4evr
Member Avatar for smile4evr
0
97
Member Avatar for nischal.hp

I am doin my bachelors and wanna know wat all is involved in game development so could some of the senior people here please guide me???

Member Avatar for ufg123
0
90
Member Avatar for Wiizl

So... I have 3 textboxes and a Submit button. Here's the code behind: [CODE] public void Submit1_onClick(object sender, EventArgs e) { SqlConnection conn = new SqlConnection(); DateTime laiks = new DateTime(); conn.ConnectionString = "data source=.;initial catalog=ForumDataBase;integrated security=true;"; SqlCommand cmd = new SqlCommand(); cmd.CommandText = "INSERT INTO PostTable(ThreadTitle,PostMessage,UserName) values('" & ThreadTextbox.Value …

Member Avatar for misselegant
0
155
Member Avatar for theories

I'm a college student majoring in the Computer Science field, and this was an assigned project for a class. It's nothing more than a test to show the efficiency of different sorting algorithms and the efficiency difference between sequential and binary searches for 10,000,000 numbers. All of that I understand, …

Member Avatar for theories
0
126
Member Avatar for StainlessSteelR

For my homework I have to create a program with functions and nexted while loops. I have got most of the program written but it's not executing how I want it to. The program is setup as a football program, (RB = Running Back it's a football playing position) it …

Member Avatar for ndeniche
0
225
Member Avatar for dem10
Member Avatar for paul_1234

Hi, I'm currently working on concerning a student record with guardians/parents... im using the java ee framework.. I'm having problems on retrieving the data on our database(MySQL).. Here is what i did.. i have created a class to retrieve those data from the database.. my problem is that whenever i …

Member Avatar for ~s.o.s~
0
110
Member Avatar for ROTC89

hi im new to this shell scripting. I was assigned to develop some code that increased from 0 to 9 in sort of a pyramid. This is what the output should look like. 0 01 012 0123 01234 012345 0123456 01234567 012345678 0123456789 here is my code please help because …

Member Avatar for eggi
0
275
Member Avatar for benjamindemers

Hey folks, Anyone know how to take the code below and make sure that all the stuff that gets sent to the email wordwraps at 400 pixels? Please HELP! [code] <?php $where_form_is="http://".$_SERVER['SERVER_NAME'].strrev(strstr(strrev($_SERVER['PHP_SELF']),"/")); session_start(); if( ($_SESSION['security_code']==$_POST['security_code']) && (!empty($_POST['security_code'])) ) { $message = wordwrap($message, 70); mail("rbeale@bealeinc.com,iam1az@cox.net","Membership Application","Form data: First Name: " . …

Member Avatar for benjamindemers
0
169
Member Avatar for chris5126

Can someone tell me why this routine doesnt print out read/write statistics for the first device but does for the other two. I cant seem to work it out. Oh its a ksh script runnin on a solaris 10 box. [code] find_disks() { NETWORKDRIVE=/tmp HOST=`/usr/bin/hostname` integer k=1 integer i=`iostat -en …

Member Avatar for chris5126
0
118
Member Avatar for rje7

hi everyone, I'm developing a Online Music Shop. I think i have completed the basic modules which are necessary in a online music shop. modules include buying prepaid credits, searching for a music file in titles, artist and album, preview the music file, shopping cart, buying the file deducting from …

Member Avatar for rje7
0
139
Member Avatar for gp04lch

hi, i have two form Form1 and Form2 that are inherited from FormParent. in FormParent i have a protected variable Modified which will be set to true whenever anything has been modified. Form1 and Form2 are docked into tabpages. what i want to do is that when i close the …

Member Avatar for gp04lch
0
71
Member Avatar for websurfer

Hello, all; I am practising on this blog setup, and I am trying to echo each blog entry's headline appear as the page's Title tag... somehow the way I have it doesnt do it. So that you have an idea of what I am doing, I have an "if" statement …

Member Avatar for Will Gresham
0
193
Member Avatar for jkun2

For my second project in C we have to write a program to take in 2 arguments, one being a directory path and another being an int level_val. If level_val is -1, files in the parent directory are to be listed, and so on up the directory tree for -2, …

Member Avatar for Ancient Dragon
0
194
Member Avatar for khatter

Hi guys I am building a website which allows people to advertise their property online for free. I allow people to upload up to 5 images to my database. I store the name of the file in the database and the image itself is stored elsewhere on the server. I …

Member Avatar for dickersonka
0
122
Member Avatar for intelli

can any help me with this while loop it should follow a maximum of 40 regular hours, a maximum of 20 overtime hours, and a maximum of $10.00 for the hourly pay rate. evertime i put my while loop in the code and run it , it doesnt do anything …

Member Avatar for destin
0
92
Member Avatar for n8thatsme

Ok so I prompt the user for invoices (Invoice Number, Quantity Shipped, Part Number, Part Description, and Unit Price) until the user gets tired and enters an Invoice Number of 0 for an invoice. After the user enters an Invoice Number of 0, he should not be prompted for any …

Member Avatar for skatamatic
0
116
Member Avatar for Grub

I have a .jar file; in this .jar file I have many .class files but no .java files for these class files. Is it possible to add functionality to the program? If so how?

Member Avatar for Grub
0
125
Member Avatar for java-clueless

I understand arrays pretty well but I am so stuck on where to put it. Everything I enter into the inventory program seems to be in the wrong place or written the wrong way. I am so confused can someone help me? This is the program I have so far, …

Member Avatar for java-clueless
0
211
Member Avatar for amby

hi there can anybody please help me out....i just start learning asp.net and have downloaded visual web developer 2008 Express Edition....and it opens my .aspx file.....but i want to check its contents on my browser.....i wrote the simple program that prints Hello world in the center with the yellow background.....first …

Member Avatar for jbennet
0
148
Member Avatar for JustinJose12002

Hi All, How to read the following command line values for a in my shell script? ./test.sh -a file1 file2 file3 i know we can use getopt() but i am geting only first value(file1).. Any help appreciated -jujose

Member Avatar for chris5126
0
124
Member Avatar for pradeepkk2008

Hello , My application has an admin section which stores its password in web.config file. There can be case when simultaneosly 2 administrator logs in admin section and try to update the same database. I want to prevent this from happening. Can anyone suggest how to implement this. Update functionality …

Member Avatar for jbennet
0
96
Member Avatar for cproud21

I have written the following class, and demo, in which I used a default exception (InvalidInputException)... I ran it, and it worked. So I tried my own exception, which I cannot get to work. How do I change the exception that is taken to my own (the Invalid TestScore class)? …

Member Avatar for Ezzaral
0
139
Member Avatar for Code Shark

[CODE]#include <iostream> #include<string> int main() { for(int i = 0; i <= 10; ++i) { std::string triangle(i, '*'); std::cout << triangle << std::endl; } for(;;) std::cin.get(); return 0; } [/CODE] As title says is this code ok or should i do it another way?

Member Avatar for gregorynoob
0
115

The End.