132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for somjit{}

I like watching stuff like google tech-talks , josh bloch seminars/talks etc for Java. Can somebody provide something similar in nature for C# ?

Software Development c#
Member Avatar for somjit{}
0
166
Member Avatar for fugio

Hello Everyone, I tried to insert the column name from datagridview1 to rows of datagridview2 and that was work, but the first row problem. when moving the mouse to the end position and back to the first position, the value does not appear. Thanks for your help http://img10.imageshack.us/img10/617/xtv9.png Private Sub …

Software Development
Member Avatar for ddanbe
0
246
Member Avatar for sujskiez

For some reason my java program can't find my textfile if i use file.next to display contents of the file but if use file.readLine it finds and shows the contencts of the filebut not the way i want for example: I want actual output like this: 1: Humps Black Eyed …

Software Development file-system java
Member Avatar for stultuske
0
354
Member Avatar for skran

Hi all! I have a user interface where I want to filter a datagridview.. I 've achieved to create filters but I 've failed to filter tha data by date.. I have a sql db and the column of date is of datetime type. When I try to filter the …

Software Development user-interface vb.net
Member Avatar for eldarzeynal
0
1K
Member Avatar for castajiz_2

Is it posible to install and deploy my c# apllication on my phone (name in the title)?

Software Development c#
Member Avatar for pritaeas
0
82
Member Avatar for ganges

Hi, I am using eclipse j2ee juno eclipse market place is not working this is the error i am getting "Unexpected exception java.lang.reflect.InvocationTargetException" give me solution to fix it. thanks for your time.

Software Development java
Member Avatar for stultuske
0
501
Member Avatar for subhraakasuny

Hi All, I want a make a system logger in java to track all the activity that is going on my system. Like 1)User Login 2)File Copy 3)Other Activities But,Being a beginner I don't have much knoweldge regarding my goal. Please provide your valuable feedback.

Software Development java
Member Avatar for stultuske
0
133
Member Avatar for cakka

Hello, is there any other method to compare string in java beside using equal() and == operator ? Thank you

Software Development java
Member Avatar for stultuske
0
342
Member Avatar for kal_crazy

