132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for noselbond

I have an old access 2.0 database, i converted it in access 2007 but the old code doesn't work.. i heard that it is about DAO and ADO anyone can help me to convert this DAO code to ADO coding.. thank you so much in advance.. Private Sub cmdSave_Click() Dim …

Software Development microsoft-access sql visual-basic
Member Avatar for noselbond
0
716
Member Avatar for phoenix_2000

Heya all, I'm working on a small 'file browser', where the list of files is printed in a console (for now), but where the user inserts the file's path in a GUI. My gui is rather simple: one frame and one panel containing a JTextField and a JButton. I want …

Software Development gui java java-swing
Member Avatar for phoenix_2000
0
270
Member Avatar for larry burns

I'm interested in improving my programming skills so I can get a programming job. I majored in a STEM subject as an undergrad (not CS) and used C++ for a research project. I'll have to look thru my harddrive to see if I still have the code for that, as …

Software Development c++ github
Member Avatar for Moschops
0
150
Member Avatar for dlmagers

Ran across a blind spot in trying to figure this out. I want to pad a string with n characters to the left (at the beginning) of the String. This is the code I have come up with padRight and padLeft but when I go run the program it doesn't …

Software Development java
Member Avatar for JamesCherrill
0
196
Member Avatar for schroaus

I have recently started programming in delphi, after programming in VB. Does anyone know if there is anything similar to vbtab in delphi? If not is there anyway that I can create a constant that works similar to vbtab?

Software Development delphi pascal
Member Avatar for pritaeas
0
160
Member Avatar for matt_8

hello everyone, im pretty new in this language (vb.net) so i have difficulties understanding its function, right now i am able to populate my database to datagridview, i've been looking for some related answers. but found no luck. so i decided to post it in here. so i have this …

Software Development listview sql vb.net
Member Avatar for G_Waddell
0
206
Member Avatar for crebz

Hi am kinda new in python programing. I have this game that involves a user inputs a value , say color it iterates over imported modules( in this case color) and prints data about it. The problem is that i cant get to code the best way to iterate over …

Software Development python sqlite
Member Avatar for crebz
0
234
Member Avatar for karmstrong

I'm attempint to write a python application that will open a .csv file and look at comun one for certain string. If the string match print the row to a new .csv file. import csv input_file = csv.DictReader(open("stats.csv")) for row in input_file: print row

Software Development python
Member Avatar for Gribouillis
0
575
Member Avatar for Doogledude123

I've noticed when watching videos, usually people import everything. Such as `import javax.swing.*;`. So my question is, is it better to Import everything? Or only the things you need indiviually? I've heard it slows down your program if you import alot of things, is this true?

Software Development java java-swing
Member Avatar for jwenting
0
258
Member Avatar for Cameronsmith63

