199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for rajeesh_rsn

hi I had a web site made in php. I need to collect visitor data ( ip address, visiting time) and store in it a database. I wrote the code like this [CODE]date_default_timezone_set('Asia/Calcutta'); $time= date('D,F j, Y, H:i:s A'); $ip=getenv("REMOTE_ADDR"); mysql_query("INSERT into visitordetails (ip,time) VALUES ('$ip','$time')") or die(mysql_error());[/CODE] and this …

Member Avatar for rajeesh_rsn
0
114
Member Avatar for deathdarts

Hi everyone, I am trying to read off the "System" Event Log of a remote system. I am getting the following error `"Cannot open log System on machine 10.50.212.129. Windows has not provided an error code"` when i try to access the Application log, my application encounters the same error …

Member Avatar for Ramy Mahrous
0
121
Member Avatar for localp

i am trying out this code that i got from one of suns tutorials, it deals with echoing an input back to the command prompt. this is where i got the code [URL="http://java.sun.com/docs/books/tutorial/networking/sockets/readingWriting.html"]http://java.sun.com/docs/books/tutorial/networking/sockets/readingWriting.html[/URL] this is my code, and i am getting the message [COLOR="Green"]"Couldn't get I/O for the connection to: …

Member Avatar for localp
0
228
Member Avatar for daviddoria

This problem comes up quite a bit for me. I'll have a project that I work on for a couple months (the point is that it is a large project with multiple classes, etc). As an example, say I made a program that draws a square. So I have this …

Member Avatar for daviddoria
0
100
Member Avatar for caps_lock

Hello My recursive file scan is not doing what I want it to do. I want it to be able to go through all roots (drives)... With no user intervention, so without including "C:\\" or "." as a string in the source, or without a TextIO.java class. [ICODE]import java.io.*; import …

Member Avatar for caps_lock
0
188
Member Avatar for creativehacker

I am adding checkbox to datagridview. how can I add a checkbox to the header so that when I click that all the checkboxes should be checked and corresponding rows should be deleted.. I am able to delete one row at a time. How to delete multiple rows.. [CODE]DataGridViewCheckBoxColumn chkBoxColumn …

Member Avatar for BlackSun
0
158
Member Avatar for deathevan

hi all, could someone help me to make a mfc program that shows what is on a harddrive with treewiew and listwiew controls? i have no clue how to do it so any help is welcomed. Thanks in advance :)

Member Avatar for Ancient Dragon
0
70
Member Avatar for ribena500

Hi, I have a calculation (shown below): total[i]=(dogs[i] + cats[i]); I want to be able to store the answer for total[i] I stupidly tried to put a cin statement underneath but that doesnt work. What would i use?

Member Avatar for iamthwee
0
77
Member Avatar for jvignacio

Im trying to figure out a python script where, If there is no user input, it generates a form which asks for the user's name and email address by using the action form. any ideas ? any help much appreciated..thanks guys

Member Avatar for Freaky_Chris
0
68
Member Avatar for sackymatt

hi there, i have a form in Vb6 and a msacess 2007 database connected using ADODC, on a form is a listbox that i want to populate with the table data from the database, the name of the database is Storenw and the table from which i want to access …

Member Avatar for sackymatt
0
343
Member Avatar for maxcoder

Hello everybody, are there ANY free VB compilers that I can use on my flash drive? Size does not matter. Just as long as I will be able to use it on different computers. Also, Is it even possible to make MSVB like this? THANK YOU!

Member Avatar for Ramy Mahrous
0
85
Member Avatar for yrpchoudary

Hi, I have 1 xml file and 1 xsl file. I need to generate new html pages dynamically based on some values by passing the parameters to xsl file from console application using vb.net. Can any one suggest me how to create html pages dynamically using vb.net or C#?

Member Avatar for sierrainfo
0
144
Member Avatar for Stefano Mtangoo

Hi all, I have been trying to write and retrieve data from SQLite Database. So far I can make connection, cursor; but cannot get table populated(fails to execute SQL statement). Since I read somewhere that it is recommended to use ? instead of % then I tries it but I …

Member Avatar for Stefano Mtangoo
0
2K
Member Avatar for Mehh

Hello all, im Mehh and this is my first post. Im also a rookie in programming and im making Multi Document Interface program from a MDI Example in DevC++. My problem is that i cannot change Font Size in MDI example and its so small that my friends cant even …

Member Avatar for Mehh
0
186
Member Avatar for proloyganguly

I'm facing a problem in our application. In application we are using JSP and Java Beans. Some data are not saving properly according to session. Suppose, User 1 has been logged on. Some field values of user1 has been set in a session within the JSP page . When we …

