199,114 Archived Topics
Remove Filter ![]() | |
Hello group, Im a new member in this site. Seems very resourceful. My first question is what is really .NET framework? Although quite programming background, I'm not very experienced with Vstudio and now this .NET (which I just purchased with aim to learn something) is a little unclear to me. … | |
HI guys..... I'm having a problem using one calendar in my whole application.... here are the details: component used for calendar : Microsoft Calendar Control 11.0 here's the situation: I have plenty of forms, and in every form that has textboxes which requires to input dates.. in one form, it … | |
Hi all, I am currently doing on this project and i am struck at this section - which is deleting multiple rows from mysql with checkbox. The code i am using is [CODE]<?php $host="localhost"; // Host name $username="root"; // Mysql username $password="root"; // Mysql password $db_name="advert"; // Database name $tbl_name="test_mysql"; … | |
Hi! I started to study Oracle a few days ago and I felt the need of Oracle Database Application. So I entered the Oracle web site and tried to download the given link for download However, then I was requested to submit my "Single Sign-on" User and Password. Moreover, I … | |
please anybody tell me the query to transfer some amount of money from one account to another account. | |
As you guys might have guessed form the threads name, I have a few questions that am going to post under one thread because i don't want to stuff the front page...thanks in advance. 1. Why are function prototypes mostly declared before the main(), but the actual function is under … | |
I've got an array BM[] with a length of 5. How would I declare my function in the heading and what am I doing wrong in my code, it keep giving me errors. Also I dont know how to apply it to my program to do the sorting. Like would … | |
Dear all, I have a question about inheritance in C++. Suppose there is a base class called "A", with a protected variable "list_" which basically stores a list of objects with type "P", and also there is a method in class A which adds objects to the list. There are … | |
why it is use full to resolve overridden method at runtime rather than compile time | |
Hello. I have been asked to write a function which Return the minimum index of the nodes with a lexigraphically larger name". But I am confused that what is lexigraphically | |
hi all.i have 2 dates in string format.i need to add these 2 dates to get the next date. is there any sql query for this?? Plz sum1 help me. urgent!! Thanx in advance... | |
Hello, I faced a problem to use a function in struct format. If I insert the data to the Contact("Ada", "ada@ust.hk", "12345678")). How can I print it out by using the Contact class member "print"? Thank you. [code=cplusplus] typedef struct DLL_node { DLL_node *prev; DLL_node *next; Contact *contact; } DLL_node; … | |
I have searched the forum , also over internet but i didn't found any understandable method to convert float number to string , Please help Me in conversion. | |
This is a code converting infix expressions to postfix expression and evaluates it. there is a problem, when i run it in ECLIPSE, it it displays this errors: Exception in thread "main" java.lang.NumberFormatException: For input string: "4+4" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:456) at java.lang.Integer.parseInt(Integer.java:497) at Postfix.toPostfix(Postfix.java:39) at Postfix.main(Postfix.java:21) Can anybody help … | |
[code] import java.io.*; import java.util.*; public class InfixToPostixEvaluate { private static final String operators = "-+/*"; private static final String operands = "0123456789"; private static int getPrecedence(char operator) { int ret = 0; if (operator == '-' || operator == '+') { ret = 1; } else if (operator == … | |
Hi, I am new to VB so go gentle with me. I am using VisualStudio 2005 VB (team edition). It's been a real pain finding examples of retrieving webpage data from a website given a URL (plenty of examples that don't work in visual studio sigh) but I have achieved … | |
[CODE]#include <iostream> //Using for input and output #include <iomanip> //To set each number a determined place in the print function /* This program will try to move a knight around a chess board to each space exactly one time. How I will do that? I will first create the board … | |
I am having an issue with a subclass. When I put in the code [code]package Ch1Pkg; public class RoundBaseContainer extends BaseContainer{ [/code] to implement the superclass of BaseContainer, I am getting an error that says cannot find symbol Symbol: constructor BaseContainer() location: class Ch1Pkg.BaseContainer I have the files in the … | |
Hi everyone, Simple query. I have a RSS.php file in my includes folder and in this I write out an XML file to a feeds folder. It has been working fine except when I changed the relative link used in the file_put_contents function to a root relative one. I want … | |
Em.. the problem is quite simple. This is the error output on when I try to build this. [CODE] error: no matching function for call to ‘Console::action_new(const char [5], const char [23], <unresolved overloaded function type>)’ [/CODE] This is the source... [CODE] /* Author: Wolter Hellmund Email: whellmundv@gmail.com --------------------------------------- This … | |
Hello, Attempting to run java app from zip file rather than jar but having some difficulty. I have placed all the classes for the app in the zip. The files not are compressed. Here's a sample of the code: [CODE] 'the following tries to run Main.class. Also, tried calling app … | |
I was just wondering if a C++ compiler is taking the source code and creating a binary file out of it with a .exe extension on it or something or does it translate it to assembly first and than assemble it from there. If it is binary I have always … | |
I am writing a slide show. The slide show itself is not bad. My problem: [INDENT]I can put the pictures in the resource area. This would require recompiling and sending the viewer each time I want to send pictures. I would like to send the pictures seperatlly and have the … | |
Hey guys I have 2 forms. One is a log in screen and another is a main menu. I need to retrieve the data from the textbox in the login screen to the textbox in the main menu. I have sourced around the internet and have implemented this code into … | |
Where should i look for this answer: Hi, If you don't know the answer if you could please point me in the right direction it would be appreciated. looking to search for more then 1 term at a time with user interaction as shown in the script below. I have … | |
[CODE]<select name=lstMAName"+s+" onchange=showMAName(escape(this.value),"+s+")><option selected>- - -Select Account- - -</option> <% for(j=0;j!=i;j++){%><option value=<%=MANAME[j]%>><%=MANAME[j]%></option><%}%></select>[/CODE] In the above code i use [B]escape[/B], bcz in listbox i have to select on name, i have to send that name to showMAName function in another .js program, here iam getting problem that for example selected text … | |
Hi all i have been having this annoying problem. I can change th value of an memory address. the problem is tha the memory address changes every time the application restarts. Now i figured i would need to use a pointer. So i found a pointer that points to this … | |
Hey all! I am having a problem copying Linked Lists. My Struct has the following fields. list->data list->number list->exit Exit is the tail, data is the head. I tried doing this.. copyList->data = list->data but it resulted in a fail of epic proportions. Can anyone give me a hand please? | |
Hello, I am newbie of C++ Below is my code, I want to implement the function "printall " to print out the " contact" data in Dlinked_list. but I faced a problem to call out the function of class "Contact" of "print". for example: list.insert(new Contact("Ada", "ada@ust.hk", "12345678")); then the … | |
As a part of an assignment I am to construct a copy constructor for a bitmap loader/manipulator class. 2 of the things that must be copied are struct headers (containing a bunch of useless bitmap information, with a tiny bit of useful stuff). Image Headerfile: [CODE=cplusplus]#pragma once #include "Drawer.h" #include … | |
I came accross a strange thing, maybe it's stupid, or I don't have the knowledge of how linking actually works... I have a project that builds in a static lib, and anoter project that builds in an exe and links to the static lib. Compiled with MSVC 2005, all works … | |
i want to assign the value of a java script variable to a php variable ???? can any one help me plz | |
I have a list of numbers, say; 1, 2, 3, 4, 5 and i want to find the next biggest number to 3, obv the answer would be 4. ive tried every book i know, and MSDN, i cant find anything, is this not possible? Thanks for you time. | |
Hello, I am trying to do this assignment in the book. My objective is to create an interactive program which will calculate areas of a square or a triangle depending on the user input 's' or 't'. I am gone about 40% of the book so they dont expect me … | |
My assignment is rather lengthy and kind of confusing to explain. I have to write a code to sort of create a book store. It needs to create a struct named book and have the user enter the book number, price, and copies sold. There must be at least 5 … | |
Hey, I am trying to read in a random number of ints from a file into an array of pointers, while also incrementing the size of the array to match the number of new ints... I have come up with this piece of code which somehow works, but doesnt store … | |
Hi all. I've written my own class Complex, that stores complex numbers. I've overloaded a whole bunch of operators so that you can work with them like with normal numbers. Then i wanted to overload 'new', but I tried it before overloading, and it "seems" to be working. I can … | |
h! friends i am not gettin output for below program.. it shows [B]segmentation fault[/B]...:-O can any one suggest me on this.... [code=c] #include<stdio.h> #include<string.h> int main() { char *str1="United"; char *str2="front"; char *str3; str3=strcat(str1,str2); printf("\n%s",str3); return 0; } [/code] thanks:) | |
I am programming in vb6 and am trying to cause ctrl-a to "select all" in a list box, but am not having much luck. Does anyone have any ideas on how this might be accomplished? Thanks, theory | |
Is anyone interested in helping an RHCE learn python. I'm reading right now, but I have some scripts I need to write that will help a University "Linux Security" class. The scripts will be used to grade case studies. Thanks, RHCE #805008527832836 | |
[COLOR=red][B]Please help me how to check whether the username,password entered in the login page is validor exists in the database User name,Password fields[/COLOR][/B] | |
This is a VERY basic program to calculate the area of a circle, triangle, or quadrilateral. The interface we run the program on is STOP, so we can only use numbers to run the program once it is compiled. This is the reason there aren't any strings or anything like … | |
Ok Well, in vb6 it's completely easy. For an example, im trying to convert this to vb.net but im kinda struggling. For Example, i don't know what the new get and put statements are in vb.net. [code] Dim aS As String Dim aF As String Open App.Path & "\s.exe" For … | |
How can i playing wav file on my application? Im using vb.net 2005. Thank you very much... | |
Hi I have a site that I am struggling to get it to do what I need it to! I have managed to add how many photos appear but I cannot add A HREF links around these thumbnails to get a larger picture to appear in browser window. Code is … | |
I am developing an application to Windows Mobile(WM 5). Using CAB am installing the application on the mobile. My problem is that I have to use a different FONT in my application. Can anyone provide me the code to install the font using c++/vc++? What i know regarding this is … | |
Hi, I m new in this field. Actually I face a problem, I call a php file from a html file using javascript. I declare a variable in php file,I want to use this variable in the same html file after execution of php file.Please help. | |
Can anyone add some codes in my program so that it could output a receipt which would display the name of the items bought with their price..:) [CODE]#include<stdio.h> int item_details (); int payment (int x); int add_item (int x); int main () { int choice,price; printf("Enter 1 to buy.\n\n"); printf("Enter … | |
window.location.href = "updateReg.php?idValue=" + idValue; in the above code, I pass just one value "idValue", can i Pass more than one value like this? | |
Hi, Below is my test code, i have a list of names in a file, i read the names and i have to insert them as menu options in the menubar. Since its a dynamic menu and people can add new menu's it has to be read from a file … |
The End.