132,726 Archived Topics
Remove Filter ![]() | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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++ | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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 … | |
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 | |
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 | |
(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' … | |
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 … | |
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: … | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
hi how to i create a a local HashSet<video> and an InventorySet Software Development ide java java-netbeans | |
i want to divide a matrix of n x m in smaller equal sized square matrix of size p x p.. Software Development java | |
[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. | |
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 | |
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 | |
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 | |
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 | |
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 |
The End.