Forum: VB.NET Jul 7th, 2009 |
| Replies: 0 Views: 893 Hi
Im trying to to simply list all security groups from active directory as i will then be doing checks on folders with the mathcing security group.
I can list all the users from active... |
Forum: VB.NET Apr 15th, 2009 |
| Replies: 6 Views: 1,213 good point - il look into it
many thanks for your help |
Forum: VB.NET Apr 15th, 2009 |
| Replies: 6 Views: 1,213 solved it - I had to add the application.doevents so that it actually ran the command on the browser - using sleep, as it appears, stops any code from running so it was never giving the browser a... |
Forum: VB.NET Apr 15th, 2009 |
| Replies: 6 Views: 1,213 i hope was hoping that i wouldnt have to put it onto a form first. Im using it this way so that i can check the final destination of a link to make sure it is ok beofre directing my proper browser... |
Forum: VB.NET Apr 14th, 2009 |
| Replies: 6 Views: 1,213 Hi
Im tryingto create/run a webbrowser control so that i can check the status. I dont need to see the page so havent placed the webbrowser control on a form - its just in code as follows:
... |
Forum: VB.NET Nov 24th, 2008 |
| Replies: 5 Views: 1,330 you need to put the variables at the very top of the code page, above all procedures and below 'Public Class' title
by puting them in page_load sub means that they are only available in that sub... |
Forum: VB.NET Nov 24th, 2008 |
| Replies: 5 Views: 1,330 something i done very quick which may or may not help you. Im not the best vb.net programmer but if it helps thats great!
the form has 4 labels, 1 for first number, calculation type, third number... |
Forum: VB.NET Nov 23rd, 2008 |
| Replies: 1 Views: 1,133 hi
I have a system color value stored in a variable e.g. (Color [A=255, R=255, G=128, B=128])
and i would like to assign that to the back color of a form but i keep getting the error:
"... |
Forum: VB.NET Nov 21st, 2008 |
| Replies: 0 Views: 630 i have a web browser control which i have added a status strip.
I can get the status strip to display the clicked link fine but i would like it to display the link target when the mouse is hover... |
Forum: VB.NET Nov 21st, 2008 |
| Replies: 6 Views: 405 to get the variables display in your meesage try somethig like:
MsgBox("The Sum of Array Numbers is " & Sum & " and the Average is " & Average)
to check and see if the text box is empty:
... |
Forum: VB.NET Nov 21st, 2008 |
| Replies: 0 Views: 1,464 i have a datagrid which show values in a dataset.
I can add new values fine with the below code, but when i delete one of the rows (highlighting a row and using the delete key) i get the error:
... |
Forum: VB.NET Nov 21st, 2008 |
| Replies: 2 Views: 1,226 ideal - ill give it a go and let you know how i get on!
thanks |
Forum: VB.NET Nov 20th, 2008 |
| Replies: 2 Views: 1,226 I trying to create some, what i thought, simple rollover buttons. everything works fine except that the background colour on the mouse enter is always different to what i set.
I have tried all... |
Forum: VB.NET Nov 19th, 2008 |
| Replies: 0 Views: 280 Hi
I have a form which adds data to a dataset, which can be viewed in a datagrid as it happens and then they finish and this adds it to the database - but after a short while the data that was... |
Forum: VB.NET Jun 27th, 2008 |
| Replies: 7 Views: 2,031 works like an absolute charm
many thanks for your help |
Forum: VB.NET Jun 27th, 2008 |
| Replies: 7 Views: 2,031 this looks like it should do it
i give it a go and let u know how i get on
many thanks for your help |
Forum: VB.NET Jun 26th, 2008 |
| Replies: 7 Views: 2,031 hi
thanks for this.
my problem lies in the fact that the 'list.SubItems(1)' may be empty and i need to be able to detect this.
how do i find out if a subitem in a listview is empty?
... |
Forum: VB.NET Jun 25th, 2008 |
| Replies: 7 Views: 2,031 many thanks for your response
i have now amended my code to:
If lstDays.SelectedItems.Count > 0 Then
Dim selection As ListViewItem = lstDays.SelectedItems(0)
If... |
Forum: VB.NET Jun 25th, 2008 |
| Replies: 7 Views: 2,031 Hi
i have a listview which is populated with a number of 'Appointments' and when selected this fills a number of lables with information.
now on the first click it works fine and everything... |
Forum: VB.NET Jun 23rd, 2008 |
| Replies: 3 Views: 2,313 hi
your code worked fine but i just needed to get rid of the last zeros so used the following
Dim d As DateTime = FormatDateTime("00:00")
For x As Integer = 0 To 47
... |
Forum: VB.NET Jun 23rd, 2008 |
| Replies: 3 Views: 2,313 this looks like just the thing - many thanks - will update when tested |
Forum: VB.NET Jun 23rd, 2008 |
| Replies: 3 Views: 2,313 Hi
I am trying to populate a listview with all the hours of the day in 30 minute intervals.
I can doing very basically from 0 to 24 with the following code:
Private Sub CreateTimeStep() |
Forum: VB.NET Jun 20th, 2008 |
| Replies: 0 Views: 1,728 hi
Im trying to rationalise my code as i feel i am doing the same thing a couple of times with different bits of code.
What i am doing is query a db and putting the result into a dataset and... |
Forum: VB.NET Jun 19th, 2008 |
| Replies: 2 Views: 993 hi
made the change, no error but still not returing anything. Please note that this sql query is being done via the 'Query Configuration Wizard'
im not sure wether i should be doing the query... |
Forum: VB.NET Jun 19th, 2008 |
| Replies: 2 Views: 993 hi
i am just starting with vb.net and have set a connection to an existing access db that i have and am able to get the data displayed on a form.
my problem lies where as i want to... |
Forum: VB.NET Jun 19th, 2008 |
| Replies: 0 Views: 915 now i am doing something that i thought would be real straight forward but for some reason is not.
Im trying to lookup records in a DB based on todays date. ow i know the db contains records for... |
Forum: VB.NET Jun 18th, 2008 |
| Replies: 9 Views: 939 solved - well, sort of
just changed the state on the text box from changed to got focus, even though it may have not changed it still knows something has been done! |
Forum: VB.NET Jun 18th, 2008 |
| Replies: 9 Views: 939 hi wayne, one thing i should add that has just come to mind is that all the text boxs are bound to a database so this could be causing the chnage when the form loads, if this is the case - is... |
Forum: VB.NET Jun 18th, 2008 |
| Replies: 9 Views: 939 hi wayne, this is only a small part of the project and dont know how to seperate it out. i have included the code of the whole form as all bits are included in it. apologies and thanks for your... |
Forum: VB.NET Jun 18th, 2008 |
| Replies: 9 Views: 939 sorry wayne, but its still happening. everytime i move to another record without making any changes at all it still asks to save. |
Forum: VB.NET Jun 18th, 2008 |
| Replies: 9 Views: 939 it still seems to do the same thing, even without making any changes or even touching any of the text boxs, when i change or close it asks if i want to save? |
Forum: VB.NET Jun 18th, 2008 |
| Replies: 9 Views: 939 HI
I have an application that contains certain editable fields (textboxs) and what i want to do is know when someone has changed or entered new text.
What i done was in the 'TextChanged' part... |
Forum: VB.NET May 12th, 2008 |
| Replies: 1 Views: 2,551 Hi
I have a small program that imports data and part of this data is in duration format:
00:00:00
(HoursMinutes,Seconds)
What im trying to do is add these together so that they show a... |
Forum: VB.NET May 12th, 2008 |
| Replies: 1 Views: 3,688 Hi
I have a dataset which is popultaed with data from a text file, which in turn then populates a datagrid. This all works fine.
What im trying to do is search within the dataset based on a... |
Forum: VB.NET May 9th, 2008 |
| Replies: 0 Views: 891 Hi
I have a small program that imports data from a txt file and then splits it into columns in a dataset.
What i want to do now is export that dataset to an access table so that i can start... |
Forum: VB.NET Apr 27th, 2008 |
| Replies: 6 Views: 1,337 hi
fixed it with this -
For Each itemlist As ListViewItem In ListView1.CheckedItems
lstResults.Items.Add(itemlist.Text) |
Forum: VB.NET Apr 26th, 2008 |
| Replies: 6 Views: 1,337 I have started to get the result i want, but its not perfect.
the new code im using is:
For Each Item As Object In ListView1.CheckedItems
lstResults.Items.Add(Item.ToString) |
Forum: VB.NET Apr 26th, 2008 |
| Replies: 6 Views: 1,337 yes, the checkbox is true and this is how the selection is made on the listview. |
Forum: VB.NET Apr 25th, 2008 |
| Replies: 6 Views: 1,337 I have a listview which is populated with values from a data base. What i am trying to do is select an item from the listview via a checkbox and then have that value displayed in a listbox. But... |
Forum: VB.NET Apr 24th, 2008 |
| Replies: 5 Views: 3,088 sorry i dont really follow - the checking code is called by the main procedure. so i have got the logic working fine in the check but how do i get it to stop running the procedure that called it?
... |