132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for lendyl16

Call Open_conn If BEdt = False Then Rs.Open "Select * from tblpayroll where EmployeeID='" + Trim(txtEmpID.Text) + " '", Cn If Rs.EOF = False Then MsgBox "Duplicate Employee ID", vbInformation, "Duplicate" Else Cn.Execute "Insert into tblpayroll values('" + Trim(txtEmpID.Text) + "', '" _ + Trim(txtfullname.Text) + "','" + Trim(cbogender.Text) + …

Software Development sql visual-basic
Member Avatar for mustaffa hasan
0
166
Member Avatar for vanesh

How to connect datagrid from database using adodb connection. so that the records in the database will display in the datagrid. I have category here that i want to display to datagrid: ID, LName, FName, GLevel. I need a code for that. THANK YOU!

Software Development visual-basic
Member Avatar for mustaffa hasan
0
331
Member Avatar for KalebG

ME and a freind of mine have a vB class. We are using the schools outdated microsoft visual basic 2003. We in are spare time are trying to make a "Siezure" program. The point of this program is to simply have the user click a button and the background begin …

Software Development flash visual-basic
Member Avatar for mustaffa hasan
0
2K
Member Avatar for enakta13

I am making a simple GUI program in java. In this program I have made a simple jFrame where there is two separate textField, one for user input number(data type: double) and another for square of the input number as answer. What I want is: * The event action to …

Software Development gui ide java java-netbeans
Member Avatar for mKorbel
0
823
Member Avatar for JellybeanFB

"UPDATE P SET Stock = T.Stock FROM prices P INNER JOIN #prices " + "T ON P.Avg = T.Avg AND P.Colour = T.Colour;" + " " + "INSERT INTO prices(Avg, Colour, Stock) SELECT T.Avg, T.Colour, T.Stock FROM #prices T " + "WHERE NOT EXISTS (SELECT 1 FROM prices P WHERE …

Software Development sql
Member Avatar for taskman
0
186
Member Avatar for Transcendent

I'm trying to learn python and is looking for sites to learn it from so if you know a site please comment.

Software Development python
Member Avatar for vkaravir
0
225
Member Avatar for Patiodude

I'm very new to C++; can a program be started with anything other than `int main`? And what, exactly, is the purpose of the `main` part, anyway?

Software Development c++
Member Avatar for VernonDozier
0
189
Member Avatar for treyb

The script I have been working on cleans up ftp images from a bunch a cameras and does this everyday. It deletes directories older than 14 days. The issue I am running accross is that even though there is typically 15k images in each directory, it takes WAY to long …

Software Development python storage windows-server
Member Avatar for treyb
0
156
Member Avatar for esedee

hi guys.. am having 10 buttons on my windows form and if at least 3 of the buttons are clicked, an error should be thrown......pls i need ur help...thanks

Software Development
Member Avatar for esedee
0
156
Member Avatar for Jackk123

#include "stdafx.h" #include <iostream> using namespace std; int main () { int a, b, c; cout << "š"; cin >> a; cout << "Č"; cin >> b; c = a+ b; cout << "Ć" << c << endl; return 0; } So i tried using characters from my own language …

Software Development c++
Member Avatar for Jackk123
0
889
Member Avatar for ironman99

