132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for willywhomperz

I am trying to do several things. 1. Intialize - engage a user in a series of questions to assign values to the class variables, no args, no return value, called from constructor. 2. Display - displays all the class values, each in an sentence, no args, no return value. …

Software Development java storage
Member Avatar for Majestics
0
212
Member Avatar for ronpar123

I am using JBoss as my app server. My application using almost 100 jars (libraraies).So How can I specify class path for all the libraries jar's because its not possible to define individually in JBoss_CLASSPATH .Can I define xml for the classpath but I don't know how JBoss detect or …

Software Development java xml
Member Avatar for stultuske
0
443
Member Avatar for ipunished

Hello, Ive been working on learning opencv by example and have learned lots but have some confusions/confusion in some parts, and would appreciate if you guys could help me out.. First off I have 5 matrices, and I want to combine them into one big matrix.. for this reason I …

Software Development c++
Member Avatar for ipunished
0
253
Member Avatar for baby_c

hello, I have this question to ask from you... when passing a object to a method is it pass by reference or pass by value ? I'm talking about calling another class's method...

Software Development java
Member Avatar for JamesCherrill
0
253
Member Avatar for Teelnaw

Wondering if someone could guide me in the right direction. I think this code is right but can't figure out why my switch loop won't access my char array of grades and add it to an int array. [code] #include <stdio.h> int main (void) { char grade[32] = { 'A', …

Software Development c
Member Avatar for ari$av3s
0
280
Member Avatar for Mylo92

Good day, I'm new and glad to be here, I just need a help with the my code can anyone help me find the main error with it? The JList is giving me hell and since I migrated to a new laptop I'm failing to establish a connection with my …

Software Development java java-swing microsoft-access
Member Avatar for peter_budo
0
216
Member Avatar for bluehangook629

Hey guys, I am trying to build a function where it calls a dialog box to select an excel file to upload. Once the file is selected then read all data from worksheet 1 except for the header row and insert them into a table while omitting duplicates. In the …

Software Development vb.net
Member Avatar for debasisdas
0
171
Member Avatar for machitar

anyone can help me? Im new to Vb. ---------------------------------- Private Sub LoadTransaction() Dim lv As ListItem Me.lsttransaction.ListItems.clear With Me.adoTransaction.Recordset [COLOR="Red"].MoveFirst[/COLOR] While Not .EOF Set lv = Me.lsttransaction.ListItems.add(, , !invoicenumber, , "px") lv.SubItems(1) = !TotalAmount lv.SubItems(2) = !AmountTendered lv.SubItems(3) = !Date .MoveNext Wend End With Me.adoTransaction.Refresh end sub ---------------------------------- thanks in …

Software Development visual-basic
Member Avatar for faroukmuhammad
0
237
Member Avatar for Trypanosoma

Hi. Can someone help me with how to transfer/print your last output in a word file? I'm researching and can't find a way on C. My code in C so don't suggest solutions for C++ thank you :).

Software Development c
Member Avatar for Ancient Dragon
0
688
Member Avatar for ARaza110

Hi, Can anyone please help. I am working on Java 3D Cylinders. I cannot color the different faces of the Cylinder differently. TOP, BOTTOM, BODY. All should have different colors. I tried it with different appearances but to no avail. [code=java] Cylinder c=new Cylinder(); BranchGroup contentBranch = new BranchGroup(); Transform3D …

Software Development image java
Member Avatar for ARaza110
0
144
Member Avatar for bhagawatshinde

Hi, I am trouble to sort out the error when i am opening a website [url]www.lsoft.co[/url] in a webbrowser it shows me script error like script error ! an error has occured in the script on this page line: 86 char: 3 error: object expected code: 0 url: [url]http://lsoft.co/[/url] do …

Software Development
Member Avatar for bhagawatshinde
0
179
Member Avatar for itslucky

Hi, Dear Friends i m developing a Inventory System, and i want to show a progress bar until the data loaded from the database and displayed on the screen, so for that time a progress bar should be displayed and show the progress of retrieving of data from database, and …

Software Development c#
Member Avatar for bhagawatshinde
0
3K
Member Avatar for jaejoong

