Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: pd123
  • Order by date
  1. pd123

    Event handler for dynamically created controls

    On my page I am dynamically building controls (specifically some LinkButton controls). I am wanting to create sub-routines that handle the click events for these controls. Since these controls do not actually exist until runtime, how do I create subs that can handle the events? Hope this makes...
  2. pd123

    Programmatically setting textbox values

    Thanks DaZZleD - that's the code I was after. Cheers! pd123
  3. pd123

    Programmatically setting textbox values

    Thanks. The controls are not created dynamically. The array stores this information so when the page is re-visited later I can extract the values and populate the fields with values. I know the control is called txtSurname - this is stored in the array. The question is how do I get a handle...
  4. pd123

    Programmatically setting textbox values

    Hi, I have an array which stores the ID of the textbox control, and the value it has. Eg. txtSurname,Smith|txtForename,John|txtAge,22|txtCity,London What I am currently doing is looping around this array and extracting the values. However, how do I programmatically set the values? eg...
  5. pd123

    Session timeout

    I do have an include file which renders a header & footer. I shall try putting it in there. Thanks for your suggestion.
  6. pd123

    Session timeout

    My application has the session timeout set for say 5 mins. After 5 mins the session state is lost and I want to re-direct the user back to login page. Can this be done in 1 place without having to check the session value on the page_load sub-routine in every page? Many thanks, pd123
  7. pd123

    Calling a Web Service from Access 2000

    I should have been clearer - it was a .net web service I was trying to call. Craig - thanks for the links - I'll have a look and see if I can adapt for Access 2000. If anyone else has tried doing this in Access 2000 I would be grateful for any information. Many thanks, pd123
  8. pd123

    Calling a Web Service from Access 2000

    Has anyone ever tried calling a web service from Access 2000? If so, could you point me in the right direction for documentation, etc. Thanks in advance, pd123
  9. pd123

    File properties

    Spot on! Thanks, pd123
  10. pd123

    File properties

    Is it possible to programatically extract the properties of a file within vb.net? Like if you right click a file within file explorer and choose properties, you get a number of tabs. It was the version information I was after specifically. Thanks in advance. pd123
  11. pd123

    Registry - updating a string value

    Sorted it - forgot to set the "writable" boolean when calling OpenSubKey. Doh!
  12. pd123

    Registry - updating a string value

    Hi, I am having problems updating a value in the registry. I can open the subkey up, and read values no problem, but when I try a HKwf.SetValue("LastRun", "Yes") I get the following error message: Cannot write to the registry key. It doesn't seem to suggest a permissions problem, but does it...
  13. pd123

    Web control properties

    Is it possible to change the properties of a web control programmatically? For example, I add a new control to a placeholder by executing the following code: PlaceHolder1.Controls.Add(New Button) This builds me a new button on my web page. How would I set the properties for the button, for...
  14. pd123

    I have some code which gets the use

    I have some code which gets the username of the logged in user on the network domain. Given that username, I want to obtain a list of the user roles which that user is a member of. I am not having much success - is this possible in c#? Any advice appreciated! Thanks, pd123
  15. pd123

    Query question

    All the indexes are the same - it's in the same query analyser window in fact. I'll have a dig through the documentation to see if anything seems relevant. Thanks for you help anyway. Regards, pd123
  16. pd123

    Query question

    Yes, same query plan. If I set showplan_text on and run both queries, the same execution paths are returned. The only difference is one more record !
  17. pd123

    Query question

    Behaves in exactly the same manner. set rowcount 269 - query takes 2 seconds set rowcount 270 - query takes 8 seconds
  18. pd123

    Query question

    Yes, tried that but makes no difference unfortunately. Thanks anyway.
  19. pd123

    Query question

    I have a query which pulls things from many tables. If I do a select top 269 from aaa, bbb, etc it returns the data back in about 2 seconds. If I do a select top 270 from aaa, bbb, etc it returns the data back in about 8 seconds. Does anybody know why the query takes 6 seconds longer just to...
  20. pd123

    User credentials in a UNC path

    Thanks for your suggestions, I'll try the net use approach. Regards, pd123

Part and Inventory Search

Back
Top