132,729 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for murali2489

Dear All, I am trying to understand RMI Concept and have tried the sample steps and programs written in Oracle website [http://docs.oracle.com/javase/tutorial/rmi/compiling.html](null) In this URL they have mentioned to run the command as below javac -cp c:\home\jones\public_html\classes\compute.jar client\ComputePi.java client\Pi.java mkdir c:\home\jones\public_html\classes\client cp client\Pi.class c:\home\jones\public_html\classes\client I have tried the exact command …

Software Development java oracle
Member Avatar for murali2489
0
280
Member Avatar for pitic

Hey, Who can give me a hint on this case? Let's say I have an object "MyObject" with the following properties (this is a breakdown for easier explination) public clas MyObject { public string Column { get; set; } public string Value { get; set; } public int Row { …

Software Development
Member Avatar for pitic
0
125
Member Avatar for vn412

Hi, I have a table with curdt field with datatype datetime in ms-access. the entries in curdt as follows:1/28/2011, 2/9/2011 etc. I have a form with two datepickers with custom format of dd/mm/yyyy. my query is like [CODE] select * from table where curdt between #dtfr# and #dtto# [/CODE] where …

Software Development vb.net
Member Avatar for Krishan_2
0
615
Member Avatar for Xeromus

I am having an issue with the following code: public void appendToLogFile(string logFile, string logText) { FileStream fs = null; try { fs = new FileStream(@logFile, FileMode.Append, FileAccess.Write); { using (TextWriter logWriter = new StreamWriter(fs)) { fs = null; logWriter.WriteLine(logText); } } } finally { if (fs != null) fs.Dispose(); …

Software Development data-protection
Member Avatar for Ketsuekiame
0
559
Member Avatar for Benjamin_4

i want to convert the value of my date into an integer value, i am using a jDateChooser in netbeans(swings) currently in my code below the value for inputDate is fixed or assingned but i want it to be based on the date a user picks using the jDateChooser. public …

Software Development java
Member Avatar for stultuske
0
24K
Member Avatar for ManthanB

I want to maximize and minimize windows form on Timer Tick evebt. I placed the code this.WindowState = FormWindowState.Minimized; into the timer tick event. but actually its not working. Suggest me some code snippet for the same. Regards, Manthan

Software Development
Member Avatar for Ketsuekiame
0
589
Member Avatar for raidenx44

we have problem regarding to the list view portion as you can see on the figure. On the left list view, we have a list of authors which data bounded through the database. we want it to transfer several of the information on the right list view then get its …

Software Development mysql vb.net
Member Avatar for ryanjayson
0
164
Member Avatar for fiziekelate

how to blocking the userr access to the login page after already voted using vb.net

Software Development vb.net
Member Avatar for ryanjayson
0
261
Member Avatar for Labdabeta

Hello, I am working on an event driven library and am having one minor problem. Basically I have two ways to get what I want done. Method 1: Smart pointers and factory functions #include <iostream> #include <vector> #include <memory> using namespace std; class Object { public: virtual int getInt(){return 0;} …

Software Development c++ oop os-x
Member Avatar for Labdabeta
0
257
Member Avatar for alina.nazchowdhury

I have a code where if some buttons are selected its showing in a message box which was selected, but if no button was selected I want to show a message in the message box. Here is the code, please make me understand, I tried by my own but its …

Software Development visual-basic
Member Avatar for alina.nazchowdhury
0
302
Member Avatar for Liam Stover

I followed this code im new to programing and i wanted to make someones elses program then chnage it to my liking, i finesd the code and i tryed running it and all it send in the console was "<terminated> Main[Java Application] C:/Program Files(86x)/java/jre7/bin/javaw.exe (Nov 19, 2013 11:15:54: PM)" the …

Software Development java
Member Avatar for Liam Stover
0
103
Member Avatar for Nour T.

Hello, I'm Nour Tamer, basic programmer. I know some codes turning basic programs into cool programs. I'm doing Windows 7 Verification. After you login you verify your Windows by using Admin account to access windows I'm trying to kill Windows Main Access (explorer.exe) but it didn't worked because it restarts …

Software Development vb.net
Member Avatar for ryanjayson
0
395
Member Avatar for jrosh

I have two web services added to the project. One is real web service. Other one is test webservice. i have used them to set some parameters. eg: WS.OrderDescription WS.Amount WS.OrderNumber etc I want to change this WS and WS-test interchagebly. For that i want to add this two into …

Software Development
Member Avatar for jrosh
0
107
Member Avatar for michael_angelo

Briefly describe the major components of the .NET Framework and describe what each component does.

Software Development asp.net vb.net
Member Avatar for Uchiha Itachi
0
339
Member Avatar for hbhatti18

How can I write a program that reads in a bar code (with : denoting half bars and | denoting full bars) and prints out the zip code it represents. Print an error message if the bar code is not correct. Once again I am very new to java and …

Software Development java
Member Avatar for arronlee
0
635
Member Avatar for Ben Ashton

I am making a service that uses RSS feed and I am having a problem actually getting the data as it is not made up in the original sense of .title, .summary etc, below is the contents of each item. <table style="border-collapse: collapse; border-spacing: 0; color:#493800; font-size: 11px; border:solid 1px …

Software Development html-css xml
Member Avatar for Ben Ashton
0
257
Member Avatar for Mr.M

Hi Dw This is my second time asking this question but now I will just make it straight forward because I didn't get any response from my other question. I want to know how can I write a program or a script in java that will be burnt/embedded to a …

Software Development java
Member Avatar for JeffGrigg
0
137
Member Avatar for Kratoswoo

So What I am trying to do it take a CSV file take what is in it and diplay it in a big textbox or txt file. String[] lines = File.ReadAllText("**").Split(','); foreach (string line in lines) { textBox1.Text = line; } That is what I have so far. Issues is …

Software Development
Member Avatar for Kratoswoo
0
172
Member Avatar for sahar.97

Write a program with Recursive function that for every step will receive input from a number of until the digits 0 entered. After entering the digits 0 It should be entered into the numbers entering printed in reverse order Track.

Software Development c
Member Avatar for Tumlee
0
176
Member Avatar for ThisIsMeOrIsIt

Hi all - I need to write a program that reads in an array of strings from a file and uses a radixSort method to sort and print the array based on what characters they are composed of. The implementation should be able to handle strings of characters. The characters …

Software Development java queue
Member Avatar for mas971
0
4K
Member Avatar for apiatex

write a function named, smallestValue, that accepts five integers and return the smallest integer accepted.( just write a function)

Software Development c++
Member Avatar for phorce
0
189
Member Avatar for krystosan

How do I rotate image in this code every n seconds http://pastebin.com/SKDzuC15 lets say i want to change the image in pixmap after 5 seconds to next image, what is happening right now the last one gets displayed.

Software Development image python
Member Avatar for krystosan
0
268
Member Avatar for yagelnnn1

Hey, I have a problem.. I saved a value in the settings (123456), and it I made a program that it shows in a label the value, and when I'm writing in a textbox a value, then clicking a button it saves me the textbox's value and when I'm exiting …

Software Development vb.net
Member Avatar for G_Waddell
0
154
Member Avatar for vbforum

I'm creating a document using an existing document and adding text to it, then saving it as a different filename. I'd like to have a hyperlink in it, but I'm having an issue. The hyperlink is created and looks fine but doesn't work because the file location is added to …

Software Development perl vb.net
Member Avatar for G_Waddell
0
225
Member Avatar for murali2489

Dear Team, I am Using Eclipse to Run my java programs. But when I try to run a Simple hello world program from Command prompt, I get the below error "Could not find or load main class Test" Test.class resides inside C:\ I Went inside C:\ in Cmd and typed …

Software Development java
Member Avatar for murali2489
0
2K
Member Avatar for Stefano Mtangoo

I started this for any information on new python modules apart from standard library. Many people (Including me), aren't willing to move into p3k due to lack of external/non-standard modules. So I started this to keep ourselves informed on New Python 3 Modules. No Limitation, ANY PYTHON 3 MODULE

Software Development python
Member Avatar for vegaseat
0
985
Member Avatar for 2butawil

write the psuedocode for a computer program that computes the sum of the numbers on the diagonal of a 10 x 10 integer array named *numbers*. Here is what i got but i'm not sure: int SIZE = 10; int [ ] numbers = new int[SIZE] [SIZE]; for (int I …

Software Development java
Member Avatar for JamesCherrill
0
125
Member Avatar for kyle.mace.35

So I am trying to reverse a string inputed by a user and I am getting an error on one line of my code the line is lw $t3, $t0($t1) #load value. Why can I not do this? .data prompt: .asciiz "Enter in a string: " backwards: .asciiz "That string …

Software Development assembly
Member Avatar for turboscrew
0
6K
Member Avatar for amalcolm96

So I just began a college course in Java, and our first assignment was to write a text-based Mastermind game in Java. I was able to lay out all the necessary framework, but the area that still has me in a fix is getting the computer to check the secret …

Software Development java
Member Avatar for jwenting
0
394
Member Avatar for fuhanspujisaputra

Hai everyone, i have a problem, currently i am developing software using Java (netbeans): Currently my database looked like this: Username and UserType Fuhans and Administrator Nies and Member When i login with Username: Nies The program respond, but it gave me the dialog box where both Username are displayed. …

Software Development java java-netbeans
Member Avatar for stultuske
0
269
Member Avatar for Saboor880

Hello, Excuse me. I have been using vb 6.0 for more than one year.But now i want to use vb.net. i have setup of visual studio(2010) in my computer but yet i have not installed it on my pc. please tell me that how it will help me in working …

Software Development vb.net visual-studio
Member Avatar for Saboor880
0
543
Member Avatar for stevewilliams02

I need help with the button action for this code. When you click on the button, a new window should open with the GIF image of the horoscope sign. The name of the GIF image files are "Pisces.gif", "Taurus.gif",etc. from Tkinter import * #Call all modules for TKinter in order …

Software Development gui python tkinter
Member Avatar for sneekula
0
192
Member Avatar for raidenx44

Public Class Add_Material_Form Public Sub ComboBoxMaterialClass() Dim MatClassnum As Integer Dim MaterialClass() As String = {"Book", "Dissertation", "Journal", "Theses"} For MatClassnum = 0 To 3 MaterialClass(MatClassnum) = cmbMaterialClass.Items.Add(MaterialClass(MatClassnum)) Next cmbMaterialClass.Text = "Select Material Class" End Sub Private Sub Add_Material_Form_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load ComboBoxMaterialClass() End …

Software Development vb.net
Member Avatar for raidenx44
0
144
Member Avatar for saja.omarii.7

A palindrome is a word or sentence that reads the same forward as it does backward. Write C++ code that read string consist of 6 characters only and check if the string palindrome word or NOT.

Software Development c++ mathematics
Member Avatar for Jamblaster
0
338
Member Avatar for robert99x

Programming Python 3rd Edition by Mark Lutz has example code (below) where a variable seems to be assigned with options ("or") but what the criteria for selecting the options is not clear. The explanation is almost non-existent but I think this is to do with feeding in a variable number …

Software Development os-x python
Member Avatar for robert99x
0
293
Member Avatar for qhweeman

please help i would like to Write a program that inputs three integers from the keyboard and prints the sum, average, product, smallest and largest of these numbers.

Software Development c++
Member Avatar for Jamblaster
0
169
Member Avatar for add.steve

my application backup is not able to locate the database file when I instal the application setup it only works when I debug it. this is my code: dim path as string = application .StartupPath & "\POPdatabase.mdb" dim backup as new folderBrowserDialog if folder.showdialog()=windows .forms.dialogResult.OK Then backuptextbox.text =folder.selectedPath End if …

Software Development vb.net
Member Avatar for Ancient Dragon
0
874
Member Avatar for princessophia

This is the problem: Write a class EncryptableString that is derived from the STL string class. The Encryptable string class adds a member function void encrypt( ) that encrypts the string contained in the object by replacing each letter with its successor in the ASCII ordering. For example, the string …

Software Development c++ encryption
Member Avatar for tinstaafl
0
1K
Member Avatar for VUEKID

What is the best way to read a text file and print to console, then grab that string and convert string to a const char?

Software Development c++
Member Avatar for iamthwee
0
496
Member Avatar for VBOI

Instead of entering text to console, I want to use the text from a text file and use this function and method to do a concordance count of words and how many times they appear in the text file. check line 137 #include "stdafx.h" #include<stdio.h> #include<stdlib.h> #include<string.h> #include<conio.h> #include<ctype.h> #include …

Software Development c++ linked-list
Member Avatar for iamthwee
0
180
Member Avatar for Pioggia254

Hello! I am a newbe to python and apologize in advance for this question, because I am sure it is an easy fix that I am oblivious too - I wrote this simple program for a guessing game- very basic, which is fine - but when you get to the …

Software Development python
Member Avatar for vegaseat
0
173
Member Avatar for alina.nazchowdhury

Hello, i would like to allow the user to press Retry button from msgbox only 3 times. I just don't succedd to do it, here is my code if anybody can help me? Private Sub cmdValid_Click() Dim Response As Integer If txtPassword.Text = txtPassword.Tag Then MsgBox "You've passed security!", vbOKOnly …

Software Development visual-basic
Member Avatar for alina.nazchowdhury
0
544
Member Avatar for vinodvinu

Hi there, I am a newbie in programming. Python is my choice. because it is easy to learn. But the Tkinter GUI making is horiible. I don't like to write code for GUI. I like the visual basic method. So i installed Qt Designer. But i don't know how to …

Software Development gui python qt
Member Avatar for vegaseat
0
446
Member Avatar for KAMAE94

a C++ program that reads in two partially filled arrays. One array contains student IDs (with int type) and the other contains GPAs (with double type). The program will sort the two arrays according to the student ID and print out the results?

Software Development c c# c++
Member Avatar for iJimJones
0
160
Member Avatar for prettyknitty

I have been working on this code (school assignment) for a few days now. It seems to be almost finished, but I am not sure what's going on. When I run it in an online complier, it displays correctly, which is supposed to look something like this "12345" "1234500000" However, …

Software Development c++ visual-studio
Member Avatar for Ancient Dragon
0
913
Member Avatar for ~s.o.s~

Here is a simple implementation of implementing a simple Left trim (ltrim) and Right trim(rtim) of unwanted characters from a C style string. (null terminated strings). Doesn't suffer the overheads of the memmove implementation in which the worst case scenario (a string containing all junk characters) is approx. N^2 / …

Software Development c
Member Avatar for Ancient Dragon
0
3K
Member Avatar for skyyadav

#ifndef BASE_H #define BASE_H class Base { public: int m_nValue; Base(int nValue=0) : m_nValue(nValue) { std::cout << "Base" << std::endl; } }; #endif #ifndef DERIVED_H #define DERIVED_H #include "Base.h" class Derived: public Base { public: double m_dValue; Derived(double dValue=0.0) : m_dValue(dValue) { std::cout << "derived se" << std::endl; } friend …

Software Development c++ oop
Member Avatar for gerard4143
0
322
Member Avatar for Raaif_1

I have added a access database to my project and created the connection, dataset and all via the wizard. But when I run the program I encounter error > An unhandled exception of type 'System.TypeInitializationException' occurred in System.Data.dll > Additional information: The type initializer for '<Module>' threw an exception. From …

Software Development database-design dataset vb.net
Member Avatar for Mr.M
0
368
Member Avatar for IT_Techno

hi I have create VS project using C#, I am using Crystal Report when i run project using VS 2010 The Crystal report work very well, but when i create setup from project and run the project after download setup the crystal report does not open, - Although i am …

Software Development assembly visual-studio
0
127
Member Avatar for rheanqoh

how do you use two datareaders at the same time in a vb.net windows application ? for example: while(datareader1.read()) while(datareader2.read()) end while end while this is not allowed even though both datareaders have two different sets of data. can someone help me out with this please..is there another way to …

Software Development vb.net
Member Avatar for RomelynCastillo
0
316

The End.