132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for akshay.sulakhe

hello friends...started to learn python and have covered the basic stuff and some silly gui stuff...i currently have some time so i thought why not prepare a app in python with some killer gui..now java has swing which can be modified to make such GUI...so is there anything which can …

Software Development gui java-swing python
Member Avatar for scru
0
130
Member Avatar for ryan311

i have error to my code in the bold word! [code] Set rs = New ADODB.Recordset Set rs1 = New ADODB.Recordset Set rs2 = New ADODB.Recordset rs.Open "Select * from temp where pcode='" & txtEdit.Text & "'", cn, adOpenKeyset, adLockPessimistic rs1.Open "Select * from product where brandname='" & txtEdit.Text & …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
338
Member Avatar for blackrobe

Hi there, I'm writing a function to compare strings from two lists, but I'm facing problems comparing the two strings in an easy straightforward way due to my lack of knowledge in Java. I use Python more often which is way easier than Java in string manipulation and comparison. My …

Software Development java
Member Avatar for JamesCherrill
0
144
Member Avatar for disc

When checking my code with PC-LINT it advised me to make some member-functions const What is the advantage of doing this ?

Software Development c++
Member Avatar for disc
0
183
Member Avatar for Samran

Hi, I am facing a problem with allocation of two dimensional char array. The problem statement requires me to get the number of rows and columns of the array from a file. I have saved the rows in "rows" and columns in "columns", both of type int. Here is how …

Software Development c++
Member Avatar for Samran
0
3K
Member Avatar for thingstealer

Hi everyone, How do you define two structs that include lists of or pointers to each other? I've tried including a forward declaration of one, and neither way works. Any help getting around this would be great, thanks in advance! [code=c++] // struct arc; struct node { Vector<arc> arcs; void …

Software Development c++
Member Avatar for thingstealer
0
132
Member Avatar for mguj1130

For this program I am supposed to add two numbers together, up to 20 digits, using arrays...i have most of it working but i cant figure out how to solve the carrying over problem when the two numbers added are greater than 9....here is what i have so far [code] …

Software Development c++
Member Avatar for vmanes
0
681
Member Avatar for rhesus303

[code] if ! [ -t 0 ] ; then read var fi [/code] I know what the result will be but don't understand the conditional test. I've never seen it before nor can I find the -t option in any shell scripting tutorial

Software Development shell-scripting
Member Avatar for Fest3er
0
77
Member Avatar for rEhSi_123

Hello, I am trying to write a shell script which will have the following: 1. arguments like: -h, -- help, -v, --version, -V, --Verbose, -o filename, --output=filename -s searchphrase, --search=searchphrase, -f format, --format=format 2. a default usage where a user runs a search phrase where the output should go to …

Software Development shell-scripting
Member Avatar for Fest3er
0
174
Member Avatar for daviddoria

