132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for venky019

Hi, I have to open and read multiple files which are in same folders. I can search and collect the whole size of those files. But the problem is with when I'm copying the files to a buffer. How can I read the multiple files? I'm using this example for …

Software Development c++ motherboards-cpu-ram windows-api
Member Avatar for venky019
0
449
Member Avatar for ScarWars9

Hello, I have been working on a time clock application, and I'm trying to be able to select an employee from the DataGridView and populate their information into text boxes. I have done some research and what I have found works . . . sometimes. So sometimes when I click …

Software Development mysql vb.net
Member Avatar for ScarWars9
0
2K
Member Avatar for preetham.saroja

can anyone,plz send m the code for retreiving & updating images onto the sql-server using vb.net...ASAP... regards, preetham......

Software Development sql vb.net
Member Avatar for dakarai.mlambo.7
0
564
Member Avatar for maurices5000

I keep getting an error "not all code paths return a value." I've tried placing the return statement in several places to resolve the issue. Obviously I don't understand how to resolve this seemingly simple and common problem. Also I'm using a using statement for the datareader and a try …

Software Development
Member Avatar for zachattack05
0
361
Member Avatar for Suzie999

Hi. How can I properly, and explicitly destroy std vector? Here is how it is created. std::vector<std::wstring> vData = StringSplit(sData,L',');// StringSplit returns a vector of wstring Shortly after using and converting the contents of the container, I no longer need it, or want it hanging around in memory. I don't …

Software Development c++
Member Avatar for Suzie999
0
322
Member Avatar for coolbeanbob

Hi Everyone, I am trying to get the program below to work correctly. The line below is where I'm having trouble. (line 33 in PrefixCalc.java) calc = new ExpressionTree(new Scanner(console.nextLine())); When I run the program and enter "4 + 8", the scanner only picks up "4". Apparently this program was …

Software Development data-structure java pdf
Member Avatar for deceptikon
0
343
Member Avatar for silvercats
Member Avatar for zachattack05
0
253
Member Avatar for ZeroZen

Hey folks I've finally figured out how in WPF to template all my buttons so they all behave they way I want. Basically, I want all my buttons, when clicked, to drop down and to the right a few pixels then pop back up. The problem is, I can't set …

Software Development asp.net gui vb.net
Member Avatar for ZeroZen
0
493
Member Avatar for samish

Pls can someone help me i want to package from VB.net 2008 but when i reached Add project Output is empty . How can i fixed that error. Thanks to All

Software Development vb.net
Member Avatar for TnTinMN
0
580
Member Avatar for chdboy

