No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
3 Posted Topics
Hi! This is actually not a question, but I want to share what I realized when I was doing some projects using DataGridView. I was a bit confused on what I should use for the cells whenever I check the value of a DataGridCell (e.g. [inlinecode]String.IsNullOrEmpty()[/inlinecode]). Before I usually do …
i think you forgot to make the application visible. [code=VB] Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim xlTemp As Excel.Application xlTemp = New Excel.Application xlTemp.Workbooks.Open("C:\Documents and Settings\TAP\Desktop\Post\Test.xls") xlTemp.Visible = True '<---- Add this part End Sub End Class [/code]
If it's your program, then you could also try : [code=VB]textbox1.text = My.Application.Info.DirectoryPath[/code] This would get the directory of the EXE of your program.
The End.
mazel