132,728 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for newop

I have been working on how to create a second stack object called 'st2' only by accessing 'st' contents through it's methods. That is simply, to populate stack2 with stack1’s contents. To have a duplicate of stack1’s contents (and order) in stack2. namespace stack { class Stack { private int[] …

Software Development
Member Avatar for tinstaafl
0
167
Member Avatar for TyeL89

I am creating a contact program with python and wxpython. While creating the browsing function for my program I ran into a problem. I've been searching for hours trying to find a way to fix it. Unfortunately I haven't had any luck on fixing the error/problem. Here is the code …

Software Development objective-c python
0
169
Member Avatar for jeram.burbon

Im try to write a program but i keep getting this error here is the program program: input: 3-digit ID & birth date (3 int month, day, year) validate birth date (1900's; dont worry about leap year) last student ID: 000 output: ID & birth date for each student birth …

Software Development java
Member Avatar for stultuske
0
1K
Member Avatar for Lacrecen

can someone enlighten me what 's the difference between having a codeless database conenction and using manual code to connect to database. which is better? for me, i think it is easier to do database using connection using object properties like datasource, datamember. i find it difficult using manual coding …

Software Development visual-basic
Member Avatar for Lacrecen
0
86
Member Avatar for metchoy tumanda
Member Avatar for hastings

the clear() fuction isnt working to clear the textbox. any one help!! thanks in advance.

Software Development
Member Avatar for Fenrir()
0
106
Member Avatar for Lacrecen

Hello!~ i'm currently doing a database about examination system.. i already have a database for login,registration, and questionaires. my problem is on my question database.. i managed to connect the questions and choices in visual basic (or so i thought) questions are on multiple choices.. my question is : how …

Software Development visual-basic
Member Avatar for Lacrecen
0
159
Member Avatar for Simon180

Am looking for a way to add a custom item image in icon view on a listview the icons I want to use is a single image bmp file with 4 icons on the image so I need a way to select each image on the file and a nice …

Software Development image listview pascal
Member Avatar for SalmiSoft
0
245
Member Avatar for chumli

> 1) I need to make the game ask the player if they would like to play again and repeat if they choose yes. I have tried to add a loop in a few different ways but have not made any progress so far. > 2) When a letter is …

Software Development c++
Member Avatar for chumli
0
300
Member Avatar for Atlanta15Braves

I have a program that creates a right triangle from a loop reading "*". I have used the code to complete the first part, but the second part calls for a manipulation to take the current pattern, flip it upside down, and then add it to the first pattern. Here …

Software Development java
Member Avatar for stultuske
0
3K
Member Avatar for blankspace

Hello, I need help with java. I need to create an application that is similar with paint but slightly different. Here is the description of this project that i need to work on. First, we need to display a menu that is consist of two choices which is 'custom animation' …

Software Development java
Member Avatar for blankspace
0
199
Member Avatar for piovertwo

