199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for simmy7

A requirement for the project I am currently working on is that when various links on a page are clicked that the appropriate "layer" (i.e. div) will be displayed centered in the browser. I have tried using various javascript solutions and they center some div's and not others. Does anyone …

Member Avatar for Inny
0
359
Member Avatar for techie82

Hi I need a Shell script that will download a text file every second from a http server using wget. Can anyone provide me any pointers or sample scripts that will help me go about this task ??? regards techie

Member Avatar for pty
0
86
Member Avatar for kanaku

I'm using an html form to add to a list, specifically a flatfile database called demo3.txt. The add.php file is this: [CODE] <?php $name = $_POST['name']; $nickname = $_POST['nickname']; $motto = $_POST['motto']; $fp = fopen("demo3.txt","a"); if(!$fp) { echo 'Error: Cannot open file.'; exit; } fwrite($fp, "\r\n".$name."|".$nickname."|".$motto); echo 'The data has …

Member Avatar for kanaku
0
99
Member Avatar for meandmymachine

I've found some code in a book on Visual Basic.NET that doesn't seem to work properly.(The book is "Learning Visual Basic.NET Through Applications" by Clayton E.Crooks II (Charles River Media) ISBN 1-58450-242-8). The essential problem is that the code seems to be okay on the CD which came with the …

Member Avatar for arjunsasidharan
0
373
Member Avatar for ¤| battousai |¤

sorry to post another problem so soon after my first one, but this has been bothering me for some time now. Sometimes I can't get the [color=blue]echo[/color] funtion to work I already use the [color=plum]$root[/color] succesfully in all the [color=gray]href[/color] and [color=gray]src[/color] attributes last week I wanted to echo a …

Member Avatar for ¤| battousai |¤
0
341
Member Avatar for peter_budo

In the JPanel I placed JTextField and JButton, as the layout I'm using GridBagLayout which is left to default align (center). However because of the size of whole JFrame I would like to get JTextField to left and JButton to right. How do I do that :?: [code] private GridBagLayout …

Member Avatar for peter_budo
0
111
Member Avatar for vasudha k

I have a small problem........ I have designed a page which should be accessed by valid users. after logging in , they have to access the page via a link. for this i have used send redirect method . but my session object is not being passed here. via the …

Member Avatar for vasudha k
0
152
Member Avatar for degamer106

If I have a dynimcally allocated array of objects and each of these objects contains a pointer to a string, when I use the 'delete' function to return memory, do I have to go through each array element and free each string individually or does the 'delete' take care of …

Member Avatar for Salem
0
130
Member Avatar for kugan80

can anyone help me? How to encryption/decryption algorithm for mdb table? Private Sub cmdSearch_Click() On Error Resume Next HighlightText txtSearch, True If txtSearch.Text = "" Then Else Dim con As Connection Dim rs As Recordset On Error Resume Next Set con = CreateObject("adodb.connection") con.Open "Driver={Microsoft Access Driver (*.mdb)};DBQ=" & App.Path …

Member Avatar for kugan80
0
158
Member Avatar for brainbox

Hi I have an if statement within which i have to implement the redirection to another form or index.php, when i implement that it gives me an error that it already have the "Header", to solve this if i add the die(); it dies and does not call the next …

Member Avatar for deni
0
95
Member Avatar for anti_genius

Hi, I have written a code, when it runs it loads an image and after getting image size it sets the size of the frame in the constructor. But now i want to load image using FileDialog box and then update the frame size as well. But when i access …

Member Avatar for anti_genius
0
99
Member Avatar for jrcagle

I'm re-creating the classic PacMan for the fun of it and needed a way to translate back and forth between directions and dx, dy for a sprite. Here was a fun solution that avoided cumbersome if...elif...elif...elif... chains. Any thoughts on readability, efficiency? Specifically, if this gets called by 4 monsters …

Member Avatar for jrcagle
0
97
Member Avatar for oolatin79

Hi guys/gals, I'm having a problem with a function that overloads the input stream. The problem is that the getline crashes on the second iteration of the while loop: [code] //overloaded input operator istream& operator>>(istream& is, vector<EmailHeader>& ehVec) { EmailHeader headerInput; cout << "Enter an email Header: Ctrl-D to quit" …

Member Avatar for Ancient Dragon
0
131
Member Avatar for Matt Tacular

i'm making a program in c++ that gets a binary number and converts it to an integer. But of coarse i've hit a snag, I need a way to store a binary number that's any length, then run through the number to see if a 2 or something is there, …

Member Avatar for Matt Tacular
0
89
Member Avatar for sarita.t

I want to know the solution for creating a link in php page by making a directory in unix.?if somebody knows the answer kindly reply. Thank you

Member Avatar for hradek
0
98
Member Avatar for degamer106

So in my class we just finished covering the topic of constructors and destructors. Now, my teacher has given us a lab where we have to create these classes and each of them must have a ctor/dtor. The problem I'm running into is..well.. it would be easier to describe in …

