132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for dev_kc

I have 2 tables Details,Mstr. Mstr table contains(PSNO,NAME,DOB,DOJ)=>PSNO- PK Details(PSNO,NAME,PH,SAL_ACC,ADV,DT_PREP)PSNO-FK In Grid i need to display SAL_ACC NAME ADV DT_PREP 12345 abc 150 5/25/2009 12345 abc 300 5/30/2009 12345 abc 200 6/11/2009 how do i do ths,please help

Software Development visual-basic
Member Avatar for debasisdas
0
89
Member Avatar for LindseyV

Hi there. I am writing a program in Access 2003 and I trying to update a forum with new strings. To explain better. The forum window is already up and I hit a button to process a command. Now I need the fields in the forum to update without saving …

Software Development visual-basic
Member Avatar for LindseyV
0
75
Member Avatar for get2tk

hiya all,how can i transfer an array of strings from a client machine to a server machine ?how do i convert to from arrays of string to 1's and 0's on the client side and vice versa?

Software Development client-server java
Member Avatar for verruckt24
0
184
Member Avatar for EJD

I need to display the original information from the input file (see below) as it is presented, compute and display each player's average score on his respective line. Input file: Smith 13 20 8 12 -1 Burch 21 18 16 -1 John -1 Mike 5 -1 (FYI) -1 is the …

Software Development java
Member Avatar for verruckt24
0
581
Member Avatar for Blackeagle

hey, i've just learnt how to make additional virtual console ( e.g pressing ctrl+alt+f8 ) by changing the /etc/inittab file. i was wondering if i can make another graphical one such as that on ctrl+alt+f7 ?? can i do that from /etc/inittab or its not possible to make it there?

Software Development shell-scripting
Member Avatar for Comatose
0
98
Member Avatar for madhu raju

[bold]hi iam woriking on windows application In this application iam using a datagridview .My problem is i have to add columns dynamically into the datagridview and at the same time i have to add these column names as fields int the database table and also save,modify data in that dynamically …

Software Development vb.net
Member Avatar for abhishekcs
0
629
Member Avatar for dev_kc

I have been asked to use data grid in my proj,bt i dnt knw hw to use this,please help... On click of search btn,the data should be displayed in the grid and textbox,I know how to display in the text box,but dnt knw anything abt this grid........ PLEASE HELP:S

Software Development visual-basic
Member Avatar for arvin2006
0
76
Member Avatar for blair.mayston

Hi, Have written a script that downloads rss feeds, compares the latest download with the one before using md5, and if they're different sends an email with the updated headlines. However, have noticed the email update is sent even for a change as minor as the insertion of a comma. …

Software Development python
Member Avatar for Gribouillis
0
108
Member Avatar for abhi_elementx

Hello folks, I m tying to implement a Singleton pattern; Iwant connect to MySQL databaseusing only a single Connection object(Singleton). I have implemented the application using threads. I run 2 threads. The second thread should use the Connection object created by the first thread which is not happening. My code: …

Software Development java
Member Avatar for stephen84s
0
118
Member Avatar for Eliza123

i am having a table in my database by the name of tbclass.its having 2 fields namely int_id,class_name. when i am dispalying data in my data grid view the default headers are displayed(i.e. column names of tbclass).i want to change it to CLass id and Class Description instead of int_id,class_name

Software Development vb.net
Member Avatar for Hsus
0
97
Member Avatar for lllllIllIlllI

I am using this code here: [code=c++] #include "stdafx.h" #include "windows.h" int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { MessageBox(NULL, "Goodbye, cruel world!", "Note", MB_OK); return 0; } [/code] But no matter what i do i keep getting this built error: ------ Build started: Project: Gui, Configuration: …

Software Development c++ gui
Member Avatar for lllllIllIlllI
0
279
Member Avatar for jk_bscomp

hello everyone!!! I am currently working in socket programming in java and I am creating a simple chat application... To go directly to my question, ServerSocket server = new ServerSocket(1024); Socket socket = server.accept(); String hostname = socket.getInetAddress().getHostName(); System.out.println(hostname); If I will run my Server program, the output will be …

