Result Error
Hi, im new in this forum, so actually, I guess this is the right section, and I guess that I'm not doing anything wrong. Well. I was working in a project, and everything was alright, until I got this...
View ArticleVS 2010 [RESOLVED] Quick question on Class properties
Hi guys. I have a newbie question: Is there any substancial difference when creating properties for a class this way: vb.net Code: Public Class Invoice Public Property customerName As String End...
View ArticleCalculation not working correctly
Could somebody please help me out with getting my calculation to work. What I am trying to do is, if textbox31 is a negative number then it needs to subject textbox31 from textbox1 to get a bigger...
View ArticleMS OFFice Container in VB.Net
First, I'm not sure if this belongs here or in the Office Development Forum but it seem it is VB at the core to me anyhow. I have spent most of a week lurking around the web for solution to my problem:...
View ArticleVS 2010 VB Downloader not working
What I want the program to do/What is happening. How come this doesn't work??? I want the user to select one of the following items in a listbox and the direct link will appear in the DwlLocation...
View ArticleVS 2010 Can someone help me change these into currency expressions?
lblDomestic.Text = Cstr(dblDomestic(CInt(txtMonth.Text)-1)) and lblTotal.Text = Cstr(dblDomesticTotal + dblInternationalTotal) I need for them to be displayed as currency. Please Help!
View Article[RESOLVED] System.Media.SoundPlayer class? How to get sound stopped playing?
I tried to setup the soundplayer to play a wav file when clicking in a picturebox. This works synchronously and asynchronously except for the following problem. When playing synchronously, if I click...
View ArticleHow to stop events from firing while waiting for something to finish.
Alright, I have the following problem. I click in a picturebox. A timer runs for 10 seconds before letting you click again. However, if you click several places, then when the 10 seconds are up, the...
View ArticlePress and Hold Button
Hello all, I'm trying to make a toggle button that when enabled will allow the next click to mimic a left click without release operation (ie. a press and hold). The way I'm trying to approach this is...
View ArticleVS 2010 How to set focus (activate) other application from my app?
Hello, I am frustrated :( Searched all night long, even Google gave up. What I am trying to do is to focus other application that currently running by its processID or windowTitle or by ID only...
View ArticleVS 2008 Scale property for picture box : for drawing images in picture box
InVB 6 is clear: Code: Code: Picture1.scale ( -1 , -1 ) - ( 3.25 , 44 ) But in Visual Studio 2008 VB, but it is not working. Code: Picture1.scale ( -1 , -1 ) - ( 3.25 , 44 ) what is the Exact...
View ArticleVS 2010 DataGridView update problems
Hi, I'm working on a project that uses DataGridViews. Currently i have a form with a DataGridView present in it. This DataGridView is linked to a dataset witch is linked to an SQL database. From a...
View ArticleVS 2010 help javascript to vb.net 2010
what is the equivalent of this Array in vb.net Code: var xtc = new Array({"10":"a"}, {"11":"b"}, {"12":"c"}); thanks in advance!!
View ArticleActivate program
Hello! 1. How to activate a running process/program in background and unactivate it if its possible... (so if I start to type, it writes to the program which isn't at the foreground/front) 2. How to...
View ArticleVS 2010 Serialization path question
I've never had to do serialization before, I've messed around with it and can do it, but I've been serializing to a hard-coded location like "c:/serialize.xml". Now that I'm wanting to publish the...
View ArticleMerging two txt files into new file
Hi there! I'm working on an app that merges two txt files ( Input1.txt , Input2.txt ) and create a new file (Collection.txt). What I did so far is this : Code: Public Class Form1 Private Sub...
View Article[RESOLVED] Conversion Problem???
Hi guys.. i am having problems with this code: Code: dsNewRow.Item(4) = 6.41 * CDec(DateDiff(DateInterval.Hour, TxtTimein.Text, TxtTimeOut.Text)) It just doesn't allow it. i have option strict on. it...
View ArticleConcurrency violation
Got this error: Concurrency violation: the Delete Command affected 0 of the expected 1 records. on a database update line. Only happens every so often. Please explain this error
View ArticleMdiParent with changing MdiChildren Titles
Basically, I have 2 or 3 MdiChildren forms that have the ability for their title to change at any given time. I have the window list auto-built via .NET's lovely MenuStrip-MdiClient help, but, the...
View ArticleVS 2008 COMBOBOX get item on MySqlbase
Good Day, Im new on VB? Can anyone teahcme how to call Item on Database adn put it on Combobox list item. Your Reponse is Highly Appreciated
View Article