132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for shean1488

Hi everybody Help me please to figure out what's wrong with my code When I try to compile it it gives me an error ClassNotFoundException I have never had such an error befoure, so I don't know what to do.... [CODE]import java.util.LinkedList; import java.util.List; import java.util.ListIterator; public class Example { …

Software Development java
Member Avatar for thines01
0
227
Member Avatar for codechrysalis

So im having great difficulty trying to have my program move onto the GetInput() methods and so on ...can anyone point me in the right direction and tell me whats going on? [B]write a program that allows any number of values between 1 and 10 to be entered. When the …

Software Development display
Member Avatar for codechrysalis
0
2K
Member Avatar for easygi

I downloaded one type of free code 3 of 9 font but the barcode scanner doesn't read it and the other fonts that I downloaded are not compatible to the crystal report and it says "True Fonts only"(not exact but just like that)

Software Development vb.net
Member Avatar for easygi
0
191
Member Avatar for Z33shan

Hello :) i'm looking for a proper way of drawing points in MFC. or Drawing those point on a Drawn Eclipse. then i actually have to join them. i had been working on .NET, so i'm less fimiliar to visual C++ 6.0, but i have to use it for this. …

Software Development c++ ide
Member Avatar for Ancient Dragon
0
579
Member Avatar for obwills

pls can any1 help me with the code for a reminder(where a user can select a day in the future and the exact time).

Software Development vb.net
Member Avatar for codeorder
0
352
Member Avatar for hatebin

Hello. My code describes Color classes: [CODE] abstract class Color{ private final int H=45; private int V; private int S; Color(int V,int S){ this.V=V; this.S=S; } public int getV(){ return V; } public int getS(){ return S; } public void setV(int V){ this.V=V; } abstract void print(); } class Black …

Software Development java
Member Avatar for hatebin
0
82
Member Avatar for daydie

