CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: sford

Page 1 of 5 1 2 3 4

Search: Search took 0.06 seconds.

  1. Re: e.Row.Attributes.Add("onclick", ClientScript.GetPostBackEventReference()

    I have done this sort of thing with javascript (client side)... something like this...

    C#

    e.Row.Attributes.Add("onclick", "javascript:SetTxtbxText(this.TextBox1, '" +...
  2. Thread: DLL access...

    by sford
    Replies
    0
    Views
    704

    DLL access...

    We have an ASP.Net web app which uses a separate DLL to perform vital functions, and the DLL needs access to the registry in order for it to function. When the web app is run on the server using...
  3. Replies
    6
    Views
    379,011

    Re: CSS for Current Page with asp:Menu Control

    Thanks RedBully!!!

    I will give it a try... I appreciate your response!!!!
  4. Replies
    6
    Views
    379,011

    CSS for Current Page with asp:Menu Control

    I would like to structure a menu bar in ASP.NET using the asp:Menu control and master pages.

    The feature I am having trouble implementing is to have the menu item for the "current page" display in...
  5. Re: Calling javascript function in ASP.NET produces UNWANTED directory listing...

    Thank You TechGnome!!! That worked very well!
  6. [RESOLVED] Calling javascript function in ASP.NET produces UNWANTED directory listing...

    I have an ASP.NET (c# codebehind) in which a simple <a> tag invokes a javascript function... Calling this function will produce an unwanted directory listing even if the javascript does absolutely...
  7. executing javascript function causes unwanted directory listing

    I have an ASP.NET app (c# codebehind) in which I alow the user to browse for a file using <input type=file>. Clicking on another link calls a javascript function which is to open the designated file...
  8. Replies
    4
    Views
    4,017

    Re: VB equivalent for C++ GetLocaleInfo

    That example was very helpful...
    It turns out the only thing I needed to change was to init the buffer


    Dim Buffer As String, Ret As String
    Buffer = String$(256, 0) '<--...
  9. Replies
    4
    Views
    4,017

    Re: VB equivalent for C++ GetLocaleInfo

    Well... it may be...

    I declared it as you provided it...
    Then I am using it like this... (FYI... I don't know much about VB... I am more familiar with C++)


    Dim txt As String
    Dim lResult As...
  10. Replies
    4
    Views
    4,017

    [RESOLVED] VB equivalent for C++ GetLocaleInfo

    Is there a VB equivalent function to the following C++ function?


    ::GetLocaleInfo(LOCALE_USER_DEFAULT, LOCALE_SLIST, szBuf, sizeof(szBuf)) ;
  11. Re: How to get List Separator (Delimiter)

    Sorry that my title was not specific enough...

    I was looking for a way to retrieve the default delimiter character saved by the OS under Regional and Language Options as the "List Separator"...
  12. [RESOLVED] How to get List Separator (Delimiter)

    Is there a system function that will tell me what the current List Separator (Delimitor) is???
  13. Replies
    2
    Views
    1,163

    Re: Parsing Question

    Thanks DM... I decided to switch to Tab as the delimiter...
  14. Replies
    2
    Views
    1,163

    [RESOLVED] Parsing Question

    This is NOT a VB question per se... it is more of an Excel csv parsing question... I didn't know which would be the best forum to pose the question and I am using VB so that is why I chose this...
  15. Replies
    2
    Views
    762

    Re: Which Message Handler???

    Perfect! Thanks GCDEF!!!

    I am using CView::OnActivateView
  16. Replies
    2
    Views
    762

    Which Message Handler???

    In my MDI application I have a certain function that needs to be called whenever a document is opened AND whenever the user switches from one already opened document window to a different already...
  17. Re: How to know CTreeCtrl Checked State has changed

    Thanks to a post by clem in Oct 2000 I was able to get this figured out... :)



    // Handler for ON_NOTIFY(NM_CLICK...
    void CShowToolbars::OnClickToolbarTree(NMHDR* pNMHDR, LRESULT* pResult)
    {...
  18. [RESOLVED] How to know CTreeCtrl Checked State has changed

    I have a CTreeCtrl with checkboxes in a dialog that looks like this...
    http://4dgraphics.net/ConfigToolbars.gif

    I need to get notified when the checked state of an item in the tree control has...
  19. Replies
    5
    Views
    1,560

    Re: ToolBar WON'T Re-size

    THANKS kirants!!! That did it!:)

    Now if I can just figure out how to mark the thread as "Resolved"...
    VictorN Suggested I do this, but for some reason I don't have the fifth item in the Thread...
  20. Replies
    5
    Views
    1,560

    Re: ToolBar WON'T Re-size

    Thanks for the suggestion, but in my original post I said that I had already tried these functions:
    CToolBar::Invalidate
    CToolBarCtrl::Invalidate
    CToolBarCtrl::AutoSize
    CToolBar::SetHeight

    In...
  21. Replies
    5
    Views
    1,560

    ToolBar WON'T Re-size

    I use CToolBarCtrl::HideButton to hide or reveal a button on a toolbar. I cannot seem to make the toolbar resize itself to fit the buttons that are actually visible on the toolbar after the...
  22. Replies
    6
    Views
    1,493

    Re: Dynamic Popup Menus

    Unfortunately, the Thread Tools menu item only pulls down FOUR items...
    http://4dgraphics.net/ThreadTools.gif
    There is no "Mark Thread Resolved" item in the pull-down
  23. Replies
    6
    Views
    1,493

    Re: Dynamic Popup Menus

    Thanks Victor! I am not sure how I go about marking the thread as Resolved...
  24. Replies
    6
    Views
    1,493

    Re: Dynamic Popup Menus

    I figured it out...



    CMenu menu;
    VERIFY(menu.LoadMenu(IDR_TOOLBAR_POPUP_MENU));

    // pPopupMenu is the highest level of my context menu...
    CMenu* pPopupMenu = menu.GetSubMenu(0);
    if...
  25. Re: How do I retrieve the tooltip text for a particular button in a toolbar?

    Thanks!!! That worked perfectly!
Results 1 to 25 of 125
Page 1 of 5 1 2 3 4





Click Here to Expand Forum to Full Width

Featured