This is the code that I have done so far: import java.util.*; import java.awt.*; import javax.swing.*; import java.awt.event.*; class TSP extends JPanel{ int weight[][],n,tour[],optDist; final int INF=1000; public TSP(){ Scanner s=new Scanner(System.in); Random r = new Random(); System.out.println("Enter no. of Cities:=>"); n=s.nextInt(); weight=new int[n][n]; tour=new int[n-1]; for(int i=0;i<n;i++){ for(int j=0;j<n;j++){ …

Software Development image java java-swing
Member Avatar for kal_crazy
0
1K
Member Avatar for victor_3

I have this assignment where the user has six guesses for the correct letter out of 1 to 4 games. I only have one error that won't let me pass my build and I can't seem to figure out how to fix it. Can anyone help me figure out what …

Software Development c
Member Avatar for Appaso
0
2K
Member Avatar for Lejan

Hi, need some help. How can I retrieve data from MS Access database into DataGridView that allow me to ADD/UPDATE/SAVE/DELETE? Thanks. Hope someone can help me.

Software Development vb.net
Member Avatar for elie.karkafy
0
253
Member Avatar for elie.karkafy

i am using an access odbc to connect my database to a crystal report , when i ma generating the report up to 10 times successivly the access con stop working , can i know why ?? and how i can make the odbc access more faster and can hold …

Software Development vb.net
Member Avatar for elie.karkafy
0
118
Member Avatar for donlxu

Hi. I'm trying to create a program to compute the Riemann zeta function which is defined as **1**+**(1/(2^x))**+**(1/(3^x))**+**(1/(4^x))**+.... for user input of x and will keep adding as long as the term is less than (1e-7). but I keep getting 1.79301e-307 for every number I put #pragma hdrstop #include <iostream> …

Software Development c++
Member Avatar for donlxu
0
197
Member Avatar for sportguy98

Hello everyone, I am having trouble with an assignment. The assignment consists of a basic encryption and decryption program already written for me, I just have to write the encryption function. What we have to get the program to do is enter an integer and a text, and get the …

Software Development c++ encryption file-stream
Member Avatar for ddanbe
0
192
Member Avatar for </scorpion>

I have a gridview that is populated and a button outside the gridview that I want to enable editing on the selected row when clicked. I have this in the code behind. What goes in the button event to invoke the grid view editing? Protected Sub GridView1_RowEditing(ByVal sender As Object, …

Software Development vb.net
Member Avatar for </scorpion>
0
1K
Member Avatar for jemartalaban_1

hi, everytime i print a form with "printform" it always on print into left side of the printer paper and im using a left feed printer. What if the printer's feed is center and my printer paper is small how can i make it the printing of the form is …

Software Development printer visual-basic
Member Avatar for jemartalaban_1
0
195
Member Avatar for ricardo.scheufele

I have a datagridview and a bindinglist. They work together pretty ok, but I want to make the properties appear in the rows´ headers, not on the column. Other thing I want to do is to make the headers´ text be different from the properties name. Is there any way …

Software Development vb.net
Member Avatar for ricardo.scheufele
0
280
Member Avatar for matthew.s.thomas.14

I am looking for help in how to implement function avg() that takes as input a list that contains lists of numbers. Each number list represents the grades a particular student received for a course. List for a class of four students. ([95,92,86,87],[66,54,],[89,72,100],[33,0,0]) the function avg should print one per …

Software Development python
Member Avatar for BearofNH
0
384
Member Avatar for Trle94

Hey all, I'm trying to do something and read text from page to listview in columns, problem is i get first row, but second third etc it dont insert idk why, im talking about ROWs here is my code check it out and let me know what is wrong? Try …

Software Development listview vb.net
Member Avatar for Reverend Jim
0
133
Member Avatar for phorce

I don't know why I'm having such a problem with this, basically, I want to have a Queue that is constantly running during the program called "Worker" this then works, however, every 10 seconds or so.. Another method called "Process" comes in and processes the data. Let's assume the following, …

Software Development multithreading python queue
Member Avatar for woooee
0
271
Member Avatar for MrNoobieCoder

Hello, I'm currently working on a school project in which i can not get my head around into figuring out how to make a loop until the user has input an interger this is what i have so far : width = "hi" length = "hello" while width != int …

Software Development python
Member Avatar for MrNoobieCoder
0
276
Member Avatar for sudesh.yadav.104

I want to create two textboxes on my window. I used this code case WM_CREATE: hwnd = CreateWindowEx(WS_EX_CLIENTEDGE, TEXT("edit"), TEXT("sending"), WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_BORDER | ES_LEFT, 15, 15, 200, 300, hwnd, NULL, NULL, NULL); hwnd = CreateWindowEx(WS_EX_CLIENTEDGE, TEXT("edit"), TEXT("Receiving"), WS_CHILD | WS_VISIBLE | WS_BORDER, 220, 15, 100, …

Software Development c++ windows-api
Member Avatar for sudesh.yadav.104
0
215
Member Avatar for DeanMSands3

Name says it all. Is it still relevant? I guess wxPython sort of counts. What do you think Daniweb? Now, I don't want to start a flame war -said every troll ever.

Software Development c++
Member Avatar for mike_2000_17
0
167
Member Avatar for Roshan92

Dear all, I'm starting on C# now. I had a problem in tackling a question my lecturer asked me to do. Below is the GUI. [Click Here](http://i.share.pho.to/daa36a24_c.png) using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace WindowsFormsApplication1 { public partial class Form1 …

Software Development c c# c++ gui
Member Avatar for Fenrir()
0
262
Member Avatar for nathan.pavlovsky

Hello programmers! I am making a player vs. computer Tic-Tac-Toe game in xCode that is a class, with its `run()` method as its only public member function apart from the initializer. I want to decide whether the player goes first, and I created a function to do that called `determineFirst()`. …

Software Development c++
Member Avatar for nathan.pavlovsky
0
133
Member Avatar for james.lu.75491856

import os import web ### Url mappings urls = [ '/', 'index', '/.*','notfound' ] for root, dirs, files in os.walk("C:/Users/James/Desktop/server"): for f in files: u = os.path.join(root,f) u=u.strip("/").strip("\\") ident=u.lstrip("C:/Users/James/Desktop/server").replace("/","slash").replace("\\","SLASH").replace(".","DOT") globals()[ident] = open(u,mode='rb').read() exec(""" class %(classname)s: def GET(self): global %(data)s return %(data)s """%{"classname":ident+"server","data":ident}, globals(), globals()) #create a class as if were …

Software Development os-x python session web-server
Member Avatar for james.lu.75491856
0
359
Member Avatar for zuki88

#include <iostream> #include <string> #include <stdlib.h> #include <winsock.h>//dont forget to add wsock32.lib to linker dependencies using namespace std; #define BUFFERSIZE 1024 void die_with_error(char *errorMessage); void die_with_wserror(char *errorMessage); int main(int argc, char *argv[]) { string request; string response; int resp_leng; char buffer[BUFFERSIZE]; struct sockaddr_in serveraddr; int sock; WSADATA wsaData; char *ipaddress …

Software Development c++
Member Avatar for zuki88
0
133
Member Avatar for kal_crazy

How can I figure out the time complexity of a program? The program is of the Travelling Salesman Problem. The aim was to implement the problem in two ways - Dynamic programming vs Simulated Annealing. Now I have to compare the two codes, find out which is faster and give …

Software Development java
Member Avatar for JamesCherrill
0
2K
Member Avatar for aplh_ucsc

This method read the Database and Returns the Username and Password. tblPassword has only one user name and a password. using (SqlConnection dataConnection = new SqlConnection("Data Source=isukoon-pc\\sqlexpress;Initial Catalog=AdsManager;Integrated Security=True")) using (SqlCommand dataCommand = new SqlCommand("select username from tblPassword", dataConnection)) using (SqlCommand data2Command = new SqlCommand("select password from tblPassword", dataConnection)) { …

Software Development c# open-source
Member Avatar for aplh_ucsc
0
240
Member Avatar for muhammad.a.haq

class moving { private : short x; short y; int value; public : moving (short xa ,short ya,int va); void gotoxy(short x, short y); void gotoxy(short x, short y,bool clear); void shiftright(int x, int y,int value); short get_x() ; short get_y() ; int get_value(); void set_x(int newx ); void set_y(int …

Software Development c++
Member Avatar for muhammad.a.haq
0
123
Member Avatar for luan.augusto.9081

My file: http://www.2shared.com/file/Y4I4l2kI/MysticWorld.html Convert to .class file please The errors: C:\xampp\htdocs\EMULADOR\Server\JAVAEX~1\org\MYSTIC~1\MysticWorld.java:221: error: illegal start of expression static class _cls5 ^ C:\xampp\htdocs\EMULADOR\Server\JAVAEX~1\org\MYSTIC~1\MysticWorld.java:277: error: malformed floating point literal switch(_cls5..SwitchMap.org.mysticworlds.WorldObject[type.ordinal()]) ^ C:\xampp\htdocs\EMULADOR\Server\JAVAEX~1\org\MYSTIC~1\MysticWorld.java:277: error: case, default, or '}' expected switch(_cls5..SwitchMap.org.mysticworlds.WorldObject[type.ordinal()]) ^ C:\xampp\htdocs\EMULADOR\Server\JAVAEX~1\org\MYSTIC~1\MysticWorld.java:277: error: case, default, or '}' expected switch(_cls5..SwitchMap.org.mysticworlds.WorldObject[type.ordinal()]) ^ C:\xampp\htdocs\EMULADOR\Server\JAVAEX~1\org\MYSTIC~1\MysticWorld.java:277: error: case, default, …

Software Development java
Member Avatar for JamesCherrill
0
283
Member Avatar for MasterHacker110

I program mainly in C++ but recently took up Java for its advantages. I heard about the mono project and that C# is now cross platform but that the GUI of C# is not. I like Java but I also like C#, Java has some anoying restrictions sometimes (like no …

Software Development apple c# gui unix
Member Avatar for sepp2k
0
259
Member Avatar for abhig

*Question: Create Student class as an abstract class in C++. Inherit GraduateStudent and PostGraduateStudent and ResearchStudent classes from Student class. Define proper constructors, destructors and functions related to attendance and examination result. Make necessary assumptions wherever required.* I am not the same guy who posted this http://www.daniweb.com/software-development/cpp/threads/464146/cpp-program , I just …

Software Development c++
Member Avatar for abhig
0
291
Member Avatar for sasikrishnasamy

Hi, I have a problem while reading a jsp file. I have a jsp file called scan.jsp. It is a very big file having 9000 lines. It has java script codes, some imported files etc. Unable to read all lines of data when I try the following code. public static …

Software Development java java-jsp
Member Avatar for sasikrishnasamy
0
261
Member Avatar for MeandJava

Hello everybody, I have some problems with my school assignment. I need to display a picture in a jlabel and i have already some code. Can someone give me some advice how i could get it to work. Thanks in advance. Greetz MeandJava [CODE]import java.awt.*; import java.io.*; import javax.swing.*; public …

Software Development image java java-swing
Member Avatar for Ranjana_1
0
4K
Member Avatar for phorce

I have two threads, and, I want one thread to run for 10 seconds, and then have this thread stop, whilst another thread executes and then the first thread starts up again; this process is repeated. So e.g. from threading import Thread import sys import time class Worker(Thread): Listened = …

Software Development python
Member Avatar for Gribouillis
0
11K
Member Avatar for Ann Krizette

can you help me code in VB6 a return command in returning the book that had been borrowed..tnx..need it asap. :(. a very simple code will do..

Software Development visual-basic
Member Avatar for Ann Krizette
0
276
Member Avatar for iTechnnn

This is my assaigment: Let's say that we can buy a candy from the vending machine for $1 each. Inside every candy is a coupon. We can redeem six coupons for one candy from the machine. This means that once you have started buying candy from the machine, you always …

Software Development java
Member Avatar for iTechnnn
0
170
Member Avatar for ange1991

HERE I WANTED TO FILL MY BLANK RECORD WITH ITS VALID DATA private void button5_Click(object sender, EventArgs e)//modify { comm.Connection = conn; comm.CommandText = " UPDATE Table1 SET total='" + textBox6.Text + "',result='" + label7.Text + "' WHERE Fname ='" + textBox1.Text + "'"; conn.Open(); comm.ExecuteNonQuery(); conn.Close(); dataGridView1.Update(); } I …

Software Development microsoft microsoft-access
Member Avatar for JOSheaIV
0
212
Member Avatar for Centorpe

I have 2 forms. One is a typed list having 3 controls (fields) loaded from access database (copied to project as part of .xsd). The values in this list represent recommended values of items and will also be applied to another 3rd form eventually. In the 2nd form there are …

Software Development dataset vb.net
Member Avatar for tinstaafl
0
249
Member Avatar for nikolaos

Using NetBeans 7.3.1 i have created a JFrame. A JLabel fills the bottom of the JFrame . The JLabel displays an ImageIcon. I want the ImageIcon automatically resize itself when JLabel resizes. Generated Code from IDE : jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Number_theory/resources/primes_ulam_spiral.gif"))); // NOI18N jLabel1.setDoubleBuffered(true); jLabel1.setOpaque(true); jLabel1.addComponentListener(new java.awt.event.ComponentAdapter() { public void componentResized(java.awt.event.ComponentEvent …

Software Development ide java java-netbeans java-swing
Member Avatar for JamesCherrill
0
693
Member Avatar for muhammad.a.haq

class moving { private : short x; short y; int value; public : moving (short xa ,short ya,int va); void gotoxy(short x, short y); void gotoxy(short x, short y,bool clear); void shiftright(int x, int y); short get_x() ; short get_y() ; int get_value(); void set_x(int newx ); void set_y(int newy); …

Software Development c++
Member Avatar for muhammad.a.haq
0
134
Member Avatar for williampalme

I need some urgent help in the Python programming project. In this project I am implementing the file system which provides the capability to store and retrieve data on the virtual drive. The virtual drive is represented by an ordinary file on the computer. This will create the file on …

Software Development file-system python
Member Avatar for TrustyTony
0
290
Member Avatar for adam.meyer.712

I need help writing a program in c++ where i have to write 3 different programs, a webcounter.cpp,webcounter.h, and test_prgm.cpp.So then i have to creat a makefile to compile them together, and the result of the program is "When I create the the counter, I would like to be able …

Software Development c++
Member Avatar for adam.meyer.712
0
362
Member Avatar for darrylnuyda

Hi Everyone, Can anyone know this warning "2008 is not a valid warning number" for C#? What is missing/Locking? Regards, Darryl

Software Development
Member Avatar for darrylnuyda
0
125
Member Avatar for yagelnnn1

Hey, I need help.. Let's say I made an application and gave it to a friend, how can I made a "Control Panel"..? I mean if i'll click a button it'll exit the application in he's computer..? Thx !

Software Development vb.net
Member Avatar for oussama_1
0
155
Member Avatar for supriya badam

Wat is the size of string?does string have specific size..??as like integer... Float.. Double.. Char...??

Software Development c++
Member Avatar for irum.nageen.3
0
2K
Member Avatar for G

Sorry if this is the wrong place to post this. I am new to this site. Actually, I just joinned about 10 minutes ago. Anyway... I want to make a Cocoa applictation using all code in Xcode, not using the Interface Builder. I have searched a lot on this and …

Software Development c++ objective-c os-x
Member Avatar for Ancient Dragon
0
262
Member Avatar for benjo.s.lucas

I have this code that if i enter a number for example : Enter a number: 1 2 3 output is Even:2 Odd:1 Odd:3 but i like it like this: Enter a number: 1 2 3 Even: 2 Odd : 1 3 Here is My code hope you could help …

Software Development java
Member Avatar for benjo.s.lucas
0
125
Member Avatar for Madiya122

Hi all, I have just started to learn java. The trial code I have is showing errors at compiling. Here is the code. import java.io.FileInputStream; import java.io.FileNotFoundException; import java.util.Scanner; public class ppp { public static void main(String args[]) throws FileNotFoundException { //Scanner Example - read file line by line in …

Software Development java
Member Avatar for Madiya122
0
509

The End.