199,113 Archived Topics
Remove Filter ![]() | |
New PHP person here.. I am setting up an event registration page. The users must select from two arrival dates for hotel and flights. from my database, I am able to populate a dropdown with the two dates. [code] "SELECT DATE_FORMAT(firstarrival, '%d %M %Y') as newfirsta, DATE_FORMAT(secondarrival, '%d %M %Y') … | |
:'( hi guys hope you can help i have written a small project used to simulate a cash reg however i have 3 froms on it ,main,checkout and about my problem is that if i move my main form to say left had of screen when i click on checkout … | |
calculate the value of pi from in finite series pi=4-(4/3)+(4/5)-(4/7)+(4/9)-(4/11).... print a table that shows the approximate value of pi 1,000 terms series | |
So assembly language interrupts are signals to the OS asking it to perform an action based on what is in the register. I was thinking, what would happen if there is no OS on the device you are programming. If you can't use interrupts from the OS would you have … | |
I'm trying to develop a program that takes input from the user (an odd number between 3 and 25) and then uses that to display the magic square for that number. This is what I have so far: [CODE]#include "stdafx.h" #include <cstdlib> #include <iostream> using namespace std; const int MAXBOARD … | |
Is it necessary to have the "All files" option in the dialogBox. I tried removing it but it won't compile. gives some sort of error this.saveFileDialog1.Filter = "Document Files - (*.txt)|*.txt|" + "All files (*.*)|*.*"; Tried removing the [+ "All file ] onwards string. this.saveFileDialog1.Filter = "Document Files - (*.txt)|*.txt|"; … | |
Hi..by the way i'm mark...a newbie in visual basic and my question is this... How or what is the codes used to connect from visual basic to "SQLyog"...just like visual basic to ms access?... | |
right I'm trying to clear some things from this example code: [QUOTE] DOSSEG .MODEL SMALL .STACK 200h .DATA OurString DB "This is a string of characters. " DB "Do you lack imagination? Put something interesting here!$" .CODE START: MOV AX, SEG OurString ; Move the segment where OurString is located … | |
hi i have just begun C++. I already put some time in learning this so i now a few basics like creating a class and pointers and such. but ive only been able to get a simple dos-window. I know there is a window.h class that creates normal windows but … | |
I'm trying to write a conversion function. I want to be able do something like this: [code=cpp] //ConversionType_1 Convert<ConversionType_1>("Abc123"); //ConversionType_2 Convert<ConversionType_2>("Abc123"); [/code] I want to be able to switch between different data sets. The solution I've come up with so far seems less than optimal to me: [code=cpp] enum ConversionType … | |
Hi, Just hoping someone could point out how to do this: Users can either [COLOR="Red"]insert a link to audio or upload audio[/COLOR]. Rather than have 2 separate fields in my mysql table (that would lead to more probs) I want to insert depending on which form field has been entered. … | |
[CODE]public class table extends JPanel implements ActionListener{ JButton addInfo; public table(String dataFilePath) { JTable table; model model; Font f; f = new Font("SanSerif",Font.PLAIN,24); setFont(f); setLayout(new BorderLayout()); model = new model(dataFilePath); table = new JTable(); table.setModel(model); table.createDefaultColumnsFromModel(); GridLayout layout = new GridLayout(80,30); addInfo = new JButton("Add Data"); addInfo.setSize(80, 30); addInfo.addActionListener(this); //action … | |
I was looking over some code for an open source project and I saw some strange whitespace stuff that I didn't even think would run. The thing is, it runs just fine. I was wondering if someone could explain what I'm missing. I don't want to copy the exact code, … | |
plz help me. i want c++ code 4 this Write a function name PAYMENT that calculates the wages for a given number of hours worked and hourly pay rate. the number of hours worked over 60 is to be paid at the rate of one and a half times the … | |
gentlemen... I don't want you to solve it for me all what I want is to give me some hints how to solve this question... for example what kind of function you recommend me to use and what kind of loops you recommend me to use also ..... Write a … | |
Hi, Something new from me: I have an application which can act as server and client (launch them on separate PCs). I need the server stdout because it displays some data for evaluating their communication. I start the server through a [B]subprocess.Popen[/B] giving its stdout to [B]PIPE[/B] [CODE=Python] from subprocess … | |
Hi, I don't know why the server I recently get to manage, has the SQL Server 2005 installed but with the Management Studio Express!... I need to upgrade it with the Dev version, but when I put the DVD of the SQL Server installer, It won't show my actual installation … | |
Hi, I have 2 instances of SQL Server running on one machine (One 2K -default- and one 2K5), I have no problem connecting from a PC on LAN to the 2K5 instance, but when I try to connect to the 2K instance, it fails (it gives me an error: "Named … | |
I have a SP (sp_test_procedure) created from a SQL Server Project in my SQL Server 2005 database, inside this SP I have a call to another SP which inside calls to a SP in another Database Server (SQL 2000) through a cross-linked connection. When I execute it from the Management … | |
Hi all, I have a Stored Procedure without an output parameter but it returns one row always, this SP is called by another SP, so I need to store some of those columns in a variables of the first SP. How can I do that? Please help. P.D.: I have … | |
I have to write log entries through my app (ASP.NET -VB-) In my understanding that's what I do: created a DLL Message library, then I've created certain registry entries, and insert the log entry using System.Diagnostics.EventLog.WriteEntry method on my app, then, it insert the entry but seems to be wrong … | |
I have two "entity" tables: Company and Agency. Both Company and Agency can have multiple addresses (shipping, billing, etc.) and multiple contacts with titles (president, sales rep, etc.). Rather then put address and contact information in each entity table, I want to create a table that is common to both … | |
I am a begginer and i know almost nothing in java. our prof has asked me to write a program that computes 50 employees salary (normal,overtime and bonuses) ,print the result and keep a back up. can somebody please help me write the code. | |
I want to connect to sybase from java using jdbc:odbc bridge.. Which driver should I use like I have used "ODBC for Oracle" Plz help.. | |
Dear Friends I have working knowledge of java. but when it comes to make a java reportsi don't know how to proceed. will any one help by guiding me or by providing me some tutorials to make reports in java. i am unable to visualize a solution. i don't understand … | |
I am creating a script that allows me to calculate the future value of an investment at the end of x years, but I am having a little trouble writing the summation syntax in my script. I am not familar with the sum syntax so I do not know how … | |
I am using VC++ 2008, and i am trying to create a little software to search for a folder and explore it in a new window.(like I open/explore c: drive) I don't need to browse for the folder and open it from there. I tried using 'ShellExecute' but didn't work.when … | |
Hi everybody, I got one problem in ASP.NET. i want to change button backcolor from code. btn_save.bachgroundcolor=system.drawing.color.red the above code is working fine. But instead of "system.drawing.color.red" , i want to give #123234 or rgb() format. i cant give btn_save.bachgroundcolor=#23534 btn_save.bachgroundcolor=rgb(0,0,0) I will give error as invalid return type is … | |
Help .. I'm supposed to make a java program that will create an output of increament whre the last number is 10 and the series is 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 .. it's like counting to 10.. we're supposed to use a do-while loop or … | |
Hi, I have a form with an array. kidname, age and lesson. [URL="http://jawaweb.com/e1.jpg"]http://jawaweb.com/e1.jpg[/URL] I fill up with 2 kids to join, when i click on send, there are 2 email sent to same addresses and all the informations going to mysql database. confirmation pagina shows. [URL="http://jawaweb.com/e1.jpg"]http://jawaweb.com/e2.jpg[/URL] When i view a … | |
Hi everybody, I've got a big pb, and I need help..... I have to use MS SQL Server 2005 SP2 Enterprise Edition instead of MSSQL Server 2000 Enterprise Edution and I don't know how to use the old SQL 2000 db. Any sugestions? Thanks for your time. Eddysonys | |
Hi when i use the following code i get a warning 'Public Shared Function GetHostByName(hostName As String) As System.Net.IPHostEntry' is obsolete: 'GetHostByName is obsoleted for this type, please use GetHostEntry instead. [CODE]Dim host As System.Net.IPHostEntry = System.Net.Dns.GetHostByName(System.Net.Dns.GetHostName) 'gets the machines current IP [/CODE] now the code works and shows me … | |
I want to show some information to the user in a nonmodal form. Basically just like a message box (doesn't even need buttons) except nonmodal (and doesn't beep). I could probably create a form from scratch, but I would think this type of form already exists somewhere in .net?? | |
I am using VC++ 2008, and i am programing a little software to search for a folder and open it. My problem is i have no idea how to open a folder. Please help | |
Hi I make a php file upload script and uploaded in my ftp server. And works fine when I changed the permission of the folder into full ( ie world can write, execute and read ) . The images are saved in that folder...... How much it is secured ?? … | |
Hi, I have a label on my form but when you type in the text it all stays on one line. So i set its max size to force it to tab the text but it only shows two lines. How do i set it to allow me to enter … | |
I'm a computer science major with a background in C++, not Java. My professor told the class that the Scanner class has a nextInt(), nextDouble(), nextFloat(), etc for every primative type. But whenever I try to use nextChar(), the compiler gives me an "undefined symbol" error. That means that there … | |
I am making a recursive treeview that lists the directories on my server [or trying atleast]... So far so good , it seems to work, cept it does not load all the files / directories, please consider my code : [code=C#] void recurese(string root) { // New instance of the … | |
Hello everyone, I am querying an MS Access database to find duplicate records and list the results in descending order. I am using a 'while' loop to read through the records but I'm finding it difficult to store the results in separate variables, i.e. the query finds three results where … | |
Hello, Thanks in advance for any help. I am running a fairly good-sized MPI-C++ code, and I am getting a frustratingly unreproducible segfault. I am also having trouble with gdb (I think because of my MPI implementation), but I think the problem may have something to do with the fact … | |
Is there a way to gather the HTTP header send from a server so that I can check if it is a code 200 or a code 404 and base the output from that. Thanks for the help EmcLinux | |
hello.. i really need help.. I don't know why i keep on getting an empty stack if i pop a token from stack even if user has already push a token into it.. [code=java] public class MStack implements Stack{ public Node top; public Node[] stack; public static int T[]; public … | |
i want to make one website in jsp.. ... can any one help me....about coding....plz.... | |
Hey! I`m a computer science student, I have this problem!: I don`t know which programming language I should learn! I`ve already know a little c & c++ but I want to learn something completely and I don`t know what to choose!But perhaps I can use a little help here Wink … | |
hi, i have 2 txtboxes n 1 label, a division if performed wid txtbox1 and txtbox2, then the result displayed in a label. How can i format the label to display it to 2 dp. my current code is as follows: [code] Public Class Form1 [INDENT][/INDENT]Private Sub btnExit_Click(ByVal sender As … | |
I had code: [code] Program.cs ---------- using System; class Exercise { static void Main(string[] args) { People.Person man = new People.Person("Hermine Sandt", "Male"); 1 HighSchool.Teacher staff = new HighSchool.Teacher("Vice Principal"); Console.WriteLine(); Console.WriteLine("Press any key to continue..."); Console.ReadKey(); } } Persons.cs ---------- using System; namespace People { public class Person { … | |
actualy i need help i m making a software in java swing i hv a problem in retriving values from database in JTable, i m inserting values in database ms access it works, following is my code one is for database another one for table ..................................................................................................................................... [code] import java.sql.*; public … | |
Can anybody give me a hint about how to put these two techniques together? I can use the "this" reference to control access to the private fields of an individual object: using System; namespace MyNamespace { class Program { static void Main () { Citizen citizen = new Citizen (); … | |
the problem is as follows i ahve to build a software in c++ which would be able to perform biomatrix operations. it means that: it scans your face.. stores it into its file or database.. for the next scan.. it should compare with all the previous stored file and should … | |
hello guyz,,i just want to ask if you know a site that have a free ebook that would explain best the data structures..we have a problem to code..and it is about queues,,and sorting,,and i hope to find a best ebook that will explain best about the sorting and the queues,,,thanks … |
The End.