clean way for telling if a form is present
i have an appl with 2 forms firstform and form1. first form is the startup form. sometimes it shows form1. when i close firstform in its form closing event i want to know if form1 is present as i want...
View ArticleVS 2008 Space invaders end
I'm building a Space Invaders game, i reached the point when the user will lose if any of the pictureboxes( Aliens) touches the lower limit. my code is a following but it isn't working: ( i have 28...
View ArticleRedirect exe file output to text file
Hi, I am just trying to execute the below command in command prompt and it works perfect Code: """C:\Program Files\ccc""" -C server -t 13 -l -R -s 03/04/2013 /D/ > E:\m_bkup\mk.txt but when i try to...
View ArticleVS 2010 RunWorkerCompleted Not Firing Consistently
I am trying to figure out why my background worker's RunWorkerCompleted event is not always firing. Executing this same exact code, sometimes the event fires and sometimes it does not. Any help would...
View ArticleVS 2010 [RESOLVED] Saving a resourced file
Hey guys, Im attempting to grab my excel file embedded in my application and save it at a particular location. Im trying this with no success: Code:     Dim objReader As StreamWriter     Try...
View ArticleVS 2010 I need some help guys. Please.
Hello all. My name is Jennifer. I am new to this forum and to the world of programming. I am taking a intro to programming and databases at my local technical college. I feel like I am way in over my...
View ArticleVS 2010 Sharing Variables between Private Subs
I would like to declare a variable in one private sub and then call it in another. Is it possible to share variables like this without having to declare a global variable?
View ArticleSearching a TreeView for a certain string and expanding / selecting /...
Folks: I very much appreciate the help the folks from the forum had given me...but I come asking again. I have a TreeView (trvMasterFormat) populated with parents that spawn down to as many as four...
View ArticleVS 2010 Performance issue
VB .Net 2010 MS Access 2010 database Win 7 Have a fairly simple data entry/retrieval application. Just forms with standard controls on them, textboxes, labels, dgv. But this company wants it on their...
View ArticleError When Run not When Single Step
I have this code in an app:- Try System.IO.Directory.Delete(DestinationDirectory, True) ' Directory.Delete(DestinationDirectory, True) Catch ex As Exception MsgBox("Error while deleting " &...
View ArticleHow to Replace words from a fixed listbox list
What i am trying to do here is i have a list of words/sentences in a listbox and i want my program to replace those words automatically in another listbox I hope you know what i mean and thanks in...
View ArticleVS 2008 Bitmaps or images from arrays
Is there a quicker way to produce a bitmap or on image from an array of colors than the Color.SetPixel routine?
View ArticleVS 2005 How to handle showdialog() problem
Hi. I have a form, called frmProduct a picture of which is not attaching here, due to some problem in website. The first textbox on the form is called txtProdID, on its lost focus event I call a modal...
View ArticleHow can I move an item from a collection to another collection: 2 questions
I have 2 collections that hold the same kind of object. One is an inventory and the other is a list of available items. If the user takes an item, I would like to move the item from the available items...
View ArticleVS 2010 icon is in system try after close the program !
Hi when close my program, icon of notifyicon is in system try! if I open and close my program in 10 time , 10 icon show and when move mouse on them icon become hide. help me please.
View ArticleVS 2010 Taking track of Dice Rolls using arrays
I'm having a bit of a trouble figuring out how to keep track of how many times a side of a dice has been rolled. I'm new to programming so i don't understand how to use arrays that well. I'm using two...
View ArticleVS 2010 How make a animation like asistant microsoft office ?
Hi How make a animation like asistant microsoft office ?
View ArticleVS 2010 Listbox
Hi, (Visual Basic 10) I wanted to ask if you can enlarge the scroll bar to a listbox, in particular the arrow keys up and down ... Finally, what are the events that occur when you use the buttons on...
View ArticleYes and No buttons not firing in msgbox
Hi I have a windows form project. I have changed something in my project that has stopped my msgbox's from working. When you click on a button nothing happens. They used to work!! I have set up a test...
View ArticleVS 2010 Populate Datagrid acording two textboxes
Hi. I'm a little problem populating a datagridview with a filter I need. I have one table, wich have many record, and two of them are: month and year Now, what I need to do is the following: - I create...
View Article