-
- How do I iterate through an INT List to populate a textbox or label, etc.?
by tvance929
- 10 Replies
- Last post
by DeborahK
- Ok guys, I feel foolish here, but I have made a couple random hands of cards and wanted to see the full contents of those cards in a couple of textboxes. But I suddenly realized that I am not sure how to do this If I loop through the twenty cards it will only show me the last one. I need to concatenate it in an easy fashion. I KNOW that I could simply do this: string shuffledCards = myCards.a
-
- media player help
by adam01
- 1 Replies
- Last post
by js06
- hi, i managed to play music , but if i open another music file, it would play aswell the currently playing song.
heres the load code:
Code Snippet
Private Sub Button2_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
OpenFileDialog1.Filter = _
"Audio Media *.mid, *.mp3, *.wav, *.wma|*.mid;*.mp3;*.w
-
- Problem applying a filter to binding source
by Kelly R. Martin
- 5 Replies
- Last post
by ahmedilyas
- Upon updateing a combobox to select the sex of a farm animal I am attempting to filter out the opposite sex in the next ID box.Can anyone see where my issue is here. I have rewritten this many time to no avail. I have read through the msdn help on this and all appears to be done correctly. Also... How would I use one of these filters to show only discrete items
http://imkaudio.com/error/ nocolu
-
- Installation VC++ 2005 Express - IDE Graphique
by Ma-x
- 5 Replies
- Last post
by Jonathan Caves - MSFT
- Hello, I just want to know a feature of VC++. When you start the installation, I can choose "graphical IDE" or not. If I choose to not install this option, what kind of thing I will not able to do Thanks
-
- Specifics on a Table Adapter Update Problem
by jhowcroft
- 1 Replies
- Last post
by jhowcroft
- Hello All, I'm sorry for beating on a long dead horse here, I have been looking at a number of posts about this issue and either I don't quite understand the solution or I am facing a different problem. What I am trying to do is create an update function for my program so that whenever I have to increase the value in a specific field of my program I simply call this function and tell it how much t
-
- convert directory name to short name
by bdbodger
- 4 Replies
- Last post
by bdbodger
- Is there an easy way to make a directory name compatable with a command line app that uses short names like PROGRA~1 instead of Program Files .
edit***** I found this
Code Snippet
Private Declare Function GetShortPathName Lib "kernel32" Alias "GetShortPathNameA" _
( ByVal LongName As String , ByVal ShortName As String , By
-
- Unable to update underlying physical MSAccess data files to reflect changes in dataset
by JBF237515
- 1 Replies
- Last post
by Bruno Yu - MSFT
- I want to clear the data from a table defined in an MSAccess file (using ADO.NET)... ---- 'start with a clean dataset Me.ITeamDataSet.Profile_Exception_Link.Rows.Clear() Me.Profile_Exception_LinkTableAdapter.Update(Me.ITeamDataSet.Profile_Exception_Link) Me.ITeamDataSet.Profile_Exception_Link.AcceptChanges() ----- When I call fill to reload the dataset, it returns the (original) two records Pleas
-
- Formating and Printing data from textBox(es) ??
by MLyons10
- 14 Replies
- Last post
by jrboddie
- I have an application that does not make use of a database. I need to be able to format text entered into textBox(es) and be able to then print out a report. I have spent an incredible amount of time trying to reasearch this, but all references are for generating reports where databases would be involved. I cannot use a database in this case. I am open to any ideas anyone might have. Here are a co
-
- DataGridView Manipulating data
by koldFUSiON
- 8 Replies
- Last post
by koldFUSiON
- Hi I want to use a DataGridView as a report for a system I'm designing, I don't want to bind it to a database and I don't have the know how yet to figure out how too... although it would help me out soo much!
basically all I want to do for now is be able to change the header of the table (which at the moment only seem to be changable in design time) and then to add data to how ever many cells a
-
- Checking whether key is down without KeyDown
by Nate879
- 13 Replies
- Last post
by ReneeC
- How do I check whether a specific key is down without KeyDown event for example: If Then 'Executed when "a" is down MessageBox.Show("a is down!") End If
-
- Gif image quality
by JAM0
- 10 Replies
- Last post
by Martin Xie - MSFT
- Hello,
I have a program that saves a file in gif format. Here is some code of what it basicly does:
Code Block
Dim bmp As Bitmap("MyFile.bmp")
bmp.Save( "C:\stats.png", Imaging.ImageFormat.Gif )
Is there any way to make it save the gif with a higher color depth
-
- Exceptions not caught by the Try and Catch Statement
by Barts007
- 7 Replies
- Last post
by Barts007
- According to articles I read, the Try and Catch Statement catches exceptions occurring inside the try block or anywhere inside the forms or classes called from the try block.
However, this is NOT the case in some of my applications.
Ex:
Public Sub App1()
Try
Dim oForm1 As Form1 = New Form1
Autodesk.AutoCAD.ApplicationServices.Application.ShowModelessDialog(oForm1)
Catch
-
- How do I change the application's startup form?
by Traps
- 3 Replies
- Last post
by Frank Boyne
- I'm using a code example I found on the internets(haha) and have added another form to the solution. How do I make the form I added the startup form
-
- Flickering Form
by obrienkev
- 9 Replies
- Last post
by jgalley
- Hi,
I have a number of controls on a tabcontrol.
When I go from one tabpage to another the controls flicker.
How do I stop this
Thanks.
-
- Parsing HTML?
by Downtime
- 3 Replies
- Last post
by ReneeC
- I've been working on a project that requires parsing, the only problem is I can't find a detailed tutorial. Could somebody please post a link or even a tutorial thanks alot!
-
- Compress file before e-mail
by Albert Kohl
- 14 Replies
- Last post
by JohnWein
- i have a quick question. i have a web form that upon the user hitting submit, the server processes an SQL Stored procedure that exports an excel file and e-mails it to the users login name. problem is, some times the excel file is to large to e-mail in it's raw form. is there any way to have VB compress the file before e-mailing it
I'm a total No0b when it comes to this, so please type
-
- Just beginning book Build a Program Now! VB 2005 Express
by Anonymous HII
- 4 Replies
- Last post
by Solitaire
- Dear All:
I hope this finds all readers in goood health. My problem is that I am trying to get the application on page 37 to work from the book above. ISBN 10: 0-7356-2213-2 by Patrice Pelland. I downloaded the samples on the website but cannot FIND the samples in my HD It is my very first try at VB 2005 Express and it is very frustrating already.
ANy advise would be much appreciated.
Th
-
- CheckListBox
by obrienkev
- 2 Replies
- Last post
by obrienkev
- Hi all,
How do I mark an item in a checklistbox as checked based on a condition
e.g.
Code Snippet
if(x=1) { // SET a ChecklistBox Item as Checked }
-
- Please help me get started
by BlackZer0
- 3 Replies
- Last post
by Jonathan Caves - MSFT
- I've never done any programming of any kind before but I've always wanted to get into game developement. I went out to Borders and picked up a couple game programming books but they expect me to have had previous experience with C++. I searched and eventually found Kernighan and Richie's The C Programming Language expecting some help. Well I went ahead andtried doing the "hello world" pr
-
- Compress Folder
by Menalicom
- 14 Replies
- Last post
by Menalicom
- Simply i want to Compress Folder to a zip file.
I know how to Compress Files and have some codes do it very will.
In the class.vb
Imports System.IO
Imports System.IO.Compression
Public Class ZipUtil
Public Sub CompressFile( ByVal sourceFile As String , ByVal destinationFile As String )
' make sure the source file is there
If File.Exists
-
- Splash Screen Progress Bar
by airsam
- 12 Replies
- Last post
by js06
- I have a splash screen, and I want a progress bar to fill as the program loads, how do I do this Thank you.
-
- Problem with using the System::Collections::IEnumerator() with System::Management namespace
by anee
- 0 Replies
- Last post
by anee
- Hello, I am trying to get current login user name using my own windows service program using VC++.Net 2005, windows XP. The code used to develop windows service contains only unmanaged one. But in order to retrieve the current login name.. i am using the help of System::Management class, for which i included necessary namespaces in its .cpp file. actually i am trying interpret the following statem
-
- Console
by Andrew DeVaughn
- 3 Replies
- Last post
by Andrew DeVaughn
- How can I have the console play a .wav file from my.resources
-
- Sunken Textbox, Combobox
by Reafidy
- 14 Replies
- Last post
by jgalley
- Hi Everyone,
I am using visual basic 2005 express in visual studio express.
When I add a rich textbox to a form it has a "sunken" look to it. But the standard textbox's and comboboxss dont.
How do I get the sunken look for the combobox's and textbox's
Thanks In Advance.
-
- webbrowser in tabcontrol's other tab causes TargetInvocationException was unhandled
by h3mp
- 5 Replies
- Last post
by h3mp
- i have a tabcontrol with 3 tabs,
i have an embedded webbrowser control on each tab which shows different data,
if i do a " webBrowser1.Navigate( new Uri (file)); " to the browser on the 1st tab it works fine,
when i do the same to webBrowser2 on the 2nd tab, i get this error:
System.Reflection.TargetInvocationException was unhandled Message="Unable to get the