132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for zachattack05

I have a Bit field (On/Off; True/False) that I would like to bind to a label and ComboBox, but I can't figure out how to have them display anything other than True or False. I'd like something like "Secure" "Unsecure" or "Male" "Female" but the text "Secure" corresponds to say, …

Software Development
Member Avatar for zachattack05
0
303
Member Avatar for Mike Askew

Hi all, I am looking to have a long process running in the background to my main form with a timer ticking on the main form animating the elipsis on the end of some text. Was looking for some insight into the best way to go about this and any …

Software Development multithreading
Member Avatar for Mike Askew
0
245
Member Avatar for rucci

Hello experts , Now this may seem a silly question but i do have to ask . Its a similar question to ones people have posted but not that similar . i would like to connect VB 6 to ACCESS 2007 using ODBC . I have no idea how to …

Software Development visual-basic
Member Avatar for AndreRet
0
1K
Member Avatar for markdean.expres

Guys I just want to ask why my KeyPress event is apparently not working. What I want is that when I press the letter m, the selectedindex property of my listboxes would change. Here is the code; Select Case Asc(e.KeyChar) Case 13 Try tray.ListBox1.SelectedIndex = tray.ListBox1.SelectedIndex + 1 tray.ListBox2.SelectedIndex = …

Software Development vb.net
Member Avatar for weeraa
0
241
Member Avatar for govnah

Hi there, i'm a newbi at c# and i'm trying to create a game called SHUFFLE. The game is suppose to generate an array[8] of random number (without duplication) each time it is run. and then the user is suppose to sort it out in order. I have managed to …

Software Development
Member Avatar for Momerath
0
2K
Member Avatar for Thermalnuke

Hey guys, I am trying to figure out how to write out this java Program, I am using JCreater, and I am teaching JAVA to my self if you guys can help and show me a couple of the programs that I am doing I think i will be all …

Software Development java
Member Avatar for stultuske
0
256
Member Avatar for idhasitha

how can i insert data from data base with selected Datagridview columns i have insert combobox to Datagridview and it can load data from DB now i need insert data to another columns in Datagridview when i change combobox items plzzz helpppppppppppppp

Software Development vb.net
Member Avatar for kothaisaravan
0
135
Member Avatar for m1234ike

Hello DaniWeb, I have a new idea for an app: I have an external harddrive and I usually backup my desktop with a cleanup folder which I usually move to the external harddrive. The problem is: when I search for a file (i.e. example.mp3) I will find multiple copies which …

Software Development hard-drive vb.net
Member Avatar for codeorder
0
284
Member Avatar for richardtreier

Alright. I am (attempting) to use this [URL="http://sites.google.com/site/rcorcs/download/systemsoftware"]http://sites.google.com/site/rcorcs/download/systemsoftware[/URL] simple database library in VC++ 2008 Express. I admit that I am a newbie to C++, since Ive used only "light" programming languages like python, php, java. To use it I have the header files, and as "lib" folder I have a …

Software Development c++
Member Avatar for mike_2000_17
0
109
Member Avatar for Alex_2011

Hi, I want to add a button (ButtonCalculate) to make the user select this button to generate the loop for calculating the sum. [CODE] Private Sub TextBox1Integer_TextChanged(sender As System.Object, e As System.EventArgs) Handles TextBox1Integer.TextChanged Dim OddSum As Integer = 0 Try Dim CountTo As Integer = TextBox1Integer.Text For Index As …

Software Development vb.net visual-basic
Member Avatar for Alex_2011
0
227
Member Avatar for battlex2010

I am making a networking application using sockets for a local area network. How can i make the client side of the application search the network for the server socket? Right now i am getting the input from the user itself about the IP address and Port of the server.

Software Development client-server java
Member Avatar for battlex2010
0
198
Member Avatar for triumphost

How can I forward declare a struct/custom type in my include? I'm trying to write an include but it keeps telling me incomplete type or type not declared.. I do not have a .CPP to go with it.. I wrote everything in here as I have never written an include …

Software Development c++
Member Avatar for mike_2000_17
0
8K
Member Avatar for natehome