Software Development client-server java socket-programming
Member Avatar for JamesCherrill
0
175
Member Avatar for nsvanjani

hello programmers is there any win32 api or technique by which we can fetch the address of the active window of explorer(not the internet explorer) please help

Software Development api c++ windows-api
Member Avatar for MrSpigot
0
114
Member Avatar for grebnesor88

i was given an assignment to read from a file and find out the statistics of all the letters in that file. considering it is part of an arrays lesson, i am assuming we need to use those. if someone could help me out, it would be greatly appreciated. thanks, …

Software Development java
Member Avatar for ithelp
0
107
Member Avatar for tendolm

I want to apply heat on a tube surface (3D). The heat is to be applied on a straight line on the tube. The equation of line is x= 87.5 y = 126.1620 + (-1*1004.0820) z= 166.1620 + (-1*-1004.0880) Since x is constant is given asposition holder, real x[ND_ND]; For …

Software Development c++
Member Avatar for tendolm
0
308
Member Avatar for karthik.c

hi guys im trying to write a makefile which contains :two cpp files and two header files. now i've put cppfiles in a folder called source whose path is: /root/workspace/source and header files in a folder called header whose path is: /root/workspace/makedemo/header my makefile is in the path:/root/workspace/makedemo my makefile …

Software Development c++
Member Avatar for karthik.c
0
156
Member Avatar for eviocg

The program psexec runs any command remotely on another computer. the syntax is "psexec \\RemoteComputer cmd.exe" I want to run "start "www.website.com" on computers a19-(01-29) any help would be appreciated [CODE] #include <cstdlib> #include <iostream> #include <string> #include <sstream> using namespace std; int main(int argc, char *argv[]) { int compNum; …

Software Development c++
Member Avatar for nucleon
0
135
Member Avatar for snahata

Hi, I would like to add a new column in a text file which contains values based on the value of another column. Eg: suppose the text file contains: 1 abc 67 2 def 40 3 uty 57 ....... .... Now i would like to add a new column which …

Software Development shell-scripting
Member Avatar for ghostdog74
0
399
Member Avatar for spec80

