199,114 Archived Topics
Remove Filter ![]() | |
[QUOTE]HI These are the forms I Have Log in,Customer,Order. They are opened In this order. At start up the Log in Form assigns the User in The Order Form and all works fine. But when I close the Order Form I loose the user. I would like to maintain the … | |
Hello, I'm writing a program for class that holds information from a parking garage and calculates the cost of parking for each vehicle and the total revenue generated. The code I've written uses a struct Car which contains variables for `Tag#(string)`, `Make(string)`, `Cost(int)`, `Time in(int b/w 1 & 24)`, and … | |
hi all - i'm new to this forum and would love some guidance on this. i'm using a great script from oreilly for an efficient rollover effect on an image map - highly recommend for anyone needing something like this - link is below - my question is how do … | |
hi, How can I search from multiple tables in a db?DB I am using is MySql db. Thank You, Suhasini | |
can anyone tell me difference between scripting type language and any other language? thanks in advance | |
I have python 2.4.4 installed on Ubuntu for use with Zope 2.9.8 (plone). I am moving my zope/python install from a hosted server to a new server of my own. I am setting up everything from scratch for the first time. When testing my installation, I get an error message … | |
anyone can give me code for a php hit counter for my website...that will count every user's click...plzz give with database & code... | |
Hello, I'm new here. I am trying to make a program that simulates the game Lotto. I have managed to get it to input numbers, but, I cannot figure out how to stop it from having the same number appear twice on the same line. Below is what I currently … | |
hello friends,I made an applet to calculate sales tax but i am having a problem in executing it.It is giving error on execution. and the error it is giving is, cant create:java.lang.reflect.InvocationTargetException following is the piece of code of applet. import java.awt.*; import java.awt.event.*; import java.text.*; import javax.swing.*; public class … | |
ok so i am trying to fill a 2d array with random numbers and find the max size in each row. i don't know what is wrong with my code. here is the code [code=php] <html> <body> <title>Assign 2</title> </head> </body> <hr/><p/> <?php $arr=array(); $max_row=array(); function find_max_row() { global $max_row; … | |
I have a mysql table that was working fine. I'll try to be brief. I have a table that has two primary keys, both are also foreign keys to other tables. The primary keys are qid and pid. If I try to enter a record, using pid > 10, I … | |
Hey all, I've found a lot of good help here on Daniweb, but this is my first post :) Here's my situation: I have a form that has 2 select boxes with multiple options. For the First dropdown, I have assigned IDs to each option (1,2,3,etc) For the Second dropdown, … | |
Hi all, Class assignment is to list all numbers between user input. I have this much, but have no idea how to get it to list the numbers between them. I know this is simple, but it still eludes me ;) Thanks in advance! [code=cplusplus] #include <iostream> using namespace std; … | |
Hi, I don´t understand what are constructors and what are they used for. Can someone explain me in simple words or with an easy example what is a constructor and why are they neccesary? Thx | |
I want to enter password in asteriks and compare it from the file. I compare it but i cannot able to show it in asteriks.If someone knows please solve it ? | |
alright i am working on jQuery - UI Sortable Portlets and im trying to pass serialize on to the php so i can update my database with each displays column, and position so it will save for my users i have what I've done so far below if anyone know … | |
Hi, I'm trying to read data from a text file and store it into an array. I know this issue has been dealt with earlier, but none of those threads seem to be helpful in this case. Sorry in advance if I missed a relevant post. The data in the … | |
Hi I'm having a very basic newbie problem, The compiler forces me to do a strdup (because of cons correctness), can I void the extra line in my code, and then I cant seem to update my array after the funciton call [CODE=c++] void fix_name(char *name){ if(name[strlen(name)-1]!='/'){ char *tmp = … | |
I'm trying to compare lines in two different files. The basic idea is I want to take line 1 of file 1 and compare it to all the lines of file 2 and print the results into a third file, then do the next line of file 1 and repeat … | |
Hei again.. new problem. I would like to add "updating" stuff for this picture moderating. Like if there show.php?id=(numberofpic) then it opens show.php page, where is possible to moderate(over moderate)... I try, but I dont figure it out. As like I want to add this field, who have moderated this … ![]() | |
Hi All I think this is my post in DW . I need a help from you guys . I have a data [code] ['\x1a', '\x05'] [/code] , and how i can convert this to ascii ?? Any ideas , please give a hint :) thanks | |
I only recently heard about F#. I never knew that there was a language like that. I only noticed it when I was surfing for VS2010. My question is, is F# a really good language, and whether it is useful to learn. Is it used for software/application development? I just … | |
I am using python portable on a thumb drive and on some computers my script works normally, on others it does not. I Checked the paths and it had the _imaging.pyc file and the path was set up for it correctly on all computers. Is this because 1 computer has … | |
I have problem to start. I need algorithm for program that prompts the user to input a sequence of characters and outputs the number of vowel, using user-defined value returning function Vowel. Please help | |
How does one control what's included and not included in a project? I am forced by the environment to work in the same directory as other projects. I have written a Class and also a Module with a subroutine that does not show up in my project, yet I see … | |
Hey guys, I have a new server :P I am currently configuring it and I ahve come across an issue. The issue being that PHP 5 does not support MySql from standard. I have managed to resolve an issue with the installation of PHP on IIS BUT I am strugling … | |
I have this feed of classifieds that I need to convert to an .xml doc. I explode each string into an array (separated by a "|"). Everything work just fine except the string cuts off if there are any line breaks in the 5th section and everything after the break … | |
Hi, I'm new to C++, I learned to program in Java first. I'm having trouble getting this to work. I'm writing a text based version of battleship. It was going well until i tried to set the size of the ship. I'm using an int array to check to see … | |
Hai Friends, Please Help Me!!!! I am developing a bussiness application.It includes a module which has to send a text file from the head office to the branch. I am able to send the file through internet only if i get the global ip. But Under the router i am … | |
Hello., I'm reading about anonymus structs and have problems understanding what is the privilege to have one. could anyone demonstrate an example of both anonymus and regular struct. I see that anonymus struct has a name after the the } and before semicolon. Any help would be greatly appreciated. Thank … | |
I am attempting to read and process a very large .csv (~75 Mb). I have been able to load the file into a string, but when I begin processing the string I run into problems. I am looking for memory management advice on these sorts of operations. String.Split() - OutOfMemoryException, … | |
DLL crashes with release EXE. I have a client application which tries to load a dll when I bring up it. But it crashes the exe now. With debug exe it loads without any problem. Has anyone faced this kind of issues(release exe crash while dll load)? Anyone has any … | |
[CODE]print "INSERT QUIZ INTRO" choices1(); def choices1(): print "The SNES Star Fox games ran off of/was used to advertise what advancement?" print "1: 32 Bit color" print "2: Argonaut's Super FX Chip" print "3: Voice-like sound effects" print "4: Higher Frame rates" 001();[/CODE] There's code past this but I imagine … | |
I am working an an app that allows users that create crystal reports (.rpt files) to upload and view their reports via my web application using the CrystalReportViewer server control. I would like to dynamically create my own form for them (to take the place of the ugly ones Crystal … | |
Dear all, Can anyone kindly let me know how to put codes in my program to check if the network card is currently connects to nowhere (in nortification area, the small computer icon is crossed in red). Many thanks! Best regards, Gibbs | |
i am getting the list of values from databas table, some values are null, i want to show the values, which are not null. example is as follow, [ICODE] //sql query while ($row =mysql_query($result)) { $carBrand =$row['brandName']; $carMod = $row['model']; $carModYear =$row['modYear']; $regCity =$row['regCity']; $demand =$row['demand']; //some of them are … | |
Hi; > If I have a srt file (lines in similar format given below). 42 00:02:21,085 --> 00:02:22,709 Just tell Cuddy you've got an urgent case. 43 00:02:22,709 --> 00:02:24,680 - You had to leave early. - That would be lying. 44 00:02:24,680 --> 00:02:26,119 And that would be wrong. … | |
1. a. Create a parent class "Vehicle" with one method "turnLeft" that prints "Vehicle turning left". b. Create a child class "Bike" which overrides the "turnLeft" method and prints "Bike turning left". c. Create a Vehicle reference referring to a Bike object. Is it legal? What happens when the "turnLeft" … | |
Hi, I have been learning some c++ with a friend and saw a [URL="http://www.youtube.com/watch?v=nY8z5Eh-kcg&NR=1"]youtube video[/URL] where there were some features I just couldn't find in my version (express edition). I have to ask in which version of Visual Studio 2008 does the Project type [I]Windows Forms Application[/I] appear in where … | |
i am working on a script that uses a counter in order to display some things from a data base now when i submitt from one of the two form buttons it always returns the last variables that would have been in the index and i am trying to get … | |
I am trying to convert my c structures to c# structures. I am facing one problem as character is one byte representation in c and two bytes in c#. How to construct xyz structure with character having one byte?? | |
Hi Guys. First let me say that this site is fantastic and the knowledge spread is vast. OK, now I'm somewhat of a noob when it comes to VB.net 2008 and have not long been coding with it. I came across a problem with the cancel button on an "input … | |
Hi,Im makin a web based application.For users to access it they need to login. I m using java,jsp,html for this.I wish to know how can i prevent access to the pages of application without logging in i.e. if user types in URL of some page of application in the address … | |
Hi All, i have a homework of programming (vb.net) that need create send email function by using vb.net.. I already find a bunch of solution in google, but still i didn't work.. below is my source code.. [U]source code:[/U] [code] Imports System.net.Mail [COLOR="Red"]Public Class Form1[/COLOR] Sub SendOneEmail() Dim SendTo, strSubject, … | |
Question 1 You are required to write the code for sevlet which will take username and password from the html file and matches with database which contains two columns; one for username and other for password. Providing correct information leads to welcome page otherwise to a login page again. You … | |
Hi, I have the following search code and want to use prototype js to have it submitted without refreshing the page. I tried a few things, but couldn't make it work, would appreciate any help. Here is the html code: [code] <form method="post" action="quick_stockview.php" name="quickview"> <table border="0" align=center> <tr> <tr> … | |
Hello, I am am trying to get a ListView to populate based on an xml file. to acheive this I would like to use the DataTable. this is my XML file: [CODE]<?xml version="1.0"?> <main> <person> <id>1</id> <name><first>Joe</first><last>Blow</last></name> </person> </main>[/CODE] And the C# that I am using to read it: [CODE]public … | |
hi guys i wan to make dyanmic crystal report according to values which i checked from check box thats all i did 1. I made data set having data table name "Customer" 2 i put four columm id,name ,age ,sex 3. then i made crystal report and drag those columm … | |
Hi all, I am trying to make a program in VB .NET that has two "browse" bottons, two textboxes which should show the full path of the files to be selected, one "Save As" button, one textbox that should show the file's full path where to be saved in, an … |
The End.