This is my code : import java.awt.Button; import java.awt.Component; import java.awt.Container; import java.awt.Frame; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.*; import javax.swing.AbstractButton; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JTextField; import javax.swing.SpringLayout; public class SpringSample extends Frame implements ActionListener { private static final long serialVersionUID = 1L; SpringSample() { …

Software Development java java-swing
Member Avatar for chdboy
0
2K
Member Avatar for Suzie999

I'm having a bit of a problem with how to code something. Here is how it is in my head. I want a function which is not part of a class to access members of that class, so I want to make the class global. I have done this with …

Software Development c++
Member Avatar for Suzie999
0
475
Member Avatar for funkey100

Hey guys! I am working on a school project where I choose "The Evolution of Technology" as my topic. It'll be from making stone tools and fire to the modern information age. I choose a videogame to represent my research and outcome and I'll use Java. I already knew a …

Software Development gaming java java-swing
Member Avatar for funkey100
0
300
Member Avatar for riahc3

Hello Im trying to send emails thru Java and they have HTML plus embedded images. Everything shows up except the embedded images. What could be wrong? My email is a entire String with HTML code. Thank you

Software Development email java
Member Avatar for riahc3
0
2K
Member Avatar for game06

i have a class enemyboss and sending it to different class called levelObject. main.java EnemyBoss enemyObject; ... //game loop - actionperformed levelObject.nextLevel(enemyObject); ... //paint method if(enemyObject!=null){ enemyObject.paint(g); } in level.java class i am createding enemyobject class. level.java ... enemyObject = new EnemyBoss(50, 20); ... the problem is nothing prints on …

Software Development java
Member Avatar for JamesCherrill
0
137
Member Avatar for De.morgansPink

hi, i want to delete data in database from textbox. after i execute my program.there was error saying that oledbexeption was unhandelled and Syntax error in FROM clause. can you help me.. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim data As String Dim objCmd …

Software Development open-source vb.net visual-basic
Member Avatar for G_Waddell
0
311
Member Avatar for thewayoftheduck

I need to revise a previously written code with a class I just wrote. My Program: import java.util.Scanner; import java.util.Arrays; public class ModifiedLab7 { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.print("How many points? "); int n = input.nextInt(); double[][] points = new double[n][2]; for(int i …

Software Development java
Member Avatar for stultuske
0
266
Member Avatar for ekenechukwu.maduagwuna

Pls guys help me with assignment: difference between RSA and DES(Data Encryption Standard)

Software Development encryption
Member Avatar for ikhushee
0
94
Member Avatar for Nandomo

Ok I am making a user interface for Battleship and want a Frame to appear on the side with the title and instructions of the game in a disabled JTextArea. With the code I have now I can get the JFrame to open blank. The JTextArea only appears if I …

Software Development java java-swing user-interface
Member Avatar for bguild
0
162
Member Avatar for Start4me

I’m making programs which will separate a two digit number from a textbox to two different labels. Later I want to take those two separate numbers and square them indiviudally and add them together. It would be great if someone can get me some help. This is what I have …

Software Development vb.net
Member Avatar for Jx_Man
0
282
Member Avatar for ihatehippies

I'm soliciting advice for performace improvements for creating a weak checksum for file segments (used in the rSync algorithm) Here's what I have so far: def blockchecksums(instream, blocksize=4096): from hashlib import md5 weakhashes = [] stronghashes = [] for chunk in iter(lambda: instream.read(blocksize),""): a = b = 0 l = …

Software Development algorithm python
Member Avatar for ihatehippies
0
249
Member Avatar for Suzie999

Hi Does anyone know if there is an equivilent of std::stoi (string to Int) for use with wstring that I am missing? Seems a bit odd that it would be ommitted from the library, but I cannot find anything. Thank you for reading.

Software Development c++
Member Avatar for Suzie999
0
216
Member Avatar for MareoRaft

Hello, I have learned some basic Java, but now I want to learn Objective-C. Is there a tutorial or problem set of programs to make that I can follow to quickly learn the basics? Here is what I know how to do so far... #import <Foundation/Foundation.h> int main (int argc, …

Software Development gui ios objective-c
Member Avatar for ChrisPadgham
0
202
Member Avatar for tony75

Hi I wonder How I can add version detection to port scanning? from socket import * ip = raw_input("Enter IP to scan : ") start=input("Enter start port number : ") end=input("Enter end port number : ") print "Scanning IP: " , ip for port in range(start,end): s =socket(AF_INET, SOCK_STREAM) if(s.connect_ex((ip,port))==0): …

Software Development python
Member Avatar for tony75
0
318
Member Avatar for krystosan

is it any different to use with in python 2.5, becuase at work i wasnt getting error, but now i am implementing the logic at home on python 2.5 i am getting error from __future__ import with_statement import nuke grp = nuke.toNode("Group1") with grp: nodes = nuke.allNodes() for node in …

Software Development python
Member Avatar for vegaseat
0
264
Member Avatar for tony75

Hi I get a littel problem to read,sort,count and remove punctuation marks from text file. data="""I love the python programming How love the python programming? We love the python programming Do you like python for kids? I like Hello World Computer Programming for Kids and Other Beginners.""" ##f = open …

Software Development python
Member Avatar for tony75
0
494
Member Avatar for PSB92

Hi, it's been a while since I have used Python and I am very rusty. I have a problem with a piece of code and I can't for the life of me figure out what is wrong. Basically I need a piece of code that prints 'to cold' if the …

Software Development python
Member Avatar for Schol-R-LEA
0
162
Member Avatar for rachana.setty

I wanted some help with vb.net code to use the previous, next and continue button. The program reads a text file and displays the info in textboxes on the form. It will then insert a new record into the sql database. It then moves to the next line on the …

Software Development vb.net
Member Avatar for Begginnerdev
0
155
Member Avatar for Pobunjenik

Allright. It's me again. :D This time, I'm making an alarm clock program. I've already completed the bit that gets and displays the system time: Date vrijeme = new Date(); int sati = vrijeme.getHours(); int minuti = vrijeme.getMinutes(); int sekunde = vrijeme.getSeconds(); Also made a method that compares that time …

Software Development gui java java-swing
Member Avatar for Pobunjenik
0
960
Member Avatar for Tinnin

I'm using the following code to write to a csv Dim str As New StringBuilder Dim dr As DataRow Dim field As Object Dim column As DataColumn myds.Tables(0).AcceptChanges() For Each column In myds.Tables(0).Columns str.Append(column.ColumnName.ToString & ",") Next str.Replace(",", vbNewLine, str.Length - 1, 1) For Each dr In myds.Tables(0).Rows For Each …

Software Development vb.net
Member Avatar for tinstaafl
0
1K
Member Avatar for MasterHacker110

I have this xml file <?xml version="1.0"?> <xml> <accounts> <user name="User123" cellphone="000000000123" email="n/a" balance="123.12" pin="123" accNumber="123"/> <user name="User456" cellphone="000000000456" email="445@email.com" balance="456.45" pin="456" accNumber="456"/> </accounts> </xml This file is part of an ATM's database, containing the user's details. I would like to change a spesific value. Say "User123" is login at …

Software Development c# xml
Member Avatar for tinstaafl
0
2K
Member Avatar for Tinnin

Hi All, I have two datasets, myds.Tables(0) and UmbrellaFromExcelDataSet.CancelTemplate . I've updated the UmbrellaFromExcelDataSet.CancelTemplate using data from myds.Tables(0) and now I want to put that data update into the database that it orignally came from. The database isn't updating though. My code is as follows: Me.UmbrellaFromExcelDataSet.CancelTemplate.AcceptChanges() Dim csvRow As DataRow …

Software Development dataset vb.net
Member Avatar for Tinnin
0
119
Member Avatar for Nebil

Hi all, I was having a huge problem,i mean i spent days trying to fix it but i get the same exception everytime when i run the app. here's the thing i have a record that is loaded from the database using the listview.it works perfect for the insertion part.but …

Software Development listview vb.net
Member Avatar for Begginnerdev
0
357
Member Avatar for toldav

I need help creating my moneydriver. requirements: 1- the driver class should create an array of 5 objects. 2- must use loop to determine which Money object has the most amount of money. 3- I need to use compareMoney() method for my comparison. I start building my MoneyDriver but need …

Software Development java
Member Avatar for somjit{}
0
264
Member Avatar for MasterHacker110

I am trying to make an ATM program in C++, I was able to make one 1 C# but decided to try and implemment it int C++. I basicly have this .ini file #constant format: ACCOUNT_NUMBER PIN BALANCE 123 123 123.12 456 456 456.45 And this code: #include <iostream> #include …

Software Development c++ file-system
Member Avatar for Moschops
0
440
Member Avatar for nmakes

I'm trying to make a function similar to strcat(char,char) in string.h header file. Somehow this code does not catenate the strings. Please help me make it better. void strappend(char *a, char *b) { int i; int start_pos = strlen(a); for (i=0; b[i]!='\0'; i++) { a[start_pos + i] = b[i]; } …

Software Development c++
Member Avatar for nmakes
0
196
Member Avatar for CutP

Hey i have no clue what to put in the ReduceFration and CommonDemoninator sections. I know that you call the gcd function for ReduceFration and lcm function for CommonDenominator. Should be easy few lines of code but I'm a Beginner! Here's the code: #include <iostream> using namespace std; int gcd(int …

Software Development c++
Member Avatar for deceptikon
0
280
Member Avatar for somjit{}

i was thinking of downloading some database software that would help me learn sql. so far i have only *read* sql , ie havent done any practical sort of thing. i made a post earlier in this forum , where i was told that sql server express will be a …

Software Development sql vb.net
Member Avatar for somjit{}
0
194
Member Avatar for wilsonz91

Hello, I have a problem using Qt 4.8.4 on VS2012. I manage to compile the code but when I run it, it says: Qt: Could not initialize OLE <error 80010106> on the console but since it has reached the end of the program where it says 'press any key to …

Software Development c++ qt
Member Avatar for Terminator1337
0
544
Member Avatar for Vimal123

how to write the code for show the data from the server using vb.net

Software Development vb.net
Member Avatar for deceptikon
0
65
Member Avatar for MasterHacker110

I only see tutorials for installing the Cosmos OS kit with visual studio 2010. I have visual studio 2012 express and would very much like to start writing my experimental OS with Cosmos Os kit. Is there a way or do i have to download visual studio 2010?

Software Development visual-studio
Member Avatar for MasterHacker110
0
151
Member Avatar for ASWEDAN

Hello there, I face this error message when I try to save a new record in Table: viruses_analysis, I would like to use the same way in the code below, but where is the error? please be informed that I used the same way in other applications and worked very …

Software Development dataset vb.net
Member Avatar for ASWEDAN
0
325
Member Avatar for ef_mag

Hi, i am trying to write a program in java where i would concatenate a CREATE TABLE statement with my values from the first row of excel file and hold the fields name to create the SQLStatement. To be more specific i would like to create a table to store …

Software Development apache java
Member Avatar for ef_mag
0
230
Member Avatar for ben.nahalewski

ok so i have set commands which i normally use with cmd.exe but i need to create gui so its easier based off clicking a button and it would process the entire command for me but still have selection with VB if anyone could show me the the conversion of …

Software Development gui vb.net visual-basic
Member Avatar for tinstaafl
0
209
Member Avatar for shakayu

Hello Guys, am actually working on a website... I want a login on the top left corner...*login*..then when the user click on this ..a modal form would appear asking them for their user-name & password.. I have a already do the login form *controller* ?php function index() { $data['main_content'] ='login_form'; …

Software Development session
0
109
Member Avatar for devianleong

I've a problem to my linkedlist at line 10. Can anyone help me to solve it? Thank in advance. ![edcc2efd2d7051037a9a147491e15671](/attachments/large/3/edcc2efd2d7051037a9a147491e15671.png "edcc2efd2d7051037a9a147491e15671") This is my code : package linkedlist; import java.io.FileReader; import java.io.IOException; import java.util.Scanner; public class LinkedList { private String firstName; private String lastName; private static LinkedList<LinkedList> classRoster = new …

Software Development java linked-list
Member Avatar for devianleong
0
262
Member Avatar for l.worboyz

Basically i have literally just started learning Java Script and i was seeking some help as to how i could repeatedly display the character "X" any given number of times using a function. Here is what i have so far: function makex(8) { var resultStr = ""; for (var xcount …

Software Development display java javascript
Member Avatar for stultuske
0
293
Member Avatar for IMIDEV

Hi every body, I am trying to parse an xml file with sax parser in java and then fulfill a Jtable with the XML elements. The parsing is well done, the Jtable is created but the problem is that all the elements are placed in the same row and the …

Software Development java java-swing xml
0
244
Member Avatar for RawrInYoMouth

I just needed some assistance on formatting the output into a specific fashion. I satisfied all the requirements of the assignment, except the output. I apologize for the bad format of this post, any suggestions and help is greatly appreciated. I need the output to look like: Mr. Random - …

Software Development java java-swing peer-to-peer
Member Avatar for Pobunjenik
0
447
Member Avatar for Gobble45

Hi there, My issue: I have a datagridview and a DB file with ~100 columns and ~200 rows of data. This data is imported to the DGV onLoad(). Once i have the data i run a script that searchs a predefined(by the user) folder for text files. Each text file …

Software Development vb.net
Member Avatar for Gobble45
0
2K
Member Avatar for zawpai

Hi all, Is it possible to select multiple records (rows) in "DataGrid" and then delete all selected items? Because I can't find any properties to enable for multiple selection. Whenever I try to delete a record, system always prompt the run time error. Private Sub Command4_Click() Dim count As Integer …

Software Development visual-basic
Member Avatar for zawpai
0
3K

The End.