Using Linq to SQL in a webservice
I have two existing linq to sql .dbml files that i need to have added to an existing web service. When i pulled them in, it said references where missing. I didn't think that this was a big deal and...
View ArticleC++ Vector problem ?
Hi, any help will be very much appreciated. Can i initialize a vector string in a class and not in the main ?
View ArticleAutomatic scrolling
I'm programing application in Visual Basic 2012 For Windows 8, there is a Stack panel on the top of the screen, where radio buttons are dynamically added or removed...I need to set panel will be...
View ArticleBinary Search Trees (and eventually, a non-binary tree)
Hello world! I am planning on updating my program that renames files named like : homework+essay.docx to homework essay.docx. (My code already works if the file is directly in Downloads, Desktop, or...
View Articlei have a problem reading the data in this file.
#include <iostream> #include <string> #include <sstream> #include <fstream> #include <stdlib.h> using namespace std; struct detail //CREATING A STRUCTURE { int lane; long...
View ArticleScanning in line of integers into arraylist (or array)
What I'm trying to do is read a line of 4 integers from the standard input. Integers will be entered like so: 100 20 30 20. I've tried to do this using a normal array, but it did not work. I would...
View ArticleHow to refresh just one side of the page
See http://myownmealplanner.com/mealplans/add/5 for the example If you drag a meal tile to the right side of the page then it should stay there after you click on <a href="/mealplans/add">Go back...
View Articlewhat's the command to make my program close its self?
what's the command to make my program close its self? I have tried the usual, end, close quit etc to no avail. Thanks in advance
View ArticleUnzip folder keeping folder structure
Hey guys, I'm trying to unzip an application, but every method I've tried either doesn't keep the folder structure, or doesn't unzip all the files. I've tried using SharpZipLib.dll, Ionic.dll,...
View Articleusb detector
Hi, i have an application that detects a drive being inserted with this code: Dim driveNames As New List(Of String) For Each drv As System.IO.DriveInfo In System.IO.DriveInfo.GetDrives If drv.DriveType...
View ArticleAny decent resources for studying compression algorithms?
I'm looking for any good resources - books, websites, papers, etc. - for information about the design of compression algorithms. Not how to implement specific codecs, but how compression algorithms are...
View Articlestack aroud the varable A is corrupted
I am getting this error every time i try to run the program. Question : ask the user to enter 10 numbers, then find their average, then show only numbers Smaller than Average. #include<iostream>...
View ArticleIf, and if-else problem
I'm working on a program to read the hours worked and rate of pay. It would then calculate the pay, taxes, deductions. I also have to account for overtime which is paid in time and a half. For an...
View ArticlePSQL Query that only pulls users from the last month
Hey guys, I am setting up a shell script that creates a report that shows users that have logged into our system in the past month. The field lastloggedin is stored in a UNIX timestamp so it looks like...
View ArticleShuffle problem!
I am having a problem with my program, I am trying to shuffle a bunch of picture boxes and then unshuffle them I have tried the Fisher–Yates shuffle with no luck. please show me an example.I am using a...
View ArticleWanting to make a inventory list. Where to start?
OK so, I have been doing side work(basic computer repair stuff) and have a sizable collection of parts. I want to make a inventory of the stuff I have. Very specific part info. For instance, if I had 5...
View ArticleEliminating lines with if statements
This program calculates the least amount of change a person can give. For example if I would type in $26.50 it would print out - Twenties-1 Fives- 1 Loonies-1 Quarters-2 Also for the bills and coins...
View ArticleKeypress Event Form problem
Hello guys. I created an Windows Forms Application template, and on my Form I attached a Label. I activated the KeyPress event for my Form, and when I press any key ( letter, number ), it adds that key...
View ArticleTemplate based override
I am creating Vector class. I want to do it n-dimensional and I have to do it with STL array, not with STL vector here is my code: template<typename T,int Dimension> class Vector{ public:...
View Article