132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sabareesh

[CODE]void String::operator+=( String &pData) { int nLen = 0; // for store length of string // check string is null or not if(pData.m_pText != NULL) { // length of string nLen = (int) strlen(pData.m_pText); } // Total string length int nTotLen = m_nLength + nLen; //object of string class String …

Software Development c++
Member Avatar for sabareesh
0
139
Member Avatar for glamourhits

Here Is My Code i am done with it and it works fine but i want to make this run in loop . like i want this program to ask Would you like to enter another Student Grade <Y/N>... Here Is the Code .. If Any 1 Can Help Plz …

Software Development java java-swing
Member Avatar for glamourhits
0
220
Member Avatar for nolife

hello every body i just join us so ..... i have a little problem with a variant , i call in first step : "variantClear(&bbvariant)" and after when i call a member of my bbvariant " _bstr_t (bbvariant.bstrVal).length() " is not equal to 0 , so i want to someone …

Software Development c++
Member Avatar for nolife
0
695
Member Avatar for lightningfire

I'm trying to learn c++ and am trying to use classes. I'm doing something wrong but can't figure this out. Here's the code: [CODE=c] #include <iostream> using namespace std; class dead { public: void dieNow() { cout<<"You just died!"<<endl; cin.get(); } }; class alive { public: void youLive() { cout<<"Whew! …

Software Development c++ gaming
Member Avatar for lightningfire
0
159
Member Avatar for cjmartin

In my application I use a class that extends a JDialog. When my application encounters certain errors this diaglog should popup with the appropriate message. The problem I have is that after the message appears, when I click the OK button, the message reappears one or sometimes two more times …

Software Development java java-swing
Member Avatar for cjmartin
0
157
Member Avatar for NH1

Im having a little bit of trouble with an update statement. if any one could take a look at it and help me with what im doing wrong that would be great. [code=c] private void button6_Click(object sender, EventArgs e) // Button6 is OK { ///////If Null///// if ((textBox1.Text.Length == 0) …

Software Development dataset sql vb.net
Member Avatar for Geekitygeek
0
107
Member Avatar for starlight849

Hello, I am having a problem. I am filling a datagridview straight from an oracle sql query. The datagridview is filling properly using this code. [code] Try cmd.CommandText = "SELECT *" & _ "FROM oracle database Dim da As New OracleDataAdapter(cmd) Dim DMdt As New DataTable da.Fill(DMdt) If DMdt.Rows.Count > …

Software Development oracle vb.net
Member Avatar for starlight849
0
110
Member Avatar for Perlhelp

Hi All, I have two files to compare. Each has 10 columns with first 4 columns being key index together. The rest of the columns have monetary values. I want to read one file into hash; check for the key value availability in file 2; then compare the values in …

Software Development perl
Member Avatar for Perlhelp
0
396
Member Avatar for diyez treze

hi can you please improve my code.. thanks hope you can all help me... here's my codes: import java.util.Scanner; public class NumberToWord { public static final String[] DIGITS = {"one", "two", "three", "four", "five", "six", "seven", "eight", "nine"}; public static final String[] TENS = {null, "twenty", "thirty", "forty", "fifty", "sixty", …

Software Development java
Member Avatar for jon.kiparsky
0
143
Member Avatar for anuradha.d

I am trying to insert mutiple checkbox list values in my sql database in single column..only one value is inserting because of insert statement.i want multiple values to be inserted.For loop is not working..Any help would be appreciated. Here is my code... for (int i = 0; i < CheckBoxList1.Items.Count …

Software Development c#
Member Avatar for Geekitygeek
0
843
Member Avatar for sanam2010

[I]Hello every body,[/I] I have a question, pls help me, thanx in advance. I am searching the response of these two questions: ?If we need to have a framework for a bank (banking business)it is better we use .net technilogy or java? (ehich one is preferable?) [I]Regards[/I]

Software Development asp.net java
Member Avatar for masijade
0
120
Member Avatar for anupama96

i have 2 pages reg.aspx and home.aspx where in home.aspx page i have reg and signin link buttons and reg.aspx has a wizard control(consists of registration form, login form and forgot password form). when i click on signin button it has to redirect to reg.aspx and in the wizard control …

Software Development vb.net
Member Avatar for anupama96
0
100
Member Avatar for drunkenmonk

I'm writing a lite version of the stty command for school, and I keep getting this error at compile: showtty.c:40: error: expected ‘;’, ‘,’ or ‘)’ before ‘&’ token My code: [CODE] #include <stdio.h> #include <stdlib.h> #include <termios.h> /** ** showtty ** displays some of current tty settings **/ main(int …

Software Development c
Member Avatar for sree_ec
0
164
Member Avatar for omg0000

i have a .jar file that i want to run one certain computers on the network. Since these comps are changed out sometimes i wanted to add the java jdk that is up to date, the jdbc connector, and my .jar. I also have a batch file that copys and …

Software Development file-system java
Member Avatar for stultuske
0
85
Member Avatar for lisles

im trying to open a document...but every time i get a dialoge box asking if i want to pen,save or cancel.i just want to open the document.can someone tell me wot im doing wrong?here's my code [code] if (objView.extension == ".pdf" || objView.extension == ".xls" || objView.extension == ".xlsx" || …

Software Development dataset pdf
Member Avatar for Ketsuekiame
0
115
Member Avatar for Kshawn

I want to call a 'C'api called BUICInit() in vendors dll from java using JNI.but the generated function name using javah is java_classname_API().so I kept my own dll and from my dll i called vendors dll.. I used loadlibrary()/getprocaddress()..it is working but is there any possiblities with out using getprocaddress …

Software Development api java windows-api
Member Avatar for Kshawn
0
241
Member Avatar for Sunshineserene

Hi, I have a problem with my codes now. I've actually extracted the column of information that I need from a text file. However, now I need to convert the output of the file to something that I specify, but I don't know how to do it. It is actually …

Software Development java
Member Avatar for JamesCherrill
0
175
Member Avatar for Kish85

[CODE] Private strConnection As String = _ "Provider=Microsoft.Jet.OLEDB.4.0; " & _ "Data Source= C:\Users\KISH\Documents\Visual Studio 2008\Projects\Final Year Project Learning program with HCI\Final Year Project Learning program with HCI\Database2.mdb;Persist Security Info=False" [/CODE] the porblem i have is if i send this porgam to anthoer computer, the program will not work. how …

Software Development vb.net visual-studio
Member Avatar for vbhelp
0
71
Member Avatar for Don_leon

when i try to add a new data source halfway through the add new data source wizzard it gives me this error ------------------------------------------------------------------------------------- un expected error has occurred error message: Could not load type Microsoft.visualStudio.DataDesign.SyncDesigner.SyncFacede.SyncManager,from Assembly Microseoft.VisualStudio.DataDesign.SyncDesigner.DslPackage Version=9.0.0.0 culture=neutral,PublicKeyToken=b03f5f7ff11d50a3a'. ------------------------------------------------------------------------------------- is there any way pass this because it will not …

Software Development assembly
Member Avatar for Geekitygeek
0
137
Member Avatar for campbell.st04

Please help me with this program. I can't figure it out. This is my previous work and I've been asked to modify it with the objectives below. Given Script: Main (Class1.cs) using System; namespace Assignment1 { class Class1 { [STAThread] static void Main(string[] args) { Dwelling x = new Dwelling(); …

Software Development c c# c++ objective-c
Member Avatar for Geekitygeek
0
148
Member Avatar for Avasulthiris

Hi everyone, I'm pretty new to Mobile Development. I'm a final year student and this is my first major project that might just get me a job for next year. So I'm very keen on getting it working! Pleeease help :) As far as I understand - I need to …

Software Development android-development java smartphone
Member Avatar for jfoo111
0
264
Member Avatar for belle carin

[COLOR="Green"]hi Im just newbie here. I want to ask help from you guys, about on how to use the listview functions in vb.net. I also just starting to study about the vb.net for my object-oriented programming. Please help me in writing the codes for a simple listview. thanks in advance..... …

Software Development listview vb.net
Member Avatar for belle carin
0
84
Member Avatar for Mylsamy

Hi all, I am using Netbeans for Java and MySql to Store my Datatbase, I get inputs from User and Encode the String input and Store the Data in my Database , My Problem is Some Strings are Stored as '??????' in my database. I am using code for Encoding …

Software Development java java-netbeans
Member Avatar for Mylsamy
0
133
Member Avatar for Agent Cosmic

Is it possible to read an audio file, like an mp3 song, and see the details of the sound like decibels, pitch and bass during different intervals of the song? Also, is it possible to do this with Silverlight (C#)? Thanks.

Software Development audio java
Member Avatar for JamesCherrill
0
114
Member Avatar for Mueni

i need help . what are the codes for importing data from access and creating a text file which you save to a certain name. and this text file gets specific information by search. And can all that be done in one button?? Thanx:confused:

Software Development java
Member Avatar for peter_budo
0
71
Member Avatar for jjhames

[CODE] Make a java program that will accept 10 int as an array[10] index=10 and find the following using these methods find the mode,median,mean method... /* here's my code.. */ import java.util.*; public class List2 { //instance variables private int items[]; private int count; static Scanner cons = new Scanner(System.in); …

Software Development java
Member Avatar for javaAddict
0
131
Member Avatar for jjhames

Make a java program that will accept 10 int as an array[10] index=10 and find the following using these methods find the mode public int mode() { } find the mean public double mean() { if even add the two median.. } find the median public double median() { } …

Software Development java
Member Avatar for masijade
0
162
Member Avatar for fourty

I created a form to calculate sign in time, sign out time, and the elapsed duration. Below is my code. CAn anyone please tell me where i dont get it. Sign in time is OK,Sign out time OK but the worked hrs is not.. Any Help??? Option Explicit Dim signin …

Software Development visual-basic
Member Avatar for fourty
0
132
Member Avatar for aaronmk2

I want to center this. [CODE]cout<<a<<" "<<"+ x = "<<b<<endl;[/CODE] a and b are both int. How would I go about this. Most of the information I found on the web is about centering strings, I tried the code but did not have any success.

Software Development c++
Member Avatar for Nick Evan
0
170
Member Avatar for lionaneesh

I am trying to solve the problem Present at [url]http://www.codechef.com/problems/INTEST/[/url] I have made a small Python script to do my job :- [CODE]array = [] no_lines = 0 no = 0 j=0 div_no=0 no_lines = input() no = input() temp = no_lines while(no_lines>0) : i=0 i = input() array[j] = …

Software Development python
Member Avatar for TrustyTony
0
809
Member Avatar for bettersaid

help! dunno how to convert this in python.. 'contains == ???' in python [CODE]if (basket contains "fruits") then try tell application "Document" to tell application "System Events" to tell application process "Document" to click button "Cancel" of sheet 1 of window "Untitled" tell application "Document" to quit saving no end …

Software Development python
Member Avatar for bettersaid
0
167
Member Avatar for bettersaid

[CODE]from Tkinter import * class ButtonHandler: def __init__(self): self.root = Tk() self.root.geometry('600x500+200+200') self.label = Label(self.root, text=str(self.mousedown)) self.can = Canvas(self.root, width='500', height='400', bg='white') self.can.bind("<Motion>",lambda x:self.handler(x,'motion')) self.can.bind("<Button-1>",lambda x:self.handler(x,'press')) self.can.bind("<ButtonRelease-1>",lambda x:self.handler(x,'release')) self.label.pack() self.can.pack() self.root.mainloop() def mouseDown(self, event ): return 1 def handler(self,event,x): if x == 'press': self.mousedown = 1 elif x == 'release': …

Software Development pc-peripheral python tkinter
Member Avatar for TrustyTony
0
192
Member Avatar for Claude2005

Hi there, I'm wondering if there's a way to differentiate a space and a tab in Perl. I have this data format: [CODE]02 Aug 10 14:22:00 12345 A Quick Brown Fox Jumps John Peter Doe 02 Aug 10 14:25:00 12345 Over The Lazy Dog John Peter Doe 13 Aug 10 …

Software Development perl
Member Avatar for Claude2005
0
94
Member Avatar for tungnk1993

I made a button in pts and now want to use it as a button in a program. Is there any way to change the image of the button to the one i made or make it function like a button ? tkq

Software Development image vb.net
Member Avatar for leahrose87
0
115
Member Avatar for amegahed3

Hi All, I'm not an expert in C, and what I need to do is the following. I have a certain large .txt file that has many lines (sometimes the lines are separated with one empty line, sometimes two, sometimes 3,...etc. Some of these lines have "= 9999999999" at their …

Software Development c
Member Avatar for amegahed3
0
77
Member Avatar for jingo1126

[code] .model small .stack .data .code start: mov ah,1 int 21h mov ah,2 mov dl,0ah int 21h push ax mov ah,1 int 21h mov ah,2 int 21h pop bx add ax,bx aaa add al,30h mov dl,al mov ah,2 int 21h end start [/code] Ok guys?this is another addition program in …

Software Development assembly
Member Avatar for Leeron2009
0
943
Member Avatar for Weichen

I have input stream problem where my Console::ReadLine() command gets "eaten" when I try to loop my program back to start. Here is the code [code=c] #include "stdafx.h" using namespace System; int factorization(); int main(array<System::String ^> ^args) { int terminate; do{ terminate = factorization(); }while(terminate == 'y' || terminate == …

Software Development c c# c++
Member Avatar for Weichen
0
431
Member Avatar for fourty

Hey Guys anyone know how to create a rotating 3d in vb6.. fourty

Software Development visual-basic
Member Avatar for vb5prgrmr
0
108
Member Avatar for skumar244

I am pretty new to the Jython world, I have a need to create the jvm custom properties but i am king on struck at array. please provide expertise suggestion.. Here is my code snippet : ### JVM CUSTOM PROPERTIES SCRIPT ### fileOpen = open("/tmp/jvmname.props", "r") fileRead = fileOpen.read() server …

Software Development python
Member Avatar for TrustyTony
0
96
Member Avatar for madhub2v

pl could help.. I m a fresher , learnig Java. I wat to know what happening in the IT industry(programing dovelopment). could you please tell me any source to learn "how they are devoloping software projects from begining to the product release. for example for a website dovelopment(Using Java) mostly …

Software Development java
Member Avatar for madhub2v
0
164
Member Avatar for PixelExchange

Hello everyone. Working with winsock, I have successfully been able to connect a client application to a server application that is running on the SAME computer. My problem is, I cannot, for the life of me, get a client application to "connect" to a server application that is running on …

Software Development c++ client-server
Member Avatar for Aranarth
0
135
Member Avatar for kadams

I need to count characters from a file. But I get an error error C2660: 'getchar' : function does not take 1 arguments. Im new to C please bare with me. Thanks for your help. #include "stdafx.h" #include "stdio.h" #include "stdlib.h" #include "string.h" int _tmain(int argc, _TCHAR* argv[]) { int …

Software Development c
Member Avatar for kadams
0
140
Member Avatar for leesysmuthu

how to run the vb exe without VB6.0

Software Development visual-basic
Member Avatar for kinwang2009
0
83
Member Avatar for dchunt

I've wanted to write a program to read the extended characters from a file. [ICODE] #include <iostream> #include <fstream> using namespace std; int main() { char a,ch[50]; long l, m, k; ifstream infile; infile.open("as6.txt"); l = infile.tellg(); infile.seekg(0, ios::end); m = infile.tellg(); k = (m - l); infile.seekg(0, ios::beg); while(infile!=0) …

Software Development c++ ios
Member Avatar for kadams
0
136
Member Avatar for ylin333

How do you access a database from a C++ or Windows API program? :-/ I would like to be able to get data from a database as strings or something. I want to use a database so that it is easily changed from MS Access or something similar. Thanks in …

Software Development api c++ windows-api
Member Avatar for ylin333
0
235
Member Avatar for CDS93

Hey all, I'm what you could call a beginner database coder, so this may seem like a simple issue to some :D I am using Visual Basic 2010 Express and a SQL Database. I have a series of TextBoxes, ComboBoxes, and CheckBoxes that I would like to save to different …

Software Development vb.net visual-basic
Member Avatar for supermoose
0
80
Member Avatar for Ryan61343

i have a couple of should be simple linked list questions one of which is how to make it insert in a sorted fashion i have a way i think should work but it doesnt i can post the code if needed. also i have to delete the last n …

Software Development c++ linked-list
Member Avatar for Ancient Dragon
0
87
Member Avatar for Greece

Hi I'm Beginner in a programming at all and I planned to start with Java I read alot about programing in jeneral and I know the outline about it .. as looping and conditionals but I don't start to write any things by myself .. I mean I don't have …

Software Development java
Member Avatar for Greece
0
97
Member Avatar for Vexx

Hello everyone, I am having some trouble with a program I'm writing and I can't figure out for the life of me what is going wrong. I'll post the code below but first I will point out the problems I'm having. (Both problems are highlighted in my source code with …

Software Development c++ visual-studio
Member Avatar for Vexx
0
111
Member Avatar for punchinello

Do any of you veterens have expirence with displaying and controling a 3d model with c++ programming code and maybe spicifically with vb6.0? Any literature on the subject you would like to recommend or any key words I could use with searching? How do I go about learning it? Thank …

Software Development c++
Member Avatar for punchinello
0
1K

The End.