Computer "Freeze/Save Settings" Logic Question
I've found a program called Deep Freeze by Faronics [ http://www.faronics.com/products/deep-freeze/ ] that saves the computer registry information and the installed programs, and then restores back to...
View ArticleSafe mail - Security problem
Hello everyone, I made a contact form in my application with email so that customers can send emails to me from within the application. The code looks like this: Dim Mail As New MailMessage...
View ArticleError With \n
My homework assignment this three-line poem and I have to put them together and get each of the six combinations possible with named constants and escape sequences. I created a string for each line but...
View ArticleGetting download speed and percentage
I am working on making my programs updater better by letting you know the download speed and the percentage of the downloaded file but I am running into problems. I am trying to get the download speed...
View Articlerow.Findcontrol not working!
Could anyone tell me why this does not work? The events seem to find it just fine - like in the RowDataBound event as the right ones show up checked. I call this sub with the RowUpdated event. All the...
View ArticleConsole - Adventure Game Args
I am trying to make a adventure game via windows Command Console (old school). I'm able to take basic Take, Look, etc commands but I lack the ability to do 'Args', like: Take Flashlight Look Up etc....
View ArticleVisual Studio 2010, C# : Keeping forms open, bad for performance?
Hey guys just a quick question! In vb (the good o'l days) i used to be able to just change the projects attributes so the application would exit when LAST form closes. I cant do this in c# for some...
View ArticleSMTP Problem
I am having a problem sending an email through my application. This is what I have. Imports System.Net.Mail Public Class Form2 Dim EmailAddress As String Private Sub Button1_Click(sender As...
View ArticleBeginner - Need help with ArrayList<>!
I need to create an ArrayList type Test, but it keeps saying the add method(int,Test) is not applicable for the arguments (int). Im a beginner so be nice if its something really stupid. If I put it...
View Articlemodular exponentiation
I am working with modular exponentiation and my code compiles, but I am not sure where my formula is wrong or is it maybe cause im doing int instead of long ? but im running 3.3.0 python so i should...
View ArticleInfinite Loop
I don't understand why when I call the following method it ends up being an infinite loop. //Returns a list of suppliers to visit starting with the most valuable public ArrayList<Store>...
View ArticleHow to Access Treeview Child Nodes
Hello, I am using the treeview control for the first time. My tree view is populated with parent and child nodes already. I'm trying to locate a specific child node so that I can update the text. I...
View ArticleSeparating delimited text into strings for an account list
I can't manage to figure out how to separate delimited text into strings. This is the format of the text "Admin:Pass". I need the first part into a string for checking the username and the second part...
View Articlecout question
So I am going over some cout capabilities, and I saw this example: #include <iostream> using namespace std ; void prob1(int i , int j , int k ){ cout << i << j << k <<...
View ArticleHow do I give the user and computer a point per round?
I'm creating a 3-round based game and I have all my if-else statements set up to determine who would win the round. While I can simply use a print statement to tell the user that the computer or user...
View ArticleProgram with option for command line arguments
Hi all. I'm finishing up a project for my Data Structures class and the instructor would like it to run with both the console menu system and the command line arguments for grading purposes. I've got...
View Articlequestion regarding why we use for loop in the below codes
hi every body. I have question regarding the tracing of these codes and also why we used the for loop. #include <iostream> #include <vector> //include the vector library using namespace...
View ArticleTic Tac Toe program not fully functioning?
This is my program that should ideally have two users play tic-tac-toe and eventually tell the user the wins that they have won. This program should work but I'm not sure why it isn't. If you can help...
View ArticleIssue with switch and do-while
My code needs to output a char for the user's integer input. Basically, when the user types 1, the output will be one -- only in the range of 0 to 9 though. Here's what I have thus far, but for some...
View ArticleReflection of an 'N' sided polygon using BGI graphics in C++
Hi Guys, This is a program on reflection of an 'N' sided polygon using BGI Graphics in C++.The reflection is bout' y=(getmaxy()+1)/2(The center line of the screen).I have done it in following steps: In...
View Article