Member Avatar for degamer106
0
376
Member Avatar for BlueDiamond

Hii everybody, I'm working on a charting Senior project for my graduation and i'd like anyone to help me finding an open source code for drawing business stock charts in VB.net, PHP or HTML languages Thank you for being helpfull :)

Member Avatar for BlueDiamond
0
72
Member Avatar for edmicman

I'm sure this is easy, but I'm seeming to have a brainfart or something and can't find any ways to do this.... I have a gridview, which is displaying data from an objectdatasource/tableadapter. One of the columns in the gridview is a UserID. Instead of displaying the UserID, I want …

Member Avatar for nikkiH
0
105
Member Avatar for Sarah Lee

Hi Everybody I am trying to get some function which returns - current month name - current year - date range ( for February displaying 2/1/2007 - 2/28/2007) -year range ( 1 Jan 2007 - 31 Dec 2007) I was wondering, is there any functions for these? I searched a …

Member Avatar for Sarah Lee
0
707
Member Avatar for sneekula
Member Avatar for ruichenma

Hi, I would like to have two child windows within one mdi form side by side, and I would like be able to control the size and not the user, how do I do this?

Member Avatar for aparnesh
0
122
Member Avatar for nekesa

Here is a pretty standard Verify script which searches through a database for specific records and sends the user to the next page if the record is found. The problem the script seems to be unable to find certain records (6 our of 28 in this case). I have tried …

Member Avatar for nekesa
0
205
Member Avatar for evilsilver

ok here is the deal, i am making a role playing game that has a step by step battle system. it was working until i decided to make a new function called gameplaychoice. now whenever i call to the battle function the progam just skips that line and goes to …

Member Avatar for Salem
0
106
Member Avatar for M_K_Higa

Ok folks. I just found a cool Button property called [inlinecode]Button.PostBackUrl[/inlinecode]. It works fine when you set this property and click on the button -- it takes you the page specified in the [inlinecode]PostBackUrl[/inlinecode] property. At first glance, it looked very promissing for cross-page coding. Here's my problem... I have …

Member Avatar for M_K_Higa
0
2K
Member Avatar for mason12345

Could anyone help me with a procedure to display a timer in xls (e.g a count down)? Also, could you please tell me what event method causes a macro to get executed upon starting a workbook? I want my macro to get executed without the user pushing any buttons. Thank …

Member Avatar for mason12345
0
86
Member Avatar for lovduv

***UPDATE Solved*** Needed to change to this <script runat="server"> protected void Page_Load(object sender, EventArgs e) { Page.DataBind(); } </script> and this [code]<script type="text/javascript" src='<%#"http://www.somesite.com/cool.asp?nick=" + Request.QueryString["Nname"]%>'></script>[/code] With the variable Nname from my database via a DeatailsView control. I am really new to asp.net and I feel that I am just …

0
111
Member Avatar for Inny

