132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for dennysimon

hi all I want to ask what wrong with my code. It gives me error : MySqlException unhandled Incorrect datetime value: '08/03/2011 00:00:00' for column 'Date' at row 1 the code is below: private void btnsave_Click(object sender, EventArgs e) { Thread.CurrentThread.CurrentCulture = new CultureInfo("", false); DateTime datedt = Convert.ToDateTime(tbdate.Text); Decimal …

Software Development
Member Avatar for Ketsuekiame
0
154
Member Avatar for Kerlix

I'm using VS 2010 and I always get multiple error messages: '<<': no operator found which takes a left-hand operand of type 'std::string' (or there is no acceptable conversion). I get that for lines 36 and 52. Then I get "Intellisense: no operator "<<" matches these operands for lines 36 …

Software Development c++ file-stream open-source
Member Avatar for Caligulaminus
0
312
Member Avatar for matthewr545

Hi I making a real advanced and powerful web-browser. It's Almost complete, but when i run it i type in the URL i want to go to which activates the browser tool, but the page stays white. I know its half working due to when i click enter it displays …

Software Development vb.net visual-basic web-browser
Member Avatar for Huntondoom
0
125
Member Avatar for Pravinrasal

how todesign automatic grading system online using java i want to create one web application which creates online grading system for the students. which displays their grades,marks and ranking ...

Software Development java
Member Avatar for Majestics
0
161
Member Avatar for fsefsef23

Sorry for the confusing title. Basically I have a line which I read from a file that gets stored as an array stack of characters that reads as follows: Nn<-<-<-<-No <-w iz<-sthe<-<-<- the time. Where the top of the stack is the '.', and the bottom is the 'N' respectively. …

Software Development algorithm c++
Member Avatar for WaltP
0
425
Member Avatar for har58

Hi, I have written a small program to calculate Fourier coefficients of square wave. [CODE] #include<iostream.h> #include<stdlib.h> int main() { int *A,*B,a,n,i,; float pi=3.14; cout<<"Enter value of amplitude"; cin>>a; cout<<"Enter which harmonic you want to display"; cin>>n; A=new int[n+1]; B=new int[n+1]; A[0]=0; for(i=0;i<=n;i++) { B[i]=0; } for(i=2;i<=n;i=i+2) { A[i]=0; } …

Software Development c++
Member Avatar for shokichi
0
2K
Member Avatar for dennysimon

hello all suppose I have fill a datagridview (named it mydgv) ,Can I populate a dataset with the data from the content of mydgv ? if yes how thank you denny

Software Development dataset
Member Avatar for dennysimon
0
6K
Member Avatar for zoraster01

good day everyone i`m beginner in vb.net .. i want to learn this kind of program.. and this are my problems: 1. i dont know how to connect my vb.net program to sql server?? can you help me. 2. how can i call my fingerprint scanner to my vb.net program. …

Software Development vb.net
Member Avatar for synatx error
0
781
Member Avatar for n1_razz11

hi friends.. i m working with vb.net how can i get iteams in combo box from table of msaccess.. hoping for help thanx

Software Development vb.net
Member Avatar for n1_razz11
0
141
Member Avatar for Mitja Bonca

I would like to do the simple card game which can many people play at the same time, but not only one game, there can ne n games running. Recently I was learning how to do server-client coding, using TcpListener and TcpClient network services. But the main difference between the …

Software Development client-server
Member Avatar for l3l4c7_h4t
0
430
Member Avatar for neely615

First, I apologize for posting this since it seems to have been addressed for every situation except mine (or so I can find), and I admit I am a complete novice. [B]Intro:[/B] I have a batch file which gets placed in a directory with target files, loops through the files …

Software Development data-structure shell-scripting
Member Avatar for griswolf
0
333
Member Avatar for thecoolman5

Hi, I am trying to make a one octave piano. heres my code: [CODE]#include<windows.h> #include<mmsystem.h> #include<stdlib.h> /* Declare Windows procedure */ LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM); /* Make the class name into a global variable */ char szClassName[ ] = "WindowsApp"; int WINAPI WinMain (HINSTANCE hThisInstance, HINSTANCE hPrevInstance, …

Software Development c++ data-structure microsoft queue
Member Avatar for thecoolman5
0
1K
Member Avatar for ia2196

Hello, I get following error while importing h5py. Can some one please help me in how does this work. import h5py File "/usr/lib/python2.6/site-packages/h5py-1.3.1-py2.6-linux-x86_64.egg/h5py/__init__.py", line 24, in <module> import h5 File "h5.pyx", line 386, in init h5py.h5 (h5py/h5.c:5557) File "h5.pyx", line 359, in h5py.h5.init_hdf5 (h5py/h5.c:3946) File "h5r.pxd", line 24, in init …

Software Development python ubuntu
Member Avatar for Gribouillis
0
483
Member Avatar for mreneeholland

Hi, I am trying to create a program that the user enters the number of enrollments for 5 different campuses during two semesters. I just got started and here is what I have so far but when I run the program it is stuck in an infinite loop and will …

Software Development vb.net
Member Avatar for lolafuertes
0
174
Member Avatar for iamcreasy

This simple code is showing the following error. [CODE]import java.io.IOException; import java.net.*; public class Server { public static void main(String[] args) throws IOException { DatagramSocket ds = new DatagramSocket(999, InetAddress.getByName("192.168.1.102")); ds.send(new DatagramPacket(new byte[10], 10)); } }[/CODE] Error: [CODE]Exception in thread "main" java.net.BindException: Cannot assign requested address: Cannot bind at java.net.PlainDatagramSocketImpl.bind0(Native …

Software Development java
Member Avatar for iamcreasy
0
360
Member Avatar for nji2rhyme

Hi, I have a combobox called 'cptype' with 2 items and a default item 'select'. I also have a button called 'populate'. How do I get the program to randomly select one of the 2 items. I also have a button called 'reset'. How do I get the combobox to …

Software Development vb.net
Member Avatar for nji2rhyme
0
78
Member Avatar for thecoolman5

hi, i am writing a program for my dad. I want it to keep the mouse in x=500 y=500 while waiting for input. So its asking for the password and if you try to move the mouse, it'll put the mouse back in x=500 and y=500 and have keep looping …

Software Development c++ pc-peripheral
Member Avatar for pseudorandom21
0
684
Member Avatar for sergent

Is there Linux functions equivalent to Windows functions [CODE] mouse_event(MOUSEEVENTF_LEFTDOWN,0,0,0,0); mouse_event(MOUSEEVENTF_LEFTUP,0,0,0,0); SetCursorPos(x,y); [/CODE] Specifically Ubuntu, GNOME. I tried to search on google, but did not find anything useful.

Software Development c++ ubuntu
Member Avatar for L7Sqr
0
324
Member Avatar for newbie21

I have two lists: list1 and list2 listing a set of files. For each file in list1 if a corresponding file exists in list2, I want the script to print the columns of common files. EX: list1............data1 1aw7_AB.fit => 1 2 3 1bjw_AB.fit => 9 4 7 1biq_AB.fit => 8 …

Software Development perl
Member Avatar for d5e5
0
259
Member Avatar for Peter4n31

Hi, Program works fine,but memory validator reports UNINITIALIZED READ on CProfiles profile; Could you please help me with this? Here is my code: inside profiles.cpp[CODE] #include "profiles.h" CProfiles profile; // Here it reports the problem KeyProfile* keyProfile=&profile; //------------------------------------------------------------- int CProfiles::Init() { // other code [/CODE] inside profiles.h[CODE] class CProfiles: public …

Software Development c++
Member Avatar for Peter4n31
0
146
Member Avatar for lhuynh39

i'm a total beginner and don't know how to do this: MYBANK ATM MENU FORMAT: You will be submitting the C++ code as a CPP file. The source code file should use self documenting code and additional comments (as required) to improve code readability. The source code file must contain …

Software Development c c# c++ finance
Member Avatar for Sodabread
0
373
Member Avatar for Zvjezdan23

The problem in my code lies somewhere in the Class2DPoint object1 = new Class2DPoint(num[0], num[1]); Class2DPoint object2 = new Class2DPoint(num[3], num[4]); part of the code and there is a problem in the object1 = object1 * object2; and public Class2DPoint() { this.x = 0; this.y = 0; } I only …

Software Development
Member Avatar for stbuchok
0
102
Member Avatar for rajatchak

Hi , i have decided to develop a program on typing tutor for my school project. C++ the program should be based on classes and objects. The main menu shall contain : login, create acc, help , exit login and create acc options will ask for the username and passwords. …

Software Development c c# c++
Member Avatar for rajatchak
0
219
Member Avatar for hari kishan

Hi, This is my first post in the forum. I got a situation where i have to find a file in a folder based on its extension and there by use the file name and contents of the file. Thanks for the reply.

Software Development perl
Member Avatar for d5e5
0
145
Member Avatar for Kerlix

Basically, I want to create a countdown timer. Which isn't hard. It's all over the web. BUT I would like to know how and what I would need for, when the timer reaches zero, the code commands a relay to close, allowing voltage to flow to something. Also, presetting the …

Software Development c++
Member Avatar for Kerlix
0
175
Member Avatar for Lerilaine

Hello, I have this huge problem. I'm supposed to make a LISP interpreter in C++ but I have absolutely no idea what the programm should look like. So far I have a parser, which splits input string into the list of smaller strings (words, brackets). Could anyone give me a …

Software Development c++
Member Avatar for TrustyTony
0
386
Member Avatar for danuz

Hello! Do anyone know optimal solution for [B]roman numerals to 100[/B]? I made a program just for numerals to 10, but I have no idea how to solve it to 100 optimally cuz if statements are not a very good solution. [CODE]static void Main(string[] args) { int number; bool checkValue; …

Software Development
Member Avatar for stbuchok
0
176
Member Avatar for andersonelnino

DEFINITION OF DATA REQUIREMENTS Produce an itemised consigment note for each customer including -dimension,weight and price per parcel. -total weight and price consigment -number of parcels RESIDENT DATA -up to 2kg-£7.50 -up to 4kg-£8.00 -up to 10kg-£8.55 -up to 12kg-£9.10 -up to 14kg-£9.70 -up to 16kg-£10.35 -for each extra 2kg,up …

Software Development java user-interface
Member Avatar for sirlink99
0
120
Member Avatar for alex_extreme

Gets the names of all the partitions in a system. Note that media must be in every removable drive for this to work (can be fixed easily)

Software Development visual-basic
Member Avatar for Mark A
0
182
Member Avatar for shan123456

Can anyone please help me! Very stuck on an assignment i need to code a java applet so that it counts the lengths of words for example i am a man would produce the output 2 - one letter words 1 - two letter word and 1 - three letter …

Software Development java
Member Avatar for sirlink99
0
184
Member Avatar for Thoronath

Hi. I wrote a calculator that calculates the given expression (eg, 2 +3 +4-3-1), it works only if you type expression and press ctrl-d, what i have to do to display the result after pressing enter Here's the code: [code] #include <stdio.h> int main() { printf("give expression \n"); char expression; …

Software Development c
Member Avatar for Thoronath
0
213
Member Avatar for bill_kearns

I am so stuck, I lost 2 days trying to figure this out and here I am! I have an online cart selling subscriptions and I want to offer customers the ability to subscribe and choose their own payment schedule by paying monthly, quarterly or annually. Further, I want to …

Software Development
Member Avatar for bill_kearns
0
222
Member Avatar for Jsplinter

I am following this [URL="http://www.boost.org/doc/libs/1_37_0/libs/serialization/doc/index.html"]example [/URL]to serialize an object with boost. However, I keep getting the same compile error: error C2248: 'boost::scoped_ptr<T>::scoped_ptr' : cannot access private member declared in class 'boost::scoped_ptr<T>' Any idea why? [CODE]// Console2.cpp : Defines the entry point for the console application. #pragma once #include "stdafx.h" #include …

Software Development algorithm c++ regex
Member Avatar for mitrmkar
0
378
Member Avatar for symeramon

Hi there all, I am trying to get data from a sql view and bound it into the datagridview, after that, I add 4 more colums into the datagridview which are editable, finally pass the entered data into a new database and call that data in the future in the …

Software Development vb.net
Member Avatar for symeramon
0
216
Member Avatar for kingdeslok

So I'm creating a backup GUI in Python which basically asks the user for their username/password and source directory so it can be rsynced over to a remote server. The only trouble I'm coming across is passing the password (entered in the GUI) to the server after I execute the …

Software Development gui python session
Member Avatar for kingdeslok
0
537
Member Avatar for Muhasin

I am using visual basic 6. I need to update my database table which i created for the form. I am using ADobc database. How can i update the database by using the coding?

Software Development visual-basic
Member Avatar for xtianenikkian
0
99
Member Avatar for michael.pilapil

Greetings! Hi guys, Im mike, i am new in using Sybase central using sql anywhere 9, i've got a big problem, on how am i to connect my Sybase database to Visual Basic 6.0. Guys.. i badly to want to know this, because i am new to my work. I …

Software Development visual-basic
Member Avatar for xtianenikkian
0
378
Member Avatar for manni123

hii, i am new to python.. i want to run a batch file on a remote computer by running python script on my computer both in the same network. i am able to run batch file on my computer in python script using subprocess, but not able to access the …

Software Development python
Member Avatar for Gribouillis
0
3K
Member Avatar for hmortensen

Hi, In my main wpf Window I instantiate a new wpf window at a click of a button, that collects a bunch of data. This data is stored in a class object (see below). Now when I try to pass this class to a backgroundworker I get the well-known “The …

Software Development
Member Avatar for hmortensen
0
315
Member Avatar for andersonelnino

Where weight is the person’s weight in grams and height is their height in centimeters. If the result of this calculation is less that 20, then the person is medically underweight. If the result is greater than 30 then the person is medically overweight. Write a program to calculate whether …

Software Development java
Member Avatar for peter_budo
0
185
Member Avatar for mwenyenia07

i wan't to develop as a high school time-tabling system. the school has streams ranging from 4 to 7(maximum) streams and teaches more than 20 subjects. can somebody give me the required logic/or algorithm to enable me develop it. Thanks

Software Development algorithm vb.net
Member Avatar for Netcode
0
102
Member Avatar for theharshest

I am using the following code to extract second name from the html having following kind of lines - <tr align="right"><td>3</td><td>Matthew</td><td>Brittany</td> So, I want to extract "Brittany" from the above line [CODE]for line in f: match3 = re.search(r'$([a-zA-Z]+)(</td>)',line) if match3: print match3.group(1)[/CODE] But this ain't working. Please help.

Software Development python regex
Member Avatar for Gribouillis
0
446
Member Avatar for fransiskus

Who can help me? I always get error to connect my project in vb.net to sql server on remote computer??

Software Development sql vb.net
Member Avatar for Netcode
0
477
Member Avatar for abc88

i am having an sql query in catch block. the code is: [CODE] Dim str_exception As String = ex.Message Dim sql5 As String = "insert into table_data(type,description) values('ERROR'," + str_exception + ")" Dim cmd_sql5 As New SqlCommand(sql5, connection) cmd_sql5.ExecuteScalar() [/CODE] it throws an exception at cmd_sql5.ExecuteScalar(). the exception is - …

Software Development sql vb.net
Member Avatar for Netcode
0
210
Member Avatar for BARATUM

I am having a issue as above title. How to show data from file (txt file) in list view control? Please help thanks

Software Development listview vb.net
Member Avatar for aldeene
0
431
Member Avatar for fokys

[CODE]con=L2DatabaseFactory.getInstance().getConnection() rem=con.prepareStatement("DELETE FROM buffer_scheme_contents WHERE scheme_id=? AND skill_id=? AND skill_level=? LIMIT 1") rem.setString(1, scheme) rem.setString(2, skill) rem.setString(3, level) try : rem.executeUpdate() except : pass if getBuffCount(scheme) == 0 : HTML = getOptionList(scheme) else : HTML = viewAllSchemeBuffs(scheme,eventParam2,"remove") return HTML if event == "add_buff" : event = eventParam1.split("_") scheme = event[0] …

Software Development gaming python
Member Avatar for fokys
0
205
Member Avatar for amithlaxman

Hi, My program does 2 functions i.e. a) It creates text files b) The text files gets copied to some other locations. The program is as below: [CODE] $n=5; #Count of files to be created. for($i=0;$i<=$n;$i++) { print "\n$i file is getting created \n"; open(FH,">file_$i.txt") || warn "cannot create a …

Software Development perl
Member Avatar for amithlaxman
0
126
Member Avatar for milan2011

Hi, I am trying to use a hash table to sort the two string words from an input file ,display words and again put them back to an output file. so if this is my input in input.txt: thank Merci yes oui hello bonjour the sorted output in output.txt will …

Software Development algorithm c++
Member Avatar for m4ster_r0shi
0
682
Member Avatar for knan

<text> <p><s id="s1"><ng><w pws="yes" id="w1" p="CD">25</w> <w l="woman" pws="yes" id="w4" p="NNP" common="true" headn="yes">Woman</w></ng> <vg tense="past" voice="act" asp="simple" modal="no"><w l="create" pws="yes" id="w10" p="VBD" headv="yes">created</w></vg> <pg><w pws="yes" id="w18" p="IN">for</w></pg> <ng><w vstem="succeed" l="success" pws="yes" id="w22" p="NN" headn="yes">success</w> <w l="barbie" pws="yes" id="w30" p="NN" headn="yes">barbie</w></ng> <ng><enamex type="location"><w l="reynold" pws="yes" id="w37" p="NNP" locname="single">Reynolds</w></enamex> <w l="sep" pws="yes" …

Software Development python regex xml
Member Avatar for snippsat
0
223
Member Avatar for rotten69

Hello everyone, I have a book called "Java Genesis" and it has some files such as packages, projects and hints to enhance learning. So, I have set up a file structure in Eclipse and it shows that there are errors and warnings. When I tried running a Java Application using …

Software Development java
Member Avatar for rotten69
0
10K

The End.