64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for turnerca902

Hi folks, I wonder if anyone out there could help me with something. I have a folder containing many html files that look like this: Astronomical Applications Dept. U.S. Naval Observatory Washington, DC 20392-5420 ST. PETER'S NOVA SCOTIA o , o , W 60 52, N45 39 Altitude and Azimuth …

Member Avatar for turnerca902
0
733
Member Avatar for hawisme000

my prof told me to make my thesis system encrypt all that i save on it (on the add/save part of a file maintenance) ... thats all he said, ive seen something like this, but cnt remember... can any1 help me on making a program that when ever i save …

Member Avatar for Jx_Man
0
169
Member Avatar for sbv

Hi i want to select the values from my table where a column must contains some value. So i wrote this Select * from RG_TAB where CMCode = 4 and CMCode = 5 This query not giving me any result but Select * from RG_TAB where CMCode = 4 Or …

Member Avatar for debasisdas
0
96
Member Avatar for KomodoM

Hi! I'm trying to program a monthly calendar.... but I can't get the weekdays for the nth day of the year right... my problem is written further down in the code... [CODE]from time import * class Calendar: '''Skapar en kalender för varje månad''' def __init__(self, year, month): self.year = year …

Member Avatar for KomodoM
0
117
Member Avatar for serkan sendur

hi fellas, I set timeout for some function but within that duration if something happens i want to quit timeout and execute the function. i dont mean i need clear interval. let say settimeout will call a function 1 minute later, but about 30 seconds after i noticed that something …

Member Avatar for DangerDev
0
108
Member Avatar for Ankita B

hi, after i create a table using toad.im tryin to insert values thru sql but it says the given table does not exist.i cant find any commit button..what could be wrong???

Member Avatar for Jx_Man
0
154
Member Avatar for edchabz

I have a good idea what I am supposed to put but I can't seem to get it right. I have two different files, Server.java and Client.java. I want Client.java to call a method in Server.java. This is what I have figured out so far. public class Client{ public static …

Member Avatar for edchabz
0
153
Member Avatar for nurulshidanoni

How to cal the examid like i want to call 001 and count how many exam 001 clash with 002, 003, 004...? [code] // Filename : ConflictMatrix.cpp #include <iostream> #include <fstream> #include <string> #include <vector> using namespace std; struct student { string studentid; vector <int> examcode; }; int main() { …

Member Avatar for nurulshidanoni
0
121
Member Avatar for gheibia

Hi, I'm quite new to Jsp. The web server is Tomcat 6 and I have a Jsp page that uses a servlet as following code shows. [ICODE]<form name='uploadSO' method='post' encType='multipart/form-data' action='UploadUnConfirmedSOServlet' > <table width .....[/ICODE] The Jsp page is located under a folder called "Shipper" under my application's root directory: …

Member Avatar for gheibia
0
223
Member Avatar for WhitePunk

i just wanna ask if it if possible to make columns n ms access and how... because i am making a personal data sheet thanks in advance more powers and God Bless You all

Member Avatar for MidiMagic
0
75
Member Avatar for atish00

Help me with the J loop itz suppose to terminate on hitting enter to pass on loop to the outer loop for incrementing row. I tried a[i][j]!=(char)13 but it failed. [code=c++]#include<iostream.h> #include<conio.h> void main() { clrscr(); int no=0,i=0,j,k,m,price[20]; char arr[20][50]; cout<<" ================================================================="<<endl; cout<<" Food on the run Restaurant "<<endl; cout<<" …

Member Avatar for atish00
0
87
Member Avatar for Mr.Wobbles

i have this code to check and make sure that I wont be inserting duplicate records into my table. i take whatever is in the dr variable and if it is 0 then I go ahead, if not I don't do anything with the variables, I am using Excel, and …

Member Avatar for Mr.Wobbles
0
103
Member Avatar for new_2_java

Hi all, I am writing my first servlet, and facing some troubles. I have my servlet: [code] package com.example.servlet; // other imports... public class Hello extends HttpServlet{ public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException{ res.setContentType("text/html"); PrintWriter out = res.getWriter(); String name = req.getParameter("name"); out.println("<HTML>"); out.println("<HEAD><TITLE>Hello, " + name …