Member Avatar for stephen84s
0
127
Member Avatar for rajeesh_rsn

Hi i am a php programmer. Kindly let me know a good book for begin python from its basic ??? Thanks

Member Avatar for Stefano Mtangoo
0
84
Member Avatar for mirainc

Im using dreamweaver with PHP. I have items in my shopping cart which is then passed on to the transaction page. How do i add the amount of items in the shopping cart? Any help is appreciated! Thanks!

Member Avatar for humbug
0
175
Member Avatar for virang_21

Hi there, I am using third party ActiveX control in my application. It requires RecordSet as a input parameter to its method. I am programming my application in C#. When I call the method after creating RecordSet it throws an exception "ActiveX cannot create an object". What is the potential …

Member Avatar for Ramy Mahrous
0
170
Member Avatar for PinoyDev

hi.!!I have been developing an online enrolment system for a client in php...ive encountered a problem during the middle situation.The client added a situation that when the student click on the first year link, the subject of that year will just pop-up under the link.example: first year - Filipino - …

Member Avatar for PinoyDev
0
183
Member Avatar for regberds

Guys i have problem about fle handling.. i dont know howto update the text in the file.. or in the NOTEPAD this is my code.. Private Sub cmdUpdate_Click() Dim ndx As Byte Dim tmp As String Open App.Path & "\data.txt" For Output As #1 Write #1, txtname, txtaddress, txtphone.Text Close …

Member Avatar for regberds
0
93
Member Avatar for khalidmehmood

Hi Experts! I am trying to develop a web application in JSP. I want to implement the checkboxes with my records. when a user select multiple record and press delete button selected records should be deleted. best regards Khalid Mehmood

Member Avatar for peter_budo
0
91
Member Avatar for plazmo

im trying to find a way to do an action when someone accesses a image file. example would be someone views 'http://site.com/image.jpg' then say i want to log who has veiwed this file in my database. ive heard of ad sites doing somethign like this for tracking people but i …

Member Avatar for sedgey
0
169
Member Avatar for khr2003

hi I am making a script to extract data from a table from a website using explode function and then insert the data into the database. I have stuck with foreach loop, this is how it looks: [CODE] $table_data = explode('<table cellspacing="1" cellpadding=1" width="90%" border="0" bgcolor="#EFEEEE">', $data); $end_table= explode("</table>", $table_data[1]); …

Member Avatar for khr2003
0
126
Member Avatar for reza_danesh_197
Member Avatar for LizR
0
45
Member Avatar for vandenzergen

Hello everyone, I'm still having a problem about saving the [I][B]data values[/B][/I] of an array variable or any variable. You know, every time we run a program the values of the variables can change anytime by means of looping or other inputs that a user might do. All I want …

Member Avatar for LizR
0
156
Member Avatar for mrjoli021

I want to incorporate a file browser into my windows app so users can select which file to copy. I am running vs2008.

Member Avatar for mmaster
0
162
Member Avatar for sleign

I'm not exactly sure where to post this - in html, php, or mysql area but since this is mostly php oriented, I figure I'll post it here for starters til I get yelled at >< Background info: This is not for the general public, nor attached to any website, …

Member Avatar for TommyBs
0
125
Member Avatar for knowledgelover

hi there, is there a browse control in C# windows application form , if so , plz, how can I add it to my toolBox and how can I use it to allow the user to browse any file she wants, if not how can I implement the idea og …

Member Avatar for mmaster
0
183
Member Avatar for cVz

