199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for djsl

I have setup a site with a login that works fine. What I need to do is have the primary user log in -Then he would invite about 20 max people to join with the same username that he setup. They would have full access to his database. What is …

Member Avatar for cwarn23
0
63
Member Avatar for diafol

I'm trying to sort an array which contains objects, but have hit a wall. I have a number of feeds that are placed into objects (WM). The feeds are placed in the order that they're loaded. I want them to be ordered w.r.t. pubDate. I'd rather not recode the whole …

Member Avatar for diafol
0
81
Member Avatar for Atove

Ok heres my problem which i'm starting to find very annoying :S I am trying to load a date stored on my sql server database into a date time picker. [code] Dim MyDate As Date = (DetailLookup("PLIExpiry", "tblConcessions", "ConcessionID", varCompanyKey)) frmConcessions.dtpPPLIExiryDate.Value = MyDate [/code] DetailLookup is a public function that …

Member Avatar for TomW
0
162
Member Avatar for somekid413

so I have a script that is taking input from a text file and using it to populate an excel spreadsheet. it keeps giving me a UnicodeDecodeError, dying on the ± symbol, I'm assuming its not in the codec that is being used: im using the xlwt package for writign …

Member Avatar for god0fgod
0
349
Member Avatar for debuitls

Hi all, Just wondering if anybody can spot the syntax error with the below. [CODE] '<button type="button" onclick="window.location='bookview.php?id='. $row['bookingref'].'&hn'. $row['hotelname'].''">Book Now</button>' [/CODE] It works fine when I just append one row to the URL like this [CODE] '<button type="button" onclick="window.location='results.php?id='. $row['proposalid'] . ''">Book Now</button>' [/CODE] The button only stops workin …

Member Avatar for smartness
0
144
Member Avatar for bernadlosini

The question given like this using the CreateProcess () in the Win32 API. In this instance, you will need to specify a separate program to be invoked from CreateProcess(). It is this separate program that will run as a child process outputting the Fibonacci sequence. Perform necessary error checking to …

Member Avatar for Sameer.coder
0
974
Member Avatar for jwdvorak

In the following method: [CODE] public boolean isMemberAlive(String userSsn) throws SQLException { boolean isMemberAlive = false; Connection c = null; Statement s = null; ResultSet rs = null; String strSQL = "SELECT Count(*) AS RecordCount " + "FROM crs.memmst " + "WHERE memmst_ssn = '" + userSsn + "' AND …

Member Avatar for javaAddict
0
1K
Member Avatar for cheapterp

Hi all, All right, here's what I am trying to achieve but have no idea how to do it: My site requires users to login and every page is password protected. As part of preventing hacking (to a small extent, though) I am trying to [B]TEMPORARILY[/B] disable the user's account …

Member Avatar for arrgh
0
565
Member Avatar for Lukezzz

I have filled a List like below wich some strings. I wonder if the List has any property where you in an easy way can remove duplicates. Else I wonder how this can be done ? [code] List<String> GetData = new List<String>(); GetData.Add("one"); GetData.Add("two"); GetData.Add("one"); GetData.Add("three"); [/code]

Member Avatar for serkan sendur
0
95
Member Avatar for serkan sendur

check this out guys : [url]http://helpnet.acresso.com/robo/projects/installshield11helplib/ihelppropreference.htm[/url] i think i am getting closer to it. one day serkan sendur will be able to set product name of a setup project at run time. it will be a small step for world but a big step for serkan sendur.

Member Avatar for serkan sendur
0
110
Member Avatar for sacredmaiden

Hi everyone, i'm new here, and also new in InfoTech education (i'm a freshman student) I don't really know what's the exact word for it, so it's pretty hard for me to search it in this forum but.... can anyone help me out? how can i use WHILE in reversing …

Member Avatar for Sameer.coder
0
119
Member Avatar for endisbegun

hi, so im new to java, fresh off the c++ shores (what a nightmare programing is :p) and i have what should be a really simple assignment 1. The electicity accounts of residents in a very small town are calculated as follows: * If 500 units or less are used …

Member Avatar for jasimp
0
282
Member Avatar for EvilLinux

How would you create a validate statement that shows a message to the user if they enter a value that is 5 years or older than the current date, I have the checking of format for the date if its entered correctly. Currently I have this to valid the format …

Member Avatar for EvilLinux
0
241
Member Avatar for dp_neo

Hi, I have the following code that should create a dropdown when the value in the another dropdown changes. So dropdown2 is created when value of dropdown1 is changed. And dropdown2 is also programatically associated with a datasource which is access in this case. The dropdown gets created, but for …

Member Avatar for serkan sendur
0
83
Member Avatar for JungWoo

hi all, i am done with my project for lexeme but i only worked on cpp, i wonder that can i make my header file based on my cpp file? thank you this is my code [CODE]#include <iostream> #include <fstream> #include <string> using namespace std; int main () { char …

Member Avatar for Dave Sinkula
0
141
Member Avatar for serkan sendur