help me with this error pls. you have an eror your sql syntax; check the manual taht corresponds to your mysql server for the right sytax to use near cmd = new MySqlCommand( "UPDATE products SET (prodid = @prodID, prodname = @prodName, unitprice = @unitPrice, qtyonhand = @qtyOnHand) WHERE prodid …

Software Development sql
Member Avatar for ironman99
0
109
Member Avatar for jrosh

How do I perform a mouse click event programatically. but the problem is i do not want to perform it on a UIelement. I just want to perform a mouseclik once. Can i do that? thank you in advance.

Software Development
Member Avatar for taskman
0
208
Member Avatar for sciwizeh

Hello, thought I'd ask before getting too deep into code to make sure I understand this properly. As described in the Gamma et. al. book the Visitor Pattern looks something like this: interface Visitor{ public void visitX(X x); public void visitY(Y y); public void visitZ(Z z); } interface Visited { …

Software Development algorithm java user-interface
Member Avatar for JamesCherrill
0
1K
Member Avatar for anisha.silva

hi i tried running the code below as the server: public static void main(String args[]) { DatagramSocket socket = new DatagramSocket(); //construct a datagram socket and binds it to the available port and the localhos byte[] b = new byte[32]; //creates a variable b of type byte DatagramPacket dgram; dgram …

Software Development client-server java
Member Avatar for anisha.silva
0
250
Member Avatar for kunaldinde

i want to show monthly record on one pagein a jtable, when i press next page button the record in jtable shows the secound months record

Software Development java
Member Avatar for stultuske
0
98
Member Avatar for sajid_bd007

I have a bookstore application, but I cannot show the maximum and minimum and maximum price of the book, in the end the program. Please see my codes below. import java.util.*; public class Book{ public static void main(String args[]){ int numOfBook; double totalCost = 0; String expBookTitle = ""; double …

Software Development java
Member Avatar for JamesCherrill
0
170
Member Avatar for cool_zephyr

hello everyone..i've vs2010 in my system..and i'm trying to build a simple web browser using webkit..could anyone please tell me what do i need to install to be able to work on vs2010?? and a simple demo code about how to use the webkit sdk..i've searched a lot on google..but …

Software Development c++ web-browser
Member Avatar for cool_zephyr
0
512
Member Avatar for tomtetlaw

I'm using VC++ 2010 with Windows 7 x64. I'm compiling all my code as C code. I have a for loop like this: for (i = 0; i < max; i++) { ... } But when I run it, `i` is being set to `max` If I set `i` to …

Software Development c c++
Member Avatar for DeanMSands3
0
150
Member Avatar for kazekagerandy

please help me guys! i cant install crystal report for visual studio 2010! i already have installed vb express 2010 and yet the installation always fails because the installer says :You must already have Visual Studio 2010 installed to proceed with this installation PLEASE HELP! :(

Software Development vb.net visual-studio
Member Avatar for poojavb
0
156
Member Avatar for Afi83

Hi there, I am trying to use parallel.for in order to calculate the summation of all the values in an multidimensional array. I googled and found [Click Here](http://msdn.microsoft.com/en-us/library/ff963547.aspx). However, this is just for one dimensional arrays. The LINQ does not work for multidimensional array. And when I use parallel.for it …

Software Development vb.net
Member Avatar for Afi83
0
221
Member Avatar for zemzela

I need help how to solve this task, I don't know how to solve first part which is for memory location. If someone know please help me. It is very important.. ENTRY RESULTS entrance examination: In memory location X is placed in an entrance exam results in the form: Indeks …

Software Development assembly
Member Avatar for Schol-R-LEA
0
282
Member Avatar for tensity

#include <iostream> #include <cmath> #include <iomanip> using namespace std; int main() { float annualIntRate, principle, monthlyPayment, monthlyIntRate, totalAmt, intPaid; int yearsBorrowed, numPayments; cout << "This program computes information associated with a loan" << endl; cout << "Please input the Annual Interest Rate:" << endl; cin >> annualIntRate; cout << "Pleast …

Software Development c++
Member Avatar for tensity
0
125
Member Avatar for Serpterion

Hello! It's been a great while since I last used DaniWeb and have come back with a quandry in hopes I can get some guru support on... My perl is very beginner. I used to code in ++ so I know the general rule of programming; however, I do not …

Software Development perl
Member Avatar for Serpterion
0
189
Member Avatar for 47pirates

I want to update the contents of Jtable as shown below when the Jcombobox's item state is chaged in the left panel. but i am not being successful in it .Please help. ![untitled29](/attachments/large/2/untitled29.JPG "untitled29") when the table no value is changed in the left panel , i want corresponding Jtable …

Software Development java java-swing
Member Avatar for 47pirates
0
520
Member Avatar for gomonkeyninja

Okay, so this is my final assignment for a class I am taking. I'm making a Book Library Database that keeps track of all books that are entered and changed, things like that. I figured a useful feature would be saving your data in a text file so that it …

Software Development java
Member Avatar for gomonkeyninja
0
351
Member Avatar for noob8873

Anyone knows how to create a runtime calculator using a C#?

Software Development c#
Member Avatar for Mitja Bonca
0
389
Member Avatar for GeekTool

I am trying to choose a string out of 4 strings randomly, and to show this string on the console. How can i do it ? For example, there is a question, if user answers it correctly, then the console will display one of the strings that i chose. I …

Software Development java
Member Avatar for GeekTool
0
209
Member Avatar for tubzz

Dr Mirna always gives True/False tests to her class. Her tests have always 10 questions. The maximum class size is 5. She needs a program that will calculate the students’ grades based on the best grade. Grade A will range from the best score, to the best score minus 2. …

Software Development c++
Member Avatar for deceptikon
0
674
Member Avatar for GeekTool

Hello, i want to write a program that will help an elementary school student to lean multiplication. For this, i use random object to produce two new positive one-digit integers. For this, i have coded this, but then got confused of the scope issue. Here is the code so far: …

Software Development java
Member Avatar for NormR1
0
159
Member Avatar for graydog8josh

In Tkinter, I am trying to make the askdirectory menu more user friendly. Is there a way to center the focus of the window on the last folder opened, both vertically and horizontally? I don't want my users to have to scroll right when they get deep into subfolders. def …

Software Development python tkinter
Member Avatar for graydog8josh
0
675
Member Avatar for cse.avinash

I ve to sort an array according to finish time and accordingly start time should be arranged, how can we do this using predefined function qsort. Both Start time and finish time, i ve considered it be in a structure , .here is the code.. #include<stdio.h> #include<stdlib.h> int compare (const …

Software Development c
Member Avatar for cse.avinash
0
97
Member Avatar for ctrl-alt-del

Good afternoon everyone, Currently I am experiencing a problem with a flowdocument that I am trying to print. All the code is doing exactly what it is suppoed to do, but when I press the print button in my program, the page that comes out of the printer almost seems …

Software Development printer
Member Avatar for ctrl-alt-del
0
364
Member Avatar for coffecat

So i wanted to write a Hangman game and i started it, as im newbie programmer it took me several days to track all the bugs etc. Meanwhile i want to get good habits on designing and i read that Getters and Setters arent the best way to go for …

Software Development c++ gaming web-design
Member Avatar for Schol-R-LEA
0
327
Member Avatar for BobLewiston

In C#, what methods take the place of the old kbhit and getch functions in C? (I'm writing a console application in Visual Studio.)

Software Development c c# c++ visual-studio
Member Avatar for passerbyJim
0
490
Member Avatar for giancan

Dear Friends, I'm having some troubles in my script connected with special characters. I built a program that is supposed to process some images in a folder and give back some files (xls and txt). Everything is fine in most of the cases, but if in the path (including filename) …

Software Development python
Member Avatar for giancan
0
1K
Member Avatar for phfilly

Hi -i've started using netbeans and compiling in it recently and I'm not sure what the problem is here. Not sure if it isn't reading the Element.cpp/.h files while building/running the main.cpp In my main: Element a, b(5); cout<<(5+b)<< endl; Then in the .h: Element operator+(const Element&obj); And in the …

Software Development c++
Member Avatar for rubberman
0
168
Member Avatar for c#_fem

Hi, I need to develop a asp.net web application. I'm using Visual Studio 2010. I need to be able to save a file in specific folder using this application, how do i do it? Also, is there something like when I click on a button another web page appears (something …

Software Development visual-studio
Member Avatar for thines01
0
182
Member Avatar for lostinthespiral

I am new to programming and am having REAL trouble trying to output Pascal's Triangle (formatted into a triagle) using multidimensional arrays. I would really appreciate some help. In the program, the user is supposed to input the # of rows desired (up to 15... or else it won't fit …

Software Development c++ pascal
Member Avatar for deceptikon
0
834
Member Avatar for raaif

I am trying to save database after inserting the records into dataset from external file.... But when I insert records and then try to save it, it does not save...No error comes up though.??? Can you please look into the code and help?? If file_path = Nothing Then Msgbox.Show ("Database …

Software Development dataset vb.net
Member Avatar for G_Waddell
0
179
Member Avatar for kunaldinde
Member Avatar for Jaisu_jas
0
268
Member Avatar for mainak001

I want to execute Perl script through VB6.0 . Please help . I also want to access the database from Perl Script .

Software Development perl
Member Avatar for neha1811
0
1K
Member Avatar for ndoe

how to compare string in file e.g i have file with name data.txt with file like this 123456 abcdef 456897 asdffg 789654 gfdsah the question how to compare that file and i now that string with content alphabet or number and i want make make new file data2.txt from data.txt …

Software Development file-system python
Member Avatar for munna03
0
2K
Member Avatar for TrustyTony

We can run Python2 script in most simple cases if we just use the 2to3.py script found in recent Python versions: F:\Python27\Tools\Scripts>copy \test\output_window_tk.py \test\output_window_tk2.py 1 tiedosto(a) on kopioitu. F:\Python27\Tools\Scripts>2to3.py -w \test\output_window_tk.py RefactoringTool: Skipping implicit fixer: buffer RefactoringTool: Skipping implicit fixer: idioms RefactoringTool: Skipping implicit fixer: set_literal RefactoringTool: Skipping implicit fixer: …

Software Development python tkinter
0
786
Member Avatar for Kert

I have 3 very simple classes and a question about their inheritance. public class A { int a; A(int a){ this.a = a; } void meetoda(){ System.out.println("a = " + a); } @Override public String toString() { return "A [a=" + a + "]"; } } public class B extends …

Software Development java
Member Avatar for delta_frost
0
118
Member Avatar for Iamateur

My doubt is : 1] I have got many forms and MDI container. There is close button on all the forms.One of the form name is Homepage. 2]Whenever the user clicks on close button,i.e.the cross button with minimize and maximize box, The form will close but at the same time …

Software Development vb.net
Member Avatar for poojavb
0
249
Member Avatar for stereomatching

I found a lot of books introduce about objective C but can't find a book which talk about objective C++.Could you introduce me an objective C++ textbook? I learned C++ before but don't know objective C, where should I start if I want to learn objective C++?Looks like it is …

Software Development c++ objective-c
Member Avatar for stereomatching
0
422
Member Avatar for Pricess

hello, im have problem with my code..im used access database, when i select combobox1, the textbox will appear data set as value member....but data not appear on textbox..someone can help me :) this my code Sub fillcombo() Dim acscmd As New OleDb.OleDbCommand acscmd.CommandText = strsql acscmd.Connection = acsconn acsdr = …

Software Development microsoft-access open-source vb.net
Member Avatar for M.Waqas Aslam
0
2K
Member Avatar for tubzz

Assume that the following data is stored in file “data.txt”: 2 5 7 1 12 -999 1 4 11 55 66 3 43 23 -999 9 87 56 34 22 12 21 -999 8 7 5 4 6 111 -999 The number -999 at the end of each line acts …

Software Development c++ file-system
Member Avatar for tubzz
0
192
Member Avatar for yayasya

Hi.. i'm new in vb.net and i have problem with my project. can anyone help me with this problem.. -update button Dim con As New OleDb.OleDbConnection(My.Settings.TREViS_03_ConnectionString) Dim com As New OleDb.OleDbCommand Dim adap As New OleDb.OleDbDataAdapter Dim ds As New DataSet con = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\Yaya\Desktop\TREViS(03).mdb;Persist Security Info=True") con.Open() Dim …

Software Development dataset open-source vb.net
Member Avatar for poojavb
0
167
Member Avatar for Ritesh_4

hello, is there currently a tool which can convert C# codes to Java (for example to be used in NetBeans)?

Software Development c c# c++ java java-netbeans
Member Avatar for Ritesh_4
0
403

The End.