Quantcast
Browsing all 27413 articles
Browse latest View live

VS 2010 Concverting Console program to Form Program

I have a console program listed below that is working perfectly, taking in 2 different sets of data over ethernet and continually updating and displaying the data stream. The problem is, in my main...

View Article


WebBrowser1.navigate causes a file download dialog, I want it to load in the...

Hello, firstly I am self taught so there may be errors :) Ok so basically I have an application (using visual studio express 2012, windows forms) The application has a webbrowser control which when the...

View Article


GCHandle to Convert Bitmap to IntPtr

I need help doing this. I have some source code to do so but I'm lost on 1 part of it. Look below..."Whatever" would be the bitmap but I'm lost on the "Some API Call" part. What API call would I need...

View Article

VS 2010 Is there a way to kill EXCEL.exe process which is running in background?

Hi, I'm having a problem in one of the program tool that i'm using. This tool actually encrypts excel workbook to user-defined format and it will have to open the workbook to perform the encryption....

View Article

VS 2010 Testing a file

I am creating a file system and I am currently working on adding a new user. I have the basic portion set up, however, I need to test to verify the user does not already exist prior to adding the user...

View Article


VS 2008 [RESOLVED] Date Difference

hi i have to find the date difference between 2 dates. i have to give discount to the person if the second date is within 12 months. i have used : HTML Code: Dim mMonths As Integer =...

View Article

VS 2005 How to read a range of cells in a XLS row having row number as input

Hi, I am trying to create a small console application where i can provide text box. The application should take text box input as "row number" of an XLS available in the network share, it should read...

View Article

VS 2010 Playing multiple swf files

Could anyone help me out with this. I have swf files stored in my application in a folder named Videos. The problem is I can only play one file and I am trying to loop through all the files in the...

View Article


Help with an Autowritter

(Im spanish, sorry for my english) I want to make a program that write a word with timer. Example: Hello (5 sec later) I (5 sec later) am... This words are in a list (I have it in a .txt) but its the...

View Article


[RESOLVED] Routine does not follow 'specified count'

I have a Listbox that populates with 'grabbed' links for a game I play to collect 'Bonus Coins' from the Facebook Feed, and up until yesterday it was working fine - I only added an extra function for a...

View Article

VS 2008 [RESOLVED] Explain This Strange Mathematical Odity in VS2008!!!

Can some one explain this irregularity, try it yourself Dim BatchTotal As Double = 457.34 Dim FirstAmount As Double = 214.00 Dim SecondAmount As Double = 243.34 Dim Totals As Double = FirstAmount +...

View Article

VS 2008 drag and drop

Hello I would like to be able to drag the back color of a label and drop it on another label and change the second labels back color to the back color of the first. I am going to try to program a game...

View Article

VS 2010 Trivial WCF Question

I'm just getting started with WCF. I created the service and added it to a project. I was able to see my new function but not my new data contract when I consume the service. I'm probably missing...

View Article


VS 2008 ReadAllText wont ReadAllText?

I am attempting to read in the contents of a textfile into a textbox. TextFile = My.Computer.FileSystem.ReadAllText("c:\Temp\Checks.txt") This text file is written by another application and for some...

View Article

VS 2010 Using Timer object but creating dynamically - how to handle tick event

Hi, I have a form that I have added a timer control to. I can then of course use the tick event to manage what happens on the interval I specify. My problem now is that I would like to create a timer...

View Article


Property Behavior design question

Couple questions for the more experienced programmers: Is okay to design classes that behave differently based on what order you set certain properties ? I know that its generally expected that a class...

View Article

VS 2008 CheckedListBox1.SelectedIndex

ListBox1.SelectedIndex = i operation works but I get an error with CheckedListBox1.SelectedIndex = i

View Article


Image may be NSFW.
Clik here to view.

Stuck with Payroll system! Syntax error :(

Hi guys, Firstly sorry if I've posted in the wrong section etc. I'm Very new to VB and this is my first project for my college course. My plan is to make a very simple payroll system that's linked to a...

View Article

VS 2008 printing problem

PrintDocument1.Print() PrintDocument1.Dispose() I have these two lines withing a sub to print a document; part of the process is that a picture is created, which happens just fine, and then the page...

View Article

VB.NET connectiing to SQL 2008- SQLException was unhandled

Here is my issue: This is my error. SQLException was unhandled. Below is the code. I know the info is right for SQL. Any thoughts: Code: Dim Conn As SqlConnection = New SqlConnection("Data source=MY...

View Article
Browsing all 27413 articles
Browse latest View live