i want to share one finding that i found today and am pretty surprised. Although class types are passed by reference, nested classes are not. Form1.cs : [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace nestedClassRequiresRefKeyword { public partial class Form1 : Form …

Member Avatar for serkan sendur
0
105
Member Avatar for kofi

hello guys.., i am developing an application for a loans and savings(financial) firm. i would want as much data as possible so i can get a good work done.

Member Avatar for bharat_h03
0
79
Member Avatar for titos97

hi i made a login page and created some user. now i like to make a sql queries with that user name. suppose username joe so he enter joe as a user name then login page sent to another page where sql qeries will be execute for that user: joe …

Member Avatar for lucyoop
0
115
Member Avatar for suutukil

Please help me with my assignment in c++! Write a program that will input 10 numbers and display the sum in a ASCENDING ORDER. please help me i really need this badly...

Member Avatar for suutukil
0
623
Member Avatar for Schoorsteen

Hi all, I had a short question, I am busy making an UML Class Diagram for my future text-based browsergame, and I was wondering if I do it right yes or no. Please give me your critic and comments. [URL="http://img87.imageshack.us/img87/667/umln.jpg"]Click here for the diagram.[/URL] Kind regards, Schoorsteen

Member Avatar for Schoorsteen
0
82
Member Avatar for lifeworks

Hi Ive been working with PHP, AS3 and some javascript for a while now, and want to move into something that allows me to develop desktop apps... I considered Java, but have become used to PHP's loose typing or whatever the technical name is, and so after some investigation Python …

Member Avatar for sravan953
0
168
Member Avatar for edward_pedro

Hey all. I'm new to this forum and Python. I need a program that can search an inputted keyword through all the files that end with the ".txt" extension inside a given folder. The output should include the name of the files which contain the keyword, the sentences which contain …

Member Avatar for vegaseat
0
150
Member Avatar for vivekarora

Hello Friends, We have a known problem in our hands: Allocate some memory, and get a pointer to that memory. Now, no one stops this pointer to perform memory overrun or underrun(i.e. writing before the allocated memory). I wish to implement 2 functions as MyMalloc() & MyFree(). When I use …

Member Avatar for vivekarora
0
209
Member Avatar for jdam7459

I am having trouble getting Windows to open the file "results1.txt" in the directory "Result Sets". When I run it I get the error: "results1.txt" is not a recognized as an internal or external command, operable program or batch file. But when I check to see if the file is …

Member Avatar for marco93
0
132
Member Avatar for chase32

I am trying to combine two multi-element dictionaries but am running into a problem. From the example below, what I expected was the dictionary x to contain all three unique combinations. What seems to have happened is that the y dictionary overwrote the x dictionary. Am I just using this …

Member Avatar for vegaseat
0
204
Member Avatar for serdengil

Hey guys, I do have a main function and need to write the class. I just need to where should I start. I am a new in C++ but the prof. asked us to write the class code of this calculator. He already gave the main function and the purpose …

Member Avatar for Lerner
0
122
Member Avatar for AbiSuren

The following program works well.But it cant identify any null values present in the csv file. For Example if csv file contains "Suren,Java,Dojo,Hibernate,,Spring,SOA" .I reads first four strings properly but for fifth string instead of reading the null value it reads the sixth string. Pl. help. import java.io.DataInputStream; import java.io.FileInputStream; …

Member Avatar for masijade
0
154
Member Avatar for eligmatic

I have this script: [url]http://snipplr.com/view/19692/g-or-y-search-hilite/[/url] but it won't search for chars like ')' . How should I adapt it? Thanks.

0
74
Member Avatar for DarthPJB

I return with another perplexing issue that I just can't figure out, a generic and unhelpful"std::bad_alloc at memory location" error. Before I get to the code, some background... Having finished my uber-awesome 2D engine (thanks entirely to you guys) I decided it was time to break open the can of …

Member Avatar for DarthPJB
0
326
Member Avatar for OneDreamCloser

hi all , i hope you can help me with the following : in types.h : [code=c] /* Structure of input buffer for each switch */ typedef struct InputBuffer *InputBufferPtr; typedef struct { struct List **fifo; /* Input fifos: one per output. */ void *traffic; /* Placeholder for traffic stats …

Member Avatar for Salem
0
135
Member Avatar for ticktock

Hey all, I am fairly new with C++ and I registered here to ask for suggestions on how I can create my project. I proposed to my professor that I will create a scientific calculator with "additional functions". By additional functions I mean like a SC with that can solve …

Member Avatar for ticktock
0
142
Member Avatar for kahaj

I'm having some trouble getting the times to show up correctly. inputTime is running fine, but neither displayStandardTime nore displayMilitaryTime is displaying. I've been playing with this for a couple of hours and can't figure it out. I'm probably missing something small, but it's driving me nuts in a big …

Member Avatar for kahaj
0
146
Member Avatar for hurbano

Im having trouble fixing this error on my program. Any help would be greatly apprecitated. [code=c++] #include <iostream> using namespace std; int main () { char choice; cout<<" Is it after 12 noon? (y/n)" <<endl; cin>>choice; if (choice == 'y') cout<<" Good afternoon, world!"<<endl; else if (choice == 'n') cout<<" …

Member Avatar for DarthPJB
0
84
Member Avatar for gk0110

Hi all , I have to sort a table where few columns are dynamically generated .I searched the net and came out with sorttable.js included in my jsp file . then called this function in <body>onload event as initTables('id_of the table"); It was working out for me.. But with some …

Member Avatar for SAMAEL
0
81
Member Avatar for Ulukay

Okee here my problem When i create a button in the designer , i got options in the properties window for putting a Image in the button and even a ImageAlign But i want to change the image at runtime I looked at the button members , but i cant …

Member Avatar for Ulukay
0
177
Member Avatar for Froger93

Hey guys, I have been working on some code and have struck a problem, I tried to make the code as easy as possible to edit at a later date. The issue comes when I include a config file from a directory for a certain page, this config file decides …

Member Avatar for SAMAEL
0
170
Member Avatar for phillipeharris

I am confused as to why I am getting this on GCC. I have all the flies in the same directory, I have have closed the compiler and reopened it and I am still get this error. I am getting oters too but I am sure that can be fixed …

Member Avatar for ilikelampard
0
159
Member Avatar for kahaj

I'm toying around with Java trying to familiarize myself with the basic GUI stuff. I can't get my program or my text field inside of it to center on the screen. For the Simple... file, I've tried using the [code]theTextArea.setLocation(15, 30);[/code] and [code]//theTextArea.setAlignmentX(CENTER_ALIGNMENT); //theTextArea.setAlignmentY(CENTER_ALIGNMENT);[/code] seperately. When I have either of …

Member Avatar for kahaj
0
158
Member Avatar for olseh

Hallo, please, I have RX and TX pins at serial cable at my computer connect. In hyper terminal I try, that is all OK, I send and recive data. In visual basic I send BYTES with code which I send down OK, but when I use dat = READBYTE Text2.Text …

Member Avatar for olseh
0
162
Member Avatar for sudharani

Hi friends, I am doing a small project.In that the user can order for some products.when the user clicks the oreder_submission Button one conformation dialogue Box should appear with the message of confirmation with two buttons "Yes" and "no". Pleae give me the code in C#.

Member Avatar for serkan sendur
0
92
Member Avatar for Gaiety

Hello, i found two codes for finding out the height of the tree (this is what creating confusion for me which one is correct) 1. int height( BinaryTree Node t) [COLOR="Red"]{[/COLOR] if t is a null tree return -1; hl = height( left subtree of t); hr = height( right …

Member Avatar for Tom Gunn
0
120
Member Avatar for sawant_nitesh

What is the best approach of writing java code in following 2...... ? What happens at jvm level in each case ? 1. [ICODE] for(int i=0;i<10;i++) { MyClass m = new MyClass(); m.doSomething(); } [/ICODE] 2. [ICODE] MyClass m; for(int i=0;i<10;i++) { m = new MyClass(); m.doSomething(); } [/ICODE]

Member Avatar for javaAddict
0
118
Member Avatar for Atove

Hi all! Okay i've been attempting to create this segment of code which is supposed to read from the database; based on search criteria entered, then load them into a form for viewing/editing. I am able to read the concessionID from the database; however i am then unable to select …

Member Avatar for Atove
0
108
Member Avatar for Barefootsanders

Hi all. I'm attempting to output all of the possible combination from "a" to "zzzz" and I'm wondering if theres an easy way of doing that. As an example output would be ... a b c .... z aa ab ac .... az ba bb ... and so on.. Is …

Member Avatar for Barefootsanders
0
239
Member Avatar for ksenthilbabu

Hey, I am using URLDownloadToFile API for downloading files from website to which i updated, but this API is retrieving the older files even after i upload a latest version of the file. I used a fake parameters along with the url but in fail. [CODE]szFileName = "C:/somename.zip" surl ="http://www.sitename.com/foldername/filename.zip?FakeParam=" …

Member Avatar for omoridi
0
305
Member Avatar for networkmancer

Can I ask how to make a password confirm box. for ex. password: textarea retype password: textarea2 just like that. The password must be the same with the first one and will prompt that it is incorrect ones clicked the registerd button. I think the thing that must be use …

Member Avatar for omoridi
0
87
Member Avatar for Shenilcar

Please give me the codes or format of conversion in visual basic 1.) inches - centimeter - kilometers 2.) Fahrenheit - Celsius - kelvin 3.) currency Pls mail me at [email]Sheena_etianne10@yahoo.com.ph[/email] tnx a lot

Member Avatar for omoridi
0
87
Member Avatar for swinefish

Hello all In my studies next year, I'm gonna be taking AI as one of my courses, and as one of the requirements we must create an intelligent agent/multi agent simulation. I was wondering if anyone has any cool ideas that I could try out. It's something that must be …

Member Avatar for Nick Evan
0
170
Member Avatar for emint

helo every one! how can i split string in vb 6??? i got some string in list box which looks like this item1 4 4.50 item2 2 4.00 item3 5 10.00 now i want to split that line into 3 different string. any help will b appreciate . thx

Member Avatar for omoridi
0
4K
Member Avatar for hali_haider_ali

The End.