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...
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...
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...
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
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
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
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
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...
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...
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
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
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.