199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for alipourhadi

hi to all i wana get the Traffic left from rapidshare account i used this work but it doesnt work anyone cans help me? [CODE]ereg("<td>Traffic left:</td><td align=right><b><script>document\.write\(setzeTT\(\"\"\+Math\.ceil\((\d+)/1000\)\)\);</script> MB</b></td>", $pagedata, $traffic); [/CODE] html code of this part is : [CODE]<td>Traffic left:</td><td align=right><b><script>document.write(setzeTT(""+Math.ceil(-123313/1000)));</script> MB</b></td>[/CODE] i need this number : -123313 in html

Member Avatar for digital-ether
0
99
Member Avatar for sleign

I'm finding some information here and there about $PHP_SELF but never specific to the question I have. I'm not sure if I'm going about this right, but I'm using a form for user input, specifically a registration page - and I'd rather only have one page the user has to …

Member Avatar for digital-ether
0
193
Member Avatar for shaneog

I have been racking my brain and can't figure this out??? I'm trying to <b> or <highlight> characters/words in my string and for some reason the <b> tag is getting replaced when the $q includes the character "b". It also does the same for <span class=".... just reacts to different …

Member Avatar for digital-ether
0
2K
Member Avatar for johnkeartson

Do you have any ActiveX ( Buttons ) I really need it I want other this [URL="http://www.daniweb.com/forums/post773759.html?nojs=1#usercptools"]http://www.daniweb.com/forums/post773759.html?nojs=1#usercptools[/URL]

Member Avatar for SCBWV
0
112
Member Avatar for DonCollins

Hi All, First time poster, so please go easy on me! I am taking a VB.net class at Cleveland State and I have run into some trouble. I am working on a project that requires the user to input test scores via a text box and button into a list …

Member Avatar for Comatose
0
223
Member Avatar for headedtomexico

So I've got this piece of software that is written in C++. I also have a website hosted on hostgator with linux server i believe. I have a MySQL database with usernames and passwords. What I want to happen is for my client application that is written in C++ to …

Member Avatar for headedtomexico
0
498
Member Avatar for guest7

Hi, I have a file output.txt as follows : c FILE c c c p val 25 36 8 1 0 -1 -8 0 -9 -7 0 -9 -2 0 7 2 9 0 -10 6 0 -10 8 0 -6 -8 10 0 -11 -9 0 -11 -3 0 …

Member Avatar for Comatose
0
526
Member Avatar for winrawr

so how difficult would it be to install an early early early version of DOS or Windows to my laptop, and sort of upgrade it myself to work with all of my hardware? To write drivers for my CD drive, wireless network card, etc- until it is a functional and …

Member Avatar for winrawr
0
84
Member Avatar for samir_ibrahim

Hi all, Is there a function in vb.net to get how many times string1 is exist in string2? I had search google and all I found is long code such as this one ( i did not test it) [URL="http://www.freevbcode.com/ShowCode.Asp?ID=1025"]http://www.freevbcode.com/ShowCode.Asp?ID=1025[/URL] Is there better way?

Member Avatar for samir_ibrahim
0
209
Member Avatar for c++noobie

I am trying to overload operator++ for a type I have defined. Here' s a little explanation beforehand. I am working on a link_list class that can be used to create dynamic arrays of any type. I created a basic_link template to hold each element of the array. Each basic_link …

Member Avatar for c++noobie
0
354
Member Avatar for guest7

Hi, I wish to generate all the binary combinations for an input size n. So, the number of combinations in this case would be (2^n) and if n=2 my output should be : 00 01 10 11 How can i do it? What would be the best way? Thanks

Member Avatar for MosaicFuneral
0
449
Member Avatar for Lokolo

[code] FILE *infile; infile = fopen("coords1.txt", "r"); int num = 0; for(int num1 = 0; num1 < 5; num1++) { for(int num2 = 0; num2 < 4; num2++) { for(int num3 = 0; num3 < 3; num3++) { fscanf(infile, "%f", &num ); targetCoords[num1][num2][num3] = num; } } } [/code] I'm …

