132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for GlenRogers

Hi, can anyone tell me how to make the text a user types into a JTextfield appear in uppercase regardless if caps is on or not? Thanks Glen..

Software Development java
Member Avatar for GlenRogers
0
271
Member Avatar for jnawrocki
Member Avatar for jnawrocki
0
279
Member Avatar for Mike Bishop

I have the following code Dim adoCN As ADODB.Connection Dim sConnString As String Dim sSQL As String Dim lRow As Long, lCol As Long sConnString = "Provider=sqloledb;Server=MonsterSQ1;Database=AmiCatSQL;User Id=SA;Password=123456" Set adoCN = CreateObject("ADODB.Connection") adoCN.Open sConnString 'Assumes that you have Field1, Field2 and Field3 in columns A, B and C 'For this …

Software Development sql visual-basic
Member Avatar for QVeen72
0
125
Member Avatar for raviaaaa

HI Could yu please tell me how to get previous values from current iteration in the below example : public void parseDtoCollection(Collection dtos) contains list of dtos in private AssetClassVersion createNewAssetClassVersion(AssetDTO dto) method i am iterating but i want to get to get previous itearation values in current iteration if …

Software Development java programming-construct
Member Avatar for JamesCherrill
0
365
Member Avatar for Lucaci Andrew
Member Avatar for Lucaci Andrew
0
498
Member Avatar for floatingshed

I have no idea where to start with this, a few pointers and a kick in the right direction would be much appreciated. I run a radio station. All our music is in folders representing music styles. From time to time I want to print out a complete library. Printing …

Software Development gui python
Member Avatar for floatingshed
0
114
Member Avatar for miturian

So, I just did a fresh install of ubuntu 11.10, and am in the process of reinstalling gsl. For some reason, my old make file seems not to work, and am trying to figure out how to change it. Last time I had a similar problem, people in here were …

Software Development c++ ubuntu
Member Avatar for kigali
0
690
Member Avatar for Majestics

Can some one provide me an example to call dll from java? I learning some thing about JNI , also linkage with c++ but doesnt found any cool stuff on c# and java... I want a free solution. Thanx in advance.

Software Development c# java
Member Avatar for Majestics
0
229
Member Avatar for Perry31

Hi, The below is my situation, **Input String :** abc 123$ abc 123$ abc123$abcabcabc 123$ From the above string i want to store the starting index of "123$" code and the "123$" string. When i debugged and found, for first iteration(codecount=0) i'm able to store both index and string but …

Software Development c
Member Avatar for Perry31
0
98
Member Avatar for sanket044

i have binded one textbox at design time to adodc control... and haveing one number field in database... now problem is that, if their is a blank value in database adodc is showing 0 in that field.. can anyone help me, i want to show it as blank if it …

Software Development database-design visual-basic
Member Avatar for AndreRet
0
98
Member Avatar for lbgladson

I am in a capstone programming class where I have to create my own program. The instructor is not giving us any help and told us it was our responsibility to find our own help in creating this program. What I want to do is have the user click on …

Software Development visual-basic
Member Avatar for AndreRet
0
95
Member Avatar for technogeek_42

i had a problem how can i download music to my project and what is that command and who can give me a sample of a project that is like a media player or mp3 player. thnx to all

Software Development visual-basic
Member Avatar for AndreRet
0
3K
Member Avatar for dark_sider_1

I have 3 objects in Open Inventor: a lamp, a desk, and a painting. I need to -be able to place them on each other, such as a lamp on a desk, and a painting on a wall, -the objects can't penetrate the walls and floors (which I have a …

Software Development c++
Member Avatar for dark_sider_1
0
76
Member Avatar for Hakoo

Hello All, I am devolping one desktop application for myself, in that I am using dataGridview. In that, I have 2 Columns which represent time. I created one custom control which represents hh:mm format. Now my problem is I want to integrate my custom control to those 2 columns. How …

Software Development
Member Avatar for bhagawatshinde
0
137
Member Avatar for vvidyadhara

can i add two numbers without using arthemetic operators. can any one do it.

Software Development c
Member Avatar for karthi.k.s
0
379
Member Avatar for triumphost

How can I cast a class to another type? Example: class Point { Point(int X, int Y); }; Point A(10, 10); POINT P = (POINT)A; A = (Point)P; //I've tried: Point::Point(POINT P) : X(P.x), Y(P.y), Color(0) {} //Constructor. Point& Point::operator ()(POINT P) { if (X != P.x && Y != …

Software Development c++
Member Avatar for mrnutty
0
138
Member Avatar for lxXTaCoXxl

It's been a while since I've posted anything; I've been really busy. I was just sworn into the Marine Corps, and just finished making my own 5x5x5 LED cube. Now I'm wanting to get a little programatical with what I did in the real world. Basically I'm needing to find …

Software Development
Member Avatar for nmaillet
0
134
Member Avatar for london-G

Hello, I would like to retrieve the data from one of my database table. I have read many stuff about it and found out that I need to create a table model which is quite confusing to me. Basically my table consists of customer information. What is the best way …