Error that I get: ERROR [42000] [Microsoft][ODBC Text Driver] Undefined function 'REPLICATE' in expression. Code below: DataTable dt = new DataTable(); string tempPath = @"C:\swd\"; string strConn = @"Driver={Microsoft Text Driver (*.txt; *.csv)};Dbq=" + tempPath + @";Extensions=csv,txt"; string SqlString = "Select RIGHT(REPLICATE('0', 10) + RowNr, 10)," + "RIGHT(REPLICATE('0', 10) + …

Software Development
Member Avatar for Cameronsmith63
0
848
Member Avatar for RADSMIL

Hye dude, Really need help. My problem is I want to insert data from treeview checkboxes into database. Currently im using an array, but when i insert the value it become double. for example, when i click two checkbox. the id insert in database will be two. Can someone help …

Software Development sql vb.net
Member Avatar for atinobrian
0
536
Member Avatar for makanda

i want to write an atm code that ask yu to enter the pin number and ifit is wrong it tells you to reenter the correct one, then it gives the option either to deposit or to withdraw but not exceeding the maximum balance

Software Development
Member Avatar for Fenrir()
0
128
Member Avatar for strRusty_gal

Hi All, Thank you for viewing my thread. I have an enquiry on process. My application runs this way. First, it will export something to PDF format. Second, the application will attach the PDF to send an email to someone. Next, i want to delete the PDF file. When i …

Software Development pdf
Member Avatar for strRusty_gal
0
117
Member Avatar for kirtee2209

Hi. I have a c# project created in Visual Studio 2010. The project runs successfully on Windows XP 32bit but I get an error when building on Windows 7 64bit. The error is as follows: Could not load referenced assembly "C:\WINDOWS\system32\stdole.dll". Caught a FileNotFoundException saying "Could not load file or …

0
280
Member Avatar for ang19

Hi have one querery regarding writing in machine code, address- instruction 00000 001 10000 00001 010 10000 00010 100 10000 00011 110 10001 00100 111 00000 10000 000 00001 10001 000 11111 i dont know how to write a program in machine code, which adds up to the numbers stored …

Software Development assembly
Member Avatar for David_34
0
1K
Member Avatar for overwraith

How does one roll back a readline from a text file?

Software Development
Member Avatar for overwraith
0
174
Member Avatar for cadam940

There is a famous recursive relation to find Stirling numbers of the first kind, i.e. C(n,k)=C(n−1,k−1)+(n−1)C(n−1,k) This is a solution to the following problem: Given a set of N distinct numbers, how many different permutations of the set exist such that there are exactly K left-to-right maxima? This was not …

Software Development c++
Member Avatar for rubberman
0
375
Member Avatar for Purav_1

* * * * * * * * * * * * Can anyone write a program to print this type of pattern?

Software Development c++
Member Avatar for rubberman
0
95
Member Avatar for Labdabeta

Hello, I have a particular set up of cast operators and constructors which is leading to a compile-time ambiguity error. I am wondering if somebody can explain why this is happening and what can be done to fix it. For example, here we have 2 classes: class A { int …

Software Development c++
Member Avatar for Labdabeta
0
313
Member Avatar for Maurice_3

I have a package of python modules that I need to import to another module. Wi use of user input of a string or interger, the module is to iterate over the list of the modules to find the one with an answer as follows. from hometests.clauses import * # …

Software Development python
Member Avatar for Gribouillis
0
1K
Member Avatar for murali2489

Hi Team, This is my first Spring Code . I just followed the code provided in the book and tried to run the class , but it throws the below error. Please throw light on it. package spring.hello; import org.springframework.beans.factory.BeanFactory; import org.springframework.beans.factory.xml.XmlBeanFactory; import org.springframework.core.io.FileSystemResource; public class Main{ public static void …

Software Development apache java spring-framework
0
192
Member Avatar for murali2489

Hi All, I have just completed studying Core Java and started to learn Spring Framework. I think its a silly question but still Im confused about this. Can i build a Dyanamic webpage / website using Spring Framework ?

Software Development java spring-framework
Member Avatar for murali2489
0
98
Member Avatar for gh.fuz

Hi guys, I want to enable the Exit Button controls on startup and disable the Reset Form Button control on startup. and also assign a calculate button to the enter key. any guide or help?

Software Development gui vb.net
Member Avatar for gh.fuz
0
126
Member Avatar for Builder_1

i have intalled jdk 7 update 51 and netbeans 7.0 .for the first time it works fine but later IDE netbeans does not start at all and dialogue box comes that JVM creation failed...kindly help

Software Development ide java
Member Avatar for Builder_1
0
229
Member Avatar for kjklls

I have a tab panel on form1 and on the 1st tab there's a button and when i click this button it will enable a function. what i want to do is to work on other tabs while the function on the 1st tab is still executing. is there anyway …

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

How do I show this output using for loop statement? 1 23 345 4567 Thanks in advance :)

Software Development c
Member Avatar for iqra liaquat
0
225
Member Avatar for haroon.khaliq

A computer program intended to be developed which allow creating,reading,updating and deleting student data,one student data comprises of the name,roll numbers and their grades. the version of this application should use text files to store the student data,the arrays structures should be used, this is the code i am trying …

Software Development c
Member Avatar for rubberman
0
154
Member Avatar for Grazel

hi! i am creating a program that need to import excel file. i really don't know how to. Can someone help? Thanks in Advance! God Bless!

Software Development microsoft-office vb.net
Member Avatar for Grazel
0
248
Member Avatar for Grazel

I have a login form , i want to limit privileges of the user based on their type (e.g ; admin, encoder) wherein when the admin login, the mdi form will load and all the control buttons are accesible for him, while when the encoder login , only one button …

Software Development gui vb.net
Member Avatar for Grazel
0
282
Member Avatar for sciprog22

Hello, Thank you for the time! a) I have a Ball Object which implements the Runnable interface and traces the various positions of a ball. b) I then have a Ball_Bounce JPanel inside a JFrame which creates two instances of the Ball object and then paints them to the JPanel. …

Software Development java java-swing
Member Avatar for sciprog22
0
192
Member Avatar for Jeffrey_1

I am having an impossible time finding a solution for this. I need to combine cell contents in an unusual way (see below), based on if there is an "x" in column A. See below for the exact representation of what I need to do in a worksheet with 200,000 …

Software Development visual-basic
Member Avatar for Jeffrey_1
0
299
Member Avatar for tony75

Hi I have simple python script that open a TCP socket,connect to the SMTP servert and issue a VRFY command. When I run the script I got error,I wonder How can I fix error? #!/usr/bin/python import socket import sys if len(sys.argv) != 2: print "Usage: vrfy.py <username>" sys.exit(0) # Create …

Software Development python
Member Avatar for tony75
0
1K
Member Avatar for blazemadej

Having issues making a menu that will subtotal and then display a grand total. My professor is no help. It would be awesome if anyone can point me in the right direction. Because i have no idea why its not working. The program works fine until I get to the …

Software Development c++
Member Avatar for blazemadej
0
842
Member Avatar for baid.arham619
Member Avatar for samson.dadson.3
0
273
Member Avatar for Emma_3

Everything works fine, but the outputted numbers are supposed to be asterisks instead of digits. Ideas? #include <iostream> using std::cout; using std::cin; int main () { int number = 0; char star = '*', stars = '*'; cout << "Please enter a base number to create the triangle: "; cin …

Software Development c++
Member Avatar for samson.dadson.3
0
254
Member Avatar for ZaneDarklace

