199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for CharbelKahi1

Hi How to know if there is any version of Java installed on the user PC and what revision, using JavaScript thank you Charbel

Member Avatar for scriptWolf
1
295
Member Avatar for Christ1m

Create a Person class to represent a person's contact information. Your Person class must consist of the following: PRIVATE members: string firstName,lastName; birthDate //you get to choose the data type, but the type you choose must be able to maintain a // 1 day resolution PUBLIC members: 1. Default constructor …

Member Avatar for Christ1m
1
1K
Member Avatar for shaliniP
Member Avatar for amala.123

hi guys. i was going through a code where i saw an enum written as: typedef enum { #define LWIP_MEMPOOL(name,num,size,desc) MEMP_##name, #include "lwip/memp_std.h" MEMP_MAX } memp_t; # define inside enum. wat does it mean. Also i saw: #if !MEM_USE_POOLS static #endif const u16_t memp_sizes[MEMP_MAX] = { #define LWIP_MEMPOOL(name,num,size,desc) MEMP_ALIGN_SIZE(size), #include …

Member Avatar for amala.123
1
659
Member Avatar for puttam77e

Dear Friends, Can any one suggest me, im using Windows 7, i m try to install the Turbo C complier, but it is creating virtual directory, after completion of the creation of directory, it will ask for renameing the root path, How can i rename the root path... (virtual Directory …

Member Avatar for najmul islam
1
404
Member Avatar for Bardoel

Hi, Not sure if anyone can help i am trying to be able to send/receive SMS message via my Sony Ericsson K700i from a PC automatically rather than using a Specific Application. Can someone supply me with some example code to be able to achieve this. I have tried searching …

Member Avatar for nisu
1
539
Member Avatar for napkinbob

Hello. I need some advice. Here is my scenareo. I have a form displayed where a user can can select a 'function' from a list box. That 'function' has a corresponding ID number which I need to be able to take and use later in the code. The List of …

Member Avatar for the_carpenter
1
257
Member Avatar for guru511
Member Avatar for xVent

Hello , I have a label on my code and i have 3 lines on it , what i want to do is to have my first line on white color and bold , next line normal white and third line on yellow normal .. still searching for a solution. …

Member Avatar for xVent
1
164
Member Avatar for cwarn23

Does anybody know how I would use sockets to tap into the SMS protocol for sending+receiving SMS messages. Basically, all I want to be able to do is setup a php script that will be able to act as the SMS server and send+receive the SMS's directly through the SMS …

Member Avatar for chrishea
1
325
Member Avatar for masterjiraya

when I try to access my phpMyAdmin. It occurs this error message. [QUOTE]MySQL said: #1045 - Access denied for user 'root'@'localhost' (using password: NO) phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and …

Member Avatar for teedoff
1
189
Member Avatar for jhai_salvador

This is my Cogwheel Encryption Method to encrypt and decrypt strings. Wheel1 is Replace by Wheel2 when Encrypting and Wheel2 is Replace by wheel1 when you are decrypting... To Encrypt a string, just call the EncryptString function [CODE=vb] Text2.Text = EncryptString(Text1.Text) [/CODE] To Decrypt a string, just call the DecryptString …

Member Avatar for AndreRet
1
501
Member Avatar for chunguy

Hi all, How can we gain control of printer using php? I mean gain control as in, choosing the right printer from our php page and send the document directly to printer. I want to bypass the print dialog box that will appear when we print from web browser. By …

Member Avatar for eagoweb
1
10K
Member Avatar for BestJewSinceJC

Oracle Certified Professional Java Programmer was formerly known as the Sun Certified Java Programmer certification. Does anyone know if the switch to Oracle has changed anything significantly, such as the questions that will be on the test? Or is it the same cert with a new name? The reason I …

Member Avatar for prashantpatel
1
140
Member Avatar for bigcat1969

Hi there, I'm an old programmer trying to get back into it and vastly confused. I know or at least knew how to program in C and found it fairly easy, but Windows programming has me stymied. Basically I'm trying to figure out Win32 Api and have started to get …

Member Avatar for William Hemsworth
1
2K
Member Avatar for madmaze
Member Avatar for johnray31

Hello Guys, I am new to C++ , I was trying to create a map key that contain multiple attribute and i write my own compare function. But i am getting strange output with that may be my compare conditions are not right? I write code as below [CODE] #include …

Member Avatar for mitrmkar
1
129
Member Avatar for rutul

Hello, I am new with c#. I need help in splitting the operators and operand in two different arrays. For example 4+5-3-6+7 is an input string, so in this i want 4,5,3,6,7 in one array and +,- in another array . can anyone please help me out ?

Member Avatar for mono_jit23
1
1K
Member Avatar for 1o0oBhP

The RLE (Run length encoding) compression method compresses a file by writing repeated data as a byte containing the length, then a byte of the data itself. The 'real' RLE method involves writing control bytes. The first bit says whether the following data is compressed or uncompressed. The remaining bits …

Member Avatar for Thokozani
1
2K
Member Avatar for acerious

Hello DaniWeb, This is my first real assignment and am having problem with it. The program must accept a userID and pass from user. The program must also read the userID and pass from file and if it matches the one on file, the program must display success message. The …

Member Avatar for acerious
1
3K
Member Avatar for nick.crane

Hi all, I am about to upgrade my VS2005 system to VS2010. (My OS is Windows XP SP3) I would like to know if there is anything that I should do before upgrading that will make the process a little easier? Also, what problems will I have with my existing …

Member Avatar for nick.crane
1
278
Member Avatar for iamboredguy

I don't get why C++ pros see red when they see [B]void[/B] main(). Can someone explain why [B]int[/B]main() is good and [B]void[/B] main() bad?

Member Avatar for sujitkumarsingh
1
854
Member Avatar for nil_gh_80

<b>Suppose I have a customer details form, after fillup that form when I'll press <submit> it will redirect me to an another form where those details will be shown in a .doc format. I want to print this page...can any one plz HELP ME how can I do this job....plz …

Member Avatar for nikesh.yadav
1
114
Member Avatar for Jishnu

Hi all, I was reading Vijaya Mukhi's The 'C' Odyssey UNIX - The Open-Boundless C (1st ed.). This is in reference to program 43 in the first chapter when file buffering is introduced. [CODE]#include <stdio.h> int main() { FILE *fp; char buff[11]; int pid; fp=fopen("baby1","r"); pid=fork(); if(!pid) { printf("initial file …

Member Avatar for Jishnu
1
594
Member Avatar for challarao

Hi, I am using ubuntu linux system.In that I am unable to use strrev() function for reversing a string.Is there any library function in linux equivalent to strrev(). Thanks in advance.

Member Avatar for sree_ec
1
4K
Member Avatar for Doomreaper

Hello I come to you today with a question i have not been able to find answer to this anywhere on the internet. I want to be able to send an Email through a Gmail account Using C++. And i cannot be persuaded to move to a different language to …

Member Avatar for Nick Evan
1
225
Member Avatar for peter brown

I have a problem, I want to create a program in C++. A simple program displaying all even number between 1 and 100, (such as 2, 4, 6, 8 etc.) in an out put. Can you tell me what wrong. Something like this. #include <iostream.h> int main() { int num1=1; …

Member Avatar for Akill10
1
1K
Member Avatar for Peter_morley

I am trying to finish up my homework but I don't really understand the question Consider the array temps that the following statements define: typedef double WeekType[DAY_PER_WEEK]; typedef WeekType YearType[WEEKS_PER_YEAR]; YearType temps; temps[12] is a one-dimensional array of seven real numbers. Suppose that you want to compute the average of …

Member Avatar for Fbody
1
192
Member Avatar for Micko

Hi people, when starting many of us were warn not to use gets() function. We know it's unsafe and it might easily crah program. On many boards there is FAQ in which there are advices not to use gets(). I wonder why such function exist in standard library and why …

Member Avatar for Narue
1
141
Member Avatar for User4699

I'm having a problem getting my buffer(string) to print out everything that the user inputs. When I run my code the buffer only prints out the last thing that is inputted. I've tried just about everything and I really do not know what else to do. I'm new to c++ …

Member Avatar for Ancient Dragon
1
165
Member Avatar for Takeshi91k

This is my first post here on Daniweb and I intend to do things right. I actually did read the "READ THIS FIRST" thread and instead of posting 500 lines of code I whipped up a test program I aptly titled test.cpp First I will walk you through my problem. …

Member Avatar for Takeshi91k
1
139
Member Avatar for webdev2010

Hi, So far most of my web development experience has been in HTML... I am looking to create a design form similar to one found at [url]www.alliancetag.com[/url]. Basically I will just produce 2 colors of paper, 2 sizes, with 2 lines of text but I want the end user to …

Member Avatar for Airshow
1
281
Member Avatar for jamesgreaves

In the past I have been able to simply read the physical pinouts on the: Games Port (DB15) (using PEEKS and POKES) . . . . . . . . . . . . . . . Parallel Port (DB25) (also using PEEK and POKES(888)) . . . . . …

Member Avatar for setherith
1
132
Member Avatar for jsburkdc

I have a homework assignment that requires the user to input two equations from the keyboard. The user can enter any letter of the alphabet but each equation can only have a total of 26 letters. I created a class for the equations and I was able to validate the …

Member Avatar for prvnkmr449
1
450
Member Avatar for lionaneesh

[B][I][U]Introduction[/U][/I][/B] Hey guys today I am writing a tutorial on Lists and tuples in Python.... So lets get started... [B][I][U] Layout:- [/U][/I][/B] 1.What are data sturctures? 2.What are tuples? 3.What are lists? 4.inbuilt functions on lists and tupples [B][I][I][U] What are Data structure?[/U][/I][/I][/B] Anybody familiar with programming or Actually Computers. …

Member Avatar for redyugi
1
3K
Member Avatar for hell_tej

Hi Frends, I m creating an project. In this project i need to store image in oracle database. I don't know how to store image in Oracle Using VB6 i want to add image by add Dilogbox How can it is possible? Please Send me answare and Coad if needed. …

Member Avatar for tmdeeps
1
159
Member Avatar for The Shadows

Hi, I have to write an address book using structs for a class. I have 90% of the code done, but I am having trouble ordering it. It is supposed to read in 10 entries from a file and then sort them by last name. All the information also has …

Member Avatar for bonethugs
1
418
Member Avatar for daudiam

[CODE]class Faltu { public static void main(String aa[]) { int a=4,b; if (a==4) b=5; System.out.println ("b="+b); } }[/CODE] Here it says : "variable b might not have been initialized", but in the following : [CODE] class Faltu { public static void main(String aa[]) { int a=4,b; if (true) b=5; System.out.println …

Member Avatar for daudiam
1
89
Member Avatar for totalwar235

this questions may be vague, but how many functions can you open up through function calls without ending the function. and example would be... [CODE] int FunctionOne(); int FunctionTwo(); int FunctionThree(); int FunctionFour(); int FunctionFive(); int main() { FunctionOne(); return 0; } int FunctionOne() { FunctionTwo; return 0; } int …

Member Avatar for Duki
1
157
Member Avatar for Usmaan

Hi Folks, A couple of questions... If in a class I have a main which is obviously static, do I have to make every method in the same class static as well? What does static actually mean and how does it affect the program? Also.. When given a certain method …

Member Avatar for Geekitygeek
1
150
Member Avatar for Beat_Slayer

Two litle functions to help on text slice and spliting. The code comments say it all. [CODE]# Slicer takes as arguments a tuple containing the string before, # the string after and the string to truncate. It returns the string # between the two given strings Slicer = lambda((b, a, …

Member Avatar for Beat_Slayer
1
570
Member Avatar for happygeek

With the Android developer community buzzing about how easy it is to pirate apps, one outfit took it upon itself to try and track down the pirates. The results are truly shocking. [attach]16959[/attach]The provocatively named Android Police site last week claimed that [URL="http://www.itpro.co.uk/626374/android-app-flaw-allows-easy-piracy"]most Android apps can be simply patched and …

Member Avatar for dynamiclynk
1
356
Member Avatar for mike_2000_17

Hi experts! I have the following code which I use for dynamically creating objects in one module (executable or shared object (.so or .dll)) and be able to delete it from any other module while enforcing the call to the delete operator in the original module where the object was …

1
152
Member Avatar for N3wbi3C0d3r

Ok, i get Quick Basic, all version (1.1, 3.0, 4.5, 7.1) all because 1.1 doesnt work, so i keep trying then notice, there all DOS executables, and Windows XP doesnt support DOS executables. So i tried Command Prompt, hat didnt work either, technicly im screwed ;P, any ideas on how …

Member Avatar for anu79
1
3K
Member Avatar for kimbula...

I want to open a PDF document when I click on a button. I know the way to open a word document but couldn't apply the same method to open a PDF document. If anyone can help me regarding this matter it would be a great help to me. Thank …

Member Avatar for asp.net_SoS
1
129
Member Avatar for judithSampathwa

hi there, how can i assign a calender control to datagrid view cell by C# code.(like assigning values to a combobox in C# codeas below) [CODE] DataGridViewComboBoxColumn combobox = (DataGridViewComboBoxColumn)dgvActions.Rows[r].Cells[3].OwningColumn; combobox.Items.Clear(); combobox.Items.AddRange(u.LoadUSEmp()); [/CODE] thankxxx

Member Avatar for Geekitygeek
1
179
Member Avatar for chuck577

Hello, I asked this question in the c++ forums but I've since moved the small program that I was working on over to C# Forms. have a current file that I am opening. Each line of said file looks like this: D40001~10997~811~DANIWEB~555-555-5555~7.70~I~2111 There are around 5000 lines with different DXXXXX …

Member Avatar for Geekitygeek
1
376
Member Avatar for mitchems

I thought it might be useful to show the special local matching variables that perl uses. Here they are: $1..$9 Contains the subpattern from the corresponding set of parentheses in the last pattern matched like \1..\9 $& Contains the string matched by the last pattern match $` The string preceding …

Member Avatar for d5e5
1
174
Member Avatar for Simon180

hi, i was wondering if anyone new much about listviews because i been looking for a bit of code or a custim listview that supports paging abit like a website list were u can select pages 1 to 10 but with a listview so i can limit the items to …

1
101
Member Avatar for vegaseat

If you bind a Tkinter widget to an event, normally only the event information is passed to the function responding to the specific event like a mouse click. Python allows you to expand the event handler to include any number of values to be passed on. Here is a typical …

Member Avatar for bvdet
1
1K

The End.