|
sorry
AddHandler mnuBlack.MeasureItem, AddressOf _
ColorMenu_MeasureItem
|
|
|
|
|
I am trying to simulate a tool tip just like the one on windows explorer.
System.Windows.Forms.ToolTip shows the tool tip based on where the cursor is. I want the tool tip over the label regardless of the position of the cursor.
Thanks for you help.
Martin
|
|
|
|
|
hii
was going thru the www.codeproject.com, posted my queries of how to
play a media file in the embedded Windows Media Player...then u helped
me by giving this link (link
http://www.codeproject.com/script/comments/forums.asp?msg=1053385&forumid=12076&XtraIDs=12076&searchkw=%22Embedded+media+player+with+dynamic+filename+value%22&sd=1%2F1%2F2005&ed=5%2F6%2F2005#xx1053385xx)
i embedded the media player and gave the static path also in the URL
attribute... but really not getting how to make it dynamic ?? ya,.. u
gave one example in that post.. but really sorry... as i m new to
VB.NET .. so could not the concept of how to embedd the javascript in
VB.NET ???
so can u plz tell me once again how to make the URL dynamic ??? we ve
retrieved the file location of the media files from the database in
our project... but not sure how to pass this value to the URL of the
media player?????..... so that it becomes dynamic...
need ur help..
thanks, in advance...
|
|
|
|
|
In a windows datagrid, how can I find out what the column heading name is when I click on a cell. I am using a DataGridTableStyle
Thanks in advanced
Jeffrey
|
|
|
|
|
Use the following code
I hope it is helping
Dim col As Integer = Me.datagrid1.CurrentCell.ColumnNumber
MsgBox(Me.DataGridTableStyle1.GridColumnStyles.Item(col).HeaderText)
|
|
|
|
|
I will give it a try - Thanks for your help
|
|
|
|
|
how can i paste an item from a listbox to a textbox in the same form with a click of a button?
|
|
|
|
|
Without further detail, it's impossible to know exactly what you want. But, in the Click event of the button:
TextBox1.Text = ListBox1.SelectedItem.ToString()
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I have installed Active Reports, now how do i get them to work with vb.net
Active Reports help file only tells you how to add it in VB6. I cant figure it out.
|
|
|
|
|
A better bet would be to ask Data Dynamics support to see what you have to do. As I understand it, it may not be supported under .NET, though, they do have a version specifically for .NET.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
i m also looking for idea about active report. plz guide me too
|
|
|
|
|
I'll do the same as I did before. I'll guide you straight to Data Dynamics web site for support.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I have this Access Database with a table which showes the name list of the pictures and the other one contents the pictures. The names should show in a Listbox and the Pictures in the picturebox. Can somebody help me how I can show the pictures into the Picturebox??????????/
many Thanks and regards
kaly
|
|
|
|
|
get picture in an array like below
Dim arr() As Byte
arr = ds.Tables("TableName").Rows(0).Item("ColumnName")
' CompanyLogo is the name of PictureBox Control
CompanyLogo.Image = CompanyLogo.Image.FromStream(New IO.MemoryStream(arr))
hope it'll help
|
|
|
|
|
Where shall I put the code? in the PictureBox Section or at Form L
|
|
|
|
|
its upto u. this code is for reading data from database . I think u have to put this code under the method where u want to display the picture
|
|
|
|
|
ok one thing more... the code looks fine except the "DS"? i have to decalre it first before I can use it...
|
|
|
|
|
ds is DataSet. i thought u can easily get it .anyway declare it as
Dim ds As New DataSet()
|
|
|
|
|
Hi ive programmed this: but it doesnt work, there are no errors showing just it doesnt wants to show the list from the Database in the Listbox...
Private Sub ListBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DBPicturename.SelectedIndexChanged
myConnection.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source = U:\VB_assign.mdb"
myConnection.Open()
myDataAdapter = New OleDb.OleDbDataAdapter("Select * From Pictures", myConnection)
mycommandbuilder = New OleDb.OleDbCommandBuilder(myDataAdapter)
myDataAdapter.Fill(myTable)
End Sub
regards kaly
|
|
|
|
|
Did you bind the listbox to the appropriate column in the dataset?
|
|
|
|
|
yes I did, the column name for the pictures name is "pictures"
|
|
|
|
|
Hi I just tested with an textbox instead of an listbox.. it seems that the code works only with the Textbox and not with an listbox..
regards kaly
|
|
|
|
|
My reports take about 30 seconds to load, how do i create a message box that
is displayed during that time period and dissapears when the report loads????
|
|
|
|
|
|
What code do i put behind the progress bar?? Any? Ive never used one
|
|
|
|