132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for kdee

I have a problem... stuck a bit... I'm trying to get this confirmation link into the letter I'll send to my friends. I got the following code on the net but it just doesn't work. I have [B]Createuserwizard[/B] on my [B]create acount page[/B]. This code is placed into [B]CreateAccount.aspx.vb[/B] I …

Software Development vb.net
Member Avatar for kdee
0
142
Member Avatar for Naik Dhiren

i used bindingnavigator as usercontrol. Adds two button for Add,Delete. when i put this control on form, i cannot write into click event of bindingnavigator's buttons but i can write code into controls buttons pls help me for the same

Software Development
Member Avatar for Ramy Mahrous
0
92
Member Avatar for Superstar288

hello everyone, im trying to make a theatre program and im at a dead end so im hoping for some help please. if someone can help see my problem clearer or post some sample code it will be much apperciated. the problem is i need to create a Seat class …

Software Development java oop
Member Avatar for Ezzaral
0
148
Member Avatar for jbennet

Im storing prices in pennies e.g 399 but i want it to be displayed e.g £3.99p how to do ? i used integers?

Software Development java
Member Avatar for BestJewSinceJC
0
99
Member Avatar for mashimaro

Hey, I'd like to write an application (in java, ofc) that would be able to connect to an LDAP server, with authentication, using sessions. Are there any libraries I could use to do so out there? Open source ones would be best, and the rule KISS is a priority ^.-

Software Development java open-source
Member Avatar for mashimaro
0
138
Member Avatar for sweet cLassy

hello guys, i'm new to VB, n i have been given a project (data extraction ) for my final year project, n i'm quite confuse. Can anyone, tell me how to extract data from one source? for eg: from .txt file. Thank u so much for your time.

Software Development vb.net
Member Avatar for sweet cLassy
0
84
Member Avatar for jdbarry

I am need a little guidance here as to how I am to go about using a static method to read data from a text file. I know how to use a static method to write data to a text file, now I am wondering how to use a static …

Software Development file-system java
Member Avatar for BestJewSinceJC
0
176
Member Avatar for yair7190

Although it sounds pretty simple, i haven't found a proper answer for this issue. I want to know how can i call a perl script and pass a variable to it. For example, lets say "Parse.pl" is a parsing script of some sort and i want to call it from …

Software Development perl
Member Avatar for bryansmith123
0
322
Member Avatar for BestJewSinceJC

Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); Java Sun's site is down right now so I can't check but I'm guessing this is an old method since according to Eclipse, the method doesn't exist anymore. So my question is, are there any other ways to do the same thing?

Software Development java
Member Avatar for BestJewSinceJC
0
112
Member Avatar for madelein

