199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for zur1ch

So i am making a piece of program In C but i cant get to check the system time and execute IF the time is equal to the systems time. in Plain english this is what my program is supposed to do. # # LIBRARIES # 1. Check the system …

Member Avatar for BobS0327
0
128
Member Avatar for birkenfeldo

Hi, its problem in my site. Picture in news is not working and i can't solve problem. Please help! Image - [URL="http://www.bildites.lv/images/16gsnx5prru092k60br3.jpg"]http://www.bildites.lv/images/16gsnx5prru092k60br3.jpg[/URL] [CODE]<?php $id = (int)get_get( 'id' ); $news = $db->query( "SELECT * FROM news WHERE id = $id" ); $news_id = $db->fetch( $news ); if( $news_id['id'] ) { $res …

Member Avatar for hag++
0
135
Member Avatar for shibu2all

is this logic correct, where does counting starts in a link list, is it from 0 or 1. b'cos when i am ading item 60 at loc 4, den the output is : item number 1 contains 30 item number 2 contains 20 item number 3 contains 10 item number …

Member Avatar for zeroliken
0
181
Member Avatar for adil_bashir
Member Avatar for Persi

how to get 12 hour time from time datatype in mysql and php? can anyone help me???

Member Avatar for Persi
0
88
Member Avatar for gozo12

in resources there is a text file with items like number 1 2 number 3 three when i use code [CODE] For Each i As String In My.Resources.TextFile1 If i.ToString().Trim.Length = 0 Then ListBox1.Items.Remove(i.ToString()) Else ListBox1.Items.Add(i.ToString()) End If Next[/CODE] then in listbox1 its looks like this [URL="http://myup.ir/images/61057050895672070364.jpg"]http://myup.ir/images/61057050895672070364.jpg[/URL] n u m …

Member Avatar for Reverend Jim
0
205
Member Avatar for hasan_cemos

Hello! How can i capture a screenshot of desktop with mouse? I can get a screenshot with robot.createScreenCapture but it does not show me also the cursor (mouse) ... Thank you!

Member Avatar for hasan_cemos
0
75
Member Avatar for skp03

Hello friends i am working in VS2010 C# Windows application, i have created a application in which some what like security application i have added a form1 in which i have included a button ie... button1 and a textbox ie... textbox1 in button1 i have added a code like [CODE] …

Member Avatar for thines01
0
267
Member Avatar for OldDeveloper01

I have followed some tutorials to create a registration form with some javascript. I have table to register new members to the website. then a parse_register to handle the php and then custom_js for the javscript. Well what is happening at the moment is that having filled in the registration …

Member Avatar for OldDeveloper01
0
433
Member Avatar for Jeun

*None of the buttons except create and clear work can someone help please , can anyone help me with the parts i have missing , the account and date test class work fine i just need the bank account GUI to work properly , here is a detailed explanation of …

Member Avatar for stultuske
0
2K
Member Avatar for kingsonprisonic

Hi, I am currently making an application which can send recharge amount by using a mobile device. (Nokia E71). So if anyone know what is the AT command for that please help me.....

Member Avatar for kingsonprisonic
0
944
Member Avatar for rampletero

