I have a database of people and their money contributions. I have 6 columns to keep track of individual contributions, and one column called TotalContribution. I want to write a query that would set TotalContribution equal to the sum of the 6 contribution amounts for each person in the table...
I have VB code which writes to an Excel file and uses a SaveFileDialog to allow the user to select the file name and location. If the file aleady exsists, it gives two warnings:
File <filename> already exists. Do you want to replace it?
(Yes / No)
The user clicks Yes, and then this one pops...
I want to strip the filename off of a path like so:
c:\directory\path\filename.ext
becomes
c:\directory\path\
I couldn't find a premade function in VB to do something like this, so I'm trying to write my own function below. It searches the string backwards for the first instance of the...
Hi, I'm just learning VB, and I'm coding an Excel add-in using VSTO. I'm trying to show a form, wait for the user to click OK on the form so it unloads, then continue execution from the function that called the form. I did some searching and found the following code which is supposed to...
I have some Java .class files from an acm library, and a program which imports acm.graphics.*. Where on my computer should I save the library files so the program doesn't error out in compiling the import line? Do I have to set of classpaths or something to make it work also? I'm using...
Sorry if this is a bad question, but I'm trying to implement some mutual exclusion between processes in C++. I'm aware of the acquire() and enterCriticalSection() functions which are supposed to accomplish this, but I get an error saying these functions are undefined when I try either of them...
I'm trying to create a simple C++ program that uses fork() to create three processes which work together to calculate the square roots of all integers from 1 - 100. Each thread is supposed to read a common int, print out its root, and increment the int. My problem is I don't know how to get all...
I have an unordered list of links to different pages, and each list item has an "onmouseover" attribute that triggers a Javascript function mouseOver(prod). This function changes the src of the main image on the page to a different image file, depending on the value of prod. So the user can...
For the following code example, IE does not stretch the image all the way to the right, while other browsers do. How can I fix this to work as it should in IE too?
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>...
I am teaching myself HTML and CSS. Can anyone tell me why IE puts an extra line between list items in the product-tabs list in index.html but not in test.html? Why does the list in index.html display correctly in Firefox but not IE, and how can I fix that? (I want the page to look like it...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.