very hard regex extraction for me :( im trying toextract JOHNDIGEDY which is a variable HTML String: [CODE]<a onclick="showPersona('persistentNation'); return false;" href=""><span>Welcome,</span> JOHNDIGEDY <span style="color: red;">(Unverified)</span>[/CODE] any one help? ive tryed [CODE]Dim Regex As New Regex("</span>\n\n"".*""\n<span style=", RegexOptions.Multiline) For Each M As Match In Regex.Matches(data) Dim Description As String = …

Software Development regex vb.net
Member Avatar for thines01
0
130
Member Avatar for bry090911

[CODE]Private Sub cmdOut_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdOut.Click If txtempno.Text = String.Empty Then MsgBox("Insert first your employee number.", vbExclamation) lblIN.Text = "" lblOUT.Text = "" Exit Sub End If Dim ssql As String ssql = "UPDATE tbl_timerec SET TimeOUT=@lblOUT WHERE EmpNo=@txtempno" Dim com As New SqlCeCommand …

Software Development listview open-source vb.net
Member Avatar for bry090911
0
179
Member Avatar for dwarvenassassin

OK, I am relatively new to C#, so in order to give myself a 'learning' project, I thought I'd update an application I wrote a couple of years ago. The application uses a ListView control in "Details" mode to display MP3 tag data stored in an Access MDB database file. …

Software Development c c# c++ listview visual-basic
Member Avatar for Momerath
0
195
Member Avatar for reen

import java.util.Scanner; public class sfera { public static void main(String[] args) { //Langkah 1:Baca input dari pengguna System.out.print("Masukkan nilai jejari: "); Scanner input = new Scanner(System.in); final double PI = 3.14159; double jejari = input.nextDouble(); double luas; double isipadu; //Langkah 2: kira luas luas = 4 * PI * jejari …

Software Development java
Member Avatar for nandosss
0
217
Member Avatar for javaprog200

Hello, When I run the following program, the applet window displays nothing. I will be grateful for any help. [CODE] import javax.swing.*; import java.awt.*; public class BoxPanel extends JPanel { private JTextField label1, label2; public BoxPanel() { setLayout(new BoxLayout(this, BoxLayout.X_AXIS)); label1 = new JTextField(20); label2 = new JTextField(20); add(label1); add(label2); …

Software Development java java-swing
Member Avatar for NormR1
0
144
Member Avatar for whizkidash

Hi Team, I am new to shell script. Do kindly help me remove junk character from a file having a million records.. As it is production setup do kindly advice Thanks ... Whizkidash

Software Development shell-scripting
Member Avatar for saumitra11
0
264
Member Avatar for MrHardRock

Hey I have an assignment to get a number from the user and print it as a string with commas in the correct space. For example if the number is 13904 it should read 13,904 or 1005 should read 1,005. I have to do this recursively. Working on my pseudo-code …

Software Development java
Member Avatar for dantinkakkar
0
2K
Member Avatar for selman555

Hello overyone, I have a question about web forms. I've set up a web service and i'm now trying to make a registration page. The one thing I couldn't figure out is how to handle events. For example, I have a simple button with id="Register", how can I handle that …

Software Development vb.net visual-basic
Member Avatar for selman555
0
310
Member Avatar for dineshswamy

how can i calculate float value? eg it is 32/10 3.2 in calculator in python 32/10 is 3.0 help me out

Software Development python
Member Avatar for dineshswamy
0
208
Member Avatar for november_pooh

Hi all, How can i know an active/default printer? Thank you in advance

Software Development printer visual-basic
Member Avatar for Jx_Man
0
89
Member Avatar for daydie

Is there any way to get the token so i can continue to POST on the Vbulletin forum when logged in? As login security Token = Guest but when logged in its a long code. I need this to POST string If it saves it to the cookies how can …

Software Development vb.net vbulletin
0
87
Member Avatar for student_learner

what does i##j mean in macro definition of a program

Software Development c
Member Avatar for student_learner
0
146
Member Avatar for mweshk

Hi gurus, kindly help me in tracking these errors. The purpose of the program is to calculate the area and circumference of a circle using struct. the details stored are its name, radius, area and circumference. thank you [CODE]#include <iostream> #include <iomanip> #include<cmath> using namespace std; struct circle { int …

Software Development c++
Member Avatar for deceptikon
0
136
Member Avatar for solarcoder

I was playing with some code again [CODE]#include <iostream> #include <cstdlib> using namespace std; int main () { int seed; cout << "Enter a seed: "; //enter 8 cin >> seed; srand (seed); cout <<"A is " << rand () << endl; //64 cout <<"B is "<<rand () << endl; …

Software Development c++
Member Avatar for deceptikon
0
106
Member Avatar for eve_moore

I have seen this code that draws an outline circle and its center point to the ball detected. [CODE]// draws all detected circle and their center points. for (int i = 0; i < circles->total; i++) { // round the floats to an int float* p = (float*)cvGetSeqElem(circles, i); cv::Point …

Software Development c++
Member Avatar for eve_moore
0
267
Member Avatar for ryklon

Hi! I'm creating a feature for my software that bans the user for 10 minutes if he/she has failed to login thrice. The problem is, I don't know how to code that. I got ideas on how to do it but I don't know what predefined classes or functions to …

Software Development vb.net
Member Avatar for ryklon
0
678
Member Avatar for renzlo

Hi All, I have 1 combo box and 1 textbox and an excel file. I need to populate the combo box through the data from my excel file which is EMP_ID and I managed to do that via OleDb. This is the content of my excel file: [CODE]EMP_ID SPIDOM Password …

Software Development dataset vb.net
Member Avatar for renzlo
0
162
Member Avatar for zachattack05

Is it possible to transform a label's ellipsis text based on the text displayed on the screen? For example, if the labels text is constructed from multiple strings and only 2 of the 5 are displayed, can the ellipsis text display "...and 3 others" or something like that? I have …

Software Development
Member Avatar for zachattack05
0
113
Member Avatar for SDDMV

[CODE]#include <stdio.h> #include <stdlib.h> int add(int i, int j , int k) { while ( i != 0) { j = i % 10; k = k * j; i = i / 10; } return k; } int main () { int num, num2=1, r; int ret=1; int i=0; …

Software Development c
Member Avatar for MonsieurPointer
0
128
Member Avatar for ayesha25

i have a class like [code] class abc{ struct { string name; float [] marks; } .... . . . . . } [/code] after implementing my all logic i want to save marks array on to a file,,,,,how can i achieve this,,,,please need urgent help

Software Development
Member Avatar for requimrar
0
147
Member Avatar for emmasmart

I will love to be a good programmer, but how do i go by it.

Software Development c
Member Avatar for Moschops
0
114
Member Avatar for Mike Askew

Firstly I will say im a complete and total novice when it comes to XSLT and XML so this could be a very obvious mistake on my behalf. [CODE] <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="node()"> <xsl:copy> <xsl:copy-of select="@*"/> <xsl:apply-templates/> </xsl:copy> </xsl:template> <xsl:template match="TestNode"> <RenamedNode> <xsl:copy-of select="."/> </RenamedNode> </xsl:template> </xsl:stylesheet> [/CODE] When …

Software Development xml
Member Avatar for StephNicolaou
0
203
Member Avatar for onemanclapping

hello. I'm doing a program in c++ and I need to use a system call to "clear" my screen. for linux I use system("clear") but in windows the same is system("clr"). is there some way to find which OS is being used at the moment of execution so the program …

Software Development c++
Member Avatar for Ancient Dragon
0
2K
Member Avatar for The.Ree

hey Has the name entered in the name TextBox at least one char?. If yes, return true. The out parameter will have a valid value returning to the caller. If no show a message box with a friendly error message Set the focus to the textbox return false this is …

Software Development
Member Avatar for ChrisHunter
0
112
Member Avatar for daydie

When i make a [COLOR="Green"]login for vb forum[/COLOR], the post string i get back on real login is : [CODE]vb_login_username=the_legend&vb_login_password=&vb_login_password_hint=Password&s=&securitytoken=1329916133-7066266c7073fe1bf6b02ad340d25fa9a55513ca&do=login&vb_login_md5password=a033848a48e9e12b9cef05d31e7d991b&vb_login_md5password_utf=a033848a48e9e12b9cef05d31e7d991b[/CODE] But the real string to login successfully by application POST is the following [CODE]raw_login_password=" & TextBox2.Text & "&do=login&url=%2Fforum%2Fusercp.php&vb_login_md5password=" & MD5(TextBox2.Text) & "&vb_login_md5password_utf=" & MD5(TextBox2.Text) & "&s=&securitytoken=guest&vb_login_username=" & TextBox1.Text & "&vb_login_password=&cookieuser=1[/CODE] …

Software Development first-post vb.net
0
75
Member Avatar for xcrypted1

Evening all, My assignment is as follows: Consider a program that administers multiple-choice quizzes. The student needs to provide a response such as A or D. Your job will be to check for input errors in the student response string. Check that the string has length 1, and that it …

Software Development java
Member Avatar for stultuske
0
200
Member Avatar for Timziski

Hey everyone, can anyone help me out with a code that creates a program where a user can key in 3 coordinate points and when the click "Generate Triangle" button. the program automatically creates the program. Please help. Cheerz

Software Development vb.net
Member Avatar for kingsonprisonic
0
296
Member Avatar for gerchi152

how can I solve this kind of error: "a number, currency amount, boolean, date, time, date-time, or string is expected here" here is my code: [CODE]Dim oDoc As New ReportDocument oDoc.Load("D:\updated 2-21-cla-12-57\WAIS SYSTEM\WAIS SYSTEM\GUIDANCE-dropRpt.rpt") Dim myDS As New DataSet oDoc.SetDataSource(myDS.Tables("drop_student")) Select Case GUIREP_drop.Search.SelectedItem Case "Date" strsql = "{drop_student.date_drop} = '" …

Software Development dataset vb.net
Member Avatar for gerchi152
0
147
Member Avatar for itsvineethpv

How to host a asp.net c# web project in a windows service. Please give some step by step instruction. . Please note that it is Not a webservice

Software Development asp.net c# microsoft
Member Avatar for Ketsuekiame
0
321
Member Avatar for polarpandabear

Hello Guys, I'm new here and I would like to ask help from you in making circular queue. I'm solving these for days but I can't have any idea anymore to solve for it's algorithm... I made this code so far... [CODE]#include <iostream> #define SIZE 5 using namespace std; int …

Software Development algorithm c++ queue
Member Avatar for polarpandabear
0
421
Member Avatar for catcit

I have some native C++ code that I want to use in C# and after doing some research I decided to create a C++/CLI wrapper for the native code. So far, so good. When running the program that contains the C++/CLI class, it works perfectly, but when I try to …

Software Development c++
Member Avatar for catcit
0
938
Member Avatar for sergent

What is the difference between standard, int main(int nargs,....); and [CODE]int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nShowCmd ); [/CODE] I am making a cross-platform program, for windows and linux, and until this point, I used main, without WinMain, for windows and linux. My app calls windows …

Software Development c++ gui
Member Avatar for jmichae3
0
2K
Member Avatar for ForceStr

I want to add a progressBar (just to show that something is happening) when the database rows are fed into a table. First I tried to create a frame, where I added progressBar. I called frame.visible in the while loop which populates the table with database datas. But the frame …

Software Development java
Member Avatar for dantinkakkar
0
1K
Member Avatar for mcz2012

I have a simple program with a potential complicated output (see below). I am asked to make a simple for loop that displays results in GUI. Can I do this without with showmessagedialog instead of doing a JTextbox/label ect? I need this: sample gui output: After year 1 $11000 After …

Software Development gui java
Member Avatar for dantinkakkar
0
128
Member Avatar for Teleka

hi guys am trying create a multiple reports using a single report viewer. can this be done, if yes can u give me a clue on hw to go on about it. i have done everything its just the part of having multiple reports

Software Development vb.net
Member Avatar for nAbdelmegeed
0
2K
Member Avatar for bhallarahul

i want to use use javamail Api and i am not able to understand which server i use or is there is any other api available which is better then javamail Api.please suggest me

Software Development api java
Member Avatar for bhallarahul
0
148
Member Avatar for floatingshed

I need a custom dialog. I've been playing around for hours trying to create one and simply don't get it! All I need is the standard wx.TextEntryDialog but with 2 text fields. Can anyone please help? Thanks.

Software Development python
Member Avatar for floatingshed
0
103
Member Avatar for vlady

Hello! I don´t understand how to use a condition " if i == predmet: " i is an objet type of subject In my code I need to reach the condition: [ICODE]def add_mark(self,predmet,mark): for i in self.predmety: if i == predmet: print True[/ICODE] but I don´t know how to make …

Software Development python
Member Avatar for vlady
0
123
Member Avatar for BasixDev

Hello guys, I'm currently trying to rework an older project. It uses the Dao interface to connect to a MS-Access database. It now needs to connect to a SQL CE Database using the ADO driver. However, I keep getting the IDispatch error, see below. CJapRecordsets is a class with membervariables …

Software Development c++ microsoft-access open-source
Member Avatar for BasixDev
0
215
Member Avatar for skyshare

I have 18 text boxes named 'txtmybox' with indexes set as 0 to 17. To change the back color I currently use a for..next loop ie: for x = 0 to 17 txtmybox(x).backcolor=red next x The question is - is there a quicker way to perform this task, ie change …

Software Development visual-basic
Member Avatar for skyshare
0
101
Member Avatar for lbgladson

I have the following code which allows a user to play Rock, Paper, Scissors with the computer. The code allows for 10 rounds and counts the number of wins and ties. I need to allow for user misspelling by allowing the input to be accepted if the user types the …

Software Development java
Member Avatar for stultuske
0
195
Member Avatar for ipodtrip

To anyone creating a C# program for intro C# class. My program is suppose to calculate shipping cost when user chooses either two radio buttons,and choose from the list box with the shipping cost, while typing in the distance. But while doing the code I get the error message Use …

Software Development
Member Avatar for Momerath
0
240
Member Avatar for ogglock

Hi, I am relatively new to C++ and I am having problems sorting a set of items here is my code: [CODE] #include<iostream> #include<sstream> #include<string> #include<iomanip> #include<fstream> #include<vector> #include<string> #include<cstring> #include<set> #include<algorithm> using namespace std; struct SimpsonChars { string firstname,lastname; double firstnum,secondnum,thirdnum,fourthnum,fifthnum; SimpsonChars(const string& lname = "", const string& fname …

Software Development algorithm c++
Member Avatar for ogglock
0
154
Member Avatar for stevo7624

Here is what I have. I need the check boxes to add the variables Masters(3000) and doctorate(8000) to whatever the value of the current radio box. If they are both checked then they should both be sumed along with the current radio box value. If they are unchecked it should …

Software Development visual-basic
Member Avatar for Jx_Man
0
152

The End.