Search results for query: *

  • Users: Momo
  • Order by date
  1. M

    Unbound Datagridview

    Anybody exprienced that create a datagrid in the view of, let says there are 3 rows. The 1st row is containing the name (means instead of putting the name at the column header), I put in row cell. but, the 2nd column in each row is the different type of column property. Say that Column in row 1...
  2. M

    Convert.Todatetime and datetime.Parse

    Helo all, I'm confused with this two function. As I googled from most fourms, what i get is: DateTime.Parse (or CDate) is useful to convert a string to a DateTime based on the current regional settings in Control Panel. DateTime.ParseExact is useful to convert a string to a DateTime based on...
  3. M

    DateTimePicker value match with db value

    Hi all, I would likes to know is this can achieve in vb.net. If let's say i check in database, if the datetime match with the datetime value in datetimepicker then the datetimevalue will be selected (in this case the bg color of particular value will be highlighted). But, this might involve...
  4. M

    "Invalid Parameter" error returned while retrieve img

    Dim ArrayImg As Byte() = Nothing Thanks.
  5. M

    "Invalid Parameter" error returned while retrieve img

    I'm facing the "invalid parameter" error while attempt to retrieve the photo from db and assign it to a memory stream and finally put into the picturebox. But, i found that an error of "invalid parameter" return while a couples attempt to assign the memorystream to the picturebox. As once I...
  6. M

    Tab Control [vb 2005]

    Thanks for ur information.
  7. M

    Tab Control [vb 2005]

    Thanks. Yups, actually what i want to achieve is to click on the top of Tab (means apart of the tabcontrol) not the tab pages to display the messsage. Is that's any idea to achive this?
  8. M

    Tab Control [vb 2005]

    Currently, I work with tab control. As I found that if let say I put a "Messagebox.show("Click Me!")" at Click of a particular tab pages in the tab control, it doesnt work. Anybody here know how the tab pages onclick function can work properly. Tq.
  9. M

    datagridview doesnt reflect the updated data from a form[vb 2005]

    I have solved my previous problem regarding assignning column type to each datagridview. A big thanks to the forum member. Now I'm using unbound datagridview. But, I have come to a problem which after updated the data from a form in a tab, it will redirect user to a datagridview tab to view the...
  10. M

    Unbound datagridview [vb 2005]

    Yups. Thanks JohnH. As I realized my mistake.
  11. M

    Unbound datagridview [vb 2005]

    after I test on the method as refer above, it work fine in a blank form but once I put it in my loop as Public Sub InitialDgv(ByVal ColumnName1() As String, ByVal ColumnHeader() As String, ByVal Newdgv As DataGridView) Dim TotalColumnName As Integer = ColumnName1.Length Dim TotalColumnHeader As...
  12. M

    Unbound datagridview [vb 2005]

    Thanks JohnH! I thought unbound datagridview can tend to be flexible as compare to bound datagridview. Sorry, by here I'm not too sure with what u are trying to say in the quote below: Thanks.
  13. M

    Unbound datagridview [vb 2005]

    I have a code as below to customize a unbound datagrid, but i have stuck with how to assign each column type in datagridview (either link, label, image, text...) Module AssignDgvColumnName Public Sub InitialDgv(ByVal ColumnName1() As String, ByVal ColumnHeader() As String, ByVal Newdgv As...
  14. M

    Assesment of control property

    if I have a function as below: Public Sub ClearControls(ByVal ctrl As Control) If TypeOf ctrl Is TextBox Then ctrl.Text = "" End If End sub How I'm going to do in vb.net As I want .Text to be feaxible. As what I means is I want something likes I can change ".Text"...
  15. M

    How to access form control of a tab

    Wow, thanks.
  16. M

    How to access form control of a tab

    hi all, anybody know how can we access to a tab via form control. As what I means is how can I identify there is a tab menu in the forms. I can access text property of text inputtype with if TypeOf ctrl(var define as Control class) equal to textbox but for tab how i access to the tab in a win...
  17. M

    Obtain Mac Address of a local machine

    I use system.management class which is what u mentioned and get the mac address but some of the local machine I get 2 mac address due to another one of it is "loopback" mac address which for software localhost usage. How I am going get the target local machine mac address? tq
  18. M

    Obtain Mac Address of a local machine

    Anybody have an idea on how to obtain more information regarding mac address from a local machine by using vb 2005. What I means here is I need to know either the mac address is a "loopback" type or is the "real" mac address in my machine. Thanks.
  19. M

    Obtain Physical Address of a local machine

    But, I still need to thanks you for your information. As I gain a new knowledge. Maybe I have post in the wrong place.
  20. M

    Obtain Physical Address of a local machine

    actually, the physical address here is refer to Mac Address. We may obtain amc address by using class System.Management. But, the problem here is how i know the Mac address is belong to the my machine mac address or for the "loopback" . The ip address for "loopback" not neccessary must be...
Back
Top