199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for aaronoafc

Hi, I'm a programming beginner and currently learning VB.net as a starting language. I have just been making a little test console application using visual studio asking about favourite football teams, please could someone tell me what I'm doing wrong? Below is the code, now I want the user to …

Member Avatar for Begginnerdev
0
131
Member Avatar for lethal.b

I am writing a program using J2ME and my goal is to count how many times each character appears in a string. I am not very good at java so the way i see i should do this is create 2 arrays. First array is used to hold characters. Second …

Member Avatar for lethal.b
0
191
Member Avatar for Begginnerdev

I have recently written a VB.NET application and I am stuck on the deployment. I can't use the ClickOnce, because the program has to be installed on the machine under program files, therefore, I use InnoSetup. My problem is that the application requires sqlclient and .net 4.0 to be installed, …

Member Avatar for Begginnerdev
0
814
Member Avatar for Hussam Alahmadi

Hi every body i have a Question How to find lowest number? this my code is there any mistake ? [CODE] import java.util.Scanner; public class MaxNumber { public static void main(String[] args) { Scanner input = new Scanner(System.in); int min = 0 ; int count=1; System.out.println("Enter a number : "); …

Member Avatar for nHulk
0
216
Member Avatar for phorce

Hey, I'm building my own platform mainly for a project, but, for my own personal use as well.. I'm also changing the style of programming that I do it in, and, setting up some rules.. I just wondered if there are any disadvantages to the way that I am setting …

Member Avatar for phorce
0
200
Member Avatar for daniel36

the code below is not working [CODE]<?php $product=array(); $plicense_key=array(); $count=2; $product['0']="The life of game"; $product['1']="The game of life"; $product['2']="Congo"; $plicense_key['0']="xf456-sdfrd"; $plicense_key['1']="xf456-sdfrd"; $plicense_key['2']="xf456-sdfrd"; $to=$user['email']; $subject="Thank you for purchasing"; $txt= "Thank for purchasing our product.your product related information is-"; for($i=0; $i<$count; $i++) { if($i=0) { $txt.="product:Licence_key"; } $txt.=$product[$i]." :".$plicense_key[$i]; } echo $txt; …

Member Avatar for diafol
0
152
Member Avatar for VB 2012

Is it possible to make a vb.net application faster Through code like using characters that the Computer already understands Like coding in certain areas through y x (math) etc. Will it be More faster since the compiler don't have to really do much work But its still must be VB.NET …

Member Avatar for VB 2012
0
3K
Member Avatar for Riogan

Hi guys, My project is chatting system in PHP and I need some help in delete friend from friend list I have already add friend function but remove friend does not work I don't know can any one help me quick this is add friend code: this code in utile …

Member Avatar for Riogan
0
133
Member Avatar for deceivingrakesh

Guys , I have some questions 1) lets say that im developing a asp.net site using VS 2008 , how do i use sql server 2005 as the database 2) I have using MS-ACCESS as the database before and it was easy , all had to do was to create …

Member Avatar for deceivingrakesh
0
118
Member Avatar for daniel36

I am unable to understand how to use email address of user at another place in same page of code [CODE]$message2 = Swift_Message::newInstance() ->setSubject($row3['subject']) ->setTo(array($user['email'] => $user['username'])) ->setFrom(array($core->site_email => $core->site_name)) ->setBody($newbody2, 'text/html');[/CODE]

Member Avatar for pritaeas
0
81
Member Avatar for GreaseJunkie

Hi everyone, thanks for reading this. I am trying to write some code so that a vote button won't allow a person to vote unless they are registered and logged in. I have this written, but it's not outputting properly. I'm pretty sure I am not encoding the URLS properly …

Member Avatar for GreaseJunkie
0
4K
Member Avatar for hszforu

When i make 2 object for a same class, and then i make one object equal to another, then changes made to one object affect another object also, then when i assign one object as "null" then why the change is not made to another object as well? Here is …

Member Avatar for hszforu
0
126
Member Avatar for kutchbhi

[CODE] <script type="text/javascript"> aLabe = document.getElementById('alabel') ; function init(){ aLabe.innerHTML= "asdf" ; } </script> <body onload="init()"> <div id="container"> <div id="header" > Google maps Intro 1</div> <div id="alabel">Yo!!</div> <div id="map_canvas"></div> </div> </body> [/CODE]In the above,line 4 throws an aLabe is null error. Why is this? isn't aLabe a global var which …

Member Avatar for kutchbhi
0
150
Member Avatar for Stickie

What am I doing wrong? I've stored the date in american format (yyyy-mm-dd) and want to output it in european format (dd-mm-yyy). This is my code. [code=php] //ZENDING $result = mysql_query("select ID, Bestemming, Afkorting, Datum FROM Zendingen WHERE ID ='" . $znding . "' ORDER BY ID, Bestemming ASC") OR …

Member Avatar for Stickie
0
148
Member Avatar for deepanbecse

Hi friends, I wanted to add a calendar as a pop up while pressing a button and the selected date should be loaded in the text box.The calendar should be an absolute control.My ultimate aim is to save the space by using a calendar that overlaps the other controls. Waiting …

Member Avatar for sufyan2011
0
82
Member Avatar for AquaNut

Hi All, I have a 3 richtext boxs where I add each line together and output to a textbox, all is working great. But the problem I am seeing is that I paste the contents from a spreadsheet which strips off the leading 0 (zero) from a 9 digit number …

Member Avatar for Reverend Jim
0
213
Member Avatar for glao

