199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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???? | |
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# | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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' … | |
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 … | |
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, … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
can someone please help me with using tabs and hw to set the system date in vb6 | |
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??? | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
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: " . … | |
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 … | |
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 … | |
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 … | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
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? | |
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, … | |
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 … | |
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 | |
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 … | |
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)? … | |
[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? |
The End.