Ah man , ive been adjusting the code so much ... I am trying to make a treeview that display's all the directories and files on theserver (SO FAR SO GOOD) ... Here's my code to retrieve Directories and files [code] public string[] GetFileList() { string[] downloadFiles; StringBuilder result = …

Member Avatar for LizR
0
355
Member Avatar for ashneet

Well i need to make a program which would display a certain string in a triangle form in the middle of the console something like this: [code] t eee sssss ttttttt [/code] it wont display right here but i think you get the point. I am somewhat able to do …

Member Avatar for LizR
0
150
Member Avatar for devbrat_ghosh

I'm still working om 2003 version since company's project is devloping on it. Persons who worked previously on 2003 version kindly highlight the difference or simply provide link for such article with Regrds Dev:idea:

Member Avatar for LizR
0
148
Member Avatar for Ghostenshell

Can anyone simplify this for me? I don't know if it is going to work I tried to adjust the code to fit on the page. Might have to delete the extra [ICODE]+\[/ICODE] [CODE=python]def main(): try: infile = open('text.txt','r') files = infile.readlines() lower,count,blank,dig = 0,0,0,0 #Counting uppercase for line in …

Member Avatar for Stefano Mtangoo
0
972
Member Avatar for Asif_NSU

I was trying to get familiar with some digital circuit simulation softwares but i dont know which one to start with. I wanted to know if anyone could advise me a digital simulation software that is used by the professionals in the industry.

Member Avatar for ronjustincase
0
173
Member Avatar for PhiberOptik

Hey guys, I'm creating this as an admin program for another program I've made. Basically all that happens at this point is show a bunch of buttons and the titles of the buttons are the computers that the using accounts from my MySQL database. This is just the panel, but …

Member Avatar for PhiberOptik
0
111
Member Avatar for vicky_rawat
Member Avatar for it2051229
0
177
Member Avatar for deepak777mishra

Hi i m working on project "Apriori algorithm simulation" on java. Can anybody tell me which r the neccesary software tools is needed.means which software needed

Member Avatar for BestJewSinceJC
0
46
Member Avatar for fomi101

I have to sort the bars but i have to show them sort, by delaying it. Can someone help me add delay to make it work. I used Selection Sort --- [code] import java.applet.Applet; import java.awt.*; import java.util.Random; import javax.swing.*; public class SelectionSort extends JApplet { //Variables and arrays Rectangle[] …

Member Avatar for BestJewSinceJC
0
57
Member Avatar for techie
Member Avatar for Cilice11
0
689
Member Avatar for rbrandt

Hi..I am fairly new to SQL and need some help writing a script. I have 2 tables table 1 is the student data and table 2 is the student schedule data. In table 2 the students have a student id number that is teh same as the student id in …

Member Avatar for rbrandt
0
76
Member Avatar for altrim
Member Avatar for jimbob90

program read from cin what the user wants to do ("add" a name to list) or ("lookup" a name). in add just add whatever was read in to the file. in lookup print out a line of text with the string that wa read in. hopefully that makes some sense …

Member Avatar for deepglue555
0
183
Member Avatar for cppnewb

Is there any way in a ifstream to change the font it writes in??? Thanks! Im using Microsoft Visual C++ Extended Edition 2005 on Windows XP

Member Avatar for Ancient Dragon
0
110
Member Avatar for RayvenHawk

I'm doing an assignment for class and we're suppose to write a program that pops up a window with YES/NO/CANCEL buttons and when the user pushes a button another window pops up displaying what button they clicked. I wrote up the code and it does work, but it takes several …

Member Avatar for RayvenHawk
0
118
Member Avatar for Scoobler

Hello, I have two tables, one with the main users details in and a users movement table which has an entry to everything they do. I want to pull out a list of all users which havent done a specific task, put only pull the results once. So for example …

Member Avatar for Scoobler
0
107
Member Avatar for TasostGreat

I'm trying to write a program which reads a file really small size with two number and a character and ouput another file which can have up to 120.000.000 characters. My answer which is the fastest way to achieve this on Linux compiled with gcc i mean shouls i use …

Member Avatar for TasostGreat
0
1K
Member Avatar for nor_d83

Hello there, I am doing my 'budget control system', and I want to make substraction from the value i entered in a textbox (budget for the year), with the sum of all the value in the 8th column of the MS Flex Grid data (which is the money used). Can …

Member Avatar for nor_d83
0
172
Member Avatar for Radly

I'm sure this is either easy or impossible. :) I have a Windows command console window open with a Python 2.5 interpreter running. I also have a text editor open on a module I'm debugging. What I'd like to do is make some changes in the editor, save the file, …

Member Avatar for Radly
0
88
Member Avatar for akb_behnam

Hi I am new in assembley and I need a sample source or a tutorial about mul of big numbers for example 10 disigts * 10 digits.

Member Avatar for badbloodyeyez
0
79
Member Avatar for sniper1983

Hi I am trying to fire a javascript function from my .net radiobuttonlist but it does not fire. How do I fix this: [code=asp.net]protected void Page_Load(object sender, EventArgs e) { this.rbl_NumberType.Attributes.Add("OnSelectedIndexChanged", "return NumberTypeChanged();"); } ... function NumberTypeChanged() { alert("KJJK"); } ... <asp:RadioButtonList ID="rbl_NumberType" runat="server"> <asp:ListItem Value="0" Selected="True">Somnething1</asp:ListItem> <asp:ListItem Value="1">Somerthing2</asp:ListItem> </asp:RadioButtonList>[/code] …

Member Avatar for sniper1983
0
360
Member Avatar for tibrah001

Hi guys, i'm a final year student in computer science and ive got to chose a topic for my final project which am supposed to do. But i have no idea on what kinda system to develop. Im not too good in java but have plans to do lessons to …

Member Avatar for Ezzaral
0
91

The End.