132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for lilrhace07

I am trying to get the seleted radioButton from a group of radio buttons. The program is supposed to check on the search form for controls that match the selected radiobuttons. The radiobuttons are named AND and OR For example Field 1 :Customer No Search String: 123353 ANDradioButton ORradiobutton Field …

Software Development
Member Avatar for cgeier
0
239
Member Avatar for virupax

This the error I am getting when I install VB application which is developed in VS 2010 with Access 2010 as backend error: ACEW OLEDB 12.0 not REGISTERED on local machine This appears to be faced by many people. I faced it first time when I installed similar project in …

Software Development vb.net
Member Avatar for deceptikon
0
450
Member Avatar for Riteman

Am doing an application to allocate the seats to the students in a building with rooms. I have almost done to allocate the students appropriatly in the rooms. The problem now is convert them to a single variable. So here is the place am struck with: I have these data …

Software Development vb.net
Member Avatar for Reverend Jim
0
201
Member Avatar for CoilFyzx

Hi. I have a JFrame with a JLayeredPane. On the first layer there is a table, then above it there is black transparent layer that allows me options and what-not. I animate the arrival of this transparent layer. However when I do this the panel seems to loose it's transparency, …

Software Development daniweb-bug java mathematics
Member Avatar for CoilFyzx
0
583
Member Avatar for chubbyy.putto

can anyone tell what did i wrong on this random number? http://pastebin.com/M3J9u5sR

Software Development c++
Member Avatar for DavidB
0
156
Member Avatar for kenasco

