Search Results

Showing results 1 to 40 of 46
Search took 0.01 seconds.
Search: Posts Made By: ninjaimp ; Forum: VB.NET and child forums
Forum: VB.NET Jul 7th, 2009
Replies: 0
Views: 893
Posted By ninjaimp
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
Posted By ninjaimp
good point - il look into it

many thanks for your help
Forum: VB.NET Apr 15th, 2009
Replies: 6
Views: 1,213
Posted By ninjaimp
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
Posted By ninjaimp
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
Posted By ninjaimp
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
Posted By ninjaimp
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
Posted By ninjaimp
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
Posted By ninjaimp
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
Posted By ninjaimp
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
Posted By ninjaimp
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
Posted By ninjaimp
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
Posted By ninjaimp
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
Posted By ninjaimp
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
Posted By ninjaimp
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
Posted By ninjaimp
works like an absolute charm

many thanks for your help
Forum: VB.NET Jun 27th, 2008
Replies: 7
Views: 2,031
Posted By ninjaimp
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
Posted By ninjaimp
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
Posted By ninjaimp
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
Posted By ninjaimp
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
Posted By ninjaimp
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
Posted By ninjaimp
this looks like just the thing - many thanks - will update when tested
Forum: VB.NET Jun 23rd, 2008
Replies: 3
Views: 2,313
Posted By ninjaimp
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
Posted By ninjaimp
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
Posted By ninjaimp
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
Posted By ninjaimp
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
Posted By ninjaimp
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
Posted By ninjaimp
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
Posted By ninjaimp
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
Posted By ninjaimp
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
Posted By ninjaimp
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
Posted By ninjaimp
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
Posted By ninjaimp
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
Posted By ninjaimp
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
Posted By ninjaimp
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
Posted By ninjaimp
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
Posted By ninjaimp
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
Posted By ninjaimp
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
Posted By ninjaimp
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
Posted By ninjaimp
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
Posted By ninjaimp
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?
...
Showing results 1 to 40 of 46

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC