199,114 Archived Topics
Remove Filter ![]() | |
Hi Everyone! I have been experiencing problems in displaying my varibable Gcoins in form3 from form1. here is what i have in my form3 code. [CODE] Private Sub Form3_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim frm1 As New Form1 Dim points As Integer gcoinsamount = Val(frm1.Label2.Text) … | |
Compress and decompress files using the popular pkzip format and the Python module 'zipfile'. [B][COLOR="Red"]Concept Error! This code just does archiving into a zip file, no compression![/COLOR][/B] To compress and archive files it is best to use module tarfile, see the snippet at: [url]http://www.daniweb.com/code/snippet216860.html[/url] | |
Hello guys, I am having a weird problem. I cant understand and i have spent almost 2 hours in finding the problem. Well,Actually I have a table of id,date,comment. id and date are composite primary key. so id always starts with 1 everyday. now i want to find the max … | |
I'm trying to send variables from a program in C++ to php for it to process. Then I want to be able to get the output of the php code. Is there any way to send variables from C++ to PHP and back? Maybe using something like POST variables? I … | |
Dear All I am tring to do 1 simple job but some where I am missing something I designed 1 GUI in Netbeans 3 jTextFields, 2 jButtons (design attached) Step 1-> Input any number in 1st text field 2 Step 2-> Input any number in 2nd text field 2 Step … | |
Hi, I have a problem which has been puzzling me for a few days. i have been trying it with vectors and characters but will not work for me. Imagine an "ON" "OFF" binary sequence. I want to compute all combinations of that sequence of length N say. e.g sequence … | |
Hi, I am trying to set up a email reminder thing that sends a email to a user after 7 days then also after 6 or 12 months. Not sure if php can do this or where to even start. I know its possible, however is it a script that … | |
[CODE]from PIL import Image, ImageDraw from random import randint picture = Image.new("RGB", (600, 600)) artist = ImageDraw.Draw(picture) for i in range(100): x1, y1 = randint(0, 600), randint(0, 600) x2, y2 = randint(0,600), randint(0,600) color = (randint(0, 255), randint(0, 255), randint(0, 255)) width = randint(2, 20) artist.line([x1, y1, x2, y2], color, … | |
Hi I'm trying modify an application to read in text files and collect pieces of data from them to use as input for an application. The data I need to collect from the individual files include doubles, int, and strings of varying lengths depending upon individual text files. There is … | |
I know I am probably missing something small but I can't seem to get it running I need to send an html email for newsletters and on registration But it needs to be authorised so it doesn't get marked as spam or filtered. here is what I have so far: … | |
hi there all first - complete newbie here flying by the seat of my pants and learning php from scratch by diving into the deep end first... i got a database of music tracks in mysql - got a search form to search and display selected tracks and got an … | |
Good afternoon, Instead of starting a new row every time I have new data, I want to simply put a line break. I have put in <br> but it makes the page too long as it yields a break each time and not just the times that it has data. … | |
This isn't a problem, just a curious question. I'm using the password text field in my gui and basically, this: [CODE] String pin = new String(passwordField.getPassword()); Person p = new Person(); p.setPassword(Integer.parseInt(pin)); [/CODE] leads to a number format error, despite that I didn't enter a text. But this: [CODE] String … | |
Hey, how's it goin I'm trying to write a simple if statement with jQuery...it looks like this [CODE] if ($('#title .general').length == 0) { function() { $('#ubi').empty(); $('#address').empty(); $('#city').empty(); $('#region').empty(); } } [/CODE] First off, i'm getting an error in firefox that has "syntax error" function( ) { } -----------^ … | |
Hi, The supervisor of my system wants to modify customer details. I created this modify_form.php page. But when i modifies one record of a particular customer it [B]affected to all the records[/B]. Therefore all the records contain same thing..... Can anyone give me the correct coding which modifies only that … | |
I need help with this Java program for school. I have to add loops so that each loan will loop and show the payment made, the int payment made, and the loan balance for each month of the entire loan. There are three different loans, 7 year, 15 year, and … ![]() | |
help me guys.. how do i add picture? [CODE] Private Sub NavigateRecords() txtPersonnelID.Text = ds.Tables("Personnel").Rows(inc).Item(0) txtFirstName.Text = ds.Tables("Personnel").Rows(inc).Item(1) txtLastName.Text = ds.Tables("Personnel").Rows(inc).Item(2) txtMiddleName.Text = ds.Tables("Personnel").Rows(inc).Item(3) txtGender.Text = ds.Tables("Personnel").Rows(inc).Item(4) txtAddress.Text = ds.Tables("Personnel").Rows(inc).Item(5) txtContactNo.Text = ds.Tables("Personnel").Rows(inc).Item(6) txtEmailAdd.Text = ds.Tables("Personnel").Rows(inc).Item(7) txtBday.Text = ds.Tables("Personnel").Rows(inc).Item(8) txtDept.Text = ds.Tables("Personnel").Rows(inc).Item(9) txtPosition.Text = ds.Tables("Personnel").Rows(inc).Item(10) txtHiredDate.Text = ds.Tables("Personnel").Rows(inc).Item(11) txtRenewalDate.Text = … | |
just re-installed easyphp5.3.2 it seems i can't reach my mysql db to create one... keeps on givin me this error when i try ----------- ERROR 1045: Access denied for user: 'root@localhost' (Using password: yes) phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should … | |
I have a series of data (x,y) as below. I want to use this data to create a bell curve (normal distribution) with perl. How can I do this? x y 1 2 2 50 3 40 4 300 5 70 6 80 7 8 8 10 9 25 10 … | |
Hi, let's say I have a program in my external hard drive and there's a code in my app that references a picture or a file in that hard drive, how do I make it so that when I take my external hard drive to another computer, even though the … | |
Hello Everyone, I've been desperatly trying to teach myself C and I've come along quite nicely. I wanted to start making my own programs (not from internet tutorial/Cd Rom). I want to make a program that will display two dates that the user inputs then calculate the number of days … | |
Hi, Everyone!! I'm really new in this business and I've been having some trouble with these errors: ====================================================================== Message: Object expected Line: 1 Char: 1 Code: 0 URI: [url]http://www.myblog.com/successblog/[/url] =================================================================== Message: Expected '}' Line: 707 Char: 301 Code: 0 URI: [url]http://www.myblog.com/successblog/[/url] ================================================================== Message: Expected '}' Line: 738 Char: 301 Code: … | |
Okay, so I've been trying to create a UDP Server (I've got the TCP one done but I need both for my project). However, whenever using the following code: [code] UdpClient whatever = new UdpClient(11000); [/code] I always get a SocketException with any port number (not just 11000), unless I … | |
I want to create a list which will list coordinates on a 50 by 50 grid. I have been able to set the x-value from 0 to 49, while maintaining the y-value as 0. When I try to reset the x-value back to 0, and increment the y-value by 1- … | |
Here is what I have [code] echo "<img src='/images/bar_".$row['teamA'].".jpg'>"; [/code] in this example teamA = irish What I want to output is <img src='/images/bar_irish.jpg'> I think it is a simple syntax. What am I missing? | |
I use Visual Basic 8.0 and Windows 7 Prof. and Deskjet 720c To print a document i use [COLOR="Green"]PrintDocument component [/COLOR] I want to Check status of local printer My problem is, if de printer if [COLOR="Red"]offline[/COLOR] of [COLOR="Red"]not connected [/COLOR]every print job is then automatically sent to the print … | |
I want to create a list which will list coordinates on a 50 by 50 grid. I have been able to set the x-value from 0 to 49, while maintaining the y-value as 0. When I try to reset the x-value back to 0, and increment the y-value by 1- … | |
Hello, I'm new to VB .Net and I've searched for this info in the help files, but couldn't find it. When I save a project it automatically saves it to "C:\Documents and Settings\[I]username[/I]\Local Settings\Application Data\Temporary Projects\[I]filename[/I]". I want to be able to set this path ahead of time to where … | |
Hi, I'm looking for a book on C++...now before you flame me I did read the sticky "Read Me:C++ Books" and found the list interesting but for me uninformative...Why? I'm not really sure what C++ level I'm at currently. Let me elaborate...Here's my experience with the C family of languages.. … | |
Hi, I am wanting to Calculate Hours & Minutes between two Dates/Time. I have four fields: ss_datestart, ss_dateend and ss_timestart and ss_timeend. I want to display the hours and minutes between two dates/times. Example: $ss_datestart $ss_timestart --- $ss_dateend $ss_timeend 05-12-2009 13:44:31 --- 05-12-2009 17:55:31 I want it to then display … | |
I have a project on sports Club Management. In that, I am providing add, delete, update and search facility. Add command is working simply by : `String qry="Insert into sport values('"+s1+"')"`; `smt.executeUpdate(qry);` This is just an example where I took only s1. But in delete, I wrote: String qry="Delete from … | |
hey im trying to make a program that if you use a scanner class you can type A and then the switch statment will change that to something else. altho i just realised that i cant do this as the way i would read a letter into a scanner would … | |
Hi guys; I wrote a function that inserts a new integer in the ordered link-list. If the number to insert exist in the link-list then the insertion WILL not take place, instead a message “Number To Insert Exists !!” will be produced. Can some1 help me to find out the … | |
I need to write a program that will do several operations for objects delimited with ";" "," and " ," and " ;" sample csv file: user;owner;group1;group2;etc. Michael Beaver,John Dundi, Global, Cracow, NY, Berlin Dave Sadih, Sarah Flock, Global Moran Kleih, Rebeca Diaz, Global, berlin, Warsaw, Moscov, Puerto Rico ---> … | |
Hey there So I'm working on a little program, the thing is, it needs admin perms in order to work successfully, and I have no idea how to make the application request the admin perms on startup, any idea? [CODE]<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <assemblyIdentity version="1.0.0.0" name="MyApplication.app"/> <trustInfo … | |
Ever since my team upgraded to Infragistics NetAdvantage starting with ASP.NET 2010 vol 2 from 2010 vol 1, I've been having nothing but troubles. Since there is a no backward compatibility between versions of NetAdvantage (2009 vol 1 controls cannot just be left in place if a different part of … | |
I've read 4 books on c++ and i understand it very well. My ultimate goal is to create a 3rd person shooter and i know im a long ways, but i don't know where to go from now. I just ordered a opengl book and im wondering if it will … | |
Hi guys. Been coding away today decided that i would update an old program i did a while ago which was the base of an organisor application. So today i converted it to use STL instead of my hardcoded double linked class. I used list<> as my original implimentation was … | |
Hey, Can any one help me with this problem.. i'ld really appreciate ne help.. wat i wanna do is.. dat i want to dynamically create objects on a way that they could be created in a loop.. so i thot an array of object could help so i went ahead … | |
Hi guys, This is very important. The supervisor of my system wants to close accounts which contain zero balances for long time periods. There is a separate page contains [B]ID and Account Number[/B].This is included in a form and a "close account" button is there. When he clicks on that … | |
hello im new with python and i want to you ask a question. is there any function like switch on C++ ? | |
I've been trying to display the equivalent decimal number of the input binary number. I tried the below piece of code but am not achieving the result. I don't seem to understand why? Please Help!! [CODE] #include<stdio.h> #include<conio.h> #include<math.h> int a=0; int main() { char bin[8]; int i=0,len=0,r=0,w; printf("Enter a … | |
Really need help :) I got finished all the code..but i wanted you to help me for understanding the two lines (the first steps) this is a code of .. SPEECH to TEXT .. :) [B][U][COLOR="red"] This is the lines that i need you to explain to me :)[/U] you … | |
Hi, I need to print all the orders with the month in the Monthly Order Report.How should I do it.Can someone tel me how to do it... This is my query.Order date should equal to the relavent month... [code] $this->result = mysql_query("SELECT * FROM tbl_order,tbl_order_items WHERE tbl_order.order_id=tbl_order_items.order_id AND tbl_order.order_status='accepted' AND … | |
I've never used inline assembly shockingly, and I'm just wondering how/if I can do something. Bit of background; I'm coding a basic OS kernel, I have various subroutines written in assembly and amongst others I have a puts subroutine that is an attempt at mimicking puts in C. In order … | |
Hello everyone! I have a table in acces database named Product(name1(string),name2(string),name3(string),name4(number(decimal))). In a form I use combobox to choose a product after [B]name1[/B] and when I click a button I want to fill some textboxes with the others values of that product. How can I do that? please help me! … | |
Hi, I have a situation I need help with. I have c++ s/w from two vendors each of whom have given me a library and a header. Only problem is that one of them is compiled with vc++ and the other with g++.I cant use them both in the same … | |
IM HERE AGAIN CAN YOU HELP ME PLSS :) i USEd to make a program that will asked the user to enter 7-digits number i should determine the largest,smallest,median and the average.Display also the entered number and its equivalent to binary, octal and hexadecimal value example THE ouput must be: … |
The End.