132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for wallet123

hello there, im having a problem with my code . .. . . so this is my class 1: package app.ui; import java.awt.EventQueue; import javax.naming.ldap.Rdn; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.ImageIcon; import javax.swing.JScrollBar; import java.awt.Color; import java.awt.Font; import java.beans.PropertyChangeListener; import java.beans.PropertyChangeEvent; import java.util.Calendar; import java.util.GregorianCalendar; import javax.swing.JScrollPane; import javax.swing.JTextField; import …

Software Development java java-swing
Member Avatar for stultuske
0
429
Member Avatar for dirtydit27

Hello, I'm a newbie to python and I am having a very hard time trying to solve a homework question that I have. Here it is: Given a list of items, write a program that generates a list of lists of the following form: [a,b,c,…,z] → [[z], [y,z], [x,y,z], … …

Software Development python
Member Avatar for Lucaci Andrew
0
297
Member Avatar for kingk110

I was trying this sample found in the website: [Custom Checkbox](http://www.daniweb.com/software-development/csharp/code/217338/custom-checkbox) when I add the CustomCheckbox from the toolbox to the form directly and build the project it take lot of time to be build and cause the visual studio to not respond. Do anybody have an idea about the …

Software Development visual-studio
Member Avatar for kingk110
0
453
Member Avatar for blindislands

I need to write a right turn code for a micromouse using sensors but I don't know where to start. Can you help me please? This is the algorithm we developed. > // Right turn while sensor 1 is OFF // initialize RTcounter = 0; if (sensor 6 == 0) …

Software Development algorithm c
Member Avatar for Adak
0
246
Member Avatar for dendenny01

My Program contains 4 arrays and I want to sort the array in such a way that if one array is sorted the other array should follow it Example: unsorted array name code salary date John 52 6500 15 Suzzy 10 1500 20 Mike 20 1451 16 Sorted array(according to …

Software Development c
Member Avatar for Adak
0
233
Member Avatar for dualzNZ

hi all i am developing a small application that will allow the user to paste in admin logs which will then be converted into xml data. The code works fine in VB.net but i am trying to convert it into C# as the application is written in c# i am …

Software Development regex xml
Member Avatar for dualzNZ
0
178
Member Avatar for RvSon

Hi All, I need to load varying Custome controls to one page with differnt panles,I have to load Custom control page according to selection of Criteria. Thanks

Software Development
Member Avatar for RvSon
0
305
Member Avatar for ajit.nayak3

how can i plot the graph for the below code.I am having matplot library.plot graph for time vs v1 and time vs v2 and in Time1.csv file for tS import csv def test1(): inputCSV = open(r'test.csv', 'rb') outputCSV = open(r'test1.csv', 'wb+') appendCSV = open(r'test1.csv', 'ab+') cr = csv.reader(inputCSV, dialect = …

Software Development os-x python
Member Avatar for TrustyTony
0
257
Member Avatar for reedone816

I have limited knowledge in coding. can anyone tell me what is worng with my code? the firstrow result in the database is not updated, but it is updated in datagridview. For i As Integer = 0 To DataGridView1.RowCount - 1 DataGridView1.Rows(i).Cells(11).Value = "true" Next SmsdDataSet.AcceptChanges()

Software Development dataset mysql vb.net
Member Avatar for reedone816
0
433
Member Avatar for SeanBlack0000

I am trying to create a graph from a 2d matrix of booleans. When the index [i][j] == 1, I need to create a link or edge from node[i] to node[j]. I am doing some thing wrong. I have created a class file with a struct node and some basic …

Software Development c++ linked-list matrix-multiplication
0
206
Member Avatar for eranga262154

Hi all, Using my application I've found a file path anywhere on my machine and store the full path in a CString variable. That is full path, like this, [CODE]G:\Work On\CPP\001_002_003.txt[/CODE] What I want to do is, find the name of the file(without the extension), 001_002_003 according to my example. …

Software Development c++ file-system
Member Avatar for Gorf
0
2K
Member Avatar for dustin.mcalister.58

This is a bit of homework I have to do for my C++ class. I was suppose to add 11 as the pay code and 23 as the pay rate, but during the debug test when I type in 11 it doesn't display $23 like it's suppose to. What am …

Software Development c++
Member Avatar for dustin.mcalister.58
0
129
Member Avatar for tony75

Hi Any idea how to solve an old exercice? The linux command ls -alR produce informations about files contained in the current directory and its subdirectories. You can save its output by using redirections (in the file output in the following example): ls -alr > output The exercice is to …

Software Development perl
Member Avatar for 2teez
0
260
Member Avatar for tumblinmonkeym

I have to write a program that creates a binary search tree from a file and output it and several other requirements. One requirement that I cannot figure out is how to find the search cost for each node. These are the instructions I was given Calculate the search cost …

Software Development c++ data-structure seo
Member Avatar for gusano79
0
656
Member Avatar for coding101

Im new to threads, and would like to get experience so I am trying to build a chat server. The idea is to have one thread read from the client socket, while another thread writes to the client socket. (like AIM) I cannot get them to execeute concurrently; Need help, …

Software Development client-server java
Member Avatar for james6754
0
195
Member Avatar for schroaus

At the moment I am making a simple pong game in my tenth grade high school class. It is already much more advanced than any of the other projects that people are working on and I will get an A no matter what, but I still have a problem that …

Software Development vb.net
Member Avatar for schroaus
0
198
Member Avatar for Plonkaa

Hello, I have added a image file to my code in tkinter but it basically fills my the whole frame so if its possible can you recommend a tutorial that shows or explains how to do this.... unless you can show me on here. I havent added my full code …

Software Development image python tkinter
Member Avatar for vegaseat
0
320
Member Avatar for Counterpartz

Hello, I'm writing an application that computes the variance and average from a list of integers. Here is the assignment info: Create a function that accepts a list of integers and computes the average and variance of the list. The variance is computed using the following formula. The list of …

Software Development c c# c++
Member Avatar for Counterpartz
0
310
Member Avatar for pvn29

This program is not running due to 2 errors could someone please assist me? Thanks import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class UserList { public static void main(String[] args) throws Exception { String str1, str2 = "username"; int index; int initialCapacity = 10; BufferedReader dataIn = new BufferedReader(new InputStreamReader(System.in)); …

Software Development java
Member Avatar for somjit{}
0
251
Member Avatar for entropic3105

I want to make a program in which you can edit pictures or similar to paint in windows. Does anyone have any idea how?

Software Development python tkinter
Member Avatar for entropic3105
0
185
Member Avatar for sarman.boyslo

hi all, newbie wanna ask... if i have string sent from serial comm, lets say the string is like this : name1 name2 name3 how can i split that string into separate string, lets say i will put name1 into textbox1, name2 into textbox2, name3 into textbox3? thanks for the …

Software Development visual-basic
Member Avatar for tinstaafl
0
2K
Member Avatar for UKnod

I have an access database which I am using with .net, I can search tables and maker very specific searches no problem, trouble is that I can't work out how to make global searches. IE search entire databse for "fred" or search a single table for "fred". Anyone know what …

Software Development microsoft-access seo vb.net
Member Avatar for TnTinMN
0
276
Member Avatar for jontennyeah

i have a datetimepicker and a textbox i code inside in the datetimepicker Private Sub DateTimePicker2_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DateTimePicker2.ValueChanged TextBox1.Text = DateTimePicker2.Value.ToString ''7/16/2015 9:03:03'' PM is the output i my textbox, how i will remove the time when i input a date from the …

Software Development vb.net
Member Avatar for Reverend Jim
0
144
Member Avatar for mical700

Write a program that (using an array) analyzes student performance on an exam using the information from such a file. The program should input the name of the text file, and then display the worst score, the best score, the average score, the standard deviation, and a histogram -- a …

Software Development java
Member Avatar for JamesCherrill
0
124
Member Avatar for nishad_forums

Hi, I know C, C++, and Java (all basic knowledge, no GUI idea in C++ or C) and now I want to make a *desktop application with GUI in C++* but no idea about how to make it, google didn't help me a lot! Can someone please give me the …

Software Development c++ gui
Member Avatar for mike_2000_17
0
3K
Member Avatar for vihrao

I created a sample wcf REST service in .NET 3.5 vs.net 2008 Defined interface cdservice [ServiceContract] public interface CdService { [OperationContract] [WebGet(UriTemplate = "service/*", ResponseFormat = WebMessageFormat.Xml)] string[] GetConfig(); } Implemented GetConfig in Service1.cs namespace CdService { public class Service1 : CdService { public string[] GetConfig() { string[] services = …

Software Development asp.net finance
Member Avatar for Ketsuekiame
0
218
Member Avatar for mlugaliki

Hi everyone, I am new to java webservices, i am developing a web service client using apache axis2 and eclipse. I used wsdl2java to generate the client code. Now when i invoke the service i get this error: org.apache.axis2.AxisFault: The input stream for an incoming message is null. What code …

Software Development apache java
Member Avatar for mlugaliki
0
2K
Member Avatar for tiffany.leroux.7

I am doing huffman coding and I have made the tree. Now I am required to traverse the tree to create bit strings associated with the characters. Then I will put the bit string and char into a map to use with encode/decode. I have been working on this for …

Member Avatar for owenransen
0
462
Member Avatar for PixelExchange

Hello everyone. I would like to know if it is possible to double buffer a .png image using GDI+ Can anyone help me? Below is the code I used to display a png image with alpha transparency, however, I do not know how to double buffer it! Please help. DrawPng …

Software Development c++ windows-api
Member Avatar for owenransen
0
711
Member Avatar for bhawin

mu visual studio 2010 is showing a LINK : fatal error LNK1168:not opening exe file for writing

Software Development c++ visual-studio
Member Avatar for owenransen
0
190
Member Avatar for ManthanB

![fd98328a4ef457f3a777b94854a00974](/attachments/small/4/fd98328a4ef457f3a777b94854a00974.JPG "align-left") Hi to all... I am getting an error Load to fail report in my c sharp crystal report application. the error is some what like below mentioned. CrystalDecisons.CrystalReports.Engine.LoadSaveReportExceptio: LoadReport failed. also find the attachement of the error message that i got .... Any help will be greatly apprecaited... …

Software Development
Member Avatar for ManthanB
0
241
Member Avatar for Labdabeta

Ok, so occassionally as I write my code, a non-printing character is insterted... according to code::blocks this character is actually two characters (\302 and \206). I have done much searching to solve the problem, but a solution has eluded me. I tried using the windows console type command on a …

Software Development c++ ide
Member Avatar for Labdabeta
0
829
Member Avatar for Djmann1013

Hi, I am trying to store individual lines of a .txt file in a ComboBox, here is my code: Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load Dim FILE_NAME As String = "history.txt" If System.IO.File.Exists(FILE_NAME) = True Then Dim objReader As New System.IO.StreamReader(FILE_NAME) Dim Line As String = …

Software Development vb.net
Member Avatar for Djmann1013
0
153
Member Avatar for waleed.makarem

Gentlemen, I have found a very nice tooltip control on the following link http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=6967&lngWId=10 I tried to convert it to vb.net , and the solution works , but with some error . I beleive it is related to the namespace issue. Please check attached file for the C# source code …

Software Development c# vb.net
Member Avatar for waleed.makarem
0
345
Member Avatar for sirlink99

Hello Everyone. I am making a sudoku solver for an assignment, and I ran into a problem of my 2D Integer array not updating. The input consists of a 9x9 puzzle with 0s for the missing values. I read this input and then place it into the 2D array. during …

Software Development java puzzle
Member Avatar for sirlink99
0
276
Member Avatar for paulmal

I have 8 teams who have to play each other in a round-robin format, therefore 7 rounds, but only have 4 fields. How can I write a script to allocate fields to games in a fair manner so that any one team only plays on the same field as few …

Software Development python
Member Avatar for Gribouillis
0
142
Member Avatar for sai.aleenus

**how to draw a line in c program given the slope and intercept of the line**

Software Development c
Member Avatar for Echo89
0
241
Member Avatar for PerplexedB

I understood (or I thought I understood) that a constructor has the name as the class. Then why do I get a "membernames cannot have the same name as their enclosing type here": namespace p0080 { class p0050Access:fwSQL { void p0050Access() { this.cConnString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=v:\\data\\p0050\\p0050.accdb"; } } }

Software Development
Member Avatar for PerplexedB
0
113
Member Avatar for harshi414

i just read in a few articles that we need some kind of special drivers for parallel port to access it through c as in win xp and 7 we cannot access them directly ! so can you help me in that !????

Software Development c microsoft windows-xp
Member Avatar for Ancient Dragon
0
222
Member Avatar for filxy

when i debug this code it is giving few errors whats wrong in this code can anyone please help out :S #include "stdafx.h" #include <iostream> #include <conio.h> #include <string> #define T_SEMICOLON';' #define T_LPAREN'(' #define T_RPAREN')' #define T_ASSIGN'=' #define T_DIVIDE'/' #define T_WHILE 257 #define T_IF 258 #define T_RETURN 259 #define T_IDENTIFIER …

Software Development c++
Member Avatar for sepp2k
0
291
Member Avatar for disjes_1

Hi, in vb 6.0 the listview had a view property, if you set that property to Icons you could move the ítems wherever you wanted but now i don't see anything like that, the behaviour i want to have is like the Windows desktop where you can move the ícons …

Software Development listview vb.net
Member Avatar for disjes_1
0
936
Member Avatar for Taras20

hello everyone. i need to check if random number generated each time button clicked have not been generated before. i'm saving random number to array each time button clicked then i need to check if after second click of the button numbers are different if not then generate new random …

Software Development vb.net
Member Avatar for Reverend Jim
0
266
Member Avatar for zdneth

How to assign a keyboard shortcut in jTabbedpane in netbeans?? My project is quite using many tabs so I want to minimize clicking the mouse. Need HELP! Thankx

Software Development java
Member Avatar for JamesCherrill
0
109
Member Avatar for Papa_Don

I'm trying to read and return info from an SQL database. To ensure you have the details, here's the basic info: The database is called "DataDesignSolution" The table is called "INVENTORY" I'm trying to read the columns "INV-PART-NUMBER" and "INV-DESCRIPTION". I've written the following code hoping to SEARCH through the …

Software Development open-source vb.net
Member Avatar for Papa_Don
0
149
Member Avatar for zacant

My code: public ArrayList<Grade> grades; grades = new ArrayList<Grade>(); public Grade getLowestGrade() { Grade lowestGrade = grades.get(0); for (int i = 1; i < grades.size(); i++) { Grade g = grades.get(i); if(s.getGrade() < lowestGrade.getGrade()) lowestGrade = g; } return lowestYet; } This code is in my Student class using the …

Software Development java
Member Avatar for JamesCherrill
0
613
Member Avatar for ajit.nayak3

Dear all , i have an csv file . I wanna copy content particular column and paste in another csv file.where i am trying to calcultion and plot graph assume original csv file contain i.e column 4 contain time(hh.mm.ss) format continue by other columns i wanna copy these data to …

Software Development file-system python
Member Avatar for bumsfeld
0
318
Member Avatar for Zaina jee

I want to Implement a STACK class using linked structure to store the following information about students: i. Registration number of the student ii. Name of the student I want to Write client code, such that based on the registration number of the students, Then I want to Retain only …

Software Development c++ linked-list
Member Avatar for Labdabeta
0
219
Member Avatar for dendenny01

I want to designe a code at display a perticular data Example a time table of the week For instance if someone view a page on monday so it show display result of the table or data which is set to display on monday or if some one view same …

Software Development c
Member Avatar for dendenny01
0
172
Member Avatar for analys

Hello, I'm having error when I try to filter my data (name) In my Personal table, I have a column for name for ex: Mary Elizabeth Roger When I type the name in searchbox, it appears as syntax error. Here's my code Private Sub SearchPD_Record() Dim da As New OleDbDataAdapter …

Software Development vb.net
Member Avatar for Reverend Jim
0
191
Member Avatar for <M/>

I am using visual studios and I keep getting the same error. `Error 1 Program 'c:\Users\M\Desktop\C#\Parameter\Parameter\obj\Debug\Parameter.exe' does not contain a static 'Main' method suitable for an entry point C:\Users\M\Desktop\C#\Parameter\Parameter\CSC` How do you properly do a method in visual studios, it seems that I can't do it properly.

Software Development
Member Avatar for tinstaafl
0
191

The End.