Hello , i have two tables ,animal ,which has name,familie and weight and table food which has feed. I want to assure that every animal has at least one food. I did this : [CODE]import mysql.connector from database import login_info db=mysql.connector.Connect(**login_info) cursor=db.cursor() data=[('Geo','Elephant',['hay',peanuts']), ('Gerald','Gnu',['leaves','shoots']), ('Leo','Leopard',['meat']) ...................... ] for name,familie,feed in …

Member Avatar for glao
0
4K
Member Avatar for Jiggle

Hi guys, new to this region of the forums. I recently converted from Windows 7 to Ubuntu 11.04 - and an having a nightmare of a time getting free pascal to work. Lazarus is really not looking like a good option at the moment - I would be much happier …

Member Avatar for wpeckham
0
115
Member Avatar for jackmaverick1

So. I've written my first little graphics game (using the Graphics API) and would like to know two things: a) What's wrong with my collision detection? (Could you point me in the right direction?) b) What am I doing that is not the best way. Is there a better way …

Member Avatar for JamesCherrill
0
125
Member Avatar for daniel36

Can any one make a documentation of the query for me the query code is [CODE]"SELECT t.*, SUM(t.item_qty) as count, t.created, t.status, t.ip, t.active as tactive, SUM(t.downloads) as file_downloads, FROM_UNIXTIME(t.file_date,'%M %e %Y, %H:%i') as registered, t.id as tid, MAX(t.file_date) as file_date," . " \n p.id as pid, p.title, p.description, p.expiry, …

Member Avatar for pritaeas
0
84
Member Avatar for MassimilianoRiz

I've been given two dates that takes their values from two respective dtpickers. I've got to calculate the exact amount of days, months and years between them. So I tried this: Dim dteStartDate As Date Dim dteEndDate As Date dteStartDate = dtpStart.Text dteEndDate = dtpEnd.Text dteResultDays = DateDiff(DateInterval.Day, dteStartDate, dteEndDate) …

Member Avatar for thines01
0
136
Member Avatar for skp03
Member Avatar for M.Waqas Aslam
0
224
Member Avatar for archelle

I created a table in mySql named 'user' where fields are: UserID,UserFirstName,UserMidName,UserLastName,Username,UserType,AcctPassword,DateCreated, DatLastModified and IsDeleted. I create a separate form in vb.net to insert user record in database. My program can do insert command and bound this data from mySql to datagridview. And now, i wanted to update this by …

Member Avatar for M.Waqas Aslam
0
450
Member Avatar for OshKosh

Hi Guys I need some urgent help I have Created a C# windows application to implement a form with • a ListBox, • a TextBox, • an Edit button, • an Insert button, • a Delete button, • a Update button and • an Exit button. [ I have also …

Member Avatar for OshKosh
0
282
Member Avatar for rukshilag

my code has a print button and when that is clicked i want a new window to open up wit a list of details that the user edits. that is all the data of the form. (only the values) how do i do this?

Member Avatar for dean8710
0
386
Member Avatar for Pytho

Hi all Microsoft has what I want. When you write to their forums and you type the title for your thread, a list will appear under the input box. It looks like the image attached. Well, I have a MySQL database which contains a name field. There is something like …

Member Avatar for pritaeas
0
145
Member Avatar for raphie

I would like to add an advanced print form into a customer web site. They have an online web form but they also want to have the form break apart into sections as PDF files so it's distributor print out only the sections they need. The full order form is …

Member Avatar for dean8710
0
2K
Member Avatar for sunny124

Hi, I am trying to make a round corners script in object oriented programming method. This is purely for learning purposes. The script is no where near complete but I am already having problems with it. I am trying out the techniques described in 'David Flanagan ' text book 'JavaScript: …

Member Avatar for sunny124
0
188
Member Avatar for programing

plz i try to make factorial program but i have mistake [CODE] import java .util.Scanner; public class Factorialrec { int fact(int n) { int result; if ( n ==1) return 1; result = fact (n-1) * n; return result; } } public static void main(String [] args){ Scanner input = …

Member Avatar for programing
0
129
Member Avatar for JavaPrograms

Assignment :: TwoLargestElements Complete the following program so that it computes and writes out the two largest elements in the array. So far I have this...and it just gets the largest number for both outputs..I need to change it so I get both the largest and second largest. Any help …

Member Avatar for rickypounting
0
2K
Member Avatar for peter20

Hi, I downloaded a code for creating a pdf via php. It is called [URL="http://www.tcpdf.org/examples.php"]tcpdf[/URL] I would like to change the header with other text, But I can't find the file I have to modify. Also I would like the line of header lower Could you help me ? Thanks …

Member Avatar for broj1
0
1K
Member Avatar for jatashankar

Hi, I have one query related to the mysql adding column query is- */ alter table tbl_oppourtunities add column New_Oppourtunities as (lower(product)) /* if above query we have written then its throwing error like this--- Error SQL query: ALTER TABLE tbl_oppourtunities ADD COLUMN New_Oppourtunities AS ( lower( product ) ) …

Member Avatar for rch1231
0
713
Member Avatar for sam1

am trying to write an application in c# to lock or freeze all programs until someone enters a value in the app's textbox and clicks 'ok'. The purpose of the app would be to get people to enter their time(by force :) ). As far as I know you can …

Member Avatar for sam1
0
1K
Member Avatar for Tech B

This will allow you to login a website with python. After logging in, you now have access to all the pages for "members only" accessed with python. Could be handy for a myspace update program, webcrawlers, facebook(not recommended, facebook doesn't like scripts), and other things. Some knowledge of HTML is …

Member Avatar for python.crawling
0
3K
Member Avatar for archelle

I really need some answer to resolve my problem. Here's the situation, I wanted to create a student number using mysql database and vb.net in this form: currentyear-(no. of student in record) Student no. is auto generated.(the no. of student in record part) Example: I entered to school in the …

Member Avatar for M.Waqas Aslam
0
233
Member Avatar for nore

Hello, i want to check what letter is typing by user in textbox in event text change. Any body know how to do that? this is my code : [CODE]Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventHandler) Handles TextBox1.TextChanged MessageBox.Show(??) End Sub[/CODE] ?? = ? Please help me! …

Member Avatar for nore
0
260
Member Avatar for Navlag

Writing a small program that requires me to convert strings to doubles and then back to strings. Right now, the code compiles but the answer is wrong, even though I am using an algorithm that I know is right in C++. Can someone tell me what I'm doing wrong? The …

Member Avatar for Navlag
0
121
Member Avatar for Vishul

i have created a vs 2008 solution that contain 3 projects i.e. 1. BLL 2. DAL 3. GUI (Website) Language used C# I have add references & connect it through vs 2008 inbuilt sql server & it is working fine on localhost but when i upload it on internet it …

Member Avatar for deepanbecse
0
111
Member Avatar for PutingPanday

I want to populate my table in datagridview from my access database table please help... I'm not just trying to bind the table in access to my datagridview...I want to put the data's in my access database to my table in datagridview so far this is my code..... Sub filldatagridview() …

Member Avatar for kothaisaravan
0
2K
Member Avatar for esesili

Hello all, I want to write a qui program which opens and reads a text file when pressed Open File button. So far, when I click the button Open File Dialog works and I can choose the file to read but I do not know how to read it line …

Member Avatar for esesili
0
246
Member Avatar for Desh2350

Hey All, I'm not sure where to start with this, but I need to write a C++ program that implements the 'Three Strikes' game, where the user tries to guess a word, being given a number of chances to guess letters. Any ideas? Thanks in advance. See ya on the …

Member Avatar for Desh2350
0
453
Member Avatar for naveedqadri

Dear Experts, Thanks for your help and Time. I have an application in asp.net , i am using HTML code , JavaScript and CSS there. My application is also creating pdf file. 20 days back , My reports comming up with out background color or you can Say with out …

Member Avatar for naveedqadri
0
251
Member Avatar for bflack

Hello guyz, I need some help about downloading MULTIPLE files on php. I've used while loop by checking if the checkboxes were checked but when I continued on clicking the download button, all the system downloads is just 1 file. Why is that?.. any suggestions would be appreciated. Thanks. I've …

Member Avatar for bflack
0
8K
Member Avatar for surajrai

Hi, We have an 7 year old application which is in the maintainance phase. I have recently joined the project and I keep hearing "backward compatibility of inteface". Can someone explain to me with an example what does this means? Thank you. Regards

Member Avatar for surajrai
0
186
Member Avatar for luvsdabud

Working on program to solve a predefined maze. I'm thinking the strings of spaces and #s should be arranged as strings or lists w/in a list, but not sure how to define spatial relationships so program can "move" through the maze. Just looking to help get started.

Member Avatar for hovestar
0
219
Member Avatar for joankim

Hi there, I started learning Java this year, and I must say that I am surprised how good I have gotten at it. I still have a bunch to learn, but I am able to make my own programs that does a lot of different stuff. I am taking AP …

Member Avatar for joankim
0
201
Member Avatar for ptara1

I have a script that looks at a database of hours for stores. The table is set up by ID, Day, Hour Open, Hour Closed. The time is in military hours, 1pm = 13:00:00 hours. Currently it doesn't work correctly. Wondering if anyone could just give me a pointer on …

Member Avatar for ptara1
0
209
Member Avatar for labise

How can i add a pop-up window with below code? [CODE]<a href="inventory_images/<?php echo $id; ?>.jpg">View Full Size Image</a></td>[/CODE]

Member Avatar for jcarbillon
0
111
Member Avatar for jacob21

How I can do: 1. Upload multiple files into folder. 2. Then fetch those files that had saved in a folder. (I have to upload once but fetch again and again ) 3. and Then attach those files one by one and send to specified email/s.

Member Avatar for jcarbillon
0
176
Member Avatar for anonymous55

I have finished doing PHP from w3schools in about a week.Here are the topics that were covered. PHP Basic PHP Syntax,PHP Variables,PHP String,PHP Operators,PHP If...Else,PHP Switch,PHP Arrays,PHP While Loops,PHP For Loops,PHP Functions,PHP Forms,PHP $_GET,PHP $_POST PHP Advanced PHP Date,PHP Include,PHP File,PHP File Upload,PHP Cookies,PHP Sessions,PHP E-mail,PHPSecure E-mail,PHP Error,PHP Exception,PHP Filter …

Member Avatar for jcarbillon
0
217

The End.