132,726 Archived Topics
Remove Filter ![]() | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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 … ![]() | |
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++ | |
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++ ![]() | |
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++ ![]() | |
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] … | |
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 | |
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 | |
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 | |
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# | |
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 | |
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++ | |
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++ | |
'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++ | |
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++ | |
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 | |
![]() | 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 ![]() |
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, … | |
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 … Software Development open-source vb.net visual-basic windows-server | |
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++ | |
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 | |
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++ | |
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 … | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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++ | |
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++ | |
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 | |
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++ | |
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 | |
hello, i've intalled framework2.0,but i still can't use ArrayList in the .NET 2003. Why? thank you Software Development |
The End.