Member Avatar for Lokolo
0
266
Member Avatar for winrawr

Are there any reeeally good books on programming C++ that anyone knows of? Ones that just do an excellent job of teaching different techniques and clean coding practices, as well as things that can really be applied (like making and styling windows, communicating via TCP/IP, etc)?

Member Avatar for winrawr
0
116
Member Avatar for Hannahlv

Hi everyone, I'm doing an hotel application which has an introduction form. In that form I put a RichTextBox control and a menu toolstrip. I want to load a rtf file to richtextbox when the toolstrip is clicked (The file is a default file chosen by my choice). I can …

Member Avatar for BlackSun
0
127
Member Avatar for clem_c_rock

I have a strange situation. I want to have a create_user form w/ all the fields blank When I call the create_user method, the corresponding create_user.html.erb form is displaying the first record's data from the user table in the form fields Here's a quick view of my form: [code] <% …

Member Avatar for clem_c_rock
0
100
Member Avatar for #include<James>

[CODE] #include <iostream> #include <cstdlib> #include <cstdio> #include <ctime> using namespace std; int main() { srand(time(0)); int number; number = 2; while(2 == number) { int random; random = rand() % 2; string alpha[3]; alpha[0] = "a"; alpha[1] = "b"; alpha[2] = "c"; string list[3]; int ran; ran = rand() …

Member Avatar for Murtan
0
132
Member Avatar for Liszt

I use Visual Web Developer 2008 and have just started out a project. When pressing F5 that compiles the project the program opens a blanc Explorer window. What I now wonder is how it is possible to make this whole window to be completely Black instead. I am searching the …

Member Avatar for Liszt
0
86
Member Avatar for serhannn

Hello, I'm working on a code for my project at college. The goal of the project is to find and extract keywords, and the sentences, which contain these keywords from many text files, which I have already downloaded from Internet using another code. These text files are actually source codes …

Member Avatar for serhannn
0
263
Member Avatar for mercury113
Member Avatar for masijade
0
265
Member Avatar for kinjal1717u
Member Avatar for verruckt24
0
332
Member Avatar for winry

Hi everyone!I've started to learn C++ couple of months ago and having some trouble with the code i'm trying the write.. I have to write a function that converts every digit of the parameter to zero,except 2.And number of digits is unknown.. I made this but its's output is always …

Member Avatar for winry
0
295
Member Avatar for firebike0

help would be appriacted - i usually do that on a ENITRLY different file but i have no clue how to describe the INT's for a different file - note if you didnt read its supposed to be for teleportPet_process() which if you want to look at that code its …

Member Avatar for firebike0
0
270
Member Avatar for Lord Prime

Hi, I new here and currently learning as much programming languages as needed. To start with the simplest programming language, VB. I'm kind of having problems with producing an animation that uses the FOR Loop statement and the System.Threading.Thread.Sleep () command. I've placed two objects (rectangles) together and would like …

Member Avatar for Lord Prime
0
181
Member Avatar for CoolGamer48

