199,114 Archived Topics
Remove Filter ![]() | |
Hello, I have written the same code in c# and i seem to have any problems? I use 'procexp.exe' to check the performance. In the case of 'c++' the VM (Virtual Memory) and PM (Physical Memory) becomes larger every minute. There is also an I/O block with a lot of … | |
Hi, How do i prevent printing "Warning" bit of connection error? I only want see my error message on screen. Note: I deliberetly enter wrong Host IP to see the message thou. [code] Warning: mysql_connect() [function.mysql-connect]: Host '127.0.0.123123' is not allowed to connect to this MySQL server in C:\apache\login\database.php on … | |
Hi My name is Lin Freeman,im 14 years old and live in Baltimore Maryland.I really want to learn about visual basic 6.0.Ive bought one book and read it and read it well.It taught it the basic and how to write code but i didnt understand the code part very much … | |
I have two questions on python threading: 1: is there is any speed performance or difference between Thread module and Threading module? 2: Is there is any other major difference between Thread module and threading module? I used thread module for my download manager project. i think this thread module … | |
Hi, How can I link dlls (integrate them) into my program? I would like to just have one single exe, and not having to distribute a zip or installer... Cheers! | |
I have in javascript a text say I am an idiot I want to do it. "I am...." and on mouseover it shows up I am an idiot. How can I do it? | |
Hello, I never programmed Delphi and I got a project that I need to compile and make some changes. The problem is that I have a lot of components missing and I cant find them or even theire name so I can google for them! Any help is appreciated! List … | |
Hi all, I have a following code below, where I generate a matrix and lots of data, and finally I print out that data into one .dat file. Now I would like to share these data into many files, e.g. 4 .dat files in a continual way. To see what … | |
CODE [code=vb] Public Sub InstituteCreateButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles InstituteCreateButton.Click Dim InstituteName As String InstituteName = InstituteNameBox.Text Dim InstituteCountry As String InstituteCountry = InstituteCountryBox.Text Try Dim InstituteTableAdp As New InstituteBaseDataSetTableAdapters.InstituteTableTableAdapter InstituteTableAdp.Insert(InstituteName, InstituteCountry) MsgBox("Success") Catch ex As Exception MsgBox("Failed!") End Try InstituteCreateButton.Text = InstituteCountry End Sub [/code] … | |
HI Guys, I have written an app the prints out batches of documents for postings. Each batch is to be seperated by a red coversheet. I know that in our printing department, no matter what printer they use to print the batches on to they will always have the red … | |
Please fellows help me out! I have this departure date selection form and eg. today is 17 and i select 20. If i didn't fill in any required field before pressing send, the form will refer back to the form and all the other fields stays remembered but the departure … | |
ok so my development folder is in xammp htdocs (php codes) i am trying to insert an image to a table and when i display it on the php pages, it does not show why is this?? i used the absolute and relative path both. the images i need to … | |
Hello Let me describe the problem: I've got 1 base class item which is inherited by a few other subclasses. Everything goes well until I put an object from a subclass into an array of items I lose the specific data of the subclass. I think I need something of … | |
:-/AnyWay,, Here is what it is supposed to happen.... [COLOR="Green"]The input is a char array initialized with line of Text,, the program should tokenizes the line with the "strtok" function and should output the line of text in reverse order.... [/COLOR] I need to set up a "strcpy"..... I'm almost … | |
I have created a procedure, exitFailure() that is invoked if a file doesn't exist: [CODE] int exitFailure() {//start exitFailure() printf("Failure, hit any key to exit and press enter.\n"); scanf("%d", &counterx); return 1; }//end exitFailure() [/CODE] Below is the snippit of code that invokes exitFailure() [CODE] inFile.open(inputFilename, ios::in); if (!inFile) { … | |
[CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <form name='frm1' method="post" action="student.php"> Student No <input type="text" name='txtStdNo' /> <BR /> Name <input type="text" name='txtName' /> <BR /> Address <input type="text" name='txtAdd' /> <BR /> Contact No <input type="text" … ![]() | |
Hi, I have little idea of padding. i read in one of the links that : all character variables gets stored in the memory location that is divided by 1. all short variables gets stored in the memory location that is divided by 2. all int variables gets stored in … | |
im looking to convert this code using prepared statments if possible but am open to suggestions [CODE=php] function list_owner_notes(){ $id = $this->id; $sql = "SELECT nid, title FROM notes JOIN hubs ON notes.hub_url=hubs.hub_url WHERE owner = '$id'"; $result = mysql_query($sql) or die(mysql_error()); $notes = array(); / for($i=0; $row = mysql_fetch_array($result, … ![]() | |
Hi All, I am facing new problem when i am executing any of wesite. anyone can suggest me. Thanks in advance. Server Error in '/Test' Application. -------------------------------------------------------------------------------- Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. … | |
Hello I'm making a dungeons and dragons and i need something to contain all inventoryitems like pieces of equipment, potions,... How can I put them all in one array or vector? Thanks, Jasper | |
please help write a javascript function to do a client side validation of the html form i have displayed below. the validation should check if input box Student No cannot be empty; if the txtStdNo box is empty there should be a message "Cannot be empty" and move the cursor … | |
Assuming a one dimensional integer array a[] has been declared and created with 100 elements: for (int i = 0; i<=a.length; i++); a[i] = 5; Assuming int b [] [] = new int [3] [3]; b[1, 1] = 5; Strings students[] = {Pat, Tom, Mary, Anne}; | |
I am so lost on how to get this code to work, and I am pretty sure what I have is all wrong. The problem is as follows: Each salesperson is assigned a 4 character ID, with the first character either an F (full-time) or a P (part-time). And the … | |
Hi! i creating java apps to edit windows registry .... it is fine in Xp but in Vista its need admin privileges.. how do get it programmatic-ally... in .net app.manifest is there..but in java anything is for admin privil.. | |
hi frnds wishesw to all, i have an problenm that how to write javascript in asp.net for showing client side validations........ pls give me reply it is very urgent for me..... | |
[url]http://www.mattkruse.com/javascript/mktree/[/url] I have tree like that style. I want on node click, to show word loading below the node clicked until new nodes are opened..anyone know how to do this? | |
hi frnnds, iam raghuram, i had got a problem .when iam inserting the values in database ,it will not inserted. i had done the coding ,but it doesn't show any mistakes. while inserting the data it will show error on insert.executenonquery() so i requested pls give me the coding of … | |
Hello everyone, I'm trying to customize the popup menu based on which table I right-click on. I have disabled the right-click function on the page except for the tables. I did this on purpose. This web page will be called from a python software, using the IE activeX, so no … | |
How would I fill a two-dimensional array up with numbers. map_height = 9 map_width = 8 I have this code: [code] for (i=0; i<map_height; i++) { for (p=0; p<map_width; p++) { room_numbers[i][p] = w; w++; } } [/code] But when I try to print it out it comes up with … | |
Hi guys, I'm back for some help. Spent days googling for the answer... cant do it anymore. Could somebody please tell me how to simulate Joomla readmore function. What I mean is: I have a mysql database with news articles. Each article is stored in the 'news' table in the … | |
Hi all is it possible to delete the last line of a text file each time a method is called. I have the following method: [CODE] Writer output = null; File file = new File("playerData.xml"); try { output = new BufferedWriter(new FileWriter(file, true)); output.write("\t" + "<player>" + "\n"); output.write("\t" + … | |
Hi everybody I have been using mysqldump utility to dump the contents of database to a file. Everything is ok but i want to eliminate the "USE `db_name`;" statement that appears in mysqldump. Is it possible to do that. Please help:sweat: | |
![]() | Hey I m new in programming and I've spend 3 month on c# and now want to participate in imagine Cup with my team. and Looking for topic and the first requirement of imagine cup is: Your entry must address a [B]social cause[/B] connected to the 2010 Theme: "Imagine a … |
I am not sure if the title of my thread indicates where the problem is, but that is what I think it is. [code] void convertFormat(vector<string>& files, map<string,int>& tickerMap, vector<int>& numRecords ) { string txt = ".txt"; string filePathNameString; for ( int k =0 ; k < (int)files.size(); k++) { … | |
Hey, I created a custom datagridview column for a progressbar and included customizable color properties but I can't get them to work right. After compiling, the properties show up correctly in the Edit Columns popup editor, but changing the values has no effect. The designer generated code shows the original … | |
Please help me with my follwing code. this can only check if username textbox is empty. how do i also make it so that it checks if password textbox is empty and thereby give an error??? please help. [CODE] <html> <script type="text/javascript"> function validateFormOnSubmit(strng){ if(strng.value=="") { alert("Empty"); return false; } … | |
:) Hello experts, Im taking a C++ class and i was asked to Write a program that uses a structure named MovieData to store the following information about a movie: Title Director Year Released Running Time (in minutes) I've come down to making it compile, but, when it couts the … | |
Please help. i do not know how to do this as i am a java beginner. i only know to use a string and output. how do i do this with a loop? this shows to the side bit it should be in the middle.... like an upside down A … | |
I am implementing a code to detect overlapping regions in a cell, as shown in the attachment. As you can see, the image is an overlapped version of two cells. My aim is to separate them. But I have got no clue whatsoever to do this. Can anyone help me | |
Hi, I am implementing a project where I have to use adaptive thresholding on an image. That is, the threshold value must not be global, but must adapt itself with the image. I have thought a lot, but am unable to get a logic. It would be really helpful if … | |
Hi, I have a code where I have to use the region class in drawing. When I type using System.Drawing., the region class doesnt appear in the drop down list. I know this is a kinda silly doubt, but I need to include it in my project. Thanks prashanth | |
Hi, I have this following code for RGB to HSL conversion, but I do not know how to use it to display my image. Can someone help out [CODE]var_R = ( R / 255 ) //RGB from 0 to 255 var_G = ( G / 255 ) var_B = ( … | |
Hi, I am trying to implement the K Means Clustering Algorithm for Image Segmentation. The logic behind K Means is : 1. Place K points into the space represented by the objects that are being clustered. These points represent initial group centroids. 2. Assign each object to the group that … | |
I am trying to write a funtion that will return the value of 1 if its string argument is a palindrome. I have started but am unsure if it is correct. Could someone please take a look and point me in the right direction? Thanks [CODE]#include <string.h> Int palindrome (const … | |
i have written the following code and it is not executing due to the following [B]error[/B] [COLOR="Red"]dec.java:7:integer number is too large :10000000000[/COLOR] [U][B]code[/B] [/U][CODE] import java.util.*; class dec{ public static void main(String args[]){ long dig,store,use,temp,temp1,end; int count=0,count1=0,ch; use=1000000000; end=10000000000; while(use<end){ dig=use; for(int i=0;i<10;i++){ temp=dig%10; dig=dig/10; ch=(10-i)%10; store=use; for(int k=0;k<10;k++){ temp1=store%10; … | |
I'm going to put the text information to "data.bin" file in binary mode. Then i'm goint to read that information from file. I did by using "FileOutputStream", then "ObjectOutputStream" class and his "writeObject();" method, but this one just puts serialized object data to file, and as I understand - that's … | |
Hai Friends, What is Swingworker class? were we can use this class? what its advantage? can any one explain this.... | |
Please Help me, We had a Software application Developed using VB6 with MSSQL SERVER2005 as Database(Remote) in [url]www.znetindia.com[/url] our web space provider , the application was working properly until they upgraded the Server configuration, Now we are not able to connect with the database using the normal OLEDB connection String … | |
Project : Daily emailing of 2000 customers with a personalised pdf attached - I can create pdfs with unique file name these then need to be attached to the correct email and sent out - can anybody help | |
i everybody, I am required to find out if the following is a standard practice to create a subclass. Take for instance, I have to create a class library (ClLib) with 2 classes using Visual Studio: Class1.cs & Class2.cs. Next, I open up the .CSPROJ file of ClLib and modify … |
The End.