pls i need someone here to help me with the coding trend am using. this is an example of my code inserting data in to sql server 2008 table... Public Sub insertStocks(ByVal serialNumber As TextBox, ByVal itemcategory As ComboBox, ByVal itemname As TextBox, _ ByVal dateofmanufacture As DateTimePicker, ByVal dateofexpiry …

Software Development vb.net
Member Avatar for Reverend Jim
0
160
Member Avatar for Rui Lin

hi every one. I need some ideas for the calculation. I have a table in the database with field names: Product_id,Name,Description,Quantity,Unit_price What i want to do is when customer chooses the product, as soon as he/she enters the quantity it should automatically be multiplied by the unit price of that …

Software Development vb.net
Member Avatar for Reverend Jim
0
105
Member Avatar for DavidB

I am trying to use Visual Studio's debugging features more effectively; I certainly do not know all its ins and outs. At the moment, I would like to quickly see the values of an array. See the attached screenshot of the Watch Window. The variable **k** is a global array …

Software Development c++ ide visual-studio
Member Avatar for DavidB
0
1K
Member Avatar for Fatima_110

I'm just starting my 2nd semester in Java. The project for the semester is: I have to create a EDUCATIONAL GAME or any SYSTEM using java. I am clueless what to decide to make. Please I need help ... I dont have enough Java knowledge and need the idea of …

Software Development java
Member Avatar for Fatima_110
0
217
Member Avatar for Vish0203

I'm using a TableLayoutPanel which will contain a few dynamically generated LinkLabel's I get everything except the extra spaces in 1st and 2nd row. I've attached a snapshot through screecast. Can anyone tell me how to remove this extra thing? Heres the snap shot link : http://screencast.com/t/dZqRzSZU

Software Development
Member Avatar for Vish0203
0
143
Member Avatar for ZaneDarklace

I am working on a project where you must first encrypt a sentence then decrypt it. the code that is used is: `import java.io.*;` `import java.util.*;` `public class Decryption `{` `public static void main(String args[]) `{` `Scanner kbReader = new Scanner(System.in); `System.out.print("Enter a sentence that is to be encrypted: "); …

Software Development encryption java
Member Avatar for ZaneDarklace
0
925
Member Avatar for trade19

Hi can anyone help me i am using python 3 and i am new here. I want to know how i can make these random numbers, example: 4 11 17 21 44 - 20 show up, like the example. The problem is the last #20 shows up below the others. …

Software Development python tkinter
Member Avatar for Gribouillis
0
176
Member Avatar for acmarshall

I am doing a programming assignment. This program asks you to collect statistics on precipitation and temperatures from the four quarters of a year and print the calculated results. It is an exercise in using enumerated types and arrays. The measurements are entered at the end of every quarter. Major …

Software Development c++
Member Avatar for acmarshall
0
174
Member Avatar for crebz

Am trying to get a function call but i cant get it to print. Please help here. This is the code: def foo(): name = input ('>>').lower().split() for item in name: if name == foo: print ('foo here!') else: bar() def bar(): name = input ('>>').lower().split() for item in name: …

Software Development perl python
Member Avatar for crebz
0
246
Member Avatar for bnn678

Not usually one to have to do this, but I cannot find the problem with my code. Yes, this is a project Euler problem. Any tips or suggestions help. My code works by getting the location of each number, excluding the first numbers as it has to be predefined, and …

Software Development python
Member Avatar for scudzilla
0
204
Member Avatar for MARKAND911

How do I open a Word document and feed its contents as the body of an email message using OpenXML and C#?

Software Development email microsoft xml
Member Avatar for MARKAND911
0
200
Member Avatar for Doogledude123

`final PerspectiveCamera camera = new PerspectiveCamera(true);` The constructor PerspectiveCamera(boolean) is undefined. http://download.java.net/jdk8/jfxdocs/javafx/scene/PerspectiveCamera.html Clearly says that it can accept a boolean for "verticalFieldOfView" Why is Java giving me this error?

Software Development java
Member Avatar for Doogledude123
0
357
Member Avatar for hitro456

Hi Folks, I am new to java programming. I have an xml file <File> <XMLFile> <Type = "TypesFirst"> <myI>17</myInt> <myS>Type one</myS> <myD>3.14</myD> <myL>1212121</myL> <myC>D</myC> </Type> </XMLFile> <XMLFile> <Type = "TypesSecond"> <myI>17</myInt> <myS>Type two</myS> <myF>7.14</myF> <myL>121456</myL> <myC>D</myC> </Type> </XMLFile> </File> So I have to deserialize this file in such a way …

Software Development java xml
Member Avatar for anand01
0
198
Member Avatar for bjnzzzle

I suppose to write a Java program using array and method follows: It reads a sequence of strings, each on a separate line, and stores them in an array, let call it input1, with one string per cell, in the order they were read. The sequence ends with an empty …

Software Development java
Member Avatar for JamesCherrill
0
348
Member Avatar for Pyler

I'm trying to implement a hangman game using linked lists but not getting anywhere. I want guessed characters to be inserted in a Linked list of chars at a position that corresponds to the character's position in the word they are trying to guess.(See example at bottom.) For some reason …

Software Development java linked-list
Member Avatar for JamesCherrill
0
2K
Member Avatar for V3N0M

Hi everyone I am coming from a C background and I am finding it hard to understand wrapper classes and unwrapping them and their use. Can anyone tell me how they work in english that is easy to understand. And what is an object is it a variable, a data …

Software Development java
Member Avatar for JamesCherrill
0
150
Member Avatar for Learner010

evenafter learning functions , i see a lot new things everyday in functions. its great because it gives the opportunity to learn new things. today , i see a function which have const keyword with function , like this : void fun_name() const{ } i couldn't understand it . would …

Software Development c++
Member Avatar for Learner010
0
186
Member Avatar for jabujoukha
Member Avatar for null_pointer
0
130
Member Avatar for CoilFyzx

Howdy-ho. I am trying to right click on my table and change the cell border color and highlight color of that cell. I have figure out how to give that particular cell focus when I right click it by using int row = fixed.rowAtPoint(evt.getPoint()); int col = fixed.columnAtPoint(evt.getPoint()); fixed.changeSelection(row, col, …

Software Development java
Member Avatar for mKorbel
0
689
Member Avatar for Sammys.Man

hi guys, i have created a datagridview with a combobox, which pulls out info from my DB, what i am trying to do now is, populate the rest of the datagridview with the information linked to the selection. failing that i want to populate a label with the selected item. …

Software Development
Member Avatar for Fenrir()
0
174
Member Avatar for abhishek.anand.37017794

class Simple { void display() { System.out.println("ant hnkg"); } class Local { void msg() { System.out.println("inner"); } } public static void main(String args[]) { Local l = new Local(); l.display(); } }

Software Development java
Member Avatar for balaji.ghadage
0
1K
Member Avatar for joshl_1995

Hello Community, I would like to know if there is a way to get the corresponding list index of another list like below: Dim panelTitle As New List(Of String) panelTitle.Add("First Panel") panelTitle.Add("Second Panel") panelTitle.Add("Third Panel") Dim panelName As New List(Of Panel) panelName.Add(Panel1) panelName.Add(Panel2) panelName.Add(Panel3) So when I choose "Second Panel" …

Software Development vb.net
Member Avatar for joshl_1995
0
259
Member Avatar for Amanpreet_1

i declared a variable string to store my query video_id value in it `Inline Code Example Here` string videoid; private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) { loaddata(); string myconnection = "connection string"; MySqlConnection myConn = new MySqlConnection(myconnection); MySqlCommand SelectCommand = new MySqlCommand("select * from livestream.video where title ='" + channeltitle.Text …

Software Development sql
0
148
Member Avatar for mixelplik

I'm playing with all the cstring and string functions, getting familliar with how they work. Below I have a function call to strcata, and all I'm doing is declaring a string within the function, I'm not even using it with anything other than cout. Everytime I run the code it …

Software Development c++
Member Avatar for DeanMSands3
0
195
Member Avatar for vodkasoda

I am am experience Mainframe programmer, but new to SQL-Server & learning vb.net so I realise that this is probably very basic ... I have a DataTable called MailTypes which contains 2 Columns, the ID & the Name. I have a DataTable called Leagues which contains a lot of Columns, …

Software Development sql vb.net visual-studio
Member Avatar for vodkasoda
0
356
Member Avatar for Labdabeta

Hello, I wrote a library for arbitrary precision arithmetic recently and spent a long time implementing efficient multiplication algorithms. Now I am looking to see if it is possible for me to optimize anywhere else. One place that I thought should be more optimizeable is my division algorithm. Right now …

Software Development algorithm c++
Member Avatar for mike_2000_17
0
1K
Member Avatar for Gabriel_4

Hi, I have some deals with this. I can't make this run. It says that "Microsoft.ACE.OLEDB 12.0 is not registered on the local machine". I tried with diferent providers, but still not running. I tried installing the Access Database Engine Driver, and the application seems that don't want to run. …

Software Development microsoft-access open-source vb.net
Member Avatar for cgeier
0
124
Member Avatar for richkardmunga.hounarable

i just want to enter the world of programming but i didn't know from what i'm starting i took a short look in C also C++ and Java,i just want to get into this nice world

Software Development c++
Member Avatar for rubberman
0
104
Member Avatar for fliponymous

Hello guys. I've seen another thread with this name but it was in C i'm interested to do it in C# okay the program how I can add the digits of a number. Could you give me an idea? **I have source, but i need another source with the same …

Software Development c#
Member Avatar for ddanbe
0
378
Member Avatar for Steven_6

I was wondering, how do I make it so users can login. I have an SQL database, I have a VPS, I have a VPS. I just need help setting it up and adding an account.. This is the login form: Public Class Form1 Private Sub FlatToggle1_CheckedChanged(sender As Object) End …

Software Development sql vb.net
Member Avatar for Begginnerdev
0
309
Member Avatar for CoilFyzx

Hello good day. I have an idea for my program. I have a Table in my display. I want to add a Component to - let's say - the right of my screen. When I click this component it should display to me buttons and other components that I have …

Software Development gui java
Member Avatar for JamesCherrill
0
532
Member Avatar for Geekitygeek

Hi, I have written some software, one aspect of which is a TCP client. It sends messages to a designated address and port and receives a number of messages in response. This is all working perfectly on some PCs, but on others, it loses connection. I have done some digging …

Software Development
Member Avatar for Ketsuekiame
0
2K
Member Avatar for swilcox1110

I am very new to visual basic 2010 and am really struggling with it. My assignment is a fat gram calculator and the example is there are 200 calories in the food and there are 8 grams of fat in the food. The calculator gives the percentage of calories that …

Software Development visual-basic
Member Avatar for swilcox1110
0
633
Member Avatar for Doogledude123

Alright, so I am thinking about an idea of a useless application, however it is interesting me. A 3D "perspective" of color. I know, confusing. But think of it this way: Movement given an x, y, z coordinate. Color given r, b, g = x, y, z I was also …

Software Development image java
Member Avatar for Doogledude123
0
292
Member Avatar for Suzie999

I am wrapping the Windows API CreateProcess. Here is my code. int __stdcall _Execute(LPTSTR program, LPTSTR workingdir, WORD show){ // Check if program has content if (!program || !*program){ MessageBox(NULL, L"You must provide path to executable", L"Error", MB_OK); return 0; } // Create buffers and copy program param to szCmd …

Software Development api c++ google-api windows-api
Member Avatar for Suzie999
0
324
Member Avatar for kim2_0016

ei can u please help me to do a program that accepts username and passaword using java JFrame...

Software Development java
Member Avatar for fliponymous
0
544
Member Avatar for GrantB

I have a Rad gridview that databinds and popluates date according to a seacrh. There is a linkbutton that i want to be able to change on column from saying false to true or vice-versa. Please help protected void rgUsers_ItemCreated(object sender, GridItemEventArgs e) { if (e.Item is GridDataItem) { GridDataItem …

Software Development asp.net
Member Avatar for GrantB
0
315
Member Avatar for Urgent
Member Avatar for fliponymous
0
124
Member Avatar for glao

I want to pass an array from one cpp file to another. first: void wrapper(float **A,int N){ N=2; printf("Allocating Matrices\n"); *A = (float*)malloc(N*N*sizeof(float)); for(int i = 0; i < N; ++i){ for (int j=0;j<N;j++){ *A[j+i*N] = i; } } for(int i = 0; i < N; ++i) { for (int …

Software Development c++
Member Avatar for glao
0
239
Member Avatar for Jeff_12

I am new to VB, and I am trying to add data to an array from a textbox and have the data display in a listbox on a different form. Can any body give me some generic examples. Thank you in advance for your time. JLJ

Software Development vb.net
Member Avatar for Minimalist
0
279
Member Avatar for 404notfound

This is the code I have and I am trying to get rid of the error but there is always an error after error even with me looking it up: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Lesson02 { class Rectangle { private double length; private …

Software Development
Member Avatar for Mike Askew
0
84
Member Avatar for havoc0921

I have an assignment for my cps class in which we have to create a program that will import a file from a server that has a bunch of numbers in it. The program is suppose to take those numbers, sort them, give the minimum and maximum value, average, median, …

Software Development java
Member Avatar for JamesCherrill
0
224
Member Avatar for jalpesh_007

dear all, I just want to know how can i open any jsp page of my project from swing button of jframe. Do i have to use URL class and its methods or i can directly pass localhost address and run it. please reply. Thank you.

Software Development java java-swing
Member Avatar for masijade
0
162
Member Avatar for Compton11

I had a technical interview last week for a Java Software Engineer position. They asked some pretty basic questions such as: 1) What's the difference between an abstract class and an interface? Which do you use more? 2) How does garbage collection work in Java? 3) What is the difference …

Software Development data-structure java
Member Avatar for jwenting
0
321
Member Avatar for jalpesh_007

Dear all, I am making MS Access database connection with my java program. As i know that in Connection Following things are required: Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con = DriverManager.getConnection("jdbc:odbc:DSNname","Username","password"); Now i have created System DSN in Odbc data connection and also i have attached database with that DSN. While creating DSN, …

Software Development java
Member Avatar for jalpesh_007
0
422

The End.