199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jzimmerman

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

Member Avatar for jzimmerman
0
155
Member Avatar for stephen lowry

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

Member Avatar for stephen lowry
0
103
Member Avatar for 72246

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

Member Avatar for StuXYZ
0
256
Member Avatar for Lilith24

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 …

Member Avatar for iyercb
0
125
Member Avatar for tigerfan88

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 …

Member Avatar for Freaky_Chris
0
122
Member Avatar for shazzy99

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

Member Avatar for shazzy99
0
100
Member Avatar for markx_018

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

Member Avatar for debasisdas
0
196
Member Avatar for yuriythebest

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 …

Member Avatar for iyercb
0
152
Member Avatar for h3llpunk

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 …

Member Avatar for h3llpunk
0
130
Member Avatar for dewyatt

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 …

Member Avatar for dewyatt
0
115
Member Avatar for stevehart808

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

Member Avatar for jrdark13
0
108
Member Avatar for radhasb

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

Member Avatar for Ezzaral
0
116
Member Avatar for mn_kthompson

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

Member Avatar for sneekula
0
135
Member Avatar for kiranraj1992

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 …

Member Avatar for Freaky_Chris
0
96
Member Avatar for moaath

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 …

Member Avatar for MosaicFuneral
0
218
Member Avatar for tzushky

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 …

Member Avatar for Gribouillis
0
14K
Member Avatar for culebrin

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 …

Member Avatar for culebrin
0
151
Member Avatar for culebrin

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 …

Member Avatar for culebrin
0
150
Member Avatar for culebrin

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 …

Member Avatar for culebrin
0
304
Member Avatar for culebrin

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 …

Member Avatar for culebrin
0
180
Member Avatar for culebrin

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 …

Member Avatar for culebrin
0
186
Member Avatar for jasscat

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 …

Member Avatar for jasscat
0
118
Member Avatar for metemostan

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.

Member Avatar for BestJewSinceJC
0
137
Member Avatar for srs_grp

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

Member Avatar for Ezzaral
0
131
Member Avatar for dinkarkolhe

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 …

Member Avatar for Ezzaral
0
84
Member Avatar for red999

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 …

Member Avatar for paddy3118
0
187
Member Avatar for dirnthelord

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 …

Member Avatar for dirnthelord
0
111
Member Avatar for rooparaj

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 …

Member Avatar for sreenivas.varma
0
448
Member Avatar for blumisa

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 …

Member Avatar for iyercb
0
86
Member Avatar for blueskin

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 …

Member Avatar for blueskin
0
295
Member Avatar for eddysonys

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

Member Avatar for eddysonys
0
133
Member Avatar for smelf1

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 …

Member Avatar for rapture
0
830
Member Avatar for Tekito

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

Member Avatar for Tekito
0
125
Member Avatar for dirnthelord

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

Member Avatar for Nick Evan
0
122
Member Avatar for rajeesh_rsn

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

Member Avatar for MVied
0
119
Member Avatar for smelf1

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 …

Member Avatar for smelf1
0
156
Member Avatar for dmanw100

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 …

Member Avatar for stephen84s
0
377
Member Avatar for cVz

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 …

Member Avatar for LizR
0
208
Member Avatar for SubProf

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 …

Member Avatar for SubProf
0
101
Member Avatar for dm215

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 …

Member Avatar for dm215
0
100
Member Avatar for emclinux

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

Member Avatar for emclinux
0
145
Member Avatar for ezkonekgal

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 …

Member Avatar for ezkonekgal
0
233
Member Avatar for kinjal1717u

i want to make one website in jsp.. ... can any one help me....about coding....plz....

Member Avatar for verruckt24
0
81
Member Avatar for 3pid

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 …

Member Avatar for Ramy Mahrous
0
128
Member Avatar for vb.babyboy

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 …

Member Avatar for Ramy Mahrous
0
1K
Member Avatar for piotr_kast

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

Member Avatar for piotr_kast
0
106
Member Avatar for priya_gurnani

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 …

Member Avatar for javaAddict
0
100
Member Avatar for BobLewiston

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

Member Avatar for miculnegru
0
82
Member Avatar for vishal_tulsiyan

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 …

Member Avatar for Nick Evan
0
93
Member Avatar for l_03

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 …

Member Avatar for verruckt24
0
143

The End.