199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for TrueVb.NetNoob

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) …

Member Avatar for TrueVb.NetNoob
0
260
Member Avatar for vegaseat

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]

Member Avatar for tudza
0
871
Member Avatar for usman6062

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 …

Member Avatar for naveedanjum
0
139
Member Avatar for CJX3711

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 …

Member Avatar for CJX3711
0
137
Member Avatar for vishalonne

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 …

Member Avatar for vishalonne
0
92
Member Avatar for The_Prince

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 …

Member Avatar for Lerner
0
112
Member Avatar for QWaz

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 …

Member Avatar for chrishea
0
149
Member Avatar for bomko

[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, …

Member Avatar for bomko
0
2K
Member Avatar for cac186

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 …

Member Avatar for NormR1
0
191
Member Avatar for metalix

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: …

0
171
Member Avatar for mmoalem

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 …

Member Avatar for mmoalem
0
129
Member Avatar for ceeandcee

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. …

Member Avatar for chrishea
0
262
Member Avatar for glenak

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 …

Member Avatar for NormR1
0
130
Member Avatar for seniramsu

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( ) { } -----------^ …

Member Avatar for seniramsu
0
79
Member Avatar for heshanm

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 …

Member Avatar for hielo
0
133
Member Avatar for djbhoco

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 …

Member Avatar for coil
0
485
Member Avatar for bettybarnes

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 = …

Member Avatar for lolafuertes
0
119
Member Avatar for gchurch

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 …

Member Avatar for chrishea
0
400
Member Avatar for Roger101

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 …

Member Avatar for d5e5
0
989
Member Avatar for glenak

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 …

Member Avatar for glenak
0
64
Member Avatar for TheSecOrg
Member Avatar for tyalangan

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 …

Member Avatar for Davish
0
279
Member Avatar for Queen007

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: …

Member Avatar for Queen007
0
303
Member Avatar for Anon17

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 …

Member Avatar for Anon17
0
228
Member Avatar for TheSecOrg
Member Avatar for James0l9l

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- …

Member Avatar for peter_budo
0
177
Member Avatar for ceeandcee

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?

Member Avatar for ceeandcee
0
136
Member Avatar for dre-logics

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 …

Member Avatar for lolafuertes
0
656
Member Avatar for James0l9l

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- …

Member Avatar for griswolf
0
261
Member Avatar for mgorecki

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 …

Member Avatar for mgorecki
0
118
Member Avatar for gerard4143

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.. …

Member Avatar for DAlexNagy
0
232
Member Avatar for julzk

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 …

Member Avatar for kswsk
0
7K
Member Avatar for gupneha

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 …

Member Avatar for Dupron
0
196
Member Avatar for rich345

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 …

Member Avatar for Dupron
0
3K
Member Avatar for myd5258

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 …

Member Avatar for myd5258
0
115
Member Avatar for VasquezPL

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 ---> …

Member Avatar for VasquezPL
0
170
Member Avatar for Jazerix

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 …

Member Avatar for Sodabread
0
146
Member Avatar for heavens_cloud

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 …

0
199
Member Avatar for nwhitfield

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 …

Member Avatar for Sodabread
0
105
Member Avatar for Kanoisa

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 …

Member Avatar for Kanoisa
0
326
Member Avatar for snehil_khanor

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 …

Member Avatar for snehil_khanor
0
159
Member Avatar for heshanm

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 …

0
76
Member Avatar for pwnmercury

hello im new with python and i want to you ask a question. is there any function like switch on C++ ?

Member Avatar for vegaseat
0
237
Member Avatar for guru_iyer

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 …

Member Avatar for volvo877
0
521
Member Avatar for KathySbeat

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 …

Member Avatar for bubbling bubble
0
117
Member Avatar for sami.asanga

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 …

Member Avatar for mwasif
0
84
Member Avatar for Auraomega

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 …

Member Avatar for Auraomega
0
124
Member Avatar for beginerC#

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! …

Member Avatar for beginerC#
0
76
Member Avatar for AutoC

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 …

Member Avatar for Stefano Mtangoo
0
312
Member Avatar for kazkikay12

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: …

Member Avatar for Stefano Mtangoo
0
102

The End.