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

What things can I do to improve my program? Criticism appreciated.

What are some things I should do to make this program more efficient, easier to read, etc. I'm sure my program is pretty noobish but I would like to improve. #include <iostream> #include...

View Article


How to get a program to Save on Close

i am wondering how to make it so that a java app will save upon termination of the program. I am using a FileOutputStream, ObjectOutputStream save, but i can also make it another if that would be better.

View Article


Calling a function

good day guys.. can you help me how to call a function from form1 to form2? here is my code.. and its error.. *** FORM1 *** [code] Public Sub SQLConn() connection = New SqlConnection("Data...

View Article

How to get save uppon close

I am trying to figure out how to get an app to save upon termination without prompting the user, or really needing any user action other than terminating the program. I'm using a FileOutputStream save,...

View Article

Reading in a file that has both Strings and numbers?

I need some help reading in a file that has both numbers and strings. I just need help differetiating between Strings and the two numbers at the end of each line. Example of what I'm reading in: Meh...

View Article


Panel inside a panel

I am trying to automate panel creation for a software i am developing. Its essentially, creating a panel pragmatically with two labels, a picture box, and 6 text boxes. But when it comes to run time....

View Article

WinForms Jitter

So, the final "lab" in Head First C# is to do a Space Invaders clone in WinForms. So far, all I've done is draw a black background and animate the player ship, moving left when someone hits the left...

View Article

how to manage my at commands

hi i have this codes With SerialPort1 Try .Write("at" & vbCrLf) Threading.Thread.Sleep(1000) .Write("AT+CMGF=1" & vbCrLf) Threading.Thread.Sleep(1000) .Write("AT+CPMS=""SM""" & vbCrLf)...

View Article


problem infinite loop in my program

Can some help me with my problem when ever I try to end the loop it always go to infinite loop see my source code /*Max Integer *x */ #include <iostream> #include <conio.h> #include...

View Article


prevent osk.exe minimize on kiosk applications

i have a kiosk application in vb.net and i get some problems with the on screen keyboard. When the user clicks the minimize button, the keyboard hides after the form which has the property windowSate =...

View Article

[Article] How to Debug (not about tools, about process)

http://blog.regehr.org/archives/199 via /r/programming This is a great read. It's not about tools, or the technical aspect of debugging. It's about how you should think about debugging; the process you...

View Article

Switch with incorrect output

Hello: What I am trying to do is create a program that will output the 12 days of Christmas song where each verse adds one line. I have to use a switch statement in a loop to control which lines get...

View Article

Having trouble indentifing an error

Code: import java.util.Scanner; public class Lab7 { public static void main (String[] args) { int x = 0; int y = 0; Scanner input = new Scanner(System.in); System.out.print("how many points: "); int n...

View Article


Check if SQL Server Job already running?

I have an application that when it starts up, begins a process to run a SQL Server Job transferring some data around. The user is presented with the main form and can proceed as they wish. On this form...

View Article

Problem with displaying Items on the Array

i'm trying to display the items on the Array to a Label I can't seem to find the easiest way when using this method 'Declaring an Array Dim arrl() As String 'Count the content of the ListBox items and...

View Article


File IO & structs

I'm trying to pass a filename and go through every character in the file and create an array of 127 nodes and increment the weight of that node's element in the array based on the ASCII value of the...

View Article

Enlarge image on mouseenter in wpf

I am really new to wpf. The image I have inserted is supposed to enlarge on mouse over. I have written this thing multiple times, but I really just don't know what I am doing. When I mouseover the...

View Article


unsecure image contents

Unsecure image contents showing on my site.Why this i happening i am using ssl certificate. Please let me know if somewhere know the issues.

View Article

Image may be NSFW.
Clik here to view.

Twitter Counter Using For Loop

Hello, I am working on an assignment in which I need to make a counter to count the characters in a tweet. I need to limit the characters to 140. What I'm trying to do is have a for loop counter that...

View Article

How to make a text box change text automatically?

I am currently making a program and when the user clicks the send button the textbox automatically changes the content of the text. Is this possible? current code is. [b]If txt12.Text = variable Then...

View Article
Browsing all 51036 articles
Browse latest View live


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