Member Avatar for new_2_java
0
552
Member Avatar for vamsikgummadi

Dear friends, Hope all of U are having a great time. I need to display Excel sheets online using asp.net ,C#, MS SQL and Microsoft Office Share Point Server 2007. I need to make this Excel sheet editable to some authorized users. Do anyone of you have idea of attaining …

Member Avatar for vamsikgummadi
0
289
Member Avatar for priyamtheone

Hi everyone, can anybody give a code example of how to manipulate CD/DVD ROMs of a machine using VB.Net 2005; .Net Framework 2.0 (e.g. determining which one of my local disk drives is a CD/DVD ROM and especially how to EJECT/CLOSE the CD/DVD ROMs). Any example will be of great …

Member Avatar for priyamtheone
0
158
Member Avatar for spring_patel

well...i'm a novice programmer in ASP.NET. i want my web application 2 send emails.i've tried couple of things using IIS smtp, but that code sends emails in the "queue" directory of localhost smtp. How to get rid of it..? and wat if i want to send e-mails in Outlook Express …

Member Avatar for SheSaidImaPregy
0
89
Member Avatar for Shveetis

Hello everyone.. I need some basic help in the monitoring of a website.. Can anyone out here help me with the retrieving of the URL of a website..?? Thanks a lot in advance..

Member Avatar for Shveetis
0
83
Member Avatar for rickarro

I'm very new to php and am looking for help getting data out of my MYSQL database. I've made all my proper connections and all is running fine so far. What i want to do is have people get a result from the database based on their input...i.e., put in …

Member Avatar for nav33n
0
146
Member Avatar for technogeek_42

can anyone help me how to create or to make my program a self running and don.t not be open to run.

Member Avatar for technogeek_42
0
239
Member Avatar for Tommms

Hello everyone! I have a specific C question that I have not been able to solve. How do you count the number of particular numbers inside an integer variable? For example: int variable; The user inputs 22222 into the variable. The program displays "You entered five twos". How do you …

Member Avatar for rhish.franks
0
219
Member Avatar for shaikh_mshariq

Hi to all the posters. I have come up with new problem using crimson parser to parse an xml file. I am creating xml file using crimson parser and DOM object. I have created a xml file using xmldocument object and i am setting nodes value according to tag name …

0
80
Member Avatar for ITKnight

sorry if this a very newbie question but what wrong with my code : [CODE=MSSQL]select TBIn.NoTbin,TBIn.IdBrg, Barang.NameBrg,TBIn.SupCode,Supplier.SupName from TBIn,Barang,Supplier where TBIn.SupCode=Supplier.SupCode and TBIn.IdBrg=Barang.IdBrg and TBIn.IdBrg = B002[/CODE] Please Help, Best regards...

Member Avatar for Jx_Man
0
193
Member Avatar for yoyoman3000