I have a delete button which does this: [code] TTDataSet.PunchEventTable.Rows(dgvData.SelectedRows(0).Index).Delete() [/code] The problem is that if I delete row 0 (the 0th index in the DataGridView and in the underlying table, all is well. But now row 1 in the table corresponds to row 0 in the DataGridView, so if …

Software Development vb.net
Member Avatar for rapture
0
895
Member Avatar for kamae

Hallo guys, it is me again. I need help how to create a simple backup file by just copying a file to another folder. Look at my code. [ICODE]Private Sub mnuBackup_Click() Dim SourceFile, DestinationFile As String On Error GoTo FileCopyFailed SourceFile = "D:\MyWorks\data\facility.mdb" DestinationFile = "D:\MyWorks\backup\facility.mdb" [COLOR="Red"]FileCopy SourceFile, DestinationFile[/COLOR] MsgBox …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
97
Member Avatar for blair.mayston

Hi, Have adapted some code I found on the net to get a rss feed from a news site. I would like to email the output of this script using smtplib - after a couple of frustrating hours I have got that working as a separate element with my gmail …

Software Development python xml
Member Avatar for blair.mayston
0
111
Member Avatar for robertomason

I'm developing an inhouse application for my School Board. Visual Studio 2005 C# is a work in progress for me, so there's lot's I still don't know. The program I'm developing is meant to run on a network. Buy that I mean i execute the program from of a sever, …

Software Development visual-studio
Member Avatar for sknake
0
288
Member Avatar for vmarc29

Hi all, i made some java few time ago and i'm now studying C++ here is a simple program i've been working on to learn about it but the fact is for some days now i can't figure why it doesn't work... in fact i just want to create an …

Software Development c++
Member Avatar for vmarc29
0
167
Member Avatar for retrob89

Hi, I've attached the code I have that deals with allowing a user to have access to the main menu. When adding a new user, the username and password is saved to a text file. However, I want to add a default username and password so when a user runs …

Software Development java
Member Avatar for BestJewSinceJC
0
155
Member Avatar for peedi

hello im kinda of stuck doing a project for my class. ik really need help with number 1, and 4. please help! here is what i have to do. 1. Use the charAt method to get the first character in firstName and store it in a variable called firstInitial (you …

Software Development java
Member Avatar for peter_budo
0
1K
Member Avatar for nosnibor

[CODE=cplusplus] bool BODYTYPE::Seek(BODYTYPE * body) { string line; string key(body->style); size_t found = ' '; fstream file("..\\Data\\BODYTYPE.txt",ios::in); if (!file.is_open()) { cout << "Unable to open file \n"; return false; } file.clear(); file.seekg(0); for(;getline(file,line);) { if((found = line.find(key,0)) == 0 ) { file >> body->style >> body->doorCount; return true; } } …

Software Development c++ file-system ios
Member Avatar for nosnibor
0
87
Member Avatar for mcskelle

How can I make i loop where I set a variable on the controls to the same value? textBox1, textBox2, textBox3 for(i=0;i<2;i++){ textBox?????.Text="That's how you do it!"; }

Software Development
Member Avatar for mcskelle
0
222
Member Avatar for bluemm87

[CODE=cplusplus] // using pointers with // const methods #include <iostream> class Rectangle { public: Rectangle(); ~Rectangle(); void SetLength(int length) { itsLength = length; } int GetLength() const { return itsLength; } void SetWidth(int width) { itsWidth = width; } int GetWidth() const { return itsWidth; } private: int itsLength; int …

Software Development c++
Member Avatar for StuXYZ
0
163
Member Avatar for baltimoreharps

Ok, I'm trying to Create A New File that doesn't exist yet. Basically, I want the user to enter the name of the file and then want VB to create and save the file (currently it will be blank until the user goes back in and reopens it and adds …

Software Development file-system vb.net visual-studio
Member Avatar for baltimoreharps
0
108
Member Avatar for Hugers

[B]I am new to this coding world. Recently I have started with Turbo C/C++. What next should I go for c# or java? Are their any online tutorials available through which I can start by myself?[/B]

Software Development c# java
Member Avatar for Rashakil Fol
0
164
Member Avatar for ryan311

it is possible? if the user in the running time, click the close button or the X button that we can see in the top of the form and then if the user click the close or X button message box will appear "you cannot log out"? how can i …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
117
Member Avatar for ceyesuma

[code] [/code] Hello I have a couple classes here and a resource bundles and a JSF that sends the key to the class (MessageProvider) and MessageManager.java gets the resource for the selectOneMenu component label. I would like to change the label on the submit button depending on the choice from …

Software Development java oracle session
Member Avatar for ceyesuma
0
104
Member Avatar for kiel19

I have a stand alone application In Vb that I would like to redevelop it using Netbeans such that it can run in server based environment. The Objective is to have it run on a network where I have clients who work from different stations but printing and storage of …

Software Development java storage
Member Avatar for c0dex
0
119
Member Avatar for Dendei

Hello i have an array of dates and want to input a week ex week #14 and get all the dates written out in that week. Anyone know a good way to convert weeks to dates or how i should solve this? thx for answer.

Software Development c++
Member Avatar for Dendei
0
96
Member Avatar for Seapoe

Hi, I'm new here and need some help on beginning my program. I've read the thread on homework help and am not here asking for someone to do my program. I have an assignment which I basically have to take in polynomials from the user and add/multiply them. I decided …

Software Development c++ linked-list
Member Avatar for monkey_king
0
109
Member Avatar for fourstar

Hi all, I'm new here. Hello! I am a new comp. sci major and am required to take a beginning course which we learn c++. So far I've been hanging in, but I don't have the greatest teacher to learn from. I've had no formal programming language training. I've actually …

Software Development c++ ide visual-studio
Member Avatar for tux4life
0
335
Member Avatar for rickster11

a percent sign? My program asks the user for a percentage rate. It then puts (with cin) the rate into a double. However...if a user tries to type a % after he enters a number...the program goes wack...

Software Development c++
Member Avatar for tux4life
0
179
Member Avatar for Vallnerik25

I have a question regarding when to use delete to free memory used by a pointer. I have a class function that uses dynamically allocated memory and I want to properly use delete to free up the space when I am done with it. [code=c++] // Overloaded addition operator. CSimpleString …

Software Development c++
Member Avatar for Vallnerik25
0
243
Member Avatar for Bands

Hi, i'm trying to create a vb.net calcualtor similar to that of windows but with more functions, the problem is that i can't think of how i can use a single text box to get the two input numbers. i've tried using .visible but still does not work.

Software Development vb.net
Member Avatar for c0deFr3aK
0
284
Member Avatar for AntMastr

I am having trouble starting a program that needs to sort arrays. I need to have the user input the number of employess -which will set the number of arrays, then the user will enter differnt values into each array which should be private, such as name, age, salary, number …

Software Development java
Member Avatar for stephen84s
0
83
Member Avatar for srikanth.cpd

Iam creating an application. i have a main form it has 5 buttons i have created 5 more forms. my aim is to show a particular form for every button the form is opened in a new window i dont want to open in a new window it should be …

Software Development vb.net
Member Avatar for srikanth.cpd
0
105
Member Avatar for dvsConcept

I'm trying to simulate the spin of a slot machines [reel1][reel2][reel3] so they look like they are in motion. i'm getting this error: Error 2 error C2678: binary '==' : no operator found which takes a left-hand operand of type 'std::string' (or there is no acceptable conversion) [code=c++] //rotation of …

Software Development c++
Member Avatar for dvsConcept
0
701
Member Avatar for rak4u

Hi i am using .net 2.0 & a window application which is connected to sql server there is checkbox in the application. i want to bind the checkbox with database field which is bit type 1 or 0 please tell how to ? in my window form there is three …

Software Development
Member Avatar for JerryShaw
0
176
Member Avatar for reptar

Hi i have a querystring value which is use to locate a record from a database. I have set up a validation which redirects the user to a URL if they input an incorrect querystring value in the address bar. My question is, how do i redirect the user if …

Software Development vb.net
Member Avatar for reptar
0
106
Member Avatar for jayli27

[code=cplusplus] #include<fstream.h> #include<stdio.h> #include<conio.h> #include<string.h> #include<iostream.h> #include <stdlib.h> #include <stdio.h> #include <conio.h> void deposit(void); void addrecord(); void delrecord(); void modrecord(); void disprecord(); void dispall(); void withdraw(); float w,z; class account { int accountno,cls; char name[30],type; float deposit,withdraw; public: account() { deposit=withdraw=0; } int giveaccountno() { return accountno; } void getdata(int …

Software Development c++ ios
Member Avatar for siddhant3s
0
366
Member Avatar for ksanthoshmail

error in open exe application in vb.net Please Help me: While open exe in my vb.net Project i got a error your were middle of somthing it.... and it throws invalid operation exception. My code: Dim strexe As System.Diagnostics.Process If strexe IsNot Nothing AndAlso Not strexe.HasExited Then strexe.Kill() Else Dim …

Software Development vb.net
Member Avatar for ksanthoshmail
0
174
Member Avatar for cljlxwater

if i define a array, for example private int[] lendMoney = new int[10]; do i can use a use property to match this private array? thank you

Software Development
Member Avatar for Rashakil Fol
0
112
Member Avatar for SlyMaelstrom

This actually pertains to Visual Basic for Application in Access 2003, but I imagine that this forum should yield accurate information for a simple query such as this. Naturally, the event in the title does not exist. Not for the pre-defined text box control in VB, anyway. However, it is …

Software Development visual-basic
Member Avatar for SlyMaelstrom
0
155
Member Avatar for jaasaria

hi guyzz im using crystal report for my application... i have problem in making formula in details parts of my report.. i access two tables in making the details, but my problem is to display the amount by subtracting or adding the details amount.(for getting the running balance.) plss see …

Software Development visual-basic
Member Avatar for jaasaria
0
135
Member Avatar for PinoyDev

Good day.! I have created a menu editor with a name File. This file menu contains a popup menu which is(back-up database,restore database,logout). With this popup, i want to add an icon on the left sides all of them. Does any one there can help me pls. this is how …

Software Development visual-basic
Member Avatar for PinoyDev
0
464
Member Avatar for VBNick

right now, I am allocating a dynamic 2D array for my rasterizer's edge list. My setup looks like this: [code="cplusplus"] struct EDGE { float x, dx; float uvws[4]; //u, v, 1/z, shade float duvws[4]; float y_limit[2]; bool active; }; struct EDGERECORD { EDGE *left_edge; EDGE *right_edge; EDGE edges[9]; UINT16 num_edges; …

Software Development c++
Member Avatar for VBNick
0
140
Member Avatar for RahulV

Consider this VB6 source code [code=visualbasic] Public bc As Boolean Dim x As Long Private Sub Command1_Click() If bc Then MsgBox x Exit Sub Else Call exec End If End Sub Private Sub Command2_Click() bc = True Call Command1_Click End Sub Private Sub Form_Load() bc = False End Sub Public …

Software Development visual-basic
Member Avatar for hkdani
0
171
Member Avatar for pythononmac

name = caffé print name Python gave me an error on print: ascii' codec can't encode character u'\xe9' in position 5: ordinal not in range(128)

Software Development python
Member Avatar for pythononmac
0
684
Member Avatar for besktrap

Hi everyone! I am currently creating somewhat of a platformer/puzzle game in pygame and ran into a problem with creating levels. I really don't want to take the time to program collisions with the player and each platform on the game, because that would obviously take forever. I was thinking …

Software Development puzzle python
Member Avatar for besktrap
0
145
Member Avatar for eD_2525

Hey Everyone! My name is Ed and I am new to programming and your community. Thanks for the warm welcome and I hope you can follow me with my coding problems. My code is for a project that simulates a simple vending machine. When the program is run three buttons …

Software Development java java-swing
Member Avatar for BestJewSinceJC
0
731
Member Avatar for ppraj

Hi, I have folder which is deep rooted (i.e many folders and files under it) My requirement is to execute a command on each file on the above folder recursively and it should be fast. My approach was to use to the Directory Get Files method to get the files …

Software Development
Member Avatar for LizR
0
422
Member Avatar for ppraj

Hi, I need to match the following full string using Regular Expression : [code] load "\fiostvmercury\Src\fiostv\server\Admin Console\Build" [/code] Let me know

Software Development
Member Avatar for LizR
0
150
Member Avatar for BruenorBH

I am creating a program in Dev-C++ v. 4.9.9.2 using Win32 API that loads from a file and saves to a string. The only issue is that I cannot split the string to the requested variables... Here is what is in the file... 08:00:00 PM, 08:00:00 PM, 08:00:00 PM, 08:00:00 …

Software Development api c++
Member Avatar for BruenorBH
0
114
Member Avatar for c0dex

Hey all, for quite some time I've been working on an inventory management program for work, and I'm having a bit of an issue with the rendering of a JFrame notification window, I'll do my best to explain below (including screenshots). So my program works with a remote FTP server …

Software Development java java-swing perl visual-basic
Member Avatar for JamesCherrill
0
204

The End.