Is there a way that I can create this in vb.net for excel?? [COLOR="Red"]page 1 of 2[/COLOR] Title Name | Address . . . . Signature [COLOR="red"]page 2 of 2[/COLOR] Title Name|Address (continuation of page1) . . . Signature

Software Development vb.net
Member Avatar for bklynman01
0
158
Member Avatar for civirol02

Hi I want to know what's the problem with my code. I'm just a beginner. I'm trying to display the smallest number, but everytime I run the program, the output is always equal to zero. However if I use this code to find the largest number, wherein the boolean condition …

Software Development java java-swing
Member Avatar for civirol02
0
3K
Member Avatar for shelexelex

Please, i am writting a program and i want the program to run every 3 hours, now when i try to put 10800000ms which is equivalent to 3 hours in the interval property of the timer, i get an error message that say.. "Invalid Property Value", Is it that it …

Software Development visual-basic
Member Avatar for shelexelex
0
177
Member Avatar for anjoz

My problem is that i want to get the 1st part only of the string ive done based on my code i can get the audio/x-aiff by finding the space but want i want to do is i want to is get or print the .aif is there any way …

Software Development audio c
Member Avatar for arindam31
0
114
Member Avatar for clarence_cool03

{-='Smallest, Largest & Sum of 5 numbers using Dev-C LaNGuaGe'=-}

Software Development c
Member Avatar for arindam31
0
3K
Member Avatar for kagotsky

[B]Can anyone know what program what's the best for this problem?[/B] -->Create a program that will compute for the sum of all even numbers among the ten integers inputted and print them out. Thanks in advance!:)

Software Development c
Member Avatar for arindam31
0
106
Member Avatar for harikrishna439

int a[3]={1,2,3}; printf("%d",a[3]); While I'm executing this snippet, I'm getting the output as 2. Is 2 a garbage value here? I don't think so... Can anyone explain how 2 comes instead of a garbage value? Any answer could be appreaciated.

Software Development c
Member Avatar for arindam31
0
164
Member Avatar for phoenix911

Hi, First of all I would like to know if this is possible, I have a feeling it is. so if this is, How/What would be the best way to do this? Will I have to download 3rd party libraries? Thanx

Software Development asp.net java
Member Avatar for phoenix911
0
76
Member Avatar for munnate

Hi, i need some pointers on how to approach my assignment. Dont want you to write me the code, just please point me in the right direction. I need to create a C++ program that requires the user to enter 10 student id numbers and the grade they received in …

Software Development c c# c++
Member Avatar for moh0
0
357
Member Avatar for kedar_challa

Hi, Can anybody explain me how to create a sealed class on c++. thanks in advance, kedar

Software Development c++
Member Avatar for Karty619
0
725
Member Avatar for zp18zp18

I have a hardware controller that I purchased from a vendor that provided a SDK in VB6. The primary reason I chose their controller was the class and SDK that I could get started with immediately. In the meantime, the vendor decided that dot net VS6 was best developed and …

Software Development c++ visual-basic visual-studio
Member Avatar for zp18zp18
0
206
Member Avatar for mhaber

Hi guys. At work we have lots of certificates to sign/encrypt/decrypt different kinds of documents/data and lately there's been a few occasions where we almost forgot to renew them before they expired. I am currently working on a small monitoring tool, that will notify us of certificates expiring soon. Trouble …

Software Development c++ data-structure encryption
Member Avatar for mhaber
0
6K
Member Avatar for leo88

Hi, take a look to my coding: [CODE] Dim Dir As New DirectoryInfo("C:\Users\Leo\Desktop\Data Lau") Dim svrDir As New DirectoryInfo(" C:\Users\Leo\Desktop\Server") Dim FileList As FileInfo() = Dir.GetFiles("*.*", SearchOption.TopDirectoryOnly) Dim svrFileList As FileInfo() = Dir.GetFiles("*.*", SearchOption.TopDirectoryOnly) Dim fi As IO.FileInfo Dim svrfi As IO.FileInfo Dim isSame As Boolean = False Dim storfilelist …

Software Development vb.net
Member Avatar for leo88
0
120
Member Avatar for thecoolman5