I have a child of std::exception defined as: [CODE=c++] struct image_load_failed : public std::exception { image_load_failed(std::string const s) : message(s) {} virtual ~image_load_failed() throw() {} const char* what() const throw() { return "image load failed";//message.c_str(); } std::string const message; }; [/CODE] (I would normally have what() return message.c_str(), but I've …

Member Avatar for CoolGamer48
0
506
Member Avatar for Aamit

I am using this code to display calender This runs on IE but [COLOR="Red"]not on Firefox [/COLOR] [code] <table border="0" cellpadding="0" cellspacing="0" style="height: 150px; border-collapse: collapse" width="100%" class="searchBox"> <form action="index.php?view=search2" method="post" name="SearchForm" onSubmit="Javascript: return checkSearchForm();"> <tr> <td colspan="2" valign="top"> <table align="center" border="0" cellpadding="0" cellspacing="0" width="100%" class="normalHeading3"> <tr> <td valign="top" width="13"> …

Member Avatar for almostbob
0
174
Member Avatar for Cellu

Hi, This must be a rather dumb question, but I'll ask it anyway. Me and my friend are making a simple news script for our website, and thus we are not going to use mysql. The idea was to use mod_rewrite for SEO friendly URLs e.g /news/2008/12/25/this-is-the-subject/ (== news.php?y=2008&m=12&d=25&s=this-is-the-subject ) …

Member Avatar for almostbob
0
266
Member Avatar for kv79

Hi all I made a program who open excel for adding files in excel. I am asking you can for example 15 users uploading that single file ? Thanks advance

Member Avatar for kv79
0
140
Member Avatar for minas1

Well my main() function has become a mess... What should I do next time to prevent this? [code="C++"] int main(int argc, char *args[]) { srand((unsigned)time(0)); if(!init()) return 1; atexit(cleanup); // to cleanup the surfaces // load images background = loadImage("background.jpg"); message = loadImage("play_again.jpg"); youWinMessage = loadImage("you_win.jpg"); youLoseMessage = loadImage("you_lose.jpg"); start: …

Member Avatar for Comatose
0
210
Member Avatar for atish00

I have posted the update member function as many the 12th students can copy my project. I want to open the binary file compare the roll numbers with the inputted roll if it matches the object of the file should be overwritten with a new object i.e *X. [code] void …

Member Avatar for atish00
0
122
Member Avatar for vimalfor5

Hi all, i want to create one crystalreport from following storeprocedure [CODE=SQL] CREATE PROCEDURE dbo.usp_proc1 ( @ID as int ) as declare @Var1 as varchar(1000); set @Var1 = ' select ID,Name,Email from Demo where ID='+Convert(varchar,@ID) print @Var1; exec(@Var1); [/CODE] This is not the actual code but its a demo of …

0
86
Member Avatar for Phil++

What I am trying to do is change the cin >> varible; into something different so when I find it easier when I code. The line that I am changing it to is input (varible); i am using this: #define input(i) cin >> (i); it works, however it will only …

Member Avatar for minas1
0
118
Member Avatar for atlantis_guy

Hello guys!!! who can help me to solve my problem in javascript program??? I am a 2nd Computer Programming student.. But it is hard for me to do this problem....please!!!help me to do this......thanks guys i need it tomorrow......

Member Avatar for kanaku
0
142
Member Avatar for wien

Hi all I am trying to write a C# dataform where a company ID is created from the first four letters of the customers name + a number. Any ideas? As Left() is not used. and I can't find a reference to substrings. Wien

Member Avatar for LizR
0
186
Member Avatar for rude04

how do you make a jframe transparent?...i need to add a png or gif image in the frame..so when i run the program it will only show the image..and the image would float in the desktop.. i also need to add a few components like JButton.. i want the frame …

Member Avatar for rude04
0
210
Member Avatar for itzkhurram

Thanks in advance i created my own toolbar from user control option i design and add all button ADD,EDIT,DELETE,LOOKUP,CLOSE and build this class and drag on my form now i want to use click event of every button but there is only one click event Public Class Form1 Private Sub …

Member Avatar for Teme64
0
182
Member Avatar for bhanu1225

Hello friends. This is Bhanu from [COLOR="Red"][B]INDIA[/B][/COLOR]. I am working in a software company. Here, we are working on [COLOR="Red"]Macintosh Operating Systems[/COLOR]. It is very new to us. And we would like to work on [COLOR="Red"]Python Language for our Project with back end as MySql.[/COLOR] We referred so many tutorials …

Member Avatar for Stefano Mtangoo
0
85
Member Avatar for surealis

I am completely new user of Python and I am supposed to develop a GUI for an old Fotran program. In this I would like to use what I think is called "tabs" although I would prefer to call them "folders" to avoid mixing with the TAB character. What I …

Member Avatar for Stefano Mtangoo
0
268
Member Avatar for Teme64

Mozilla Thunderbird offers a very handy "Copy Link Location" option which copies a http-link from an email to the clipboard. For some reason Outlook (XP/2002) does not have this feature. When I right-click a link in the email, I have to select "View Source", open the email's source (HTML) to …

0
118
Member Avatar for abhi_elementx

Hi folks, I want to access Oracle 9i table "emp" in Java... I do not know what driver to use .. The name of the Oracle database under which "emp" falls is "Oracledb" I do not know what the connection string is? Pls help...

Member Avatar for gambling
0
175
Member Avatar for tomtetlaw

Why wont my gun show up? [code=c++] #include "DarkGDK.h" void DarkGDK ( void ) { dbSyncOn ( ); dbSyncRate ( 60 ); SetCurrentDirectory ( "resources" ); dbLoadObject ( "skybox2.x", 1 ); dbSetObjectLight ( 1, 0 ); dbSetObjectTexture ( 1, 3, 2 ); dbScaleObject ( 1, 5000, 5000, 5000 ); dbLoadObject …

Member Avatar for tomtetlaw
0
92
Member Avatar for JamieC90

Can someone explain to me what this is? I have been asked to code a tic-tac-toe board using an array which I have done, but the brief specifies using standard input, and I have no idea what that is, but I'm guessing does not include changing the values of the …

Member Avatar for javaAddict
0
218
Member Avatar for Gekitatsu

Long story short I am trying to pull 2 types of data from a file. A string (which I have now got working) and a int. While these are easy on their own what I am trying to do is not so. I am trying to search through a file …

Member Avatar for Yiuca
0
177
Member Avatar for webcherry

the web page is: thehivecomplex.zxq.net I am trying to make the web page look like mozilla does. In explorer it looks crazy. Please help or offer some advice. thanks web virgin

Member Avatar for webcherry
0
196
Member Avatar for Whilliam

Hello, Im trying to insert some integers to make a sorted list. I am using cursor-based. Here is the function: [CODE=c] void insert_sorted(virtualheap *vh, list *l, int x) { int temp, *p; if(vh->avail != -1) { temp = mymalloc(&(*vh)); vh->h[temp].elem = x; for(p = l; *p != -1 && vh->h[*p].elem …

Member Avatar for Whilliam
0
117
Member Avatar for BHance

Hi all, I'm am still learning mysql so please excuse anything I may not understand. I need to update 12k records in a mysql table (about 5 fields per record) twice a day, and it needs to be done automatically (probably with curl). My data source is a comma delimited …

Member Avatar for Fest3er
0
142
Member Avatar for scylefice

Hello, I'm trying to make a custom web browser. I'm using the webBrowser control that does a huge part of the job for me. I wanted to add a search option to it (when you click search the browser sends you to lets say google and shows you the results). …

Member Avatar for Diamonddrake
0
308
Member Avatar for shyamsantra

Hi All, I am trying to compare two folder using "cmp" command. Folder1=/path/to/folder1 Folder2=/path/to/folder2 Folder1 has file name abc.txt efg.txt hij.txt . . . ..................... xyz.txt Folder2 has file name abc.txt efg.txt . . . ..................... xyz.txt I want to compare this two folder with similar name. Means Folder1/abc.txt should …

Member Avatar for eggi
0
83
Member Avatar for tutti

hi i have made a blackjack code and need a some help on it. it seems to work overall but there are a few bits here and there that need sorting out, and im kinda stuck on it so was wondering if i could get some help? (Would be HUGELY …

Member Avatar for Murtan
0
76
Member Avatar for Clawsy

I need little help on creating shortcut for my C# app. I want programmatically do this. I intend to create a shortcut in startup menu folder. Maybe you could also show me how to start my app automatically using a registry entry. Thanks!

Member Avatar for Diamonddrake
0
946
Member Avatar for komrad

Hello all, I'd like to know if there is a way to insert into a MYSQL table data in an ordered way? Right now as a workaround I've literally made a table of questions with questionID as primary key, nextQuestion and prevQuestion pointing to other questionIDs. Basically I've made a …

Member Avatar for Fest3er
0
147

The End.