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

Am I using proper code structure

#!/usr/bin/env python import webbrowser class Tors: def getSearch(self): #Gets the search that the user is looking for u_input = raw_input('Enter search: ') return u_input def getEngine(self): #Gets...

View Article


Error identifier 'time' is undefined

/ This program predicts the player's future using // random numbers and an if/else if statement. #include <iostream> #include <cstdlib> // Needed for random numbers #include <...

View Article


Scrollable Panel scrolls back to top

Hi, all. Short version: I have a scrollable Panel (Panel1) containing numerous Userforms that scrolls back to the top after a UserForm at itÂ’s bottom is refreshed/updated. I want it to stay where it...

View Article

Printing images (on paper), something seems quite off. Lots of code.

Okay, so this is quite a big program but the idea is it draws grids on top of images and prints them out with proportional grids. Here is the part of the grid that corresponds to printing. This is in...

View Article

program to print only even numbers between 6 and 16 using events

I must use events in this program and it must print out even numbers. This is all I have. I am new to this and I have searched the internet for hours, I need help. Not sure if I am headed in the right...

View Article


Search by textbox value if true thn open next f orm wth all d details

hello, I have 2 access tables, both the tables registration number are same. Now i want once i click button on my 1st form it should read the "Registration_Notextbox.text" value and search in second...

View Article

Plane & Parachute Problem

Hi guys, I'm currently in my second C++ class and I'm having difficulty even beginning our first homework assignment. I have no idea how this is supposed to even look. Here is the instructions QuoteIn...

View Article

Image may be NSFW.
Clik here to view.

Problem in login

Hi, There a problem with my login code. When you enter the correct username and password your supposed to be directed to a new page. It was working before but for some reasons which I cant debug, It...

View Article


[Link] Spring Framework Flaw Allows Remote Code Injection

Out of curiosity, how many of you all use Spring? How many of you all will this affect in a significant way? QuoteThere's a major flaw in the Java-based Spring Framework open-source development code...

View Article


[Link] Clojure- On Structural Immutability

QuoteWhy should you care about structural immutability? Well it turns out that structurally immutable objects have some nice and useful properties. -Performance. Mutability is a necessary evil. As a...

View Article

Must change DateTimePicker value while Update the records

i have one "DateTimePicker" alongwith username, age, sex, etc so user can save the record 1st time but whenever user wants to update the record then "DateTimePicker" value should be change without...

View Article

Interface declaration, need to clarify

public interface Relatable { // this (object calling isLargerThan) // and other must be instances of // the same class returns 1, 0, -1 // if this is greater // than, equal // to, or less than other...

View Article

Number of digit of day and month

Hello, Is there other possibility to represent number of day in forrmat xx, eg if day is 1 i would like to see 01, and the same with month, as you can see bellow i am checking Len(MyMonth) to add 0 if...

View Article


Is there anything I cn use to search pdf documents in my apache servr?

I need something which can be use in php to search inside my public apache folder so that i can display the searched document which the text query is writting inside the document. What I did...

View Article

This my code all ways delete the all data in the database please help

Dim connection As SqlConnection Dim adapter As New SqlDataAdapter Dim sql As String Dim cmd As SqlCommand Try If Not dgvData.CurrentRow.IsNewRow Then 'Query string sql = "delete from AccountPayable...

View Article


Form instanced SerialManager - rx event can't update textbox on Fo

Hello everyone, This is my first post after registering today. I've been reading bits and pieces on this site for a while now, and thought I'd take a crack at trying to apply seperating the form logic...

View Article

getting sum of records fetched from backend via PHP

I am fetching records from database and want to get the total sum of salary paid to each user via PHP. I want to get the sum of salary using PHP but not via backend. How can I do it? <?php...

View Article


Using Jayrock.JSON to parse in VB.NET

Hey there, the issue I have is that I can't seem to be able to parse a string of JSON to retrieve all the values from the array in one go. The code looks like this: [{"name": "john"}, {"name": "greg"},...

View Article

starting paint app in .net .ny sugestion frm where i shud start ?/

starting paint app in .net any sugestion from where I should start ?

View Article

MouseEvents not working.

I am creating a 3x3 rectangular jigsaw puzzle game. I am trying to verify that the user dragged puzzle pieces are correct based on the original image. There are two 3x3 button GridLayouts, the first...

View Article
Browsing all 51036 articles
Browse latest View live


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