This is for a senior-year project with an [ANFIS](http://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber=256541) (adaptive neuro-fuzzy inference system) module to be used as a predictor for financial instruments. The bulk of the system will be written in Python—chosen for its ease of use and the presence of libraries for genetic programming, another component of the …

Software Development github java-jsp open-source python
Member Avatar for Gribouillis
0
3K
Member Avatar for mohammed.salim91

Hi, I need same book about c++ programming. thank you.

Software Development c++
Member Avatar for nathan.pavlovsky
0
109
Member Avatar for Tycellent

Hey Guys, Really want to learn Java and hope you guys could recommended some Beginner, Intermediate and Expert books/resources (e.g. websites) As of this moment i'm thinking of... Beginner: Java for Dummies, Thinking in Java Intermediate: Effective Java Expert: In addition, it'd be also be awesome if any recommendations of …

Software Development java
Member Avatar for Tycellent
0
181
Member Avatar for Xiao_1

is this coorrct if write like this: Public Class Lecturer_Form Private Sub Lecturer_Form_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim conn As New System.Data.OleDb.OleDbConnection() conn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\temp\Database1.accdb" If conn.State = ConnectionState.Open Then conn.Close() conn.Open() Dim sql As String = "Select A.StaffNo,A.TimeIn,A.TimeOut, B.ProjectNo, C.AdminNo, C.UserName From tbl_lecturer …

Software Development open-source visual-basic
Member Avatar for Xiao_1
0
181
Member Avatar for raliot

I'm trying to sort a deck with merge sort.I have all my code working except merge sort function . Any help would be really helpful ;) int temp; int br = 1; void push_l(int n); void push_r(int n); int pop_l(int &n); int pop_r(int &n); struct elem { int key; elem …

Software Development c c# c++
Member Avatar for raliot
0
294
Member Avatar for IsaacMessi10

Hi, I'm getting the following error: NullReferenceExceptionWasUnhandled on `if (messageUserList[i].Contains("_0"))`. I can't seem to find where the data is null. I've tried debugging using breakpoint yet no luck. Basically what I intend to do is get the text from a particular textbox `txtSendMsg` and write it to `messageList` at position …

Software Development
Member Avatar for IsaacMessi10
0
139
Member Avatar for batoolhussain

hi all.... I ask if there is class in visual basic.net 2010 that i can use for get pixel in gray image as color class that i am using to get pixel in color image. please help me.

Software Development image vb.net visual-basic
Member Avatar for Reverend Jim
0
101
Member Avatar for Kingcoder210

I have a table there in SQL SERVER 2000 which has five fields[date income amount expense amount]. Now user wants to input first date & last date there in form to show records ok? To show record by one paraemeter was easy for me & I did it by following …

Software Development vb.net
Member Avatar for hrothenb
0
701
Member Avatar for Behseini

Hi Everone, Can You please let me know how I can add icon(image) before items in a listbox.I have a simple code for listing database elements in a listbox and I would like to add icon for each element.For example a table icon before tables(like MS Access Table List or …

Software Development
Member Avatar for macgurl70
0
4K
Member Avatar for batoolhussain

hi all ... I want to apply sobel filter to gray scale image to detect the edge of the image using visual basic .net 2010 .The size of the image 639*427 please help me

Software Development image vb.net visual-basic
Member Avatar for batoolhussain
0
124
Member Avatar for henryz_box

I have a client/server setup. When both are loaded they are identical(Buttons, labels, TextFields and such). When I click a button on the client it performs an action on the server, displaying other TextFields, Labels and buttons. Now I need the same actions to be performed on all clients. What …

Software Development client-server java
Member Avatar for henryz_box
0
667
Member Avatar for gtcorwin

I click the Code button and it erases all the code I typed and won't let me type in the box any more. I am getting realy annoyed trying to post c code because I can't add the curly brace... can someone please tell me what it takes to post …

Software Development first-post gui
Member Avatar for deceptikon
0
171
Member Avatar for My_1

Okay. I have encrypt and decrypt file done. Let start at being I ask user for key and what file what they want to read or encrypt. And encrypt. For decrypt it same code. Now i have problem at let say the user enter 5 for key. How can i …

Software Development java
Member Avatar for JamesCherrill
0
256
Member Avatar for G_Waddell

Hi All, I'm writing an app that prints of batches of documents to clients for posting. The printer uses OMR to collate and fold the documents into envelopes automatically. The document inputs will either be Word or Adobe Acrobat. I have routines to print off each document type while adding …

Software Development app-store open-source pdf printer vb.net
Member Avatar for Bala2507
0
447
Member Avatar for KetraCoder

Hi, I'm trying to make a game, so when the NPC talks to the player, I want the text to type it self So it would be like: H He Hey Hey t Hey th Hey the Hey ther Hey there Instead of just Hey there. I've attempted to do …

Software Development java
Member Avatar for KetraCoder
0
232
Member Avatar for Alex_29

Hi, I've just started using Python/Pygame as a hobby. I've gotten the code to draw my Plane.png and move it using the wsad keys, and I mapped the q and e keys to rotate it which it does, but each time it rotates, it 'falls' down the screen to the …

Software Development python
Member Avatar for juanpa_2510
0
4K
Member Avatar for Lethugs

Hi, I have to forms, second for is shown from the first form trough showdialog command. Both forms have datagridview User will select data from DGV in second form then pass all this data to DGV in first form How can I achieve it, I know how to do it …

Software Development vb.net
Member Avatar for Lethugs
0
351
Member Avatar for Karthika_g

Hello, Please let me know how should we get the id of an entity and put it in the another entity. I have two entity User and Track. I tried the below code I couldn't make. Please help! class Review(webapp2.RequestHandler): template = JE.get_template('templates/Review.html') self.response.out.write(template.render()) def post(self): n = self.request.get('user_name') t …

Software Development google python
0
212
Member Avatar for hamza233
Member Avatar for rubberman
0
200
Member Avatar for MasterHacker110

I am trying to create a form dynamicly and thus I need to initialize my DBGrid with code. { Connect the DBGrid to the database. } procedure TfrmRemoveRecord.InitDBGrid(); begin dbgList.DataSource := dmProgramDatabase.dsrCaches; end; But I get an access violation error.

Software Development pascal
Member Avatar for MasterHacker110
0
184
Member Avatar for Auroch

Hello! I'm trying to transform working Python code to Matlab code. It's Simpson's rule. But MatLab code is not working. What should I change for in this code? Python: from math import sin def f(x): return ((0.6369)*sin(sin(x))*sin(x)) def method_simpson_compost(f,a,b,n): h = (float(b)-a)/n i = 0 fks = 0.0 while i<=n: …

Software Development python
Member Avatar for Taywin
0
322
Member Avatar for wael1sham

using turbo c++: write a program that converts the input dollar to its peso equivalent.Then display the peso equivalent.One dollar is approximately 45.119 pesos.

Software Development c++
Member Avatar for NathanOliver
0
145
Member Avatar for bmwwbb54

import java.util.*; public class Initials { public static void main (String [] args) { Scanner keyboard = new Scanner (System.in); String name; System.out.println("Please enter your full name including your middle name: "); name = keyboard.nextLine(); System.out.println(" "); int x = name.indexOf(' ')+1; String nameTwo = name.substring(x,name.length()); int y = nameTwo.indexOf(' …

Software Development data-structure java
Member Avatar for Taywin
0
2K
Member Avatar for Xiao_1

in stuednt admin i wan it to insert and also select from tbl_stuendadmin how to put it togeter If String.IsNullOrWhiteSpace(txtcard.Text) Or String.IsNullOrWhiteSpace(txtadmno.Text) Then MessageBox.Show("Please complete the on the box.", "Authentication Error", MessageBoxButtons.OK, MessageBoxIcon.Error) Exit Sub End If Dim Conn As System.Data.OleDb.OleDbConnection Dim ConnectionString As String = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\temp\Database1.accdb" Conn = …

Software Development open-source visual-basic
Member Avatar for Santanu.Das
0
147
Member Avatar for guiman

Dear all, I am trying to edit the .resx file (Form1.resx) so I can localize my application for different settings. However, when I edit my .resx file and then view it in Visual Studio, I get an error "ResX file Data at the root level is invalid. Line 1, position …

Software Development file-system visual-studio xml
Member Avatar for doxa.paradoxa
0
1K
Member Avatar for Shutout180

I have tried to understand writing C code and I've struggled to grasp this. I'm looking for any help I can get at this point. Below is a problem I need to write the C code for. Is there anyone that can help me? Design a program that will allow …

Software Development c
Member Avatar for Nutster
0
257
Member Avatar for AdanPuente

Hi! I would like to send SMS messages from Sharepoint when a server goes down. I have found this website that explains how to integrate it with this Ozeki NG SMS gateway. The software is ok when trying to connect the JDBC with my database, and this whole configuration looks …

Software Development java php sharepoint sql
Member Avatar for stultuske
0
254
Member Avatar for gajen007

I designed a swing interface with MySQL table. I put two comboboxes in a manner when the 1st combobox value is selected (Brand Name), the second combobox values (available items under thise selected brand) will be loaded via a mysql query. My code is... try{ String url = "jdbc:mysql://localhost:3306/databasename"; String …

Software Development java java-swing mysql
Member Avatar for stultuske
0
988
Member Avatar for basfehrjani

Please help me -_- transfer Numbers 1 to 100 from client to server using sockets in a console application. Number one second per second transmitted -_-

Software Development client-server
Member Avatar for basfehrjani
0
355
Member Avatar for writerervin

I was wondering how I would go about programming a gui toolkit from scratch. I would appreciate any and all help you could give me.

Software Development c++ gui
Member Avatar for Moschops
0
294
Member Avatar for kinjal.jain.7393

I am creating a project in winforms in vb.net. My requirement is to update and delete records in SQL database with a button click event. My update coding updates the whole table instead of a particular database row.I have four columns in my table. Is there any coding way where …

Software Development vb.net
Member Avatar for Piolo_1
0
181
Member Avatar for exoruel

I thought I'm done doing mg activity, but my professor said that we need to use a Temporary Variable for Swapping and I have no idea where to put it. Mind giving me a hand, please? :( Here is his activity: Activity: Swapping Create a program that accepts a 10-element …

Software Development c++
Member Avatar for exoruel
0
328
Member Avatar for asoud80

how can i Write a C++ program to display cities of USA using switch case newyork,virginia,texas,hollywood,chicago & newmexico

Software Development c c# c++
Member Avatar for wolfdragon
0
119
Member Avatar for infoitmanoj

i need to disable my combobox dropdown database values when another combobox value is clicked ...any help plss ...

Software Development vb.net
Member Avatar for Santanu.Das
0
290
Member Avatar for Ritesh_4

Hi, I have a C# project which I want to make into a Windows installer (either .msi or .exe if possible) so that it can be deployed for e.g. in the C:\Program Files\myproject folder on any PC running Windows (and if possible limit it as from Vista onwards with a …

Software Development c# windows-vista
Member Avatar for Muhammad_71
0
1K
Member Avatar for 2384443

Hi everyone, i need your help, i've used a panel and i've a label(which acts as a background image).. There's a long text which is placed in a label. now i want to view this text and the background image but in this attempt i cant see any scrollbars even …

Member Avatar for juanpa_2510
0
235
Member Avatar for anand01

Hi all , Good Day! I am having confusion in storing null values in hashmap and passing null in println method. 1) When I add null value in hash map directly it will not allow at the same time when I assign a null value in to string and add …

Software Development java
Member Avatar for Taywin
0
316
Member Avatar for alon4963

Hello I write down a bank program and I have a problem. I would be happy if you can help me. So I have two types of accounts each account in a different class. first one is limited account and yhe secound is over draft account also I have class …

Software Development c++
Member Avatar for rubberman
0
150
Member Avatar for bjf1992

show the output of the following C++ code, (assume the adress of x is 0012ff44) int x=100; int *ptr; ptr= &x; ptr=200; cout<<x<<endl; cout<<ptr<<endl;

Software Development c c# c++
Member Avatar for rubberman
0
117

The End.