I need urgent help please!!!! This is my problem: I want to connect to a Access database with VB.Net. Here is my imports: [code] Imports System.IO Imports System Imports System.Data Imports System.Data.OleDb Imports System.Collections Imports System.ComponentModel [/code] Here is my connection string: [code] Public pDB As New OleDbConnection("Jet OLEDB:Global Partial …

Software Development microsoft microsoft-access vb.net
Member Avatar for Abhay Joshi
0
585
Member Avatar for rapture

Nobody is going to interact with you by way of email - first of all it doesn't help anyone else who has a similar problem and searches the site, and secondly we're not going to get 'tied' to helping you in that way or bothered with 100,000,000 questions in our …

Software Development vb.net
Member Avatar for rapture
0
99
Member Avatar for asif786

I have a listbox in my program and a command button. When the user selects an item form the listbox and clicks the command button, a message box is shown which asks the user to confirm selection and has yes and no options to enable this. If the user clicks …

Software Development vb.net
Member Avatar for bcasp
0
944
Member Avatar for cproud21

Why is this array not printing in 2D? [ICODE]#include <iostream> #include <iomanip> using namespace std; const int COLS = 5; const int ROWS = 5; void showArray(int [][COLS], int); void arrayDef(int [][COLS], int); void totalCol(int [][COLS], int); void totalRow(int [][COLS], int); void totalDiag(int [][COLS], int); void inputAmt(int [][COLS], int, int, …

Software Development c++
Member Avatar for Clockowl
0
94
Member Avatar for milhouse79

Okay... public void reverse() { Object temp = new Object[INITIAL_CAPACITY]; for(int i = 0; i < size; ++i) { for(int j = size; j > 0; --j) { temp = data[i]; data[i] = data[j]; data[j] = temp; } } } this code does not reverse anything...I'm losing my mind here. …

Software Development java
Member Avatar for stultuske
0
82
Member Avatar for lakhan.p

Hi, I m trying to open a file in read mode , my program is below ... #!/usr/bin/python print "------" file = open("C:\Lakhan\Pytonpro\file.txt", "r") print file file.close() but it shows following error ------ Traceback (innermost last): File "C:\Program Files\Python\Pythonwin\pywin\framework\scriptutils.py", line 165, in RunScript exec f in __main__.__dict__ File "C:\Documents and …

Software Development file-system python
Member Avatar for lakhan.p
0
202
Member Avatar for mccraig

Hey all, I'm curious to know if there's a tkFileDialog that allows a person to browse for a folder, and in the pop-up "Browse for Folder" window, also have the option to "Make a new folder". I need to have this functionality, but when I use askdirectory() there is only …

Software Development python tkinter
Member Avatar for leegeorg07
0
1K
Member Avatar for dcawley

I'm new and I don't want to waste anyone's time, but I searched and found nothing on this. I am to write a simple CRC-16 routine. My compiler (microsoft) will not accept a char[] as an operand when I try to execute the xor. char msg[5] = {'A','B','C'}; int generator …

Software Development c++
Member Avatar for Nick Evan
0
190
Member Avatar for scias23

i need to create a palindrome program. in our computer lab, this program works but here at home, it doesn't. help.. [CODE=c++] #include<iostream.h> #include<conio.h> #include<string.h> #include<stdio.h> int main() { clrscr(); char word[20],rev[20],chr; cout<<"This porgram checks if the word is a PALINDROME word.\n"; do { cout<<"\nEnter word: "; cin>>word; for(int i=0,j=strlen(word)-1;i<=j,j>=0;i++,j--) …

Software Development c++
Member Avatar for jencas
0
285
Member Avatar for viki0077

I've never programed in C++, and I have just started to learn C++, but I already get a little bit to complicated homeassignement. Is there anyone willing to help me - let's say solve me this excercise. I would appreciate any help with this and if there is anyone willing …

Software Development c++
Member Avatar for jencas
0
110
Member Avatar for Icebone1000

Hi, im reding a book where the way it draw poligons are like that: [CODE] glBegin (GL_TRIANGLES); glVertex3f (0.0f, 0.0f, 0.0f); glVertex3f (0.0f, 1.0f, 0.0f); glVertex3f (1.0f, 1.0f, 0.0f); glEnd(); glBegin (GL_QUADS); glVertex3f (0.05f, -0.05f, 0.0f); glVertex3f (0.95f, -0.05f, 0.0f); glVertex3f (0.95f, -0.95f, 0.0f); glVertex3f (0.05f, -0.95f, 0.0f); glEnd(); [/CODE] …

Software Development c++ opengl
Member Avatar for Nick Evan
0
131
Member Avatar for papuccino1

Hello. I'd like someone to help me figure this out. I have a small database: Country, State, City. Three tables. [B]I have to check that none of the names repeat themselves. Meaning, no two USA's, no two Brazil's, etc. [/B] My professor also gave us the following requirement: [B]You can't …

Software Development sql
Member Avatar for sknake
0
182
Member Avatar for Alexpap

i have a program that has to connect to a remote db ( SQL or Access). i have found a way to connect to the sql db but i dont know how to do the exact same thing with the Access db.... Anyone can help?

Software Development vb.net
Member Avatar for martonx
0
98
Member Avatar for sonia sardana

I have serached on the internet,I found the links but none of them provide me the solutions. One of the sites from that I refer- [url]http://sappidireddy.wordpress.com/2008/03/...in-aspnet-ajax/[/url] [COLOR="Green"] Code-Behind Page[/COLOR] [code] public partial class _Default : System.Web.UI.Page { [System.Web.Services.WebMethod] public static int AddTwoNumbers(Int32 a) { int addtion = a + a; …

Software Development c# web-server wordpress
Member Avatar for DangerDev
0
140
Member Avatar for sid.coco

Hello everyone, this is my first post here and I am hopeful that people here will help me out of the problem am facing. Coming to the problem, I am developing a software which is used to keep various information of a student at one place, this data is fed …

Software Development c#
Member Avatar for sid.coco
0
123
Member Avatar for dbwalters

Hello, I was hoping that someone might be able to help me with this program: [code] import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.text.*; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; import java.io.FileNotFoundException; public class CustomerInfo extends JFrame implements ActionListener { //construct components JTextPane textPane = new JTextPane(); //initialize data in …

Software Development file-system java java-swing
Member Avatar for hrdzdier
0
828
Member Avatar for LCR

I'm working on this program for my C++ class. It works fine but I'm not quite happy with it. Basicly this accepts a string, pulls each character out and converts it to the COA equivalent. It reads the entire string including spaces, but I can't seem to get it to …

Software Development c++
Member Avatar for LCR
0
78
Member Avatar for blerina12

Hi guys. I was wondering if you could help me with this problem. I am trying to pass a dynamic array to a function for finding the length [code] int length(char ** t, int i) { int count = -1; do count++; while (t[i][count] != '\0'); return count; }[/code] The …

Software Development c++
Member Avatar for blerina12
0
325
Member Avatar for Clockowl

'lo there folks, MinGW's giving me 1 error I can't get rid of: [code] eventhandler.h|9|error: `element' has not been declared| eventhandler.h|9|error: ISO C++ forbids declaration of `elem' with no type| [/code] All code mentioned and I think needed: eventhandler.h [code=cpp] #ifndef EVENTHANDLERH #define EVENTHANDLERH #include "element.h" enum events {onClick, onHover}; …

Software Development c++
Member Avatar for Clockowl
0
101
Member Avatar for winrawr

so say I have something like this: [code=cpp] #include<iostream> class A{ public: void setErrorMessage(char*); } void A::setErrorMessage(char* errMessage){ // code here to set B::errMsg } class B{ public: A someObject[3]; char* errMsg; } int main(int argc,char** argv){ B something; B another; something.someObject[2].setErrorMessage("BIG ERRAR!"); another.someObject[0].setErrorMessage("everything's okay!"); cout<< something.errMsg<< endl; cout<< another.errMsg<< …

Software Development c++
Member Avatar for winrawr
0
167
Member Avatar for waldchr

Hi I have been working on a project that requires me to be able to search a file for all occurrences of a string and store the entire line that contains a single occurrence of that string a an array of characters. For example: Search: web File: Time James [U]Web[/U]ster …

Software Development c++ file-system
Member Avatar for waldchr
0
99
Member Avatar for OzY360

Hello. I have been assigned a programming task which is to be completed using assembly language for motorolla 68k (os9). I will attach the assignment brief to the email and a copy of the source code in a txt file. I have to adapt the code so that it does …

Software Development assembly
Member Avatar for OzY360
0
193
Member Avatar for ppp83

Im new to this forum and the programming language that im currently using is java. And i think i might need some help, advice here, and hope this is the correct place for me to post my question. If certain question i ask are not supposed to be posted here, …

Software Development java xml
Member Avatar for danielernesto
0
139
Member Avatar for SGiorgos

Hi, I am currently developing an application using vb.net 2005 and windows mobile 6 sdk,and sql server ce for my database. I try to connect to the database i created using the following code: I get an identifier expected error pointing the dot[.] .The code is this [INLINECODE] ("Data Source …

Member Avatar for clj1973
0
626
Member Avatar for daviddoria

If I do this, I get "warning: address of local variable returned". [code] unsigned char* CharArray(void) const { unsigned char arr[3]; arr[0] = R_; arr[1] = G_; arr[2] = B_; return arr; } [/code] So the reason for that is that the memory allocated for arr[] is only available within …

Software Development c++
Member Avatar for ArkM
0
86
Member Avatar for Pender

hi all, i have a problem with a sqlplus (v8) statement that queries several tables and writes the output into a csv file. that works so far, but one of the tables is a encrypted user password. the problem is that the encrypted characters can also include control characters like …

Software Development shell-scripting
Member Avatar for Pender
0
88
Member Avatar for hurbano

i need help using the following .h file to Write a definition of a member function void complementSet(); which for a set A, the complement of A is the difference of U-A, where U is the universe set. Would the universe set be the monthsSet istself?? Thank you all very …

Software Development c++
Member Avatar for hurbano
0
2K
Member Avatar for rickster11

Each time the program goes through a loop, nameField gets bigger and bigger. Strcat keeps adding new names to the field. How can I clear the field after each output? I thought it was something like nameField = {' '};...but that doesn't work. There has to be a simply way …

Software Development c++ ios
Member Avatar for rickster11
0
144
Member Avatar for Trekker182

Hello all, I'm trying to validate against someone entering letters into an input box. Here is the code I have so far that doesn't seem to do work after I add the second part to verify if what they entered is numeric. I don't even the get input box anymore. …

Software Development vb.net
Member Avatar for Trekker182
0
2K
Member Avatar for monocog

I'll start any posts I make the same way, just so people know that I'm NOT trying to get homework done... Before I begin, let me start by saying that this is NOT homework. I am also not enrolled in a C++ class. I am simply trying to learn C++ …

Software Development c++
Member Avatar for nucleon
0
167
Member Avatar for britto

im creating an IDE for jswing what i need is the user must drag and drop swing controls ex: (TextField, JList ...) into a tab in tabbed pane dynamically hw to do this....

Software Development ide java java-swing
Member Avatar for Ezzaral
0
61
Member Avatar for shasha821110

Hi, all Like i asked before, This thread is about Memory Leak. I am a beginner in c++ and want to become a senior programmer. When i was coding, i found the memory leak is happening everywhere and maybe some senior programmer also have this problem. So i want to …

Software Development c++
Member Avatar for William Hemsworth
0
111
Member Avatar for Acidburn

Hey guys, I've got a GUI thread, which creates a new thread to compute some data. Depending on how big that data is more threads get spawned from the new thread. My problem is this GUI - Thread A - Thread A creates a new Object called objectB. Object B …

Software Development gui multithreading
Member Avatar for LizR
0
78
Member Avatar for marconi0708

Hi, The clock synchronization program below needs to be amended to add another clocksync.ini option to allow the progam to run just once and then terminate. Request you to please give your inputs for this. Thanks, Marconi. -------------------------------------------------------------------------------------- [code]#define WIN32_LEAN_AND_MEAN #define _WIN32_WINNT 0x0400 #include <windows.h> #include <winsock2.h> #include <stdio.h> #include …

Software Development c windows-server
Member Avatar for Salem
0
108
Member Avatar for abhi_elementx

hello folks. I m trying to call an exe from java code. [ICODE] public void MyClass{ public void run(){ Runtime rt = new Runtime ().getruntime(); Process p = rt.exec("c:\mylexicalanalyser.exe < SampleInput.txt "); // } . . p s v m(){ new MyClass(); } } [/ICODE] mylexicalanalyser.exe was created by flex …

Software Development java
Member Avatar for abhi_elementx
0
146
Member Avatar for cymerman

I am doing an assignment that has to use a class dayType. The program has to set the day, print the day and return the next day. I am receiving the error: --------------------Configuration: Program9 - Win32 Debug-------------------- Compiling... Program9.cpp C:\Documents and Settings\Faculdade\ISM3232\Assig9\Program9\Program9.cpp(45) : error C2447: missing function header (old-style formal …

Software Development c++
Member Avatar for miami99
0
541
Member Avatar for shasha821110

Hi, all i am reading some memory leaking problem articles now. Here is one question i can't understand: [code=c++] char *a= new char[10]; char *b= new char[10]; b=a;//pointer assignment delete []b; [/code] In this article, it mentioned that the pointer assignment have side-effect and we couldn't delete pointer b from …

Software Development c++
Member Avatar for verruckt24
0
146
Member Avatar for vikas_java

hi, I get above exception for the following code. [CODE]public void actionPerformed(ActionEvent e) { try { JComboBox Oone =(JComboBox)e.getSource(); String item = (String) Oone.getSelectedItem(); //lbl.setText(item); System.out.println("selected item is:"+item); String command = e.getActionCommand(); if(command.equals("Cancel")) { System.exit(0); } if(command.equals("Next")) { // frame.remove(tab); check chk = new check(item); //frame.setContentPane(tst1); frame.setLocation(250,150); frame.setSize(500,200); frame.setVisible(true); } …

Software Development java
Member Avatar for stephen84s
0
126
Member Avatar for c_shaft05

I'm having frustrations with C++... when I try and compile my code (as simplistic as it is), I keep getting a 'Shape' not declared error, but I'm fairly certain that I've written it correctly. shape.h [CODE]#ifdef shape_h #define shape_h using namespace std; class Shape { public: Shape(); virtual ~Shape() = …

Software Development c++
Member Avatar for c_shaft05
0
150
Member Avatar for pete08

I have started with simple c# mail application, to send message from one computer to the other, which are connected by LAN. My question is: how to define addresses, or mailmessage.from and mailmessage.to. I have tried with their addresses, but nothing... Pete

Software Development c c# c++
Member Avatar for pete08
0
158
Member Avatar for cljlxwater

hello, i've intalled framework2.0,but i still can't use ArrayList in the .NET 2003. Why? thank you

Software Development
Member Avatar for Rashakil Fol
0
85

The End.