199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for lewashby

In the program below, I have two questions. First, the first object, card1 passes the strings A & c to it's master class. What I want to know is, what do these two strings have to do with the A & c in RANKS & SUITS? If the class had …

Member Avatar for woooee
0
100
Member Avatar for greeeny

Hi i want to have PHP scripting page if SERVER A Goes down this PHP Page check the status & than Redirect user to SERVER B.... thing is that i made IIS 7 Server on my PC & some time i turn off my PC ill upload this PHP page …

Member Avatar for furutani
0
157
Member Avatar for samsons17

hi... i want to ask about my receipt program again.. this time ,i really like to know the ways how to clear the informations after the user has entered those informations that are neede by the program.. For example,take a look at this sample output : -------------------------------------------------------------------------------------- CASH RECEIPT PROGRAM …

Member Avatar for DarkC0de
0
142
Member Avatar for Deepak.G

Hi everyone... Im starting c sharp scripting today and i wanted to write a script using which i can open the notepad application and write a string into it... This is my code... [CODE] using System; using System.IO; using System.Diagnostics; using System.ComponentModel; namespace Process_StandardInput_Sample { class StandardInputTest { static void …

Member Avatar for sknake
0
645
Member Avatar for bords

what is the syntax of delay (suspending for some seconds) in vc#? like in c, ur just going to do in this way: delay(100000);

Member Avatar for ykel
0
80
Member Avatar for basslover

Hi.. right now i'm doing hangman project, and i have some problem to deal with. As you know, hangman game consist of many letters button (A,B,C,D,....Z), and usually when the user click a button, it became disable. I already know how to disable it, which is [code] private void btnQ_Click(object …

Member Avatar for basslover
0
135
Member Avatar for K0ns3rv

Hey guys. I am looking for a way to send a fax message through a local machine via php, is this possible ? I have very little info about the system that requires this so i can't be much more specific. Cheers K0ns3rv

Member Avatar for K0ns3rv
0
114
Member Avatar for swillywilly

Hello I have just purchased a book on Macros made easy and what I were looking for isn't available But here is what I want to do; I want to use a Macro to name a file in the following format; yyyy-mm-dd_filename_author Basically I run a Information Management System and …

Member Avatar for cguan_77
0
73
Member Avatar for tomqsm

Well, this is 7th edition of this excellent book and someone should have already highlighted that when a filter of DocumentFilter class works 1) replace() is called most of the time on user’s interaction with e.g. text field, not just when ‘text is selected and replaced’ but also on regular …

Member Avatar for tomqsm
0
109
Member Avatar for ryno365

Hello daniweb. Recently, I did a c# project that my boss wants an installer for. Having looked at a tutorial, I threw together an installer that gets the job done. However, since the project I am working on is going to be a windows service (root is windows\system32), I'm trying …

0
60
Member Avatar for rsaska

Hello, I am using Visual Studio 2008 to program in C++. My program needs to read in a line, break it into two strings. It seems that the String Toolkit Library (StrTk) ([url]http://www.partow.net/programming/strtk/index.html[/url]) will enable this. However, I am unable to figure out how to physically add the library files …

Member Avatar for rsaska
0
166
Member Avatar for maheshks

[B]Hi[/B] can any one suggest me how to data recieve from xml & modification xml file using php .i attached one thumbnail.i want that type of program in php...Don't mis understand wrongly.. Thanks S.mahesh

Member Avatar for nileshgr
0
134
Member Avatar for jtok

I am working in VS2008. I use vb.net and asp.net. MS SQL2005 as database server. Occasionally when two sets of data are inserted at nearly the same time, I find that one has "stomped" on the other, over-writing it's data. The inserts are done via a stored proc using SCOPE_IDENTITY() …

Member Avatar for Oxiegen
0
182
Member Avatar for tgreer

For one of my customers, I have to develop applications that communicate with each other via fixed-width files. In other words, they have developed a file format that is "generic" to a lot of operations. If I write a new utility, it is expected that the utility will be able …

Member Avatar for Geekitygeek
0
276
Member Avatar for Nithya.S

Hi, Am new to VB. Can anyone tell me the code to import data from a DB table and display it in a farpoint spread control 3.0??? VB6.0 code is reqd., thanks in advance.

Member Avatar for ratheeshpranava
0
1K
Member Avatar for gbrunete

Hi everyone, My application is querying data about positions of "things" in a building. I have an image map and i overlay the icons of this things over the map. Everything ok until suddently the Invalidate() method of Picturebox stopped working. It does not raise the picturebox_Paint event. Neither Update() …

Member Avatar for gbrunete
0
121
Member Avatar for sandipdandel

i want 2 create mobile phone application in java pls help with code an all info thanks

Member Avatar for harsh2327
0
84
Member Avatar for emint

Helo every one. i m workin with jlist and i got several items in jlist i want to store this items into txt file and read it later. is it possible to do it? any help will be apprict. hop i explained wel ... thx

Member Avatar for BestJewSinceJC
0
845
Member Avatar for rutaba

hi.. How can i add a database in my website using asp.net. its a student project and i hav to create an online flight reservation system. in which i am using SQL Database? Kindly tell me by some example that how can i add record using some form ? but …

Member Avatar for Seten
0
109
Member Avatar for BobFX

I have a very basic problem, which answer is not covered in the 1200 pages of the C++ book I'm using to teach myself. Consider this simple code: [code]#include "stdafx.h" using namespace System; class EventListener { long mRef; public: EventListener() { mRef = 0; } }; int main(array<System::String ^> ^args) …

Member Avatar for BobFX
0
131
Member Avatar for veledrom

Hi, I use phpMailer to send authenticated email. The mail i sent goes into bulk or junk folders in yahoo and hotmail. They should go to inbox. How can i solve this problem? Thanks [code] $mail = new PHPMailer(); $mail->IsSMTP(); $mail->Host = "mail.myserver.com"; $mail->SMTPAuth = true; $mail->Username = "username"; $mail->Password …

Member Avatar for rajabhaskar525
0
2K
Member Avatar for sujay007

My query is . I want java code to convert RGB image (jpg) into grayscale then i want to convert pixel of grayscale image i.e. if pixel is other than black conver it into white. if it is black then only it remain black.

Member Avatar for peter_budo
0
91
Member Avatar for Shilparani

Hello all, Im using below code to change the command button icon at run time. When the form is loaded button's icon will be showing but again icon will disappear when focus is changed to other controls on the form. Icon will be shown whenever focus is on that button. …

Member Avatar for ratheeshpranava
0
2K
Member Avatar for veledrom

Hi, Why this code doesn't work? All I want to do is removing all the white spaces. JavaScript [code] function validateForm(){ var postcode1 = (document.form1.textPostcode1.value).replace(/^\s*|\s*$/g, ""); if (postcode1 == "") { alert ("ERROR"); } else { alert ("CORRECT"); } } [/code] HTML [code] <form name="form1" action="save.php" method="POST" onSubmit="return validateForm()"> POSTCODE: …

Member Avatar for veledrom
0
76
Member Avatar for Mitja Bonca

I would like to know if is possible to click on every single cell in a listView seperately, like in a datagridview? If I set a full row selection to false I am only able to select the cell in the 1st column. The point or this thread is, that …

Member Avatar for MrSpigot
0
143
Member Avatar for pangdo

1. I have few data in "MyData.txt" : 9 7 4 4 6 5 9 1 3 4 7 6 5 4 1 4 8 6 4 8 5 I only can copy the data into the code like this : [CODE] #include <iostream> #include <fstream> using namespace std; int …

Member Avatar for jonsca
0
114
Member Avatar for forumforme123

Hi All... I am posting here in hopes that someone may be able to help me with this problem. I am writing an application with ExtJS and PHP. Now, I have a form that gets input from the users and one of the input required is a folder path. Just …

Member Avatar for diafol
0
84
Member Avatar for gehring

Hi, I Have a CString (MFC) which contains the following three conditions separated as follows. Message=("Condition1|Condition2|Condition3") I am trying to extract the three conditions from the CString and use them to perform other operations. However I cant seem to find the right built-in function. Could someone please advise on what …

Member Avatar for MrSpigot
0
129
Member Avatar for JBeginer7891

Please help, my Prog is compiling fine but when run it give me [CODE]Exception in thread "main" java.lang.NullPointerException[/CODE] with the following: 1) at PatientReg.displaySQLErrors(PatientReg.java:424) [CODE] private void displaySQLErrors(SQLException e) { errorText.append("SQLException: " + e.getMessage() + "\n"); errorText.append("SQLState: " + e.getSQLState() + "\n"); errorText.append("VendorError: " + e.getErrorCode() + "\n"); } [/CODE] …

Member Avatar for JBeginer7891
0
187
Member Avatar for GReddy4u

If a mod comes across this thread feel free to delete it, I've re-posted it in the html forum since it has more to do with html, although it does deal with js as well. joshsonunionsquare dot com/index1.php I just added a 3rd button on the main section titled 'Photos' …

0
80
Member Avatar for TonyG_cyprus

[B]Hi guys[/B] I'm fairly new to php but learning fast. Here's my problem. I have the code below in a website I made for my local pub, it works fine, but is ther a way to dynamically add another row to the table when the number of records displayed is …

Member Avatar for TonyG_cyprus
0
131
Member Avatar for Zay

hello; can U plz explain this Q for me, i do not know how to solve it ? Rational fractions are of the form a / b, where a and b are integers and b ≠ 0. In this assignment, by "fractions" we mean rational fractions. Suppose a / b …

Member Avatar for NicAx64
0
174
Member Avatar for zeeven

Hi there guys... Been working all week for the database connection of VC# with SQLite. I got an error everytime i try to open the database... No matter how i tried the [B]SQLiteConnection.Open()[/B] command still returns an error... I installed the required ADO.NET and the required SQLite Database... [I] here's …

Member Avatar for zeeven
0
1K
Member Avatar for lrh9

I'm thinking about writing a small command line directory management program in Python. The most basic functionality I want is to be able to compare the the files in a directory and sub-directory, and if there are any duplicates then delete the lower most duplicate. I all ready have a …

Member Avatar for Gribouillis
0
95
Member Avatar for ayesha789

[CODE=php]<strong><p align="center">Air Conditioner Data Update</p></strong><br> <?php $host="localhost"; // Host name $username="root"; // Mysql username $password=""; // Mysql password $db_name="onm"; // Database name $tbl_name="sims_ac"; // Table name // Connect to server and select databse. mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); $a=$_REQUEST['a']; //Its getting value from previoes page echo …

Member Avatar for hemgoyal_1990
0
218
Member Avatar for ROTC89

ok so i am trying to put a menu function on the server side of a server client talk program. i would like to know if i am doing this correctly. i am also receiving a error that displays this... [code=c] serve.c: In function âstr_echoâ: serve.c:48: error: âairlineâ undeclared (first …

Member Avatar for ROTC89
0
366
Member Avatar for alvinwong

Hi, I am using Dev-C++ 4.9.9.2 with g++ compiler. I recently made a DLL in c++ that shows a window using Windows API. I discovered that the text shown inside are large and bold, which aren't looking very good. I want to change this, so I used the following code …

Member Avatar for alvinwong
0
1K
Member Avatar for ffs82defxp

lets say i want to make a function that accepts a single argument that is supposed to be a number. lets say the function displays the range between 0 and the argument. Normally I'd do something like this: [CODE] def range_display(integer): set = [] for num in range(0, integer): range_list …

Member Avatar for snippsat
0
93
Member Avatar for vivek_295

I want to create a DBMS application using c. For this purpose i need to know how to store data in different databases i.e. SQL, Oracle or MS Access. It is ok if the data can be stored in the form of files but then the security of that files …

Member Avatar for Ancient Dragon
0
125
Member Avatar for WhatTheDeuce

I'm trying to figure out how to use a bubble sort in a array of names. since the names are type string, I can't figure out how to alter the bubble sort to do this. all the examples I find online deal with numbers instead of strings. So how do …

Member Avatar for mrnutty
0
138
Member Avatar for Teethous

Hey there guys, I am having a problem with with my ReadFile constructor. First of all the class that I am placing the constructor in is in a different package. I have imported the package to the class that I am placing the constructor But I still get an error …

Member Avatar for BestJewSinceJC
0
118
Member Avatar for restrictment

Hello, I need help with this problem I came across. What I have is this: [code] char answers[5][4] = {{'1','2','3','4'},{'10','0','3','0'},{'1','0','0','0'},{'1','2','3','4'},{'1','0','0','4'}}; [/code] However, this code does [B]not[/B] accept 2 digits..only one. This irks me, and I was wondering if there was a way to add 2 digits. [COLOR="Red"]Note: I am going …

Member Avatar for jonsca
0
114
Member Avatar for tqmd1

Dear Experts I have two textboxes I want textbox1 to accept any character except 0 (zero) When user enter 0 then it must not go to next control I want textbox2 only accpet character "Y" or "N" Please help

Member Avatar for Stevoni
0
117
Member Avatar for stockton

I need to produce a program that would process/read a magnetic stripe card within a windows kiosk environment and would prefer doing this in C or C++. Could someone suggest pointers/recommendations about where one should start?

Member Avatar for Talguy
0
155
Member Avatar for kobalt

Hello All, I am desperate for help. I have spent the last 2 days staring at this code and not getting anywhere (please see attached project files). The project requires a number sequence to be output as a text file. Starting number is input by user (number is in sequence …

Member Avatar for kobalt
0
104
Member Avatar for ibrahim_commu

plz any help in this code in assembly by emulator8086 [B] the code about[/B] a classroom has 25 students their numbers and grades in the microprocessor course are stored in the memory .it is required to rearrang them in descending order according to their grades. the inputs are two tables …

Member Avatar for NotNull
0
80
Member Avatar for algo_man

Hello, I'm using an asp.net [COLOR="Red"][B]Login control [/B][/COLOR]via visual studio 2008 and it is working fine locally. I tried to upload my project files to a web server and trying to login through login control I've been created. I'm facing the following problem: ---------------------------------------------- Server Error in '/test2' Application. -------------------------------------------------------------------------------- …

Member Avatar for Ramesh S
0
128
Member Avatar for MxDev

Hi guys, I'm trying to instantiate an object on a new thread, but when I do this I found the form or the splashScreen object not showing. When I directly call the method which instantiate the object it showing. Why this happening??? here the code for better grasping. The following …

Member Avatar for sknake
0
166
Member Avatar for zachattack05

OK before I fumble around any more and end up needing to change everything again...I was wondering if someone would be kind enough to have a discussion with me about a networked solution. Right now what I have is an Access database with forms that manage the data...this is great, …

Member Avatar for zachattack05
0
401
Member Avatar for grib

Had a moment to sit down and plow through a chapter, and as usual, wound up stuck. My compiler is giving me a string of [inlinecode]undefined reference to SALES::[all my function names][/inlinecode] in my main function. It's entirely possible that there are problems within the function definitions, but right now …

Member Avatar for grib
0
270

The End.