Search:

Type: Posts; User: hpl

Page 1 of 13 1 2 3 4

Search: Search took 0.17 seconds.

  1. VS 2010 Re: Loading a form in Windows form similar to "modalPopup" in web

    Hi TG
    Maybe I am a bit stupid (no doubt), but I think I have done what you asked me to and tried. Try enabling the code testThread under BackGroundWorker1_Dowork, and then I get an error, saying I...
  2. VS 2010 Re: Loading a form in Windows form similar to "modalPopup" in web

    Thats great!
    So I create a new thread with backgroundworker and let the Loading indicator be there?
  3. VS 2010 Re: Loading a form in Windows form similar to "modalPopup" in web

    Thanks for your replies!
    I have now made a very simple, but very illustrative example of my issue. I have changed "popUp" to be a simple panel in the MDI, you were right about it was not a nice...
  4. VS 2010 Loading a form in Windows form similar to "modalPopup" in web

    I am loading a "loading" indicator in a separate form named popup, while I have a job running.
    This issue is:
    The form is blank when it is loaded, I have seen many suggested solutions on web, but...
  5. Replies
    4
    Views
    1,268

    VS 2010 Re: Login standard module

    Yes this is just what I want. Any other good suggestions on how to solve this issue from others`?
  6. Replies
    2
    Views
    1,476

    VS 2010 Re: Cookie setting

    problem solved. It was because of the security level in my IE (medium level) where all cookies are rejected.
  7. Replies
    4
    Views
    1,268

    VS 2010 Re: Login standard module

    Sorry for being unclear!
    From the image I have attached, I want to force a push on the Log In button, if the username and password is filled out from the cookie. What is the method to call from this...
  8. Replies
    4
    Views
    1,268

    VS 2010 Login standard module

    I have a standard login control. I have a cookie, that is working fine, that is imported, fine.
    But I want to make it so the user will be directly logged in instead of this button that he needs to...
  9. Replies
    2
    Views
    1,476

    VS 2010 [RESOLVED] Cookie setting

    In page_load I am having this simple code for testing:

    Dim cookie1 As New HttpCookie("MyCookie")
    cookie1.Values.Add("username", Login1.UserName)
    ...
  10. Replies
    1
    Views
    802

    SQL query for table with redundant data

    I have a table having redundant data in the attribute ItemNo.

    How do I make a distinct query, where all fields are picked where only the distincts are shown for ItemNo?

    Then attributes that I...
  11. Replies
    6
    Views
    2,828

    VS 2010 Re: asp:menu and AJAX Updatepanel

    I am not sure I understand, do you mean like this?


    ScriptManager.RegisterStartupScript(Me, [GetType](), "<Script>Menu_HoverDynamic(this)</Script>", "<Script>Menu_HoverDynamic(this);</Script>",...
  12. Replies
    6
    Views
    2,828

    VS 2010 Re: asp:menu and AJAX Updatepanel

    I have now investigated the source code for the generated page. I think this must be the code for the hover menu:


    onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)"...
  13. Replies
    1
    Views
    1,310

    Re: Raise JavaScript code from an asp:menu??

    I have a ModalPopupExtender that I control using JavaScript code for true and false. That is ok for buttons, where I use OnClientClick="showModalPopUp=true;". For a dropdownlist I can use an...
  14. Replies
    1
    Views
    1,310

    Raise JavaScript code from an asp:menu??

    I have a ModalPopupExtender that I control using JavaScript code for true and false. That is ok for buttons, where I use OnClientClick="showModalPopUp=true;". For a droplist I can use an...
  15. Replies
    6
    Views
    2,828

    VS 2010 Re: asp:menu and AJAX Updatepanel

    Thank you very much for your reply!
    I have done something before with scriptmanager.register but for this example, what should I put into that? Plaese try have a look at my code and download it and...
  16. Replies
    6
    Views
    2,828

    VS 2010 asp:menu and AJAX Updatepanel

    This is REALLY strange! I have an asp:menu. Leaving it outside updatepanel the functionality is fine

    I put this into an updatepanel. Then the functionality for dynamichover works ok until the...
  17. Replies
    1
    Views
    2,622

    How to clear cache when updating an application

    How do I force a control+F5 (deleting cache) when updating an application? The users will not do this so I need to force this. Can we use some kind of flush method checking version or...?
    Any ideas?
  18. Replies
    2
    Views
    1,518

    VS 2010 Re: Asp:menu and Google Chrome browser

    Out of the box and only formatting like this:


    <asp:Menu Width=724px ID="Menu1" runat="server" BackColor="White"
    Font-Bold="True"...
  19. VS 2010 Re: get "last saved by" (name of user) from System.IO.Fileinfo???

    Maybe a stupid question: But there may be different owners of files in the file directory, how do I adress and find the specific "owner" of a file name "Book1.xlsx" for instance?
  20. Replies
    2
    Views
    1,518

    VS 2010 Asp:menu and Google Chrome browser

    I have an application including an Asp:menu. This renders perfectly in both IE and Firefox, see screenshot gf1.jpg.
    Running in Chrome the rendering is bad. There is added wide space in the top menu,...
  21. VS 2010 get "last saved by" (name of user) from System.IO.Fileinfo???

    I have an Excel file, when I go to the Explorer I can see information of when the file was last saved (LastWriteTime).
    How do I get that code of who has saved the file, is that possible?
  22. Replies
    4
    Views
    1,738

    VS 2010 Re: Updatepanel and ASP:Menu

    exactly, it works without updatepanel but when implementing it is not working after first change of the menu. But when clicking on a menu item it loads well and works, but the color change when...
  23. Replies
    4
    Views
    1,738

    VS 2010 Updatepanel and ASP:Menu

    I have a problem. when I use updatepanel on my entire site including an asp:menu, then the mouseover that changes colors in the menu disappears after the first change of the menu.
    I have tried...
  24. Thread: MenuStrip

    by hpl
    Replies
    1
    Views
    649

    MenuStrip

    I am new in VB Forms.

    I am using a MenuStrip

    How do I get the selected sub menu content to a MSG box?

    This is working for the top menu, but what for sub menus?
  25. Replies
    5
    Views
    951

    VS 2010 Re: Use generic code for creating TreeNodes

    Yes absolutely! I m programming the application in ASP.NET using vb.net.
  26. Replies
    5
    Views
    951

    VS 2010 Re: Use generic code for creating TreeNodes

    Sorry for nor being clear!

    I will try again:

    If I have declared my Treenode like this:
    Dim obj1 As New TreeNode

    and then call this:
    CreateObj(1, "Obj1", obj1)
  27. Replies
    5
    Views
    951

    VS 2010 Use generic code for creating TreeNodes

    I have this code:


    Dim obj1 As New TreeNode
    obj1.Value = 1
    obj1.Text = "Level" & obj1.Value

    Dim obj2 As New TreeNode
    obj2.Value =...
  28. Replies
    0
    Views
    593

    VS 2010 Treeview binding to array

    I think this must be very simple to solve.

    I have fetched information of a MS Project file and loaded content into datatables and array.

    I have an array named arr() that contains the levels...
  29. Replies
    4
    Views
    803

    Re: ForNext loop and ListItem

    I am not sure I got it. Could you please add a simple example?
  30. Replies
    1
    Views
    532

    Re: Using ForNext for listitem

    Moved to ASP.Net forum
  31. Replies
    4
    Views
    803

    ForNext loop and ListItem

    How can I use a ForNext loop for this code? The problem is if my datatable includes 200 rows, then I must do by manual. The reason why I do this and not use a databind is that I must add a manual...
  32. Replies
    1
    Views
    532

    [RESOLVED] Using ForNext for listitem

    How can I use a ForNext loop for this code? The problem is if my datatable includes 200 rows, then I must do by manual. The reason why I do this and not use a databind is that I must add a manual...
  33. Replies
    4
    Views
    699

    VS 2010 Re: Adding to droplist

    SOLVED:

    Dim lst01 As New ListItem(dt.Rows(0).Item(0), 0)
    drpTE.Items.Add(lst01)
  34. Replies
    2
    Views
    1,392

    VS 2010 Re: Reading data from Excel 2010 to a gridview

    I will try this, thanks!
  35. Replies
    4
    Views
    699

    VS 2010 Re: Adding to droplist

    When I try this the dt(0).tostring returns: System.Data.DataRow. I want the specific value to appear
  36. Replies
    4
    Views
    699

    VS 2010 Re: Adding to droplist

    I've tried that, when binding is done it seems at the droplist is cleared initially.

    Other suggestion: Can I read the content from the datatable like an array?
    Example:


    Dim lst0 As New...
  37. Replies
    4
    Views
    699

    VS 2010 [RESOLVED] Adding to droplist

    I have a droplist, that I generate from an Excel file.



    cmdExcel.Connection.Open()
    dropdown1.DataSource = cmdExcel.ExecuteReader()
    dropdown1.DataTextField = "BCName"
    ...
  38. VS 2010 Re: How to bind values from COlumn A in Excel to a DDList

    Sorry, I have solved it :D



    Dim cn As OleDbConnection = New OleDbConnection(conStr)
    Dim cmdText As String
    cmdText = "SELECT distinct BCName From [Sheet1$] where BCName <> ''...
  39. VS 2010 [RESOLVED] How to bind values from COlumn A in Excel to a DDList

    How do I bind data from an Excel file named Book1.xlsx in Column A to a dropdownlist?

    This must be very simple I think.

    I've tried like this:


    connExcel.Open()
    cmdExcel.CommandText...
  40. Thread: SQL format

    by hpl
    Replies
    2
    Views
    576

    SQL format

    I have a sql query:
    How do I format so a number like 1769012 will become
    1.769.012?

    I have tried this:
    "SELECT distinct BCName,Cluster,ProjectName,Initials,Format(Sum,1),Conf From [Sheet1$]...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width