132,726 Archived Topics
Remove Filter ![]() | |
can any one help!! Expand Post (Toggle Plain Text) import java.awt.*; import java.awt.event.*; import java.awt.Color; import javax.swing.*; import java.awt.Frame; import java.awt.geom.*; class BallEntity/*THE BALL CLASS*/ { private int top=0,left=0,height=0,width=0; //getter methods public int getTop() { return top; } public int getLeft() { return left; } public int getHeight() { return … Software Development java java-swing | |
[B]am using vb6 but i can't hwo to vie the data base content in data grid Here is my code[/B] Dim cn1 As ADODB.Connection Dim rs1 As ADODB.Recordset Dim ser As String ser = ("select * from student where ID='" & Text5.Text & "'") Set cn1 = New ADODB.Connection cn1.Provider … Software Development visual-basic | |
Private Sub cmdprint_Click() i am searching the code of the command button for printing, at the above.. now, the textidno.text = textborrowersname.text = what is code after the " = " Software Development visual-basic | |
Hi, I have completed my project in VB 6 and Access and Crystal Report 8.5 now I would like to make setup file . So ple help me which software should I use and where I can get its free copy. I tried to make it from Package and Development … Software Development visual-basic | |
The program that I want to do is a program that lets you deposit and withdraw money, and that it can display the total amount that you have inputted in the transaction. Now my problem is, I don't know how to display the total amount and how to do a … Software Development c | |
I am trying to take in inputs from the user for one of my projects. [CODE]cout<<"Enter Event Name (enter 'exit' to quit) ::"; gets(dat.evnm); cout<<"Enter Type Of Event (eg: Dance, Music, 'exit' to quit) ::"; cin>>dat.type; if(strcmp(dat.type,"exit")==0) return 0; cout<<"\n";[/CODE] here the line[CODE] gets(dat.evnm);[/CODE] will not execute, and the program … | |
Hi All, I have a database (sql server) where i store activity information example (activityid,id,summary,signs etc.) I can successfully save this information to the database. what I also want to achieve is to add this information to a listbox so that it can be displayed in the corresponding textboxes at … Software Development vb.net | |
Whenever I try to load a java applet from an html file, with the .class and .java files in the same directory, I load the html applet file and the only thing that gets displayed is NOT the applet, but the html code.....how do I enable java applets in my … Software Development html-css java web-browser | |
I have finished editing the program but I still have a couple of errors that I can't figure out, please help Errors: Error 1 error C2601: 'split' : local function definitions are illegal \\ilabss\home$\D03279277\Documents\Visual Studio 2005\Projects\err\err\err.cpp 97 Error 2 fatal error C1075: end of file found before the left brace … Software Development c++ display ios visual-studio | |
Hi there, I'm very new to perl so I hope that you can help me. I have a list of duplicated entries in one file and what I want to do is to search another file for those entries that appear in the first file and then rename each duplicate … Software Development file-system perl | |
The code executes as expected, but I am not sure it is considered good code:) I am thinking especially of the two streams on the socket, if the first one is successfully opened and the next one for some reason throws an exception, the finally block will never run. If … Software Development java | |
hello. i have just started learning functions in java. i have done the below program to find area of rectangle,triangle and square. it is a private class. class calcu { void rectangle(int l,int b) { int area1; area1=l*b; System.out.println("area of rectangle = "+area1); } void triangle(double base,double h) { double … Software Development java | |
As all textbooks on C# will tell you, you cannot instantiate an abstract class. I believe the keyword [B]abstract [/B]was intended for that purpose. So can anyone tell me why I can do something like this: [CODE=c#]abstract class TwoDShape { // some code here } class test { static void … Software Development | |
help anyone! i can add records to mysql database but it won't appear in the listview. can you check out what's wrong with my code. pleeaaasssee.. help needed badly.. :( [CODE] Imports System Imports System.Windows.Forms Imports MySql.Data.MySqlClient Public Class bookForm Dim myconn As New MySqlConnection Dim sqlQry As String = … Software Development asp.net listview mysql vb.net visual-basic | |
hey pls help me., I m nt a good programmer. bt though m trying 2 do some programming... pls give me coding in vb.net for searching records from Access database. Waitng for your repy. [CODE]Private Sub search_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles search.Click search_data(("select * from 86_10 … Software Development vb.net | |
Helo Guys, i need your help, because i am searching code to read string in assembler, but i can't found nothing if you can help me, thaks!!! Software Development assembly | |
I know the function textcolor() included in conio.h in borland compiler. but this function is not present in vc++. also if you can provide me the text formatting functions,or header file containing it. i will be very thankful.......so please help me......thanks | |
i have the following code........pls point out my mistakes......the first one is the header file and the second one is the file......... class array { int i, a[100],n,d,t,r,c,e[100][100],f[100][100],s,g[100][100],b[100],j,r1,c1; char p; public: void pro(); void enter(); int arrA(int); int arrB(int); int arrAA(int r,int c); int arrBB(int,int); void dis(); }; void array::enter() … Software Development c++ | |
Hi, I'm trying to write a shell script that do ftp and download file periodically, this script should be called by a daemon running in the background. the shell script "script.sh" is as follows: [icode] yafc [url]ftp://test:test@192.168.1.225:21[/url] < commands [/icode] and the "commands" files is [icode] d Root/md5* / quit … Software Development client-server http-protocol shell-scripting | |
Hello Friends... This question was asked to me in an interview.. Can a class be static in java? If yes, then what is it's use and how it can be used? Software Development java | |
I am working on an application in Java and for part of my plan I would like to have an object (eventually an array of these objects) where I could store two or three (I am not sure yet) varied types of data, for instance... A BufferedImage and a string … Software Development java | |
I used below codes to pass a value from vector to my cpp file. While i'm doing that, i got segmentation error in my main cpp? Is there anyway to pass the vector value to my main cpp? thx for the help [CODE]void Loadfile() { //cout<<"this is used for loading … Software Development c++ | |
Hi, i have downloaded 3d blender and Python 2.5 and tried to run Python with blender for the use of importing models, but when i tried to import the model a message came up in the command prompt saying : [CODE]module use of python25.dll conflicts with this version of python[/CODE] … Software Development python | |
EDIT: I figured it out. I do not know how to delete threads. Sorry. I need to return a pointer to a new array. The new array must be the same as the old one, just in reverse. I have it all done except for one little part. I can't … Software Development c++ | |
Hi all, I am totally new to C++. I began learning C++ some 2-3 months back referring to youtube tutorial channels and now by reading a book by Robert Lafore. I practice when i get free time. I still have long way to go. Well, referring to some examples that … Software Development c++ | |
I need to code a very basic fortran program that takes command line input, and I'd like to terminate the program if I detect wrong input. The following doesn't work: [CODE]if (n .NE. 5) then write (*,*) "Wrong number of arguments" end program Poker end if[/CODE] I get "Error: Expecting … Software Development | |
Can somebody help me? We are tasked to create a library system. And my very first problem is how to create a search engine. The form must be like this: 1.) One search engine for the Title of the book, wherein the user can search through the title of books. … Software Development visual-basic | |
I need to write a function that accepts int array and array's size as arguments. Then the function should create a copy of the array, except that the element values is in reverse in the copy. The function should return a pointer to the new array. I am having a … Software Development c++ | |
Hi, I have just started out with sqlite in c but I can't seem to return the results of the select statements. There are so many functions that I don't know what to use as none of them make any sense. So can anybody give me an example of how … | |
I am having trouble with this simple program to display three numbers entered from highest, medium, lowest. Specifically, with the ouput_result void function. Stuck, and not sure what I am doing wrong. Fairly new to C++, this is my first course in C++. Any help would be appreciated. #include <cstdlib> … Software Development c++ | |
First thanks for the help last time I posted it set me on the right track thanks. Now what I need is to clean up a bit. (this is for the 30 year loan only want to get that to do what I need before creating the same with the … Software Development java | |
Hi everybody !! I would like to ask you some question about C++: 1.what is the best program that can write C++ more easily? 2.Can you output C++ in different language beside English ? 3.if everybody know pls tell me . 4.do you know some useful website for C++ because … Software Development c++ | |
Is there any way to check if i have added more than 1 same header so that i won't get compiling error while running it?How do i know which one will include the header first and other cpp will include it later? Software Development c++ | |
I have created a library management system applicationn in vb.net... I have an issue form... which has issueid, issuedate, duedate..... these are set as "not null" in the datavase(sql server).. When I add a new issue and try to add another after that the DateTimePicker values doesn't get reset.... so … Software Development vb.net | |
i have got a program to convert a double value to a string. eg==INPUT= 3.65 OUTPUT=three point six five. can anyone give the solution. Software Development java | |
Hi, I have to create a set of structs but i don't know how because it needs to check the equality between them. For example: [CODE] struct something{ int x,y; string word; }; set<something> s; [/CODE] Can you help me? Software Development c++ | |
Hi all, Going mad not being able to figure this out. I have an application that uses the following code to write a number of user inputed variables to a text file on a seperate line per variable.. What I can figure out despite hours of googling, is how to … Software Development file-system vb.net | |
hello for exapmle cam sees people.and ıt should detect dıstance between people how can we calculate ıt does anyone any ıdea about ıt? ı couldnt fıgure out the algorıthm:) thanks Software Development python | |
Hi! to everyone I'm starting out in programming,I need a pseudocode or flowcharting to use to help me get started on coding. Often, when I take a look at a coding assignment, it looks daunting, and it's hard to figure out exactly where to start. Especially with all of that … | |
Hi i have a simple question i was wondering how to display the existing data in C# objects like Textbox, combobox or labels. At the moment a sql database file, one of the tables data is currently displayed in the datagridview control just fine. But what i would like to … | |
I have a form with 2 labels and 2 buttons Button1 changes the label1.Text of the form // works fine Button2 starts a new thread and the method is supposed to change label2.Text However I get compile time error: "error CS0120: An object reference is required for the non-static field, … Software Development | |
Hello! I have designed an initial frame for a database app using this code [CODE]#! /usr/bin/env python # OrnithobaseGUI.py import wx, MySQLdb, wx.lib.intctrl ID_HELP = 1 ID_ABOUT = 2 ID_LOG=3 class Ornithobase(wx.Frame): def __init__(self, parent, id, title): wx.Frame.__init__(self, parent, id, title, size=(750,225)) #Define menus menubar = wx.MenuBar() #Define file menu … Software Development python | |
Hi, I have a map of a base class object (not pointer to objects). I did this because I need to have inheritance from others types like this: Parameter RealParameter: Parameter IntParameter: Parameter ... My problem is that when I am going to insert in the map, copy constructur of … | |
I'm looking for if I can add C# to my toolbox. However there is something which is not clear. I know C# is interpreted language, but can't get it when it comes to learning It. I would like to learn Mono, but then, how does it differ with M$'s? Where … Software Development c# | |
I am rather new to vb and could use some help. I am using the latest version of vb and am working with a database to add some records. Simply, I would like to have a form that adds a new record into the tblContact table then enter a few … Software Development dataset open-source vb.net | |
I am writing a program that creates a file and attaches it to an email. I use a loop to create the attachment, send the email and then do it again with different information in the attachment. This works well for one tim through the loop, but on the second … Software Development file-system vb.net | |
Hello Everyone, This is my first post, so be gentle with me. I am working on an application and I have a need to store about 5 or 6, X and Y coordinate pairs. The values for X and Y are reasonably small integer values (less than 5000). Essentially all … | |
Hiya, I saw a similar question on a c++ page, figured that maybe this would help out. I'm trying to write a program that automatically connects to a web site (Yahoo) inputs the screen name and password, logs on and then automatically goes to other spots under my Yahoo. It's … Software Development vb.net web-browser | |
Hi guys, as the title suggest, Im new to c#. I have a text file with 5 lines of text in it. Im trying to read each line and throw it into an array of string type. But Im having problems. [code] private void button4_Click(object sender, EventArgs e) { songs … Software Development c# | |
Hi everyone First post here on this forum. I'm awfully stuck in an exercice I have to complete as an assignment. I'm studying computer science and this has been my first year. This is what I am supposed to do: Your project consists of implementing the following C code: [code=c] … Software Development assembly |
The End.