hi im trying to make a program that will go to 4chan and download a the images on a thread(i.e. [url]http://4chan.org/b[/url]). the program will work the first time but after that when i go to run it again it trys to download the same urls as it did the first …

Software Development python
0
195
Member Avatar for bobanderson93

the program wont compile because it found and error with ReadFromFile class method in the main.cpp file. Any help would be appreciated. class inventory deceleration in "Inventory.h" file [CODE]#ifndef INVENTORYDEF #define INVENTORYDEF #include <iostream> #include <fstream> int const MAXNAME=30; int const SIZE=2; class Inventory { private: int quantity[SIZE]; float unitcost[SIZE]; …

Software Development c++
Member Avatar for Ancient Dragon
0
157
Member Avatar for ng5

i am having trouble linking 2 listboxes together... What i woud like to happen is a selecting from listbox1 to populate listbox2. Any ideas on what to do? thanks in advance

Software Development vb.net
Member Avatar for codeorder
0
150
Member Avatar for sachintha81

Let me describe my problem as well as I can. I have a C# application program, let's call it App.exe. It references a DLL named A.dll which in turn references another DLL, namely, B.dll. However the way in which they are referenced is a bit different. In the code of …

Software Development assembly
Member Avatar for sachintha81
0
3K
Member Avatar for pwolf

Im stuck with the following: Define a function isPrime(number) that takes in a number as argument and return True if the number is a prime number. Hint: A number, x is a prime number if it is only divisible by 1 and x itself. By definition, 1 is not a …

Software Development mathematics python
Member Avatar for pwolf
0
466
Member Avatar for hbluthi

Hey again. Trying to add elements to a DList, this happens when I try to add the second car (500, Porsche). The whole insert algorithm sucks and am strongly considering trying to figure out a better one. This is what shows up in the console: Enter name of file with …

Software Development algorithm java linked-list
Member Avatar for hbluthi
0
208
Member Avatar for stamatt45

I'm writing a program to convert Decimal numbers to binary, hexadecimal, and BCD as a refresher before i start getting code assignments in school. I'm almost done, but i have a seg_fault (compiler says decToHex function) in 1 function and i am hoping for some feedback on the others. I'll …

Software Development c++
Member Avatar for raptr_dflo
0
3K
Member Avatar for scheppy

pButtonarray [x] [row].putClientProperty ("x", new Integer (x)); I'm using a version of java that doesn't have method overloading for putClentProperty so i have to type new Integer as seen above, and this all works perfectly now I'm trying to assign a boolean to the array like so pButtonarray [x] [row].putClientProperty …

Software Development java
Member Avatar for scheppy
0
278
Member Avatar for RLS0812

This is a working beta of a virtual slot machine I am working on. Eventually I'm going to add a GUI. [CODE]# Python 3 # Slot Machine # By : RLS0812 # Note: The Odds are a bit off of what they actually are. import random def Reels(): # [0]Winning …

Software Development gui python
Member Avatar for woooee
0
3K
Member Avatar for clerisy

What is the full form of LIFO? Give an example of LIFO list?

Software Development c++
Member Avatar for dmanw100
0
121
Member Avatar for bigredaltoid

Hi guys - I need to write a program that reads in a user-input integer and tells if the number is prime or not. I've written up this code so far: [CODE]class primenumber { public static void main(String[] args){ int num = 10; int i; for (i=2; i < num …

Software Development java
Member Avatar for bigredaltoid
0
162
Member Avatar for Mits14

i have this code in my btnsave..it can detect conflicts but after that a dialog box saying: An unhandled exception of type 'System.NullReferenceException' occurred in AppointmentSchedulingClient.exe Additional information: Object reference not set to an instance of an object. and it points to the green one below. [CODE] If Val(cbostart.Text) > …

Software Development vb.net
Member Avatar for Begginnerdev
0
785
Member Avatar for karanc

So Im trying to make a Coinstar Simulation and pretty much what it does is it adds up all the money and gives me a total. Im a computer science student learning java for the first time so I'm a bit confused as to what code i should put next …

Software Development java
Member Avatar for Philippe.Lahaie
0
301
Member Avatar for riahc3

(This has to be a Java question as it simply works in a txt with a HTML extension....) I have this code: [code] <html><head><title></title></head><body> <form id='formulario' action='index.html' method='post'> <label>Ancho </label><input type='text' name='ancho' id='ancho'><br > <label>Alto </label><input type='text' name='alto' id='alto'><br > <label>Izquierda </label><input type='text' name='izquierda' id='izquierda'><br > <label>Horizontales </label><input type='text' name='horizontal' …

Software Development ide java
Member Avatar for riahc3
0
82
Member Avatar for kindofsudden

This is my very first trigger and I'm not sure I have it set up correctly. I have a table called PayTypes. Here is my trigger syntax: [CODE] ALTER trigger payTypes_trigger on PayTypes AFTER INSERT, UPDATE, DELETE s PRINT 'AFTER TRIGGER EXECUTED SUCESSFULLY' [/CODE] I run this with a breakpoint …

Software Development sql vb.net
Member Avatar for adam_k
0
217
Member Avatar for dashawk

guys, can anyone help me on this problem? i have two tables then what I want is that, when an identical item is found in table2, it will not be displayed. Example: [CODE] Table1 Table2 item1 other1 item2 other2 item3 item2 item4 item3 [/CODE] Condition: if we use this query: …

Software Development mysql sql vb.net
Member Avatar for Reverend Jim
0
264
Member Avatar for moone009

I built an app to create a night export of data. I am new to programming (basically I have found vb.net to be more powerful than SSIS) and I was looking for tips in improving my basic program. [CODE] 'Declared columns from SQL Script Dim Servicenumber As Integer Dim pilotarea …

Software Development vb.net
Member Avatar for moone009
0
148
Member Avatar for Ziggy713

Hi Everyone, I am currently Working on a School Project which has the form of a stock update System. I am using an access 2007 DB and building my code in Visual Studio 2010. I am trying to get an Update Query to work and I am completely unsure on …

Software Development vb.net visual-studio
Member Avatar for Ziggy713
0
313
Member Avatar for Frederick2

How can I cause the Paint event to fire from a Form_Click() event? This is what I'm trying to do... [CODE] Public Class StrTests01 Private Sub StrTests01_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Click Dim ps As Graphics = Me.CreateGraphics() 'RaiseEvent StrTests01_Paint(sender, ps) End Sub Private Sub StrTests01_Paint(ByVal …

Software Development vb.net
Member Avatar for Frederick2
0
591
Member Avatar for hanan m

hi plz in need a vb 6 program for my project about median and gaussian filter in image processing thank you

Software Development visual-basic
Member Avatar for hanan m
0
102
Member Avatar for surferxo3

I have the following input and my program is not running: 1 3 2 1 3 7 8 [CODE] #include<iostream> #include <cstdlib> using namespace std; int main() { int arr[7], min, i=0, j=0; for(int i=0; i<7; i++) { cout<<"Enter value at arr["<<i<<"]: "; cin>>arr[i]; } min = arr[j]; for(; i<7; …

Software Development c++
Member Avatar for Lerner
0
234
Member Avatar for venky019

I got a problem regarding searching for a string in a file.txt. Program takes input from user and searches for the string and outputs the first string that finds. Ex: user enters NIW and program should output the string DANIWEB(DA'NIW'EB) I can get the input from user and I dont …

Software Development c++ programming-construct
Member Avatar for Lerner
0
225
Member Avatar for swissknife007

I am a beginner to computer graphics and I have to add animations to the image of my national flag which look like this. I have designed the flag alright.But I don't know what kinds of animations are possible and how. Could someone please guide me how to add animations …

Software Development c
Member Avatar for DeanMSands3
0
844
Member Avatar for free_dom

Hello! Chrome browser starts a new process for each tab. Every tab named as "chrome.exe" on windows and on linux "chromium-browse". For example: [url]http://www.ghacks.net/wp-content/uploads/2011/01/sys_manage.png[/url] I need to list all tab title names of opened processes. Is there any function which gets title (or name or summary or ...) of a …

Software Development java
Member Avatar for steve_kamlp
0
186
Member Avatar for Johan__

Hello [CODE] class Product { private string Produuct; private decimal Price; private decimal Vat; private bool Food; private int Count; private const decimal foodVATRate = 0.12m, otherVATRate = 0.25m; private decimal Finalprice; private decimal Rate; public void Start() { Readinput(); CalculateValues(); Printrecept(); } private void Printrecept() { throw new System.NotImplementedException(); …

Software Development
Member Avatar for ReshmaRajan
0
163
Member Avatar for Nikhar

Ok... i ran my quicksort program on my college lab's machine (i dunno its config) and it took 4 seconds on avg to sort 1 million elements. I ran it on my lappy (4 gb RAM, Intel Core i5-2410M Processor (2.3 GHz)) and it took 0.83 seconds to run the …

Software Development c
Member Avatar for deceptikon
0
114
Member Avatar for Jigs28

Hi, i have netbeans 6.0.1 but when i just creat a file it gives error even at the line which comes by default. For example @Remote or javax.ejb i have uninstalled and installed it again than to the previous installtion effects remains as it is.

Software Development java
Member Avatar for Jigs28
0
125
Member Avatar for sfovell

Hello, I am programming for my Robotics team, and I have to write code for a dashboard, including different camera feeds and setting up rows or columns for the different elements. I am quite new to Java, but I gotten through most of it except for the rows. I can't …

Software Development java java-swing robotics
0
132
Member Avatar for neh555

What is the difference between window form application and WPF application? Also i want to know about WPF application.

Software Development vb.net
Member Avatar for Reverend Jim
0
164
Member Avatar for riahc3

Hey Putting this code: [code] System.out.println("Hello"); BufferedImage bufferedImage = new BufferedImage(620, 420, BufferedImage.TYPE_INT_RGB); System.out.println("Bye"); Graphics2D g2d = bufferedImage.createGraphics(); g2d.setColor(Color.black); g2d.fillRect(0, 0, 620,420); g2d.setColor(Color.yellow); [/code] It throws a java.lang.OutOfMemoryError: Java heap space error not displaying the bye. I dont understand as my BufferedImage is nothing at all (simple 620 by 420). …

Software Development java
Member Avatar for riahc3
0
1K
Member Avatar for krishnisilva

hi how to i create a a local HashSet<video> and an InventorySet

Software Development ide java java-netbeans
Member Avatar for krishnisilva
0
95
Member Avatar for mneha67

i want to divide a matrix of n x m in smaller equal sized square matrix of size p x p..

Software Development java
Member Avatar for mneha67
0
2K
Member Avatar for bouldermash

[CODE]#include<conio.h> #include<iostream.h> void main() { clrscr(); long input,negaAr[10],posiAr[10]; for (int x=0;x<10;x++) { cout<<"enter:"; cin>>input; if (input<-1) negaAr[x]; else if(input>=0) posiAr[x]; } cout<<"positive:"<<posiAr[x]; cout<<"negative:"<<negaAr[x]; getch(); }[/CODE] i dont whats thee problem of this, ihave to input 10 integers and display the number of positive and negative.

Software Development c++ display
Member Avatar for aashishsatya
0
88
Member Avatar for daydie

hey guys im really stuck, when i run y program if finds fields fill's them in and submits, but sometimes the page does not have them fields and i just want it to skip them if not found so it continues otherwise it crashes. my e.g field: WebBrowser1.Document.GetElementById("subject").SetAttribute("value", TextBox3.Text) please …

Software Development vb.net
Member Avatar for thines01
0
125
Member Avatar for bhagawatshinde

Hi guys, I am inserting value from xml file to access database the file is near about 6 MB (size not problem) but the file contains mathematics questions containing images(jpeg,bmp),equations(math type) so while inserting some questions it will give an error "Query Is Too Complex " can anybody tell me …

Software Development c# mathematics
Member Avatar for thines01
0
219
Member Avatar for CodeJava1

hi could someone help me in giving a tutorial in learning how to write testcases in java. would preffer in netbeans if eclipse dosen't matter, thanks in advance

Software Development ide java java-netbeans
Member Avatar for krishnisilva
0
344
Member Avatar for galhajaj

Hello! :) i am starting a new winforms project and i need help in some issue. i added a panel with radio-buttons and i want to make a several panels with buttons and other components for each radio-button, for when i choose certain radio-button a certain panel will be visible …

Software Development
Member Avatar for ddanbe
0
137
Member Avatar for matharoo

I am trying to plot a graph using expect in my script and want to change the range of x and y axis. my script processes all the commands but when it comes to axis([1 5 1 10], 'normal']) command it give out the error following error : [CODE]octave:1> x …

Software Development shell-scripting
Member Avatar for matharoo
0
209

The End.