hi, i am trying to make a calculator and i have this code [CODE]#include<iostream> #include<sstream> using namespace std; int main (char argc) { int l = 1; for(l = l; l > 0; l--) { int q = -2; string n1 = "1+5"; int n; int e; stringstream(n1[q=q+2]) >> n; …

Software Development c c# c++
Member Avatar for mike_2000_17
0
1K
Member Avatar for Arjun_Sarankulu

[CODE]insert into mst_report_dtls(report_name,url_path,login_id,pwd,domain,amd_date,amd_user_id) values ('Contractwise_statistics','http://192.168.22.11/ReportServer?/TradingReport/Contractwise_statistics','dbadmin','1nPrPgqv5UIpU4SYnGddJw==','ace',getdate(),1) [/CODE] Above statement i used to run from backend. Now i have developed a front end While running the code it gives me SQL Exception Following is my code [CODE] namespace Ace_System_test { public partial class Admin_CRMReport : Form { SqlConnection connstr = new SqlConnection(System.Configuration.ConfigurationManager.AppSettings["database"]); …

Software Development
Member Avatar for Arjun_Sarankulu
0
155
Member Avatar for Dhanesh10

hello friends, i've 2 forms 1) Home1 and 2)NewAccountForm in Home1 when a button clicked i perform NewAccountForm newAcc= new NewAccountForm (); newAcc.setVisible(true); this.setVisible(false); i.e. make invisible current(Home1) form and visible NewAccountForm , no problem here. [COLOR="Red"]BUT[/COLOR] in NewAccountForm after a button clicked when i try to make invisible current(NewAccountForm)form …

Software Development java
Member Avatar for Dhanesh10
0
6K
Member Avatar for phoenx

Any idea how I can make a applet using a thread and how i will implement it..SOS..

Software Development java
Member Avatar for phoenx
0
114
Member Avatar for Majestics

Is there any way to take oracle backup from java. [code] Connection c = // Connection Setting; st = c.createStatement(); rs = st.executeQuery("//What to write here for backup"); [/code] I have tried imp and exp utility , but they cant be accessed through sqlplus...

Software Development java oracle
Member Avatar for Majestics
0
250
Member Avatar for thedalek

I have a long stream of numbers that I need to be able to input all at once (basically copy and paste) into an array somehow. I need to do this so I can make every pair of those numbers to correspond to a letter. For example, I need to …

Software Development c++
Member Avatar for thedalek
0
201
Member Avatar for spetro3387

I am trying to change assign the pointer "c" to the pointer "a" below using the function "change()", but I am doing something incorrectly, not exactly sure. The direct assignment within the main() function works (ie a = c), but does not work using the change function. [CODE] void change(float …

Software Development c++
Member Avatar for spetro3387
0
152
Member Avatar for naffan

Hi all, Quick question, Is there a way to store a GregorianCalendar object in a hard-coded array? Such as you do an int or String ? Or do I have to send 3 ints for dd/mm/yyyy and then create a new GregorianCalendar object in the Constructor? If this is the …

Software Development java
Member Avatar for naffan
0
215
Member Avatar for MagnetoM

I was at msdn looking at some coding and saw [CODE] public delegate void EventHandler1(int i); public delegate void EventHandler2(string s); public class PropertyEventsSample { private System.Collections.Generic.Dictionary<string, System.Delegate> eventTable; public PropertyEventsSample() { eventTable = new System.Collections.Generic.Dictionary<string, System.Delegate>(); eventTable.Add("Event1", null); eventTable.Add("Event2", null); } public event EventHandler1 Event1 { add { lock …

Software Development
Member Avatar for Momerath
0
121
Member Avatar for srinim84

How can i create the project setup and include the database itself..

Software Development vb.net
Member Avatar for kipslem
0
364
Member Avatar for VIPER5646

HI ALL! Let me start by letting you know that I'm still new to VB. All I know about Programing is with the use of google, Videos, and some good help from DaniWeb. I'm doing a program which searches datagrid colums with some classes That I have wrote. I have …

Software Development vb.net
Member Avatar for VIPER5646
0
101
Member Avatar for old_kid

The objective: take an integer (e.g. 1000000), and by using recursion, ultimately return this string: 1,000,000. Can anyone figure out how this problem could be solved specifically by taking an integer and returning a string? string addCommas(int n) { // ??? } Thanks for any help or direction

Software Development c++
Member Avatar for m4ster_r0shi
0
144
Member Avatar for Nfurman

Hi guys, I am learning Objective-C and today at night I managed a simple program, an usual one from ordinary exercise. Code: [CODE] #import <Foundation/Foundation.h> int main (int argc, const char * argv[]) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; NSLog(@"Welcome to multiplication table test"); int rightAnswers; //the sum …

Software Development objective-c
Member Avatar for gusano79
0
161
Member Avatar for newack

Hello, for my assignment, I have to implement 2D Gaussian convolution using 1D Gaussian masks. I have two pgm files. I know the theory but I do not know where to start and how to deal with pixels. can anybody help me?

Software Development c++
Member Avatar for newack
0
321
Member Avatar for MareoRaft

I am building a library of matrix and vector operations. As my library has grown bigger, I have found that there are MANY by element operations which I need to program. For example, if the user wants to multiply each element in the matrix by 2, or if the user …

Software Development c++
Member Avatar for mike_2000_17
0
153
Member Avatar for adrianandreev

Hi guys, What i need is a way to [B]check the available USB ports in windows[/B] using python. The purpose: I'm trying to run on startUp a script that wait to plug in my Token, and after that the script will log me in automatically into the system that I'm …

Member Avatar for TrustyTony
0
11K
Member Avatar for asrockw7

So I got curious with OpenGL and I ended up having a copy of the "redbook", as people call it. Initially when I tried relying only on online sources like tutorials and whatnot they were all written using WinMain which was a drag so that sort of put me away …

Software Development assembly c opengl
Member Avatar for Sodabread
0
587
Member Avatar for jmurph333

In C# if you want the thread to pause you would use: [CODE]System.Threading.Thread.Sleep(300);[/CODE] However, I cannot seem to find a C++ equivalent to this? How would I do this, or is it just not possible? Any help is appreciated.

Software Development c c# c++
Member Avatar for jmurph333
0
156
Member Avatar for mehaksyeda@gmai
Member Avatar for Ancient Dragon
0
66
Member Avatar for Chimunda

Hello there, I don't know how to word this correctly, but i have a couple XML files that i need to extract certain information from. The files are already on my computer, so i won't be fetching it off the web anymore if that helps any. I mainly want to …

Software Development xml
Member Avatar for hielo
0
185
Member Avatar for jerome2467

i run a ATM project and here is my problem i got a winforms login with 2 textboxes (username & nip) i got a textfile defining different username and their nip: Korben Dallas,D001 Jerry Cann,C001 Eric Clapton,C002 so here is my code [code] private void button2_Click(object sender, EventArgs e) { …

Software Development
Member Avatar for ddanbe
0
163
Member Avatar for debasishgang7

As i dont know php i am unable to understand how this code is working? Can any body please help me to convert the following php code into python code. [CODE] function icmpChecksum($data) { if (strlen($data)%2) $data .= "\x00"; $bit = unpack('n*', $data); $sum = array_sum($bit); while ($sum >> 16) …

Software Development php python
Member Avatar for debasishgang7
0
99
Member Avatar for hadoque

In order to learn some basics about sockets I'm trying to program a simple IRC client. In order to receive server messages I have a thread that is receiving from the socket. When sending commands to the server a new thread is created, with the same socket. This doesn't seem …

Software Development client-server python
Member Avatar for hadoque
0
176
Member Avatar for Mindazz

Hello people :) I need some help. How can I get Webbrowser1 to navigate to each page and wait for the one page to completely load, then move to the next page...? Thank you for answers in advance! ;) Example. [CODE]Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) …

Software Development vb.net web-browser
Member Avatar for polas5
0
2K
Member Avatar for newtopython1111

Hi all, I have a data set that has a text header, followed by binary data. I want to search for a certain variable in the text header, store whatever name comes after the variable, and then replace it with X. Since I want to leave the binary alone, I …

Software Development python
Member Avatar for woooee
0
156

The End.