- Strength to Increase Rep
- +11
- Strength to Decrease Rep
- -2
- Upvotes Received
- 122
- Posts with Upvotes
- 107
- Upvoting Members
- 73
- Downvotes Received
- 9
- Posts with Downvotes
- 9
- Downvoting Members
- 6
i'm trying to create a program that calculates Body mass index in a for loop with 5kg gaps. BMI formula is: weight(kg)/height(meters squared) = BMI. How would this work? this is the code i got so far: Console.Write("Write your height in meters: "); double t1 = double.Parse(Console.ReadLine()); Console.Clear(); Console.Write("Write starting … |
|
Hi everyone! I'm making an application which requires users with different permissions/previleges to login and use the application.For example, if the user is "admin", all menu items in the menu bar are shown and enabled. If the user is say "user_group1", some of the menu items are to be hidden. … |
|
Ok folks, I rarely log in to ask questions so forgive me if I'm in the wrong category. Ok, the pc is a laptop (HP Elitebook 8460p, i5-2520m CPU 2.50GHz, 4GB RAM, Crucial 240GB SSD) running Win 7 Pro 64. Now I've scoured the net and can't find a single … |
|
Hi all, I'm hoping someone can help out, or at least give me a yes or no answer and possibly point me in the right direction. What I'd like to do is control a physical on/off switch (relay?) to turn on some led's. My ideal solution would be to write … |
|
Hi, I'm new to this Java world, and just can't figure out this problem. After I use nextInt or nextDouble, and try to use nextLine, it won't work unless I put nextLine twice. What's the problem there, and what would be the good way to handle this? Just gave a … |
|
Hi guys, I am a computer science major and I have been asked to complete a task for someone working in the school of public health at my university. Basically I have to go to this website: ///////////////////////////////////////////////////////////////////////////// [Click Here](https://www.healthcare.gov/find-premium-estimates/#results/&aud=indv&type=med&state=PA&county=Allegheny&age0=35&employerCoverage=no&householdSize=1&income=100000) ///////////////////////////////////////////////////////////////////////////// and gather all the information which displays after the … |
|
I am making a multiple choice quiz in vb with the questions and answers stored in an access database. When trying to display the question and answers on my labels, they don't change. Here is my code: Imports System.Data.OleDb Public Class Football_Questions Dim con As New OleDbConnection Private Sub Football_Questions_Load(sender … |
|
This is my code. I am learning this through the microsoft C# for absolute beginners book. I am on chapter 8 on the final soccer program and have no errors. The only problem I have is when I run it. I get $exception {Index was outside the bounds of the … |
|
Hello, I have a question about the webBrowser control. It does work good to display webpages but it seems that the control have problem to display certain webpages. (I think it has to do with javascript on the webpage). When trying to display this webpage, it will not FULLY load … |
|
The purpose of this assignment was to get a phone number and print out how many digits of each were in the phone number. Ex: phone number = 555-3311 1 = 2 2 = 0 3 = 2 etc. Instead of getting how many times the number shows up I … |
|
Warning - DO NOT BUY DELL IF YOU NEED TECH SUPPORT Let me start by saying that until today I was a loyal Dell customer. My first personal laptop was a Dell Inspiron 1720. My father-in-law had a Dell desktop and my two sons have three Dell laptops between them. … |
|
Hi,i have a code like this in .h file: #pragma once #include "stdafx.h" #include"iostream" using namespace std; // balance factor enum enum BalanceFactor { LH, RH, EH }; // treenode struct template<class T> struct TreeNode { T info; TreeNode<T>* left; TreeNode<T>* right; BalanceFactor bf; }; template<typename ItemType> class TreeType { … |
|
I am using XML:twig to extract some attributes from an XML file using Perl; Here is my code: use XML::Twig; my $file = $ARGV[0]; $file =~ /(.+)\.xml/; my $outfile = $1.".snp" ; open my $out,'>',$outfile or die "Could not open file '$outfile' $!"; my $twig = XML::Twig->new ( twig_handlers => … |
|
Hello to all! I am facing problems in feartures of sql sever 2008. I installed it but i could not find management studio in it. then i installed managemenet studio2008 separately. but when i opened management studio then there was no interface for making database but only interface was for … |
|
I had a trusty external hard drive for many years, it was a 500gb Seagate which worked fine up until the other day when the internal port for the mini usb detatched from the board and I was left w/ no way to connect it to my laptop.. Seagate failed … |
|
The Community Center Chat window keeps appearing (opening) after I close it which is rather annoying. |
|
Hi all, I'm brand new to daniweb and fairly new to vb.net and am trying to get my head wrapped around looping through an XML file to create toolstrip buttons in VS 2013 vb.net. i have searched all over google and youtube and now im totally confused. I'd like to … |
|
is it necessary to close, dispose or otherwise close an XML document after loading it as an Xelement? example: Dim xmldoc As XElement = XElement.Load(xPath) im transitioning from using streamreader and ini files into using XML and im not sure if I need to worry about freeing up resources etc.. … |
|
I have 2 buttons name as "Build Start" and "Build Stop". what i want is when i click the stop button it will stop the execution of Building of all the projects. I have tried the Backgroundworker class but when i use the RunworkerAsync() function it will build only one … |
|
this assignment here was my take home assignment. I am kinda doing it over just to see and know where i went wrong with. it is either my codes wrong somewhere but am not getting the required output. I had to do two methods along with two arrays. dont know … |
|
I am doing a TCP server & client communication. I would like to display the received data (from client) on the textbox of the server. When i used txtStatus.AppendText, it works perfectly fine. But when i changed to txtStatus.Text, nothing was shown in the textbox. I have tried using txtStatus.Text … |
|
I need your help once more. My if/else statment isn't working at all. I tried to do everything and look up at the code for the errors and didn't find any errors, or maybe I couldn't see any errors on it. I used in VEntradas Form: private string entrada; public … |
|
I will be showing how to pass data between two forms in VB .NET. I will be using two forms, two classes which we will define, a delegate, an event, and an event handler. It is my first tutorial and is a bit long because I wanted to make it … |
|
I am trying to solve a simple problem. But I am stuck by a simple problem I am confused by "context" in c#. So for this simple problem I am solving Euler problem 1. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Threading; using System.Timers; namespace Euler … |
|
I am posting this in response to those who ask about replacing the webbrowser (WB) control’s default browser. You cannot ask the WB control to use a different browser, it is hardwired to use the current version of Microsoft’s Internet Explorer that is installed on the target computer. It may … |
|
public void Start() { List<Object> list = new List<Object>(); List<Object> toRemove = new List<Object>(); if (File.Exists("c.bin")) { using (Stream osR = File.OpenRead("c.bin")) { DESCryptoServiceProvider cryptic = new DESCryptoServiceProvider(); cryptic.Key = ASCIIEncoding.ASCII.GetBytes("ABCDEFGH"); cryptic.IV = ASCIIEncoding.ASCII.GetBytes("ABCDEFGH"); try { using (CryptoStream crStream = new CryptoStream(osR, cryptic.CreateDecryptor(), CryptoStreamMode.Read)) { if (osR.Length > 0) { … |
|
I managed to disable %, $, #, | in my application using the script below: 101 ACCELERATORS LANGUAGE LANG_KOREAN, 0x1 { VK_F4, 40002, NOINVERT, ALT, VIRTKEY VK_RETURN, 40001, NOINVERT, ALT, VIRTKEY "%", 104 "#", 104 "$", 104 "|", 104 VK_NUMPAD0, 104, NOINVERT, ALT, VIRTKEY VK_NUMPAD1, 104, NOINVERT, ALT, VIRTKEY VK_NUMPAD2, … |
|
Hey guys first post here, just gonna let you know I'm not a tech genius so bare with me. So about 2 weeks ago as I was playing CSGO, my computer power went out and I went to try and boot it and it didn't work so I assumed it … |
|
Hi i want to add items from multiple listviews to other Listview (Main Listview)when i click the same button each time select diffrent item from diffrent listview how can i do this with VB.net best regards |
|
Have a Toshiba Satellite Pro, that had a dual boot (WIN 7, and WIN 10 Tech preview). Setup a separate partition called Unbuntu, and installed Unbuntu 14, on that partition. Now Unbuntu boots first to a Grub menu (I’m a newb Linux user), and it gives me choices, see below … |