I need help on drawing numbers on top of a rectangle matrix, and have them move together with the rectangle they are on. I tried doing this [code]public void paintComponent(Graphics g) { super.paintComponent(g); Graphics2D g2 = (Graphics2D) g; for(int row = 0; row < tiles.length; row++) { for(int col = …

Member Avatar for NormR1
0
198
Member Avatar for xcrypted1

*Edit* Just so you know, we are on the chapter in the book introducing ArrayLists *Edit* I am having trouble with this problem. The problem is stated: Implement a class Polygon that contains an array list of Point2D.Double objects. Support methods public void add(Point2D.Double aPoint) public void draw(Graphics2D g2) Draw …

Member Avatar for NormR1
0
579
Member Avatar for Johnathon332

Hi I have wrote some code but it never seems to reach the for loop and cannot understand why. I want it to check whether or not the word is in the array and if it is it will break out and leave the method else it will add to …

Member Avatar for Johnathon332
0
119
Member Avatar for h2so4_2003

Hi, I want blank textbox value to be inserted into the database. For that I kept those fields 'default NULL' in mysql. Still doesn't take empty textboxes to be saved blank. What should I do? where am I wrong?

Member Avatar for h2so4_2003
0
118
Member Avatar for moonL!ght

hellow every one im facing problem in my coad wich i tried to understand what is the mistake of my symantic but no progress..... this is the code [CODE] private static void NNA(ArrayList<triple> Graph,String GoalN) { ArrayList<triple> vp= new ArrayList<triple>(100); int index=0;// the index of the nodes in the visited …

Member Avatar for JamesCherrill
0
268
Member Avatar for cr7489

hi, i have a sysytem that gets film reviews from my DB when i search the film but i want to use an API to be able to search online aswell such as getting reviews from IMDB does anyone know how i can go about this, are there any examples …

Member Avatar for cr7489
0
154
Member Avatar for wael meto

Bonjour a tous, i have a very strang proplem it made me mad , i have antyped dataset and simlpy want to update a record by using dataadapter but the aupdate method affect only ONE Item here is the code : [CODE]Dim cb3 As New OleDb.OleDbCommandBuilder(da3) DSBANQUE.Tables("BANQUES").Rows(INC2).Item(0) = BANQREB.Text DSBANQUE.Tables("BANQUES").Rows(INC2).Item(1) …

Member Avatar for wael meto
0
102
Member Avatar for vuquanghoang

I'm going to have a lecture about Tree, in the slide have a piece of code like that [CODE] public int iPathLength(int level) { return level + this.getLeft().iPathLength(level + 1) + this.getRight().iPathLength(level + 1);[/CODE] I think this function is wrong since as I concern, recursive function have to have a …

Member Avatar for Momerath
0
140
Member Avatar for initialfresh

Hey guys, soo i'm new to PHP & I'm doing a course in school. I really really really need help. I have to get three input's;start temperature, stop temperature, & how much the users wants to increment it. then validate it for these... that the user entered numbers in each …

Member Avatar for diafol
0
732
Member Avatar for vizz

[CODE] <script type='text/javascript' src='http://code.jquery.com/jquery-1.4.4.min.js'></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.5/jquery-ui.js"> </script> <script type='text/javascript'> $(document).ready(function(){ if($("#navlist li").height() > 7){ $("#navlist li").hover( function() { $(this).stop().animate({ top: '15px' }, 200, 'swing'); }, function() { $(this).stop().animate({ top: '0px' }, 200, 'swing'); } ); } else{} $('#navlist li').click(function(){ $('#navcontainer').animate({opacity: 1,"marginTop": 0,duration: "slow",easing: "easein"}, 1000 ); $('#navlist li').animate({ height: …

Member Avatar for vizz
0
110
Member Avatar for ak47carbon

I want to sent email to all enews subcribers but how can i send mail more than one person but when i used this coding its working not properly.it is send 3 times mails to one person plz help me[CODE] <?php // Connects to your Database include("connection.php"); ?> <link href="../log.css" …

Member Avatar for ak47carbon
0
848
Member Avatar for matejkralik

I use button for by clicking it to delete one row in the DataGridView. This is the code: DataGridView.Rows.RemoveAt(DataGridView.CurrentCell.RowIndex); I use xml file as the source of dataset which is sourcedata of the DataGridView. It makes problems when I [B]delete last row[/B]. What can I do? pls, help

Member Avatar for shibin09
0
2K
Member Avatar for srm2010

I am working with crystal report in winform with C# using vs2008.I have one crystalreportviewer control and two reportdocument control that is associated with two seperate rpt file that loads different table. On windows form I have checkboxes as per their selection, table from .rpt file is getting displayed in …

Member Avatar for srm2010
0
141
Member Avatar for ozzyx123

hi everyone i am currently building a program which logs into an email, extracts information like the date, sender, subject, number of copies, and takes any attachments and puts them into a directory, than takes the number of pages of the pdf. i have already built a program which does …

Member Avatar for peter_budo
0
658
Member Avatar for python_adz

hello everybody, please guide me how to make the communication between two systems so as to transmit the message, using C programming language. thanks

Member Avatar for python_adz
0
161
Member Avatar for arathy nair

Hi all, I have a situation where am using String conditions(say if(name.equalsIgnoreCase(Arathy)). I want to replace this if-else loop with Switch cases..What way i can do to accomplish this?

Member Avatar for ~s.o.s~
0
162
Member Avatar for dennysimon

hello all what is the meaning of : "Value@a90653" I just try to print a variable but the result is "Value@a90653" thank you denny

Member Avatar for dennysimon
0
148
Member Avatar for SQLpower

Hello, folks. I got another problem. Basically, I wanna check if someone is old enough to watch a movie. I got 2 sessions - one for the certificate( 12, 15, 18) and 1 for the year of birth. My question is can i use somtehing similiar to this or? Cause …

Member Avatar for nidayaqoob1230
0
198
Member Avatar for desup

Hello, ths is one thing that is really shaking my heade O_o, I have got a Html and Javascript code, that contains about 1000 lines and I need to put it to php variable. Sure I was thinking about the [B]EOT[/B] method, But thare is one problem with it, if …

Member Avatar for desup
0
278
Member Avatar for arsheena.alam

Hi Friends!! I am coming across this problem that whenever I am trying to retrieve the data in a dataset through SQLDataAdapter and Dataset, it is taking around 10 min to get the data on the localhost. And when I am running the same code on the live server it …

Member Avatar for arsheena.alam
0
288
Member Avatar for tristanbacon

Hi everyone, I am currently working on a small program that helps users create Quests for use with our open source MMO and Virtual World Platform. I want to be able to put entries from the form attached to this post (questcreator_screen.jpg), into something similar to the below Python code: …

Member Avatar for skatamatic
0
219
Member Avatar for game4tress

I need to create an application (or find one application) that copies files from a computer to another, across the internet to create automatic backups. The target computer is a company server to which i have phisical access. The "source" computer(s) (several computers in several clients, that we - company, …

Member Avatar for ninjatalon
0
1K
Member Avatar for jnmisa

hello, I am a new learner of C#, I will like to know Which way is the best to learn, Either to use Microsoft Visual C# or Notepad? The book am using to learn make use of Microsoft Visual C#, and Also Please what is the Different between C, C# …

Member Avatar for jussij
0
157
Member Avatar for darkiel21

<?php echo "<html> <head><title>comment box</title></head> <body> <hr width=1000>"; require('connect.php'); if(isset($_POST['submit'])) { $name = $_POST['name']; $comment = $_POST['comment']; echo "<font color=white><center>"; $result= mysql_query(" INSERT INTO COMMENT (name,comment) VALUES ('$name','$comment')") or die(mysql_error()); while($row = mysql_fetch_array($result)) { echo "<tr> <th>ID</th> <th>Name</th> <th>Comment</th></tr>"; echo "<tr>"; echo '<td>' . $row['name'] . '</td>'; echo '<td>' . …

Member Avatar for karthik_ppts
0
665
Member Avatar for shibin09

i create an applicaton in c# now i want to make a 1 clicksetup file that includes windows installer,ms sql server 2005 and ,netframewok. Sql server should be automatically configured to sql server authentication mode with a new user name raj and password 123. Plz help me guys

Member Avatar for sknake
0
187
Member Avatar for aldrin_ison1

Hi! I'm new to C and I'm having some problems in my program. It opens a .txt file then copies this to another .txt file but replaces a certain word with another word. It uses command line arguments. Example: //inside text.txt love is patient love is kind ... ./change love …

Member Avatar for histrungalot
0
461
Member Avatar for PureHashIsh

I am trying to write a function that compares two text files (test1.txt and test2.txt) word by word, the function is supposed to print "files are equal", "files differ: word %d" (if word 13 then past 12 words were equal), and "EOF on [filename]" (the files were equal word by …

Member Avatar for PureHashIsh
0
2K
Member Avatar for Stjerne

Hello guys, I found ER-modelling as the hardest topic in one of the subject I have, Databases. There is a lot of things that I don't understand, and I don't clearly see how people can manage to solve problem like this. We got a few tasks, and I'm struggling with …

Member Avatar for vuquanghoang
0
127
Member Avatar for Denden17

Any1 here i just need help regarding my System. In Log In Form. I need to be able to terminate/locked the account in vb.net if the user input wrong username/password in my Log In form like 3 attempts is good. and be able to enabled the account also as an …

Member Avatar for Denden17
0
2K
Member Avatar for BillyD282

I am receiving the following error messages and I can't figure out why, I'm guessing there's just some syntax rule or something I am just unaware of... there errors are: error LNK2019: unresolved external symbol "void __cdecl validateWidgets(int &)" (?validateWidgets@@YAXAAH@Z) referenced in function "void __cdecl manager(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" …

Member Avatar for MandrewP
0
440
Member Avatar for triumphost

How can I make my DLL constantly check for hotkeys but without affecting other functions in it? If I put a loop, it will not be able to get any other calls to functions.. Do I create a thread and pass my functions to the thread upon attachment? My silly …

Member Avatar for LdaXy
0
248
Member Avatar for java_programmer

I was trying to run a shell script and run it through Cygwin terminal in XP environment. The script I have written is as follows - [CODE]#!/bin/bash read -p "Enter Your name - " fname if test "$fname" == "abcd" then echo "Thank you abcd" fi[/CODE] When I am trying …

Member Avatar for java_programmer
0
695
Member Avatar for scarcella

Hey guys, i need to know if i can find a FREE excel like datagrid that will allow inline editing and has drop down boxes for some fields. Also filed may be able to collect their default data from a session variable. I have tried this: [url]http://azgtech.wordpress.com/2010/08/01/jqgrid-php-datagrid/[/url] Thanks, Marais

Member Avatar for azghanvi
0
1K
Member Avatar for triumphost

I'm trying to convert this (Pascal) to C++.. My attempt is below this.. [CODE] function CompressString(const Str: string): string; var Destlen:longword; begin result := ''; Destlen :=BufferLen; if length(str) < 1 then exit; if compress(BufferString,destlen,PChar(Str),length(str)) = Z_OK then begin setlength(result,Destlen + SizeOf(Integer)); PInteger(@result[1])^ := Length(str); Move(bufferstring[0],result[5],Destlen); end; end; [/CODE] [CODE] …

0
82
Member Avatar for Will Gresham

Hello I am here seeking knowledge of people who actually know what they are talking about. In mobile development, specifically Andriod, is there any reason to use [icode] variable1 = variable1 + variable2[/icode] over [icode]variable1 += variable2[/icode]? This was a subject that came up recently and my lecturer simply said …

Member Avatar for peter_budo
0
131
Member Avatar for gozo12

in form1 there is a checkbox witch when you click , it will save checked value in xml file in splash screen its has a label1.text = "welcome " what i want is ,when splashscreen loading up check if settings of form1.checkbox1.checked if true then do [splashscreen] me.text ="your not …

Member Avatar for austinp1
0
234
Member Avatar for maofree

Hi to all I use fancybox to show a logo at loading of the homepage, it's shown just for 2 seconds, but in the page there are other jquery effects, like a gallery and sometimes the images of this gallery are loaded before that logo (overlay popup), especially when the …

Member Avatar for maofree
0
193
Member Avatar for lfmconsummates

So this program is supposed to take a letter the user wants to replace, and store that in a dictionary. At the end, it asks the user to enter a message and it's supposed to decode it, cross-referencing the dictionary and replacing any letters within it to the newly assigned …

Member Avatar for lfmconsummates
0
188
Member Avatar for crag0

I need to write a script that will check a file and find out what type of file it is. The files I am downloading none of them have extensions and some are binary others txt and html files. I only want to work with the binary files. If anyone …

Member Avatar for TrustyTony
0
180

The End.