Discovered my credits code wont display in f***erFox mozilla. how can I can make it cross browser? [code]<script> /* Credits screen script */ function opencredit(){ //set this to the file of the credit var creditfile="http://herproom.5.forumer.com/index.php?act=Attach&type=post&id=7261" if (document.all) creditwindow=window.open(creditfile,"","width=445,height=250") else creditwindow=window.open(creditfile,"","width=445,height=250,scrollbars") } </script> <center><b><a href="javascript:opencredit()">See credits for Reptile Planet!</a></b></center> [/code] the …

Member Avatar for Inny
0
334
Member Avatar for yannick1985

Hi guys, Can anyone help me with the following question? I am new to Shell Scripting and havent a clue how to use it. This is for a job I have applied for and i have never needed to use linux and have always been a Windows man. I probably …

Member Avatar for masijade
0
103
Member Avatar for raydogg57

I need to make a program that asks the user to input a number of strings, and then outputs the string database. The program should maintain a string database where each record is a string. The program keeps reading strings that the user has typed, and inserts the string at …

Member Avatar for WaltP
0
555
Member Avatar for sneekula

This could be a cooking recipe, but in my case it is a chemical recipe. Here is a typical generic chemical recipe: 23 g chemicalA is dissolved in 250 ml methanol. The solution is cooled to 0 - 5 degC and 18 ml compoundB is added dropwise over 60 minutes. …

Member Avatar for jbennet
0
212
Member Avatar for bhavna_816

I want to validate a text area using required field validator but when i select control to validate from properties then the textarea id of this text area is not getting displayed. What's wrong with it ? Can anybody know this?

Member Avatar for kapil.goyal
0
103
Member Avatar for ghostfacelz

Hi, just have a question regarding classes/inheritance and a variable. ive been trying to work out the best way to do it, but would like some outside input. ok..here goes: i have a base class Ship. classes will inherit from this class. i also have a class tinyShip (and later …

Member Avatar for ghostfacelz
0
114
Member Avatar for Rickenbacker360

Hello, I have an exam on wednesday and was given a practice exam but I'm having a little a bit of trouble. 8.What will be displayed on the screen after the following statements are executed in a C++ program? [code] [COLOR=#000000] int a=5, b=2, c=1, d=3;[/COLOR] [COLOR=#000000] int t;[/COLOR] [COLOR=#000000] …

Member Avatar for Rickenbacker360
0
120
Member Avatar for n.aggel

Hi, i have five{number is unimportant} independent objects{the purpose is to model sensors} and i want them to write sequentially{not in the same time}, some info to a file{all to the same file} and at screen... i was thinking to implement a fileWriter class, that will create the file...and then …

Member Avatar for John A
0
140
Member Avatar for n.aggel

hello to everyone, i have the followign problem: i need to get the system date-time and then i need a way to add minutes(!!) to this variable.... in particular i want to make a program{part of a another program} that will print on a file dates&times. The problem is that …

Member Avatar for n.aggel
0
155
Member Avatar for edzness

Can you help me on this project of mine? Here's the problem. It's a payroll system where the employee can [B]enter[/B] his/her record. After entering his/her record it will be stored in a file. If their might be changes the employee might want to change he/she can be able to …

Member Avatar for n.aggel
0
146
Member Avatar for JRM

Hello all, I know this is borderline off-topic, but then again QT4 is a C++ based program... I compiled QT4.1.1 on a fedora 4 OS. I finally got all the registration issues worked so that it works in it's native X11 form as an executable. However codeblocks is having trouble …

Member Avatar for n.aggel
0
354
Member Avatar for blackjack

I'm not that used to C++ and hoping that someone can help me out with the [b]const[/b] keyword. If I make a parameter to a function 'const' ,and then try to reference it, like: [code=c++] int some_func(const char* param){ char* ptr = param; ... } [/code] to do something with …

Member Avatar for John A
0
115
Member Avatar for DeadDrunk

Ok, I'm building an application that queries a list of servers and returns a set of values. After you get the values you have options to fix the issues. One of the things i'm trying to do is if the Windows Installer is an older version, to install the newer …

Member Avatar for DeadDrunk
0
69
Member Avatar for FatalGrace

Hi, I’m trying to set up a database type program in excel using VBA, you may find yourself asking “why not use access” the answer is the boss wants excel. Believe me every day that I work on this thing I cry, sad…sad little tears :cry: Anyway I’ve got it …

Member Avatar for FatalGrace
0
124
Member Avatar for Richard Lelle

I am still pretty new to C# and .NET. I am using .NET 2005, and am attempting to use a Gridview. This GV displays data from two tables, one dependant on the other. I cannot, however, get the GV to Edit/Delete a specific column in any row. I was able …

Member Avatar for nikkiH
0
266
Member Avatar for hkBattousai

Hello, I want to embed a mail server on my computer. For that purpose I've installed MDaemon v9.5.3 on my computer. Now what else do I have to do in order to send/recieve mail from different people? Should I have to change configuration settings in "PHP.ini" and/or "httpd.conf"? I always …

Member Avatar for Rhyan
0
191
Member Avatar for iaaan

Hey, i am trying to search an array of surnames. I am entering in a surname, and if that surname is in the array, i want to to bring out all other details for that surname that are stored in a structure. At the moment, i have this working for …

Member Avatar for iaaan
0
96
Member Avatar for smgtreker

Hi, I would really appreciate some help with disabling the close button (and the system menu's close option) of a MDI child form in C++ .NET. I've scoured the web, and although I can find it in VB .NET, and bits in C#, I can't find anything to help with …

Member Avatar for Lilleman
0
215
Member Avatar for spry

can someone tell me if they know any API's to view a remote desktop in vc++.

Member Avatar for Dani
0
73
Member Avatar for Birhane

Please i kind of need a quick help on how to plot polynomial graphs using c++.

Member Avatar for pty
0
56
Member Avatar for danizzil14

Ok, all I want ot know is how to close a script on command, lie type 3 to exit, what modules do i need to import and what is the command, I have everything else sorted out... EDIT: The close command will go in a if statement, which is in …

Member Avatar for ghostdog74
0
166
Member Avatar for sendoshin

I suppose it's about time I ASKED a question for a change. I'm attempting to write a program that records the location of the mouse cursor every time it is clicked. Getting the location of the cursor at any given moment is simple. However, knowing WHEN to get that location …

Member Avatar for sendoshin
0
121
Member Avatar for Matt Tacular

I would like to make my program grab an integer from the user (binary) and convert it to a normal number, I plan to do this manually but I need to know how to do something first: If the user enters, for example, 10110101 I need to be able to …

Member Avatar for Matt Tacular
0
82
Member Avatar for cancer10

I was wondering what is the Database Storage Capacity for the following databases: MySQL 5 Microsoft Sql Server 2005 MS Access 2003 Thanx

Member Avatar for cancer10
0
108

The End.