Software Development java mysql
Member Avatar for nikolaos
0
1K
Member Avatar for tony75

Hi ! I have books.txt and it contain 20 books with author,the books.txt look like so.. Mark Lutz/learning python James payane/Beginning Python Noah gift/Python for Unix and Linux System Administration If user search for book it just print book and author if user search for author print (“you cannot search …

Software Development python unix
Member Avatar for TrustyTony
0
240
Member Avatar for daringone

Hello, My first post here. I have a problem that I'm sure is simple to solve but haven't yet managed to find a solution, hopefully one of you can help me. :-) I have a list of int arrays which I have filled with numbers. List<int[]> Numbers = new List<int[]>(); …

Software Development
Member Avatar for Michael27
0
220
Member Avatar for shasha56959

hello,i have a problem in my math project. my project is to write a program that read set of element and its relation. the input data will be from text file.(Set<space>Relation). {1,2,3} {(1,1),(2,2),(3,3),(1,2),(1,3),(2,3)} i have no problem reading text file into the program but im stuck when i want to …

Software Development java
Member Avatar for NormR1
0
158
Member Avatar for Ouss

Answer by true or false : a) There could be several function calls in a program. **True** False b) Function call can be placed wherever it is required, regardless of the function’s number of calls. **True** False c) There are no conditions on where to place a function prototype. True …

Software Development c c# c++
Member Avatar for Ouss
0
144
Member Avatar for existinglady

