To retrieve the tag of the selected item you can do:
Treeview1.Selectedtem.Tag
The difference between the two...Tag can be used to set any old values on each node but doesn't help in finding specific nodes in a large tree. The Key can be used to give a 'name' to a node so you can easily locate...
On the form load event if you add some code to select the first tab.
Something like:
[COLOR=green]
Set Tabstrip.SelectedItem = Tabstrip.Tabs(1)
[COLOR=black]
That should work
It doesn't look like you have actually connected to the database. I don't tend to use the Data Controls but I would imagine that you need to open the database before it can be used.
The following should load the XML file and allow you to start manipulating it:
======================================================
Dim oDocument
Dim sXMLFile
Dim bLoaded
sXMLFile = "Whatever.xml"
'Create instance of XML document object
Set oDocument =...
I've just used IIS for the first time and managed to do just what you're stuggling with...
I created a folder called myproject under wwwroot.
created an ASP file called default.asp
in IE I typed http://computer/myproject/default.asp and it displayed no problems.
Everything is case sensitive...
I would try setting the [ShowDialog] to True for debugging, it might give you a few clues as to what is happening. Also, when you double click it in Explorer, I presume you are logged into Exchange / Outlook, if so, it is probably using your existing session and this might be why it isn't hanging.
You can use MAPI to send an email with or without sending the Workbook. If you search Microsoft or Planetsourcecode.com/vb for MAPI you will find loads of examples. Straight VB ones should work with a little doctoring in VBA.
I am trying to do a similar thing. When a button is clicked I want to direct someone to www.opera.com/downloads.html but the flash movie tries to add this url to the end of the current url so we end up with www.currentpage/www.opera.com/downloads.html
I have tried entering an absoulte getURL...
Hi,
All you need to do is the following within the refresh function:
Text1.SelStart = Len(Text1) - that will (in effect) select the last character in the text box.
Hope this helps, if not, please mail me:
glenmaroney@breathemail.net
Hi,
For tips like this - I have found the best site on the web to be planetsourcecode.com
follow this url to get to sample code and projects for rebooting a pc...
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.