199,114 Archived Topics
Remove Filter ![]() | |
I need to read information from a text file into a struct array. Im writing a program to make a list of favorites that the user will input. When they close the program, the array will write to a file. The next time the program is ran, i need to … | |
Hello, I was wondering if there is a tutorial on binomial heaps on this site. if not, i would appreciate it if someone can post any links that are helpful on binomial heaps. All the text books i have do not have anything on binomial heaps. some do not even … | |
If anyone is familiar with Mambo Content Manager, I would like to know how the system saves configuration settings to configuration.php. I would like to implement this idea into my own site, but I cant figure out how a PHP page rewrites and saves another page on the server. Anyone … | |
i came across two high level programming languages :python and ruby. they are cross platform,just like java. they are very productive ( a programmer can write a program using python in less than quarter the time you need to write the same program in java). they have have -more or … | |
Hi everyone. I am selling a product and i would like to use a selection of affiliate networks.. As far as i know these affiliate companys track the sale there companys affiliates make by inputting code into your html. is this correct? If so if i were to use 50 … | |
i takes the current date value and then save it to text1.text Text1.Text = Format(Now, "m/dd/yyyy") then i am passing Text1.Text which actually contains date to Sql String which Delets all record that matches the Expiry date.. if current date = expiry date then delete that record.. strSQL = "DELETE … | |
![]() | So, i'm working on VB.NET application but I'm having problem with one MSSQL query. [CODE]SELECT ISNULL(Sezona.NogSezona, '') FROM Trener LEFT JOIN Licenca ON Trener.BrTrenerskeIskaznice = Licenca.BrTrenerskeIskaznice LEFT JOIN Sezona ON Sezona.IDSezona = Licenca.IDSezona AND Licenca.IDSezona=3[/CODE] This is the code I've been using 'til now, but it's not working as I … ![]() |
Hi, i need to read the system date and time in one file(which is already done).Then in another program i need to read the contents of the first file then check if its has already crossed 1 minute from the current time.i am unable to get how to do it … | |
![]() | Hi, I've got a textarea like this: [CODE] <textarea name="myTextArea" rows="4" cols="20"> </textarea> [/CODE] For some reason every time the page starts, the text area is populated with a couple spaces inside it. Any way to clear it on startup? Thanks, -Ash. ![]() |
Hi I want to Mask my MaskedTextBox.I used Custom Mask in design.but when it shows my preview Mask,it's quiet different.I attached the pic.plz Guide me. thx. | |
hi, can you help me in making my program ,employee log system program and it is password protected program ^_^ ..... | |
I have an ascx control that inherits from ValidatableUserControl. I have several requiredfieldvalidators on the page, and all of them are getting fired except the one inside an asp:panel This code is inside a <table> [CODE]<asp:Panel runat = "server" ID = "PurchaseOrderPanel"> <tr> <td><div class="txtClass"> <span class="required">*</span> Number: </div> </td> … | |
I am new to vb.NET and I have decided to make an image viewer, and what I want to do is resize the image it loads to fit the picture box, how do I do this? My image is a System.Drawing.Image object. | |
Hi, I found that my linux (CentOS) server hasn't got any of the php extensions installed but can't seem to find any easy way to do it. Can anybody guide me the easiest way to install the php extensions curl and gd. A google search has showen dozens of lines … | |
hi i designed an application in Visual Studio 2008 that uses crystal reports. When i run the application in Visual Studio, the application generates the reports with no problem. After packaging and installation though, a Just In Time Exception is called when a user tries to generate a report. | |
Hello All, I want to copy zipped file from one machine to another in same network. I have the IP and folder of destiny machine, but I'm pondering on the best way to go! transfering among same drive, I will use shutil module. But what about networked PCs? Should I … | |
In order for my users to log in they have to activate their account through email. The activation works fine. The trouble I am having is displaying a message at login if the user has not activated. Here is the activation script: [code=php] <?php require "connect.php"; if(isset($_GET['u'])){ //make sure that … | |
Hi I have a program that adds, deletes, edits and views a text file's contents. The text file, named as "student.cvs" has the following content and format <student code>, <last name>, <first name>, <middle name>: [ICODE]2009-1234, Asa, Gohan, Gogo 2009-4321, Basha, Bushum, Jujog 2009-1999, Mekemi, Mekeke, Makeke[/ICODE] The whole program … | |
I am writing a very basic memory match card game, and am trying to get the program to flip over the selected cards, wait 2 seconds so the user can see the values, then flip back over. The code I have to do this is: [CODE]Private Sub Label_Click(ByVal sender As … | |
i was jus wondering if u can help me on diz program,, im hav difficulty in findin d mode i hav done everytin jus that d mode iz not coming up. thanx aspa. below is d code i greated so far /* created by Nokiolurv */ #include <stdio.h> #include<stdlib.h> int … | |
Dear Helper, javascript code: [CODE] dhtmlXTreeObject.prototype.getAllChecked=function(){ return this._getAllChecked("","",1); } dhtmlXTreeObject.prototype.getAllCheckedBranches=function(){ return this._getAllChecked("","",0); } dhtmlXTreeObject.prototype._getAllChecked=function(htmlNode,list,mode){ if(!htmlNode)htmlNode=this.htmlNode; if(((mode)&&(htmlNode.checkstate==1))||((!mode)&&(htmlNode.checkstate>0))){if(list)list+=","+htmlNode.id;else list=htmlNode.id;} var j=htmlNode.childsCount; for(var i=0;i<j;i++) { list=this._getAllChecked(htmlNode.childNodes[i],list,mode); }; if(list)return list;else return ""; }; [/CODE] [CODE] <a href="javascript:void(0);" onclick="document.write (tree2.getAllChecked())">Get list of checked</a><br><br> [/CODE] You may guess, the list is displayed in alert box. but … | |
question given like this The Fibonacci sequence is the series of numbers 0, 1, 1, 2, 3, 5, 8, .... Formally, it can be expressed as: f ib0 = 0 f ib1 = 1 f ibn = f ibn−1 + f ibn−2 1) Write a C program using the fork() … | |
![]() | Hey guys, I wanted to make a simple Python program to send an email to my Gmail account. So: [code=python] import smtplib sobj=smtplib.SMTP("smtp.gmail.com") sender="sravan953@gmail.com" rec="sravan953@gmail.com" msg=""" From: From Person<sravan953@gmail.com> To: To Person<sravan953@gmail.com> Subject: Test Does it work? """ sobj.sendmail(sender,rec,msg) [/code] -but it doesn't work, it shows an error [code] Traceback … |
[code]$sql = "SELECT * FROM schedule ". "WHERE CurriID ON (SELECT CurriID FROM curriculum ". "WHERE (Pre_Requisite LIKE (SELECT CONCAT('%',SubjCode) ". "FROM studgrade WHERE (Grade >=1 and Grade <=3) AND StudentNumber='$id') ". "AND Pre_Requisite LIKE (SELECT CONCAT(SubjCode,'%') FROM studgrade WHERE ". "(Grade !='5' and Grade !='INC') AND StudentNumber='$id')) OR Pre_Requisite … ![]() | |
Hello. I am seeking some help on job board script that I am working on. I am trying to use the below script to update the database if the current job is 30 days past the start date or post date. The code below is not working and if I … | |
I programmed a a neural network class in python using numpy. I had some trouble getting it to work properly, in my case I wanted to train it with back propagation to approximate XOR, but then it started working, then it didn't, and overall it only seems to work sometimes. … | |
I want to upload a big file (about 80M) through the web, but it seems not working. Small file will be OK. html file: <input type="hidden" name="MAX_FILE_SIZE" value="128000000" /> php.ini: file_uploads = On upload_max_filesize = 128M max_input_time = 60 memory_limit = 128M max_execution_time = 30 post_max_size = 128M httpd.conf: LimitRequestBody … | |
Hello. I'm writing an RMI application for my semester project, and I'm getting a really frustrating error! I have the interface PlugNPlayIMPL that contains 5 or so abstract methods. One method (init) is called and it creates a new JPanel in the class that was bond to the registry. Here's … | |
[code] <?php session_start(); header("Content-type: image/png"); $img_handle = imageCreateFromPNG("bg2.PNG"); $q = rand(1,255); $w = rand(1,255); $e = rand(1,255); $r = rand(1,255); $t = rand(1,255); $y = rand(1,255); $u = rand(1,255); $i = rand(1,255); $color[0] = ImageColorAllocate ($img_handle, $q, 0, 100); $color[1] = ImageColorAllocate ($img_handle, 200, 0, 0); $color[2] = ImageColorAllocate ($img_handle, … | |
/facepalm Ok, so I have to make a program upon startup it has to read from a said file which looks something like this Song Name Artist Genre Track Time That is one block of the array, their is a max of 10. Ive been googling and searching the forums … | |
I want to just bind the dropdown with DB,I have three rows in mine DB.Instead of adding the column data,In mine dropdown System.Data.DropDown is coming three times y So??? [code] using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; … | |
Hello i want help on saving large text into the database and the structure of the data should be maintain i.e the paragrah,insertion point, list example if i enter a an html code structure in a textbox on saving and retriving it to display i should retain the structure, I … | |
Script works in MSIE but not FireFox (part of a VB.NET 2005 web site) There must be a place in FireFox or a JavaScript settings somewhere that allows errors to continue. The below works in MSIE var _rate = "ctl00$ContentPlaceHolder1$txtrate"+index; var rate = document.getElementById(_rate).value; index = 1 to 10 for … | |
hi all. This might be more of a math problem then anything, but i'll give it a shot. I have an idea for a game i am working on, in which the player must advanced thru a level my the means of propelling a cube in the air (across the … | |
![]() | Hi, I'm trying to do the following: 1. Click on a row (ANY cell of that row) 2. Depending on where I clicked, a javascript function should get the value of EACH cell in THAT row, and populate it to text boxes. Below is my code thus far: [CODE] <html> … ![]() |
Hi Guys I have a GridView th show my data. When I am including the data I have TextBox and DropDownList.Thesse data are going to populate a GridView using a DataTble. In the update routine I populate the GridView with the recorded data but I can keep on including other … | |
anyone can help me fix this coding.. this coding output is string output.. but i want output in double.. [CODE]Private Sub OutputPremium() With ds.Tables("KadarPremium").Rows(cmbPremium.SelectedIndex) Select Case cmbPelan.Text Case (1) lblPremium.Text = .Item("20TP1") Case (2) lblPremium.Text = .Item("20TP2") Case (3) lblPremium.Text = .Item("20TP3") Case (4) lblPremium.Text = .Item("20TP4") Case (5) lblPremium.Text … | |
Hello every one!Please help me!! I am new to C programming.I wrote a programe to copy lines one by one of a file to an array.But it cant compile.I cant understand the error code also.Please help me! here is my code. #include<stdio.h> int main() { FILE *f; char data[256]={0}; char … | |
Would I be able to make 2 of my forms share properties? Like, uh, I want form1 to be my main program, but I want form2 to have my programs 'options'. Then when the 'save' button on form1 is pressed, it will save the information on form1 and the options … | |
Ok, what I'm trying to do is have the user enter a command at the prompt, and on the right command a function is called. Here's my code: [CODE]#include <iostream> #include <stdlib.h> void functionCall() { std::cout << "function successfully called"; } int main() { char userInput [128]; std::cin.getline(userInput, 128); std::cout … | |
Hi! I've made a small program for an assignment and it works as it should. There's just one problem; the code contains two global variables. I won't pass the course unless I get rid of them and it's been bugging me for weeks. The program: [CODE] ##This program simulates a … | |
i have a drop down list in my Gridview. I want to poplulate it with the values from the database ... However i am confused how to proceed ......here is my code snippet: In the source i have written the followin code : [CODE] <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" … | |
Hello everyone, I need to do an assignement for school. But i'm kinda stuck on a bit, so i'm here to ask some help :D Okay, my question: In my C# application I need to make a webrequest to a php page. This worked, but i want the php page … | |
I have button in td, I want to change the backcolor of button when the mouse move over it .. As we change the backcolor of td, when we moves move over it.Eg Below- [code] <td onMouseOver="this.bgColor='#00CC00'" onMouseOut="this.bgColor='#009900'" bgColor=#009900 style="width: 33px; height: 81px"> </td> [/code] | |
test.c [code] #include<stdio.h> int main() { //System("cat test.c"); exit(0); return(0); } output: #include<stdio.h> int main() { //System("cat test.c"); exit(0); return(0); }[/code] when i compile & run this program in c then i want the same output in java program with it's compilation.. i think i hav to do some change … | |
HI experts..I need ur help.. VB.NET category I need script that can be used to do settings for allowing SQL SERVER 2005 Express to allow remote connections. The settings that we do manually after installation [COLOR="Green"][B]i.e to enable TCP/IP in remote connection in Configration Manager , start Browser service, set … | |
Ok, Basically, my C# Application is running an unattended installation of visual studio 2008 (its just a process, nothing complicated) but i need a loop in there, so that when the setup.exe which is being called has finished running, i can call a message box to say its complete... so … | |
hi friends I used these codes for restoring my DB.But it has error.plz help me. [CODE] string backupfile = "D:\\Backup.bak"; Server svr = new Server("."); Database db = new Database(svr, "library"); Restore rs = new Restore(); rs.NoRecovery = false; rs.Database = "library"; rs.Action = RestoreActionType.Database; BackupDeviceItem bdi = default(BackupDeviceItem); bdi … | |
Hello all. I am unable to solve two problems creating a contacts form using dreamweaver CS3. My other problem is posted under the heading, "Modify code created with Dreamweaver CS3, to compare two text feilds". For this posting, can someone please tell me how to modify my code, pasted below, … | |
Hi, I'm looking for some project ideas. I'm interested in doing something innovative and challenging. I'm interested in topics like 1. Artificial Intelligence 2. Networking 3.Image processing 4. Data Compression......etc... Can anyone give some topics which are hot today....It should also be feasible to be done in 7 months by … |
The End.