can someone explain me how it does not swap my nodes? void Library::sortList() { book *head = NULL; book *current = head; book *newBook; current = head; ifstream infile; infile.open("LibraryData.txt"); if (infile.is_open()) { while (!infile.eof()) { newBook = new book; infile.ignore(100,'#'); getline(infile,newBook->ISBN); infile.ignore(100,'#'); getline(infile, newBook->author); infile.ignore(100,'#'); getline(infile, newBook->title); infile.ignore(100,'#'); getline(infile, …

Software Development c++ linked-list
Member Avatar for Ancient Dragon
0
141
Member Avatar for prakash2813

hi friends... The following code is for getting tables list from specific database from MySql... =================================================================== #include <windows.h> #include <iostream> #include <mysql/mysql.h> using namespace std; int main() { //connection params char *host = "localhost"; char *user = "root"; char *pass = ""; char *db = "prakash"; //sock MYSQL *sock; sock …

Software Development c++
0
127
Member Avatar for zekstein

From where to start in making an application like Dropbox ? Exists any code snippets or some api ? If not possible in C++, C# is good ... Thanks :D.

Software Development api c++
Member Avatar for Ancient Dragon
0
119
Member Avatar for mits28

I am trying to learn JavaMail API.i am working on this.i have search much from google..i know for hosting mails, mail server is require and Apache james is a open source server.i have downloaded that.but i am not able to configure that.i dont understand how actualy javamail work with James.I …

Software Development apache api google-api java open-source
Member Avatar for godzab
0
178
Member Avatar for abrarsyed

Hi, can we write a function in c, tht can accept any type of array, may tht be int, float, char, struct or of any any kind, as an argument and perform some task of tht like sorting etc. Thank you

Software Development c
Member Avatar for KenJackson
0
132
Member Avatar for existinglady

Hello everyone, my classmate is making a library manager program and he was able to read the items on the txt file, however when we run his program a couple of times it did not read the txt file again can someone help us with this? #include <iostream> #include <string> …

Software Development c++
Member Avatar for Ancient Dragon
0
215
Member Avatar for HibaPro

hi all can someone tell how i can multiply the items of combobox to onther one using vb.net , plz

Software Development vb.net
Member Avatar for HibaPro
0
177
Member Avatar for indiang

Hi to everyone. I am new here and i try to learn python3. For this reason i try to implement a problem with the following characteristics: A class Room with atrributes(building,floor,number) and a Class occupant with attributes(familyname,givenname,room). Next the program will read a text file line by line. each line …

Software Development perl python
Member Avatar for TrustyTony
0
160
Member Avatar for Jared1337

Hello daniweb people! I'm having a few issues with this triangle program. We're supposed to make a few different triangle shapes, including the two i have in this. The first triangle works, but the second triangle displays xxxxxxxxxxxxxxx times infinity. Any ideas on what i'm doing wrong? And another question, …

Software Development c c# c++
Member Avatar for piyush3dxyz
0
351
Member Avatar for mikeoabban

i have a form that calculate student marks and grade. there is one text box on the form which am finding it difficult reset or clear the text in that textbox. i just double clicked the text box put this code behind it. it is working alright but i cant …

Software Development
Member Avatar for macgurl70
0
139
Member Avatar for triumphost

Well I like to learn as much code as I can in a day and I just came across the copy constructor. I do not understand when I need to use it. Do I need to use it for every class I make? I came across it after getting the …

Software Development c++
Member Avatar for triumphost
0
279
Member Avatar for alsz

Hi everyone I am writing a program to sort an array, but I have a problem removing the duplicates ... so can someone please point me to the right direction or show me a sample program based on my code. for example, the user gives in a row the following …

Software Development c++
Member Avatar for VernonDozier
0
332
Member Avatar for yup790

I am making a c# level editor and it is a bit out of my league but it should be good to learn oop algorithems. I have only just started and have already come across a problem. ** I need to load images as sprites and then create a button …

Software Development c# gui image
Member Avatar for yup790
0
326
Member Avatar for dyl_ham

This is a school assignment. I have to write a function in my program that opens a file stream and returns a heaped value to the main function. I believe the file opening function works but after it passes the ifstream pointer to the main function, I'm having trouble dereferencing …

Software Development c++ file-stream ios visual-studio
Member Avatar for dyl_ham
0
1K
Member Avatar for spetro3387

I am writting a driver for a GPS unit in linux. I can set on the GPS unit what data it should send out it's ethernet port. The data is arranged in structs of different sizes depending on what it is. For example one packet could be for the GPS …

Software Development c
Member Avatar for L7Sqr
0
95
Member Avatar for new_developer

Hi, I want to know how to concatenate numbers in C++. int a = 4; int b = 5; int c = a+b; I have tried this but this give me sum of int a and b. I want 4 and 5 concatenate in c variable and give me out …

Software Development c++
Member Avatar for TrustyTony
0
14K
Member Avatar for trishtren

Hey, Iv been working a lot with binary files recently and i am currently stuck trying to save a string to a file. The problem is i do not want the literal string value of "010100000000000100010011000000000001000100110" to be saved to the file I want the above binary string to be …

Software Development file-stream file-system java
Member Avatar for NormR1
0
1K
Member Avatar for choosechrist

I've been trying to use different methods to insert buttons into a treeview control. But I couldn't figure it out. Someone told me it was not worth the hassle. Im new to vb and im trying yo figure out how to prepare a collapsible listview which shows links to different …

Software Development listview vb.net
Member Avatar for lolafuertes
0
191
Member Avatar for speakon

Hello! I am starting a small text based game, I have created my set and get methods for my player class: import java.util.*; public class player extends main{ /* * Player attributes: * Name * Weight * Morale * Money */ //PLAYER ATTRIBUTES private String name; private int weight; private …

Software Development gaming java
Member Avatar for trishtren
0
291
Member Avatar for markyjj

Can someone please help me on this problem. I am trying to send the updated changes to the sql database when I remove a row. I use the delete method to delete the numbered row through a dataview and then use the upate command to update the changes to the …

Software Development c c# c++ dataset open-source sql
Member Avatar for lolafuertes
0
301
Member Avatar for sirlink99

I am making a game, and I am wondering how to make an image from a graphics object. I have tiles stored in an xml file. I then read from this file to make the level, however I would like to have a thumbnail for each level. This is why …

Software Development image java
Member Avatar for richieking
0
82
Member Avatar for cvanithakpm

main() is a static method and is part of class. Then how is it that main can access instance members?

Software Development java
Member Avatar for richieking
0
130
Member Avatar for kandarpa

Please help me: Following is my program: [CODE]main() { char str[] = "This is //20"; char c[10], *k; int num=0; sscanf(str, "%s%[^//]*//%d",c, &num); printf("%s \n %d \n", c, num); }[/CODE] My intention is to get the first string and last number. I want to ignore the remaining text. There is …

Software Development c
Member Avatar for deceptikon
0
264
Member Avatar for valestrom

I'm working on a simple updater program that gets text from a file called version.dv that will always have a number in the form of 1.00, 1.15, 2.00 I can't figure out how to get it to read the file and save the text to a string though. Here's what …

Software Development
Member Avatar for Mitja Bonca
0
211
Member Avatar for hafizurahman

i have a big problem here when i want to insert 6 data into 6 different row in 1 click. in field @ form it have name, staff no.,items, quantity and date. We can select 6 items to insert which i use ComboBox for save the data in form. In …

Software Development open-source vb.net
Member Avatar for Reverend Jim
0
828
Member Avatar for squizy

So i made a Login Form Which i type in to a 2 textbox a value and it will login to the site now here is where im stuck > Lets Say i want to know my balance of $ in a site i want to Auto Login to the …

Software Development listview vb.net
Member Avatar for CurtisUN
0
233
Member Avatar for optimus_prime_1

#include<stdio.h> #include<conio.h> struct adj_node { char nam; struct adj_node *adj_next; }; struct node { char name; struct adj_node *down; struct node *next; }; struct node * gins(struct node *); struct node * lins(struct node *); main() { int n,i,j; char c,r; struct node *g,*t; g=malloc(sizeof(struct node)); g->next=NULL; g=gins(g); g=lins(g); getch(); …

Software Development c
Member Avatar for deceptikon
0
742
Member Avatar for kentuckyjoe

I need help on a printing problem in MS Reporting Services. It has to do with page advancement. I have a code snippet below that I think should work. But, it doesn't. I think this should be a three page report with a person's name at the top of each …

Software Development vb.net
Member Avatar for CurtisUN
0
2K

The End.