If anyone needs any help with the projects in the BluePelicanJava book. I am available to help with coding issues.

Software Development java
Member Avatar for stultuske
0
81
Member Avatar for ZaneDarklace

I have figured out how to do this. All that is needed is the .useDelimeter error. help? `import java.io.*;` `import java.util.*;` `public class AddEmUp `{` `public static void main(String args[]) `{` `Scanner sc = new Scanner(System.in); `System.out.print("Enter something like 8 + 33 + 1,345 - 137 : "); `String s …

Software Development java
Member Avatar for ZaneDarklace
0
1K
Member Avatar for Damian_2

Okay so inside my ArcherArmor.cpp, I'm trying to figure out why the map initializer list isn't working, but for some reason I keep getting "Error C2593: 'operator =' is ambiguous". Here is my code: I also have a class which ArcherArmor is derived from, that has a struct called `Armor`, …

Software Development c++ oop
Member Avatar for Damian_2
0
746
Member Avatar for Madira

I want to find common line in two files and replace the next line of first file with the next line of second file. (sed,awk,perl,bash any solution is welcomed ) Case Ignored. Multiple Occurrence of same line. File 1: hgacdavd sndm,ACNMSDC msgid "Rome" msgstr "" kgcksdcgfkdsb msgid "" hsdvchgsdvc msgstr …

Software Development perl shell-scripting
Member Avatar for Madira
0
373
Member Avatar for Prashant_3

i wanted to show the magic of a digit nine to my friensd in c so any one plz help me

Software Development c++
Member Avatar for android9000
0
110
Member Avatar for V3N0M

Hi I am learning strings in c. And I stumbled on this errors on Xcode. What I am doing wrong? #include <stdio.h> #include <string.h> int main(int argc, const char * argv[]) { char *colors[3][10] = {'\0'}; printf("\nEnter 3 colors separated by spaces: "); scanf("%s %s %s", colors[0], colors[1], colors[2]); //error: …

Software Development c
Member Avatar for V3N0M
0
121
Member Avatar for nikkoderic.aranas

How do I use other libraries in C++? Specifically using the PDCurses library in the latest version of Visual Studio Express? What's the general way to set a libray up, how to use it? Thank you for your time and patience.

Software Development c++ visual-studio
Member Avatar for Ancient Dragon
0
735
Member Avatar for Rahul47

Hi guys, here is my code for sizeof() problem. #include<stdio.h> struct student{ char name[30]; int roll_no; float marks; }; int main(){ struct student s; printf("\nSize of Name: %d Bytes.", sizeof(s.name)); printf("\nSize of Roll No: %d Bytes.", sizeof(s.roll_no)); printf("\nSize of Marks: %d Bytes.", sizeof(s.marks)); printf("\nSize of S Total: %d Bytes.", sizeof(s)); …

Software Development c
Member Avatar for ddanbe
0
214
Member Avatar for munchlaxxx

So I'm trying to figure out why my get method doesn't pass its test. This is my attempt at the get method: public Value get(Object key) { //Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key. for (Pair<Key,Value> …

Software Development http-protocol java
Member Avatar for JamesCherrill
0
326
Member Avatar for seo2005

Hi, I would like to print the table of a number entered by the user like 2 *1=2 2*2=4 2*3=6 The code is [code=c]#include<stdio.h> #include<conio.h> main() { int i,num; printf("Enter any number"); scanf("%d",&num); for(i=1;i<=num;i++) printf("%d*%d=%d",num,i,num*i); getch(); }[/code] But this code is generating errors.

Software Development c
Member Avatar for Nehal512
0
683
Member Avatar for V3N0M

Hi there y'all I have written a simple program that lets you roll a dice. So in one way I am passing this and in another I would like anyone capable of finding a bug, or check my code if I could have used less lines of code or Tell …

Software Development c
Member Avatar for ddanbe
0
154
Member Avatar for murali2489

Dear All, In Java Swing, for all components there is a setSize method which takes int height and width as arguments. And we will pass parameters like 600,500 & 400,300 etc... My doubt is what is the unit of these height and width . I mean on what unit, the …

Software Development java java-swing
Member Avatar for murali2489
0
5K
Member Avatar for Viraak

Hi all!! Can anyone please tell me how to get the source code of an android application?

Software Development android android-development
Member Avatar for Viraak
0
53
Member Avatar for Rahul47

Hello folks, here is my code with question in it. #include<stdio.h> int main(){ float c=10.0001; char *p; p=(char *)&c; // Casting is correctly done. What exactly is purpose of (char *) ? printf("%f", *p); getch(); return 0; } OUTPUT: ![7d924474e7b33ad0974a971ebce23576](/attachments/small/4/7d924474e7b33ad0974a971ebce23576.jpg "align-right")

Software Development c
Member Avatar for ddanbe
0
168
Member Avatar for chubbyy.putto

I am trying do this pratice but some how the 2nd function did return. P.S>>Since english is my first lang. can some one explane to me this is right path that i am doing? here is question: Write a function that accepts an array of integers and its size as …

Software Development
Member Avatar for Banfa
0
199

The End.