199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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" … | |
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, … | |
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 | |
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 … | |
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 :) | |
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 … | |
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 … | |
How would one create a simple spreadsheet with Tkinter? | |
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? | |
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 … | |
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 … | |
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 … | |
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 … | |
***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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
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? | |
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 … | |
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] … | |
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 … | |
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×. The problem is that … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … ![]() | |
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 … | |
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 … | |
can someone tell me if they know any API's to view a remote desktop in vc++. | |
Please i kind of need a quick help on how to plot polynomial graphs using c++. | |
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 … | |
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 … | |
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 … | |
I was wondering what is the Database Storage Capacity for the following databases: MySQL 5 Microsoft Sql Server 2005 MS Access 2003 Thanx |
The End.