Hi, I have a couple of classes and I am trying to do the following: I have a main class that contains a boolean value called "display" that displays various messages throughout the class depending on true/false values. Main class example: [CODE]public static void main (String[] args) { boolean display; …

Software Development java
Member Avatar for spec80
0
1K
Member Avatar for azStudent

Why would I get a Segmentation Fault error? It compiles fine with g++, but gives an error when it runs. [code] void blowUp(char *board, int *boardSkin, int row, int column) { //set the board's 'skin' to 1, (meaning it will be displayed) *(boardSkin +(row * columns) + column) = 1; …

Software Development c++
Member Avatar for azStudent
0
143
Member Avatar for Avaviel

Here is the [url=http://dl.getdropbox.com/u/297962/Lab7.zip]whole project[/url], in a zip file. I'm having trouble getting the delete function to work. I can delete head just fine, but when I try to delete either something at the end, or something in the middle, it does not work out. I'm sure it has something …

Software Development c++ linked-list
Member Avatar for Avaviel
0
114
Member Avatar for thacravedawg

I am trying to make an application that sorts a database with user input and returns a form. This form then accepts some user input, and then needs to be sorted in another event. I am using ado.net, and am attempting to complete this task by cloning a dataset and …

Software Development dataset
Member Avatar for thacravedawg
0
120
Member Avatar for odonal01

HELP ME!!! /* Read from a file called “data.txt”. <ID> <Product> <Number ordered> <Manufacture Price> <Selling Price> Example Input: 1111 Dish Washer 20 250.50 550.50 2222 Micro Wave 75 150.00 400.00 3333 Cooking Range 50 450.00 850.00 4444 Circular Saw 150 45.00 125.00 */ #include <iostream> #include <fstream> #include <string> …

Software Development c++
Member Avatar for VernonDozier
0
153
Member Avatar for star4ker

I am having trouble with this program which was solved before, but I am still having an issue with the final code. Here is the assignment prompt: Write a program that asks the user to order an ice cream treat. The user selects the type of ice cream, the type …

Software Development c++
Member Avatar for seanhunt
0
4K
Member Avatar for slik33

So I made all the functions for a project where I was supposed to take input from the user through a menu and make an array and do various things with it. Two things I couldnt figure out were how to Lock and unlock the array, and then I also …

Software Development c++
Member Avatar for Narue
0
124
Member Avatar for konczuras

Hello Everybody! I've the following issue, and just cannot figure it out myself: I've a button, which's width and height can be set by numericupdowns. To prevent the button's text truncating, I've also set the minimumvalues, like this: [CODE]NumericUpDownWidth.Minimum = Convert.ToInt32(Button1.Width); NumericUpDownWidth.Value= Convert.ToInt32(Button1.Width); NumericUpDownHeight.Minimum = Convert.ToInt32(Button1.Height); NumericUpDownHeight.Value= Convert.ToInt32(Button1.Height);[/CODE] The one …

Software Development
Member Avatar for ddanbe
0
135
Member Avatar for FREEZX

I need to make a program that will extract numbers from a file sorted like bowling cones, like this: 1 2 5 2 2 7 1 6 4 8 2 9 4 7 3 and than calculate the maximum a bowler can score if the ball can go down on …

Software Development c++
Member Avatar for FREEZX
0
112
Member Avatar for winry

Hi, I've just started to learn vectors and wonder if there is a way to copy a vector that i use in main to a vector in a class??

Software Development c++
Member Avatar for winry
0
84
Member Avatar for serkan sendur

why would one choose using byte[] instead of char[] or vica versa

Software Development
Member Avatar for serkan sendur
0
4K
Member Avatar for hurricanezj

Hi, I've written two programs.One is for sending data from outside,another is for receiving the message.Both work well.But I also want to get the message value for next program.The problem is I have no idea how to get the value from the receiver. PLZ help me out!Many Thanks! This is …

Software Development client-server python
Member Avatar for hurricanezj
0
98
Member Avatar for joed13k1941

Hey. Thanks for all of the help with my other questions. This forum has been very helpful. In this program, there is a note: "chocolate" may refer to either the ice cream or the sauce; assume it refers to the ice cream if an ice cream flavor has not yet …

Software Development c++
Member Avatar for star4ker
0
446
Member Avatar for pdwivedi

i used following command to overcome edit-compile-run cycle while working with vim editor. :set makeprg=g++\ % then i ran the :make command every thing worked fine except that instead of jumping to the first error line in my file the vim editor shows that "[COLOR="Red"]type command or press enter to …

Software Development c++
Member Avatar for pdwivedi
0
117
Member Avatar for Raschoc

I have been trying to compile my program but i get these error messages that i can't understand. Please help. these are the error messages I am getting error: could not convert 'MARITALSTATUS' to 'double&' error: in passing argument 2 of 'double FEDTAX(double, double&, int, int&)' err: In function 'double …

Software Development c++
Member Avatar for Raschoc
0
122
Member Avatar for Darkwater

Hey there. I'm using a JTable for the first time, and I've read through the Sun and other tutorials, but this simple concept is still confusing me. So I seek help! Basically; I'm creating a multiplayer (AI-controlled) mining game, which will display maps loaded from XML. I've parsed the XML …

Software Development gui java java-swing xml
Member Avatar for Ezzaral
0
161
Member Avatar for papuccino1

I made a small program for a Doctor's office, but I had to manually install SQL Server on the PC and manually create the Database and Tables. How do professionals make a program dynamically create a database? Do they even [B]use[/B] databases? Thank you for the info dudes.

Software Development
Member Avatar for papuccino1
0
140
Member Avatar for swinefish

I'm busy working on a simple XML formatter. Now I've got the app doing everything I want, except that I have to give it the absolute path of the XML file I'm using. Is there any way to get te relative path of such a file if it is known …

Software Development xml
Member Avatar for swinefish
0
85
Member Avatar for ITech

hi, i want aregular expression which allows numbers and one period eg 325.50, 25.20 and allow only two didgits after the period

Software Development
Member Avatar for Rashakil Fol
0
90
Member Avatar for thando

im making a hangman project in vb6 and i need some serious help with it! my prob is with my loop which is having issues - this is my code: Dim guess As String, x As Integer, word As String word = wordBank(stage) guess = Text1.Text For x = 1 …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
282
Member Avatar for Lenny19

Hi, I have to display the details inside an array as a bar chart, the user has input the temperatures for the twelve months, here is the declaration and the user input: [CODE] int temp[12]; int menuChoice; char month[12][5]={"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"};[/CODE] …

Software Development c++
Member Avatar for Narue
0
112
Member Avatar for TheJackRabbit

hey guys, im new to the forum, but i read the rules already so i wanted to start getting help on this homework problem i have for the weekend. i have to determine output of a recursive array code as follows: [CODE]import java.io.File; import java.util.Scanner; import java.io.IOException; class RecArray{ private …

Software Development java
Member Avatar for verruckt24
0
88
Member Avatar for Hiroshe

Here's the deal. I have two arrays. One defining a character set(could be any length), and another defining a string. I want to switch every letter in the string with its placement on the character set. For example: chrset[256] = "abcdefg" string[256] = "gfdc" will turn into: chrset[256] = "abcdefg" …

Software Development c
Member Avatar for Hiroshe
0
101
Member Avatar for maru2

I am new to C++ and would like to know what style I should use to write my codes. For example, should I use: [CODE=c++] for (int i=0; i < 10; ++i) { cout << i << endl; } [/CODE] or [CODE=c++] for (int i=0; i < 10; i++) { …

Software Development c++
Member Avatar for Narue
0
119
Member Avatar for turbomen

To create a game of Heads or Tails against the computer. Write a program that asks the user for Heads or Tails, then simulates a toss of a coin and then tells the user whether they have guessed correctly. DISPLAY a title for the program Issue the statement that stops …

Software Development pascal
Member Avatar for FlamingClaw
0
676
Member Avatar for gcr007

Hi, I need a to create a java file dynamically .This file contains myown methods,variables and constructors.Any one please help me..

Software Development java
Member Avatar for masijade
0
133
Member Avatar for Tizzie

So I have to write a program which writes all even numbers between 0 and 50 INTO AN ARRAY and then display them on the screen.... My problem is how i am going to put it into an array I only did part of it but I can't continue doing …

Software Development java
Member Avatar for stultuske
0
151
Member Avatar for bilal_h86

Helloo iam building vb chat application using winsock, work on LAN but problem that face me that iam tring to connect to a computer in a network this computer in a network of three computers "192.168.2.1" and "192.168.2.2" and "192.168.2.3" local Ip's and with only one internet IP, so the …

Software Development client-server visual-basic
Member Avatar for bilal_h86
0
224
Member Avatar for SSagar

Hi, I have a file system tree. I need to select a file and highlight it without selection. I am not able to build the TreePath for this. Plz let me know how to build the treepath. Thanks in advacne, Sagar

Software Development java
Member Avatar for SSagar
0
85
Member Avatar for sparso

I am in need of a script that reads a log file, takes some data from the file and saves it in a .csv (coma separated value) format. The example log is below: log.txt: Date: 3/14/09 Device #: 1 Test: Cont: pass Test: Leakage: pass Test: INL: 0.88 Test: DNL: …

Software Development perl python
Member Avatar for Gribouillis
0
186
Member Avatar for swinefish

Hey Guys I'm kind of a newbie to C#. Now the syntax and the like don't bother me because I love java, so the actual programming is no problem. However, I'm trying to do something I can't figure out. I want to write a module in Visual C# (Visual Studio …

Software Development c# html-css visual-studio xml
Member Avatar for swinefish
0
129
Member Avatar for artemis_f

Hello, Python newbie here. I have been using various templates to play around with wxPython and see what I can do and am stuck at the following bit - I have a MyPage panel. This panel has wxTextCtrl boxes and when the button the panel has is clicked I want …

Software Development python
Member Avatar for lllllIllIlllI
0
186

The End.