Quantcast
Channel: Programming Forums
Browsing all 51036 articles
Browse latest View live
↧

Multiple combobox with filtering method

Hi, I have a form with two combobox which is related with each other. All the data is kept in MSSQL database and retrieve using Dataset in VB.net code. What i want to do when the first user select a...

View Article


Inserting an if/else or switch.

This is the assignment. Create a Java program that simulates a slot machine. When the program runs it should do the following: 1. Asks the user to enter the amount of money he or she wishes to enter...

View Article


App Config Encryption in VB.net

Hello All, I have search to net on how can I encrypt my App.config that I created in VB Winform. What I`m expecting is that when I view the App.Config file in the Application Folder I should not be...

View Article

Structure Of Classes

I'm working on a program that has a Person class and a Business class. My program should track people and businesses that donate to a cause. So a donor can be either a Person or a Business but not all...

View Article

question on returning strings in a program.

Hello. I am making a program for school. It is for my computer programming class. Here are the instructions given. Create a program that will allow the user to create or add bank accounts. The user...

View Article


Assigning items from a listbox to a variable.

Lets say I have a listbox containing: 5 7 2 So item 1 is a 5, item 2 is a 7, and item 3 is a 2. I want to assign each number to a variable a, b, c. So how can I get: a = 5 (listboxitem1) b = 7...

View Article

Parameters defaulting to None

In my constructor, the name and description parameters are supposed to default to None if they are not entered. I think I have that part set up correctly. If name isn't entered and defaults to None, a...

View Article

How to paginate equal pulled posts from WP Isotope plugin?

Currently this shortcode [portfolio column="3" nopaging="true" order="DESC" orderby="date" max="9"] pulls 9 posts from the taxonomy 'portfolio_category' each time you click on Load More as shown on the...

View Article


Infix to postfix error

I've been working on this Homework for quite a while now trying to convert infix to postfix, but I don't know my code only works for something like "a+b;", not something like (a*(b+c)+d)+e;. public...

View Article


sdl_getkeystates not working correctly

#include "Object.h" #include "SDL.h" #include <string> using namespace std; SDL_Event event; Uint8 * keystates = SDL_GetKeyState(NULL); int main(int argc, char *args[] ){ bool quit = false;...

View Article

sdl_getkeystates not working correctly

#include "Object.h" #include "SDL.h" #include <string> using namespace std; SDL_Event event; Uint8 * keystates = SDL_GetKeyState(NULL); int main(int argc, char *args[] ){ bool quit = false;...

View Article

Getting null on getting the last record in Datagridview

I tried many methods but it still showing null in messagebox. Public Class frmRecords Private Sub frmRecords_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load Dim ObjCon As New...

View Article

vb.net 2010 to ms express database

[code][code] [/code][/code] Imports System.Data Imports System.Data.OleDb Public Class Form1 Dim provider As String Dim connstring As String Dim myconnection As OleDbConnection = New OleDbConnection...

View Article


Add item to end of array

how reliable is adding items to the end of an array with this code $array= array(); $array[] = 'index one'; $array[] = "index two"; i have always used code like this before $array= array();...

View Article

Printing the first three characters!

The Question is : Write a program called "MissingChar.java". The program should read a string from the keyboard and prints the same string, with its fourth character removed. Your program must handle...

View Article


Loading a text file resourse using a variable name

I am making an application where a user logs in, and their data is saved in a text file. Once logged in, their data is read from the text file, line by line, into an array. Now, I have all of this...

View Article

Should return None, not 'list'

I am designing a constructor that takes in one parameter, which is the size of the container (to be used later). It creates a container (empty list will suffice), and returns the generated container...

View Article


How I can create a file then rename it using the keyboard?!

The Question is : Write a program that reads a String from the keyboard. The program then creates a file named: xx.txt (replace xx with the String that is read from keyboard). Your program will read...

View Article

Image may be NSFW.
Clik here to view.

Outlook 2010 Script

I'm a beginner in terms of C++ but I'm trying to create a script that changes the default address book in Outlook 2010. At first I looked at changing the registry which works for an individual user,...

View Article

Returning an Array InC#

Hi good people once again, I just stared C#, now i have a problem with returning an array in a function here is my Code: public string[][] PopulationAndFittness(string ChildP,int Row,int column) {...

View Article
Browsing all 51036 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>