132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for HibaPro

hi all , i now working on new project that have a class for table includes the add , delete , and update function how i can call them in vb??? this one of the class Imports System.Data Imports System.Data.SqlClient Public Class BOQSectionsAndParts Private _BOQSectionsAndParts_ID as Integer = 0 Private …

Software Development vb.net
Member Avatar for Reverend Jim
0
968
Member Avatar for Cragsterboy

Hi, im just doing some past exam papers for an exam I've got coming up and im struggling with Java generics, i cant seem to find any good examples to help me out. I've found small snippets of code but i really need a larger piece of code shown before …

Software Development java queue
Member Avatar for Taywin
0
204
Member Avatar for shanki himanshu

public class QueueImpl<E extends Comparable<E>> { private int count; private class Node { private E info; Node next; } Node front; Node rear; public E peekMaximum() { Node temp = new Node(); temp = front; Node max = new Node(); max = temp; while(temp!=null) { System.out.println(temp.info); //if(temp.info>max) if((temp).compareTo(max))>0) // getting …

Software Development java queue
Member Avatar for JamesCherrill
0
154
Member Avatar for Alexkid

Hi there I have a question about pointers, i have a functions that takes a path to a txt file, extracts whats in it into an array and returns the array. As i understand it you can't actually pass the array, you have to return the pointer to the array …

Software Development c++
Member Avatar for Alexkid
0
256
Member Avatar for Krokcy

Hey :) First off this might actually be a network problem! But im also uncertain of the java code and how networking works in java. The program is basically just to transfer a file if that matters! So this is my code for setting up the connections: Server: //connection(s) private …

Software Development client-server gui java
Member Avatar for Krokcy
0
287
Member Avatar for python |

I am trying to pipe username and password (not to pass through command line for safety purposes) from one python script to another python script with some arguments. I was successful in perl implementing the above like this program - perl1: open(INPUT,"|perl my.pl $arg1 $arg2") or die "cant fork $!"; …

Software Development perl python
Member Avatar for Pervex
0
5K
Member Avatar for wiliams.kikert

Hi all, I've got a code here, as the title says it is a sudoku puzzle. It can create only one puzzle which is there hard coded. Now, the problem is how to add another puzzle? Or maybe I can turn this into a random generated puzzle which is hard …

Software Development java java-swing puzzle
Member Avatar for Taywin
0
314
Member Avatar for Eagletalon

Hey Everybody, Allright my setting is like this: I created a derived MVC program using C++ and QT on Visual Studio 2008, that sends multiple instructions to our ERP system through an external program... On each command posted this way the user application needs to wait for a return string …

Software Development c++ qt visual-studio
Member Avatar for Eagletalon
0
582
Member Avatar for k_nenad

Hi all, I'm trying to get the list of files in a directory using WINAPI functions FindFirstFile and FindNextFile. The problem is that WIN32_FIND_DATA.cFileName returns only the first character of the file name. This is a console application created in Microsoft Visual C# 2008 Express Edition. Here is the code. …

Software Development
Member Avatar for Y D'hondt
0
552
Member Avatar for ruudycruise

Please i dont know how to bubble sort using the command buttons to swap textboxes from 1- 5.

Software Development visual-basic
Member Avatar for AndreRet
0
148
Member Avatar for ratatat

/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Gui; import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.sql.*; /** * * @author K */ public class Genres extends JFrame implements ActionListener { Connection conn = null; private Statement stmt, …

Software Development gui java java-swing
Member Avatar for JamesCherrill
0
185
Member Avatar for az_ez

Hi, I've been working on getting a GUI connected to a database so I can input data into the database. However when getting to the 'making a save button' I get this problem on line 14: Private da As New SqlDataAdapter("Select Name, Number, Email From Contacts", cs) Private ds As …

Software Development dataset gui sql vb.net
Member Avatar for az_ez
0
267
Member Avatar for Khav

Hi I accidently double click on the toolbar and now ALL button on toolbar are gone. I want to reset it to default and get my buttons back. How to do that I tried to write click on Toolbar then Reset toobar , still no good I even tried reinstall …

Software Development vb.net
0
143
Member Avatar for Gaiety

I have some strange problem which i started facing from yesterday. i have used GDB many times on my system , but yesterday when i started running GDB , my dubugger is enterings the library functions code part also which is very irritating for me. I mean if the program …

Software Development c ubuntu unix
Member Avatar for _avishek
0
642
Member Avatar for Peppercat101

I am writing a c++ program using MPI and I have been having trouble passing a array with send and receive. What I have so in my code(sorry if it is a messy(its almost 4am and i am very tired) /* * File: main.cpp * Author: Melissa * * Created …

Software Development c++
Member Avatar for ravenous
0
832
Member Avatar for np complete

This is a sample code using symbolic C++. #include <iostream> #include "symbolicc++.h" using namespace std; int main(void) { int i; Symbolic x("x"), y, z("z"); y = (x + 2)^3; cout<<" y = "<<y; for ( i = 0 ; i < 1 ; i++) { y = df(y,x); cout<<" y …

Software Development c++
Member Avatar for np complete
0
334
Member Avatar for dazexo

**Basically im very new at C++ and im having trouble with this, this error keep popping up, any suggestions? Thanks** #include "stdafx.h" #include <iostream> #include <string> #include <ctime> using namespace std; string menu(); { //this is where the problem is string sSel; do { cout << "Guess my Number Game\n\n"; …

Software Development c++
Member Avatar for dazexo
0
275
Member Avatar for PinoyDev

Good day! I am currently developing a notepad storage to hold the players information! In notepad I have this data: Where data is seperated by a comma. First is the playerID, PlayerName, PlayerScore. 202, Andrie Velez, 4500 203, Joseph Josh, 3500 200, Carl J0sefana, 4000 Ive created a sample code …

Software Development c++ storage
Member Avatar for np complete
0
238
Member Avatar for lockdon

I want to use awk to strip certain fields from the output of the Dell OMSA storage hardware diag tool. Typically the format of the output is: ID : 0:0:11 Status : Ok Name : Physical Disk 0:0:11 State : Online Power Status : Spun Up Bus Protocol : SAS …

Software Development encryption shell-scripting storage
Member Avatar for Watael
0
130
Member Avatar for khia02

Dim sqlconn As SqlConnection = New SqlConnection("data source=MCKAYLA\SQLEXPRESS;Initial Catalog=jhen_reg;Integrated Security=True") Dim sqlda As New SqlDataAdapter Dim sqlcmd As New SqlCommand Dim dt As New DataTable Dim sqlstr As String = "SELECT * FROM reg where Username=@Usernametextbox.text AND Password=@Passwordtextbox.text" With sqlcmd .CommandText = sqlstr .Connection = sqlconn .Parameters.AddWithValue("@Username", UsernameTextBox.Text) .Parameters.AddWithValue("@Password", PasswordTextBox.Text) …

Software Development sql visual-studio
Member Avatar for khia02
0
241
Member Avatar for lbgladson

I have an assignment where I am creating a BankAccount program. I have to create an ArrayList of BankAccounts and have the program ask the user how many accounts to create and then have a loop to ask the user for the accountId, name, and initial balance for each account …

Software Development java
Member Avatar for NormR1
0
2K
Member Avatar for megax24505

I am writing a program that has to read a text file for a string that is surrounded by [ ]. I then want to grab the text behind it which is surrounded by ( ). The string i want to grab is in the same line as the one …

Software Development vb.net
Member Avatar for megax24505
0
858
Member Avatar for piero.costa

Hi guys, I'm facing a new problem. Now I'm learning how to send signals to process in order to make them communicate. I was trying to create a process and when this process is created, send a signal to his father... But I had no success. I get a bunch …

Software Development c
Member Avatar for rubberman
0
757
Member Avatar for haritha.devarakonda

Create a new project called petstore_domain create 2 packages one com.anblicks.domain second com.anblicks.domain.test move all domain model in to package one and keep all the tests in package 2 Make the Catalog Class Singleton Class Create a testCatalog Class in the second package create atleast 10 tescases for testing the …

Software Development java user-interface
Member Avatar for NormR1
0
688
Member Avatar for trishtren

Hey, im looking for a way to get a double value to follow the IEEE 754 standard, iv seen a number of librarys for it on java but i had my doubts to whether it was a problem that wasnt solved already with a java standard library. The value i …

Software Development java
Member Avatar for trishtren
0
238
Member Avatar for himanshu04

Using system Class Example { private void himanshu() { int starting=10; int returned =Docalculation(starting); } private int Docalculation(int receiving) { int multip=receiving *2; return multip; } static Void Main() { example ex=new example() ex.Docalculation(); } }

Software Development
Member Avatar for andur92
0
72
Member Avatar for ezekel

Hi, I need some help on my stack i could not input the infix because it will generate error when i compile,and it says that non-static method priority (char)cannot be reference from a static context....Thank you in avdvance. public InfixToPostfix(int size) { stack=new Object[size]; top=0; } public boolean isEmpty() { …

Software Development java
Member Avatar for ezekel
0
590
Member Avatar for l.pavel

I have several classes that can raise same event: classA, classB, classC all can RaiseEvent "DlFinished", "TableUpdated", "ReportProgress". Since all 3 classes give me about the same information, I created an user control which displays the data. Now this may not be the best way to handle this situation, but …

Software Development vb.net
Member Avatar for l.pavel
0
116
Member Avatar for billionair

I'm trying to make a C program to run DOS commands but I keep getting "illegal command" error. Here's the code. #include<stdio.h> #include<process.h> int main() { system("ipconfig/all"); return 0; }

Software Development c
Member Avatar for Ancient Dragon
0
847
Member Avatar for Bumpehh

ive been searching the web for a 2d free game engine compatible with c++, and i cant find any! So i would like to know, if there is any that you guys know about? most people direct me to lib librarys, but thats not what i want. btw, sorry if …

Software Development c++ gaming
Member Avatar for myk45
0
235
Member Avatar for ankit.sinha.31521

sir i would like to know how to encrypt an image in java (the classes and how to proceed)

Software Development encryption image java
Member Avatar for trishtren
0
585
Member Avatar for psy.blast

import java.util.Scanner; import java.util.*; public class Interest { public static void main(String[]args) { double interest, primary, period, amount, yearly, monthly, daily, weekly, quaterly, bianually, time; Scanner Scanner = new Scanner(System.in); System.out.println(" How much money is the person wanting to loan?"); primary = Scanner.nextInt(); System.out.println("Please enter the rate of interest."); interest …

Software Development java
Member Avatar for steph7
0
250
Member Avatar for yasaman.jokar

i have some problem with 16 features for image ... 1) The horizontal position, counting pixels from the left edge of the image to the center of the smallest rectangular box that can be drawn with all “on” pixels inside the box. 2) The vertical position, counting from the bottom, …

Software Development c++
Member Avatar for np complete
0
118
Member Avatar for LD Company

Hello. I started making my software and i using database. When I select record in database and click Delete Button i got error message: **Update requires a valid DeleteCommand when passed DataRow collection with deleted rows.** The code of my Delete Button is: Private Sub DeleteMember_Click(ByVal sender As System.Object, ByVal …

Software Development vb.net
Member Avatar for Dili1234
0
430
Member Avatar for Dili1234

I 'm doing an application using vb.net 2008 and sql 2005 i want to know whether it is possible load data into message box from database when form is loaded......

Software Development display vb.net
Member Avatar for Dili1234
0
569
Member Avatar for chotep

Hi! I'm having a problem in database.. I have this SQL for my vb.net project Sql = "SELECT STUDENTS.stud_id, STUDENTS.stud_no, [stud_last] & '" & Me.Label1.Text & "' & [stud_first] AS Expr1, STUDENTS.gender00, STUDENTS.course00, SECTION00.sec_code, STUDENTS.Q1, STUDENTS.Q2, STUDENTS.Q3, STUDENTS.Q4, STUDENTS.Q5, STUDENTS.Q6, STUDENTS.Q7, STUDENTS.Finals, STUDENTS.username00, STUDENTS.stud_id FROM SECTION00 INNER JOIN STUDENTS ON …

Software Development vb.net
Member Avatar for G_Waddell
0
114
Member Avatar for bhagawatshinde

Hi Guys, I have an xml file contains the imagedata attribute. now while reading xml file using dataset i was setting this field to string and insert it to another table that have also image field. when i am tring to retrive this image it's not a actual image. <ImageData>/9j/4AAQSkZJRgABAQAAAQABAAD//gA+Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcgSlBFRyB2NjIpLCBkZWZhdWx0IHF1YWxpdHkK</ImageData> …

Software Development c# dataset image
Member Avatar for gusano79
0
334
Member Avatar for 47pirates

How can i change my java program in netbeans(currently) so that i can install my program in any other computer? Which is the currently best tool plzz help

Software Development java java-netbeans
Member Avatar for 47pirates
0
201
Member Avatar for Orymeyer

Considering the following lines of C code: #include <stdio.h> #include <stdlib.h> #include <ctype.h> void print_upper(char *string); int main() { char s[80]; printf("enter a string\n"); gets(s); print_upper(s); printf("\ns is now in upper case: %s",s); return 0; } void print_upper(char *string) { register int t; int k; for(t=0;string[t];++t) { string[t]=toupper(string[t]); putchar(string[t]); } …

Software Development c
Member Avatar for Vish0203
0
146
Member Avatar for shraddha_gupta

I have created a userConfig file to add MSGOTHIC font to FOP. <fop version="1.0"> <renderers> <renderer mime="application/pdf"> <fonts> <!-- register a particular font --> <font metrics-url="file:/tmp/msmsgothic.xml" kerning="yes" embed-file="file:/tmp/msgothic.ttf"> <font-triplet name="MSGothic" style="normal" weight="normal"/> </font> <font metrics-url="file:/tmp/msmsgothic.xml" kerning="yes" embed-file="file:/tmp/msgothic.ttf"> <font-triplet name="MSGothic" style="normal" weight="bold"/> </font> </fonts> </renderer> </renderers> </fop> Now I have set …

Software Development apache pdf xml
0
194
Member Avatar for I_m_rude

hi... Can anyone please explain that why we always take 6 points into consideration while finding closet pair of points in a given set of points ?This problem is solved using divide and conquer algorithm. And if anyone please give me psuedo code for closest pair problem, then i will …

Software Development algorithm c
Member Avatar for I_m_rude
0
182
Member Avatar for Covinus

can anyone explain about assertion failure. i cant seem ti fix my problem with this error. it comes out when i try to load a file. here part of the code [code=c++] BDLL fileHandle::load() { char fileN[MAX_PATH]=""; OPENFILENAME ofn; ZeroMemory(&ofn, sizeof(ofn)); ofn.lStructSize = sizeof(ofn); ofn.lpstrFilter = "Bitmap Files (*.bmp)\0*.bmp"; ofn.lpstrFile …

Software Development c++
Member Avatar for fillygirl1213
0
192
Member Avatar for MisterMustard

Hi Everyone Re; Help with MATLAB...basic stuff Let me start with..."What the heck have I let myself in for???? " I'm 43 years old Haven't studied anything related to math in 10+ years. Enrolled in University via distance education in Australia. I live in a small town in Queensland's outback. …

Software Development
Member Avatar for Taywin
0
145
Member Avatar for alakaboom1

Hi, I'm really new to both Pygame and Python. To get started, I just want to create a basic program of a sprite called "Player" in a background that responds to keyboard input. I pretty much just want to program it to move left and right in response to the …

Software Development os-x python
Member Avatar for jmorris1324
0
423
Member Avatar for champmanking

Hello. I am new to Java and I am creating a simple applet while I to learn. My problem is that one of my methods doesn't seem to be working. The applet is a simple moving sprite; use arrows to move, ect. I am trying to create a missile using …

Software Development java
Member Avatar for champmanking
0
388
Member Avatar for HelloMe

Hello everyone... I have just a simple project where i have to draw a picture (Robot) and on a klick on a button, the Robot turns to the left. My problem is, the Robot turns correctly but the new Robot drawing (position showing the Robot from the left side, back …

Software Development java java-swing
Member Avatar for HelloMe
0
199
Member Avatar for hauda67

for (k=0; k<M; k++) for (i=0; i<N; i++){ c[i][k]=0.0; for(j=0;j<P;j++) c[i][k]+ =a[i][j]*b[j][k]; I have implemented the above sequential matrix-matrix multiplication algorithm, but i'm not sure about implementing a method to display the output to verify that the algorithm works as expected.

Software Development display java matrix-multiplication
Member Avatar for NormR1
0
480
Member Avatar for Mahesh57

Hi i want to calculate the line starting point(x1,y1) and ending point(x2,y2) of a line the line is in circle. The Square image is (0,0) and (100,100), With in this image the line is drawn. I want that drawn line starting and ending points.. This code in C#

Software Development
Member Avatar for nmaillet
0
246
Member Avatar for emokidzz

I get an infinite loop when i input 1 and 5 in this program. Please help me detect the error. using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Graphs { class Program { static void Main(string[] args) { string[] cities = new string[10] { "Makati City", "Taguig City", "Imus …

Software Development
0
189
Member Avatar for TrustyTony

Here are instructions for voting for winner of the code snippet competition! http://www.daniweb.com/community-center/threads/429756/code-snippet-contest-...-cast-your-vote

Software Development python
Member Avatar for TrustyTony
0
207

The End.