199,112 Archived Topics
Remove Filter ![]() | |
Hello, It seems like a simple task, but I can't find a simple answer. How do you find out how much extra space you have on drive "X:\". Is there any simple command like; [ICODE]Size(X:\);[/ICODE]? Or can someone just give me a few lines of code, NOT 53! I just … | |
hi all.. how i can check there are palindrome in textbox. e.g : i input "daniweb a bewinad" thanks and please help. | |
[ICODE]Dim li As ListItem Dim dTotal As Integer For Each li In ListView1.ListItems dTotal = Val(dTotal + CInt(li.SubItems(3))) Next txtgrade.Text = CStr(dTotal) 'returns the total value [/ICODE] data in LIST VIEW: 90 8 50 45 I used the codes above but I can only retrieve the values (45) ?? what … | |
Everyone! In my admin area, of a small CMS, I am creating an admin home page, and an edit page. In my admin home, the admin user, can see what pages exists on the site, by clicking an html drop down menu. All pages are stored in mysgl database, so … | |
I have problems to play video files from different cameras with the media player supplied with Delphi. Does anyone know of a free compnent that I could test in stead? | |
Hello Coders Need help I want to remove the lines that contain specific text. (Whole Line) Eg: Textbox1.Text = [code]learn lines dani knows everything web knows lines lines knows daniweb everything dani everything lines [/code] So textbox1.text will become and remove whole line that contains the word "daniweb" [code]learn lines … | |
i am trying to build a replay feature to my chess game. The way the chess program works in a nutshell. is that i have an array of the chess pieces that are printed on a board in winforms. here is a function: [CODE] public void PrintPieces(Pieces [,] pieces) { … | |
Hi there all. This is my first time ever in Dani web. I just began teaching myself PhP by googling. My first question ( Not sure if i am even allowed to ask in here ) is that. * When you create a php registration form in PHP enabled page, … | |
How to display images from a folder along with image names in C#?? Plzz help | |
Is there any way to overload the assigment operator or it is not possible in java? Thank you very much | |
Hello, I have this code: [code] void GetProcId(char* ProcName) { PROCESSENTRY32 pe32; HANDLE hSnapshot = NULL; pe32.dwSize = sizeof( PROCESSENTRY32 ); hSnapshot = CreateToolhelp32Snapshot( TH32CS_SNAPPROCESS, 0 ); if( Process32First( hSnapshot, &pe32 ) ) { do{ if( _stricmp( pe32.szExeFile, ProcName ) == 0 ) break; }while( Process32Next( hSnapshot, &pe32 ) ); … | |
Hi, I wanna ask.. I want to make a procedure of 1 second delay for 8088 so far here what I have [CODE]debounce: PROC NEAR PUSH CX delay: MOV CX, 6000H ;24576 in decimal L1: LOOP L1 ; POP CX RET debounce ENDP[/CODE] so, can someone please help me..I don't … | |
I have a DataGridView on a form that updates the datagridview automatically and will allow the user to manually edit the information. I need to save the information in the DataGridView somehow. I don't know what the best option would be. I could of course use a file to store … | |
how can i passing the list from addCard to printHand? [CODE] public void addCard(Card c){ ArrayList<String> list= new ArrayList<String>(); list.add(c.toString()); } public void printHand(){ for(String i:list){ System.out.print(i+" "); } }[/CODE] Thanks | |
I want to validate my form so i call validateForm() using onsubmit of the form. It displays the alert but doesn't cancel the submit. What could be the problem? [CODE] function validateForm() { var x=document.forms["contactform"]["name"].value; if (x==null || x=="" || x=="Name") { alert("First name must be filled out"); return false; … | |
![]() | Is it possible to do that? If so,can anyone give a theory or something? Thanks :) By the way I am using turbo compiler 3.0 ![]() |
I would really want some advanced C++ programmer to answer me this question, so please help me I really need this answer. How can I really start programming with C++? Of course, I still have a lot to lean. I just learned classes and SOME of inheritance features, I write … | |
Sir, how to take input from user as large as 2^64 and the perform its calculation. Please help me. | |
I have found numerous examples involving only arithmetic operations but mine requires to deal with functions - min(x, y), max(x, y), sqrt(x), abs(x), fact(x). What I don't understand is how my program can interpret those functions and set the precedence for them. Examples: 4 + 5 -> 4 5 + … | |
Hello, I am still considered a newbie and would like to know how to get unbuffered input from the keyboard preferably the arrow buttons, thank you. (C++). | |
I am going for a career in Software Design and i need to know what college path should i take in order to accomplish that? I have been told that i should major in computer science and specialize in software design. Is this what i would need to do in … | |
This snippet is to create a user control that will only take numbers. Numbers will accept decimal values, for which the NumberBox is validated to take only one. The implementation for the control is the same as it is for the TextBox, since it is inherited from this class and … | |
And sorry for double-posting...It's years of frustration and waiting that's compelling me to desperately get an answer here. Thanks for all who are even willing to try and help because I've asked for some tips about this on countless other sites like this and no one has actually helped. I … | |
Good Day! I just want to ask on how to hide the html codes of a certain page so that when my client view the source, they cant see it.. Thnak you! | |
Hello Everyone :) I found a script for a sliding effect that uses OO Javascript rather than Jquwry , and I wanted to study it . actually , I`m almost understanding it All , but I have a few question that I hope someone answer regarding this script , I`m … | |
Not really understanding the concept, why did they use "Person *pPerson = new Person("Susan Wu", 32);" and where did ".length();" come from? Also when "Rectangle *pRect" is put into a parameter, pRect is pointing at the address of the object rect, right? [CODE] #include <iostream> #include <string> using namespace std; … | |
Hi Folks I am trying to add a spin control to my quantity field before i add the ordered quantity to a shop cart array. The way its set up at the moment if you click the deincrement arrow it actually goes into negative numbers. (no good coz people cant … | |
Hi Everybody Can somebody Help me.this is my form cod that iam doing in xampp [CODE] <form name="form" action='registernow.php' method="post"> <table height="40"> <table left="50"> <table right="20"> <tr> <td > <vllabel errclass="error" validators="NameReq,NameRegExp" for="Name" cerrclass="controlerror">Name:</vllabel> </td> <td> <input name="Name" type="text" class="control" id="Name" size="21"> <vlvalidator type="required" name="NameReq" control="Name" errmsg="Name required"> <vlvalidator type="regexp" … | |
Hey guys, I got this code to upload an FTP file which works great, but what do I do when I wnat to upload the contents of an entire folder? I mean, I could make a for-each but that would mean disconnecting and reconnecting to the FTP server alot of … | |
I do not understand why the pointer addition is failing. [CODE] char *pipebuf=new char[40001]; CommandRobot *cr= (CommandRobot*)pipebuf; cr->command=2; DWORD *rooms=(DWORD*)(cr+1); *rooms=100;[/CODE] For some reason after executing the value of pipebuf only contains the value of command, it does not contain the value of 100; Yet, when I remove the new … | |
I am trying to add two numerical char arrays such as: [CODE]"124" and "589"[/CODE] I wrote functions to reverse the string and add the strings, and it works for strings like "123" and "456", but when the last digits are greater than 10, I don't know how to carry it, … | |
Hi everybody, I have a connection in my database, in this I have an interface which checks if a record has already been inserted in a database or not, when I implement this in a result set, it throws an illegalState Exception, I also have another result set doing a … | |
w whyhi i keep getting this warning and i dont know why [QUOTE]Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /users/2014/daf1/public_html/cs1109/lab18/adding.php on line 13[/QUOTE] [CODE]$add_topic_res = mysql_query($dbconnection, $add_topic_sql) or die(mysql_error($dbconnection));[/CODE] if anyone could help me it would be great cheers | |
Write a Python function that will take a string of the form “4/11/2010” and print the corresponding date in the form “Apr 11, 2010”. Make use of strings, lists, and appropriate operators/methods. In particular, define a list that contains the month abbreviations so that you can convert without needing any … | |
![]() | I have a drop down menu with options. Is there a faster way to display a tool tip based on the value of the <option> tag other than having to manually set title="" for each <option> tag? |
I am working on a project and coding in Python 3.1 where I need to find a string in a file. I have already considered reading the file to a string and then using rfind() on it, but that does not seem to be efficient, seeing as how I expect … | |
hello all, I am trying to make a menu driven program that uses a while loop and a switch in main. When i choose #1, the code seems to work. However when I type in #2, and enter data, the program goes into an infinite loop, because the menu is … | |
What happens when I set the value of an integer to NULL? I print it out / debug it, i get the value zero. Even I can use the NULL assigned integer to initiate another integer. Well, then what is the point of being NULL? Why set it to zero? … | |
![]() | Hi all. Having more problems with utf-8 and Iñtërnâtiônàlizætiøn. I'm running php (xampp) on Windows 7 (but it's also happening on my remote Linux site) and keep on getting nonsense with non-ASCII chars when they come from include files, e.g. INCLUDE FILE: 'inc.php' [CODE]<?php $simple = "Iñtërnâtiônàlizætiøn"; ?>[/CODE] MAIN FILE … ![]() |
can u help me in my assignment: [B]make a program that would display the figure as shown. use a WHILE structure and a method to implement a task.[/B] this is the one i made: please help me what are the missing codes there.. #include <iostream.h> #include <stdio.h> #include <conio.h> using … | |
Hi.. i am getting authentication error while sending mail from my java application.. my java application makes use of SMTP server.. how to solve this..???? | |
i created a class that i want to serialize each time a move is made on the chessboard. [CODE] class ClassMoveToSerialize { int[] StartPosition; int[] EndPosition; Dictionary<int[], int[]> serialized; public void DataToSerialize(int rowStartSerialize, int columnStartSerialize, int rowEndSerialize, int columnEndSerialize) { MessageBox.Show("" + (number = int rowEndSerialize+columnEndSerialize)); //it isnt finished, i … | |
i hve create checkbox in listview.. how to export check item in list view to crystal report, so i can print item that i hve check.....anyone.. | |
I'm trying to run this program all together without it being separated into header files and cpp files. Run the program, it just says there's syntax errors. Another problem I'm getting is when the program actually runs, the second event's data arguments don't do anything at all... [CODE]#include <iostream> #include … | |
We are replacing our old (dos) accounting system with the MS Nav 2009 and interfacing via webservices, or will be once I can get the NuSoap.php client to recognise that the service has operations. So far I have got the service to recognise the login (via ntlm auth), send the … | |
Hello all, I've tried to find this problem in past threads, so sorry if this is a repost. I have a large file with regular data. The file is too large for me to open it all at once, so I need to split it into evenly (preferred) spaced output … | |
Good Day All i have a a WCF service , that is checking the login details and its working fine as it should, i decided to add another Function that will display data. [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.Text; namespace DAL { // NOTE: … | |
Hi, I am making a script that takes the file contents of another chosen file on the same server, everything in the file is pulled into a textarea including the PHP in the file. I want to know how to then save all this data to a PHP file (temporary) … ![]() | |
i m new to php is it possible to generate pdf files with php using wamp as a web server | |
I am creating a client account management area on my site (check balance, pay your bill, print/save our contract, check progress, upload files/content, write messages to one another.. I have just about everything going smoothly (thanks entirely to a lot of info and help here @ DaniWeb).. One issue I … |
The End.