Hi guys, quick question for you. [code]for (i = 0; i < NUM_EMPS; i++) { cout << "First and Last Name: "; cin.getline( names[i], 31 ); for (index = 0; index < NUM_MONTHS; index++) { cout << "Hours worked in "; cout << months[index]; cout << ": "; cin >> …

Member Avatar for yoyoman3000
0
154
Member Avatar for ndrux

import javax.swing.JOptionPane; public class cafe2 { public static void main(String args[]) { String name,ch; double price = 0.00; double sum=0.00; int cho=0; name=JOptionPane.showInputDialog("Enter Customer Name:"); do{ ch=JOptionPane.showInputDialog( " Food Name "+ "\n-----------------------------------------------------"+ "\n1) French Fries $ 3.50"+ "\n2) Fish and Chips $ 5.50"+ "\n3) Goat Cheese Pizza $20.70"+ "\n4) Chicken …

Member Avatar for ndrux
0
141
Member Avatar for dinosaurclover

Can one of you geniuses out there help me please. They say that compiling and running hello world is the hardest bit. They're right. I've got debian on my laptop. I read a so-called tutorial that reccomended gcc hw.c OK. So I get a file called a.out. Allegedly an executable. …

Member Avatar for plgriffith
0
144
Member Avatar for glendavis

This is supposed to return the index of the first empty string in the array using recursion. Instead of returning the index of the FIRST empty string, this function I wrote returns the index of the LAST empty string. I have no idea how to search from the beginning of …

Member Avatar for VernonDozier
0
175
Member Avatar for kako13

Hi, I'm getting this error: Asig 2.cpp In function `void ManiMatrix()': 31 Asig 2.cpp expected primary-expression before "int" Asig 2\Makefile.win [Build Error] ["Asig 2.o"] Error 1 Here is how I'm calling it from main: customMatrix.checkIfMagic(); Prototype in the class: void checkIfMagic(int**); void matrix::checkIfMagic(int **arrayOfArray) {// function began } // function …

Member Avatar for kako13
0
153
Member Avatar for LoloftheRings

Hi, I created an object to create buttons in console applications. But somehow, the program doesn't do much when it's checking if the button is clicked. I got this code from the internet, I could give the original code if you want to study it. I have stripped it down …

Member Avatar for LoloftheRings
0
522
Member Avatar for rockmania

import java.awt.*; import java.awt.event.*; import javax.swing.*; public class Calculator { public static void main (String [] args) { JFrame frame = new CalculatorFrame (); frame.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE); frame.show (); } } class CalculatorFrame extends JFrame { JTextField jtf; JLabel jlb; JTextField jtf1; JLabel jlb1; JTextField jtf2; JLabel jlb2; JButton jbt; JButton …

Member Avatar for jwenting
0
179
Member Avatar for shaik4321

HI, can any tell me how to develop a application to send bulk sms from computer

Member Avatar for ivobrett
0
79
Member Avatar for pack

Hi I am not much experienced in JSP. I am facing one problem while printing a XML String on the screen. Code snippet -> String result = ab.returnResult(); result is returning a XML String..Suppose <A>123</A><B>SIR</B><C>21</C> I am printing -> <tr><td><%= result %></td></tr> I am getting 123SIR21 as output in the …

Member Avatar for ~s.o.s~
0
490
Member Avatar for alieya

hai... i have develop a website using templet (from free provider) but i have a problem when run it at localhost (i'm using php & mysql-xampp package) i edited that templet at dreamweaver, i have no problem when view it at dreamweaver but when i run that website at the …

Member Avatar for alieya
0
146
Member Avatar for Derice

[CODE]String str = "D:*Course 2007 Sem 2*WXET3309*WXET3309_Lab*WXET3309_Lab 2.doc"; System.out.println(str); String[] word = str.split("\\*"); int i = word.length; //length is 1 more than array i--; //last index = last string System.out.println(word[i]);[/CODE] The code above is code to get the last string separated by the symbol *. I wonder how should the …

Member Avatar for Derice
0
239
Member Avatar for VersEtreOuNe

[B][COLOR="Red"]Value.h[/COLOR][/B] [code=c++] #ifndef VALUE_H #define VALUE_H #include <iostream> template<typename DataType> class Value { public: Value(DataType val); Value(const Value<DataType>& aValue); Value& operator =(const Value& aValue); Value& operator +(const Value& aValue); void SetValue(DataType val) { _value = val; } DataType GetValue() const { return _value; } template<typename DataType> friend std::ostream& operator <<(std::ostream& …

Member Avatar for VersEtreOuNe
0
114
Member Avatar for TheBeast32

Hi, i have been making a server for a client I made to connect to. I don't have a static IP, so I need a way for someone on another computer to connect to me without me telling the user what it is every time. I have tried to just …

Member Avatar for TheBeast32
0
99
Member Avatar for Mikecool509

Hello everyone, I am trying to write a program to help a friend out with updating virus definitions. In order to update their definitions, they must manually go out and download and install the file themselves. I would like to be able to write a program that automatically downloads the …

0
82
Member Avatar for assgar

Hi I am trying to increment the date using weekly increments. I need to determine the start and end dates and the week number of the year. If you can suggest another approache that is OK, but this is what I came up with. I am having problems getting the …

Member Avatar for assgar
0
2K
Member Avatar for VersEtreOuNe

Hi. Need to know what's the difference when using Templates between: [inlinecode]template<class T>[/inlinecode] and [inlinecode]template<typedef T>[/inlinecode]

Member Avatar for VersEtreOuNe
0
252
Member Avatar for kartouss

[code=c++] // Input the plaintext in the array char d; string temp; ifstream myfile1 ("Plaintext.txt"); if (myfile1.is_open()) { do { for ( j=0; j<BC; j++) // BC=4 for ( i=0; i < 4; i++) { myfile1.get(d); a[i][j] = d; // plaintext } Encrypt(a, rk); /* strcpy(temp,a); // Code to write …

Member Avatar for kartouss
0
154
Member Avatar for Derice

I am have no idea wat is wrong with my code. The system is supposed to get 3 inputs from users and display a message box to show the number in ascending order. If i were to get input from input box and display it in message box it will …

Member Avatar for Derice
0
201
Member Avatar for linux

Does Python have a built-in GUI kit? Meaning without using Tcl/Tk. Because, I'm developing for the iPod touch / iPhone, and I don't want to have the user need to install the Python and Tcl runtimes.

Member Avatar for linux
0
152
Member Avatar for m.cliter

Hi I don't know if this is the right place to post my problem. I m new to YUI, I ve modified the exemple listed here [url]http://developer.yahoo.com/yui/examples/datatable/dt_enhanced_clean.html[/url] well, FireFox and Opera diplay what I want, but as always the IE drive me nut, and this time IE7/IE6 gives me errors, …

Member Avatar for ~s.o.s~
0
133
Member Avatar for myth3_16

Hi All, i'm new to this board. I'm having a spot of bother with the following: Here is what i'm trying to do. From the drop down list (generated from my database) a style is selected and the image is displayed in the preview box next to it. The problem …

Member Avatar for nav33n
0
306
Member Avatar for ceyesuma

pi = 4(1-1/3 + 1/5-1/7 + 1/9-1/11 + 1/13-.........- 1/(2i-1) + 1/(2i+1) ) I am starting this program to approximate pi. Would someone be so kind as to direct me to information concerning this formula?

Member Avatar for ceyesuma
0
1K
Member Avatar for hawisme000

i only have knowledge of connecting into a database(singel PC) but i have now idea where to start when my database needs to be centralized(1database for many PC) or (Network, LAN connected database) can any1 help me on how to make this, my code for connecting a database to VB …

Member Avatar for hawisme000
0
84
Member Avatar for mark2326l

Data from MySql. I used nl2br() for line breaks, but wanted paragraph breaks. I wrote [CODE]function test($text) { $text = ereg_replace("\n", "<p> ", $text ); return $text ; } [/CODE] That worked but my editor wants indents not spaces between paragraphs. I thought [CODE]function test($text) { $text = ereg_replace("\n", "<br …

Member Avatar for mark2326l
0
90
Member Avatar for lordx78

[code=php] if(!$_POST['username'] || ['password']) { die('Error: Username / Password field was blank'); } [/code] What is the mistake in the code above. I want the syntax to check if either one of the fields are blank.

Member Avatar for nav33n
0
231
Member Avatar for majestic0110

I am having some difficulty finding a decent tutorial/example of C# code that delas with CHM files. Now I know there are toolkits out there that convert HTML to Compiled Help Modules but I would like to explore this deeper myself. So my question is are there any good tutorials/code …

0
69
Member Avatar for majestic0110

Hi there. The project I am building is an ASP.NET browser based application that has two classes. Login class main menu class now these two classes are working as they should (I.e. valid user logs in, proceed to main menu). The trouble is, I also have another class that applies …

Member Avatar for majestic0110
0
523
Member Avatar for majestic0110

Hi all I am working on a 2 tier project and need (when the user closes the browser) to figure out a way of removing some .XML files stored in a dir on a server/local drive. any ideas?

Member Avatar for majestic0110
0
61

The End.