199,112 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for TailsTheFox

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 …

Member Avatar for TailsTheFox
0
134
Member Avatar for Sturdy

hi all.. how i can check there are palindrome in textbox. e.g : i input "daniweb a bewinad" thanks and please help.

Member Avatar for Sturdy
0
819
Member Avatar for kitschkath

[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 …

Member Avatar for Jx_Man
0
1K
Member Avatar for klemme

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 …

Member Avatar for klemme
0
170
Member Avatar for AKJo

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?

Member Avatar for dannyniu
0
108
Member Avatar for vb2learn

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 …

Member Avatar for vb2learn
0
2K
Member Avatar for NewOrder

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) { …

Member Avatar for ddanbe
0
146
Member Avatar for Clanstrom

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, …

Member Avatar for Clanstrom
0
127
Member Avatar for navimir
Member Avatar for Mitja Bonca
0
1K
Member Avatar for xxmp

Is there any way to overload the assigment operator or it is not possible in java? Thank you very much

Member Avatar for JamesCherrill
0
116
Member Avatar for lelejau

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 ) ); …

Member Avatar for thelamb
0
495
Member Avatar for cupcake33

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 …

Member Avatar for cupcake33
0
469
Member Avatar for pseudorandom21

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 …

Member Avatar for pseudorandom21
0
112
Member Avatar for newbieha

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

Member Avatar for sourabh17
0
82
Member Avatar for ShinyEdge

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; …

Member Avatar for ShinyEdge
0
23K
Member Avatar for anu07

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

Member Avatar for anu07
0
178
Member Avatar for zack654

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 …

Member Avatar for zack654
0
150
Member Avatar for cse.avinash

Sir, how to take input from user as large as 2^64 and the perform its calculation. Please help me.

Member Avatar for rubberman
0
135
Member Avatar for gyuunyuu

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 + …

Member Avatar for gyuunyuu
0
421
Member Avatar for thekitoper

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++).

Member Avatar for thekitoper
0
69
Member Avatar for <Tech>

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 …

Member Avatar for Rashakil Fol
0
186
Member Avatar for ndeniche

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 …

Member Avatar for PdotWang
0
2K
Member Avatar for spoon licker

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 …

Member Avatar for Saith
0
225
Member Avatar for PinoyDev

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!

Member Avatar for PinoyDev
0
120
Member Avatar for Amr87

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 …

Member Avatar for Amr87
0
105
Member Avatar for SeePlusPlus2

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; …

Member Avatar for rubberman
0
129
Member Avatar for grabit

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 …

Member Avatar for jon.kiparsky
0
107
Member Avatar for prince87

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" …

Member Avatar for prince87
0
263
Member Avatar for crankyslap

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 …

Member Avatar for crankyslap
0
2K
Member Avatar for bfprii

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 …

Member Avatar for Narue
0
160
Member Avatar for Doughnuts

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, …

Member Avatar for Doughnuts
0
353
Member Avatar for omaiaa0p

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 …

Member Avatar for masijade
0
92
Member Avatar for davefitze

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

Member Avatar for davefitze
0
143
Member Avatar for nightrev

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 …

Member Avatar for Legnoduro
0
119
Member Avatar for ShandyElliott

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?

Member Avatar for tinymark
0
126
Member Avatar for constntine

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 …

Member Avatar for snippsat
0
541
Member Avatar for atticusr5

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 …

Member Avatar for WaltP
0
143
Member Avatar for iamcreasy

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? …

Member Avatar for template<>
0
19K
Member Avatar for diafol

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 …

Member Avatar for diafol
0
803
Member Avatar for LloYdZ

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 …

Member Avatar for ntrncx
0
92
Member Avatar for harinath_2007

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..????

Member Avatar for masijade
0
161
Member Avatar for NewOrder

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 …

Member Avatar for NewOrder
0
153
Member Avatar for arezz09

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..

Member Avatar for arezz09
0
101
Member Avatar for DaniwebOS

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 …

Member Avatar for VernonDozier
0
436
Member Avatar for flacka

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 …

Member Avatar for tinymark
0
218
Member Avatar for hughesadam_87

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 …

Member Avatar for Gribouillis
0
297
Member Avatar for vuyiswamb

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: …

Member Avatar for tinymark
0
114
Member Avatar for BlueCharge

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) …

Member Avatar for diafol
0
389
Member Avatar for baig772

i m new to php is it possible to generate pdf files with php using wamp as a web server

Member Avatar for TommyRay
0
66
Member Avatar for webdesign4me

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 …

Member Avatar for Jiwe
0
153

The End.