262 Posted Topics

Member Avatar for coollife

.. each domain name (google.com) has an ip addres (64.233.169.147).. i dont know what u r doing. but if u are programming something that u want to make sure you are on a certain domain by the url.. you could ping the site, store the ip in a variable. and …

Member Avatar for jlego
0
107
Member Avatar for jlego

in vb6 the most efficient/fast way to test if a variable/object was empty was to use [code] if lenb(x) = 0 then [/code] instead of using if x = "" in .net len(x) works, but is there a more efficient way?

0
74
Member Avatar for jlego

im trying to determine if there is an item selected on the listview.. i have a listview that displays customers name with a .tag that holds there ID. how do you tell if the tag is 0 or empty before executing code? in vb6 i simply did [code] if .lstwhatever.selecteditem …

Member Avatar for jlego
0
109
Member Avatar for jlego

this is not a web design question, i'm actually using it in vb.net but they don't have a database forum in the software development section. what i am doing: i have two tables. customer and customer_phones my visual basic program has a search for customer option, which returns the customers …

Member Avatar for jlego
0
129
Member Avatar for jlego

im trying to make the listview sort the listview items by column (whichever column was clicked, sort the list based on that column) in vb6 it was done by: [code] Private Sub ListView1_ColumnClick(ByVal ColumnHeader As MSComctlLib.ColumnHeader) Static olditem& With ListView1 .SortKey = ColumnHeader.SubItemIndex If olditem = .SortKey Then .SortOrder = …

Member Avatar for jlego
0
207
Member Avatar for jlego

I am taking user names and id from a database and dropping it into a combo box for users to select there name. in vb 6 i used to do the following: [code] do until rs.eof = true with me.combobox.comboitems.add(,, rs.fields("Name")) .tag = rs.fields("ID") end with rs.eof.movenext loop [/code] the …

Member Avatar for jlego
0
148
Member Avatar for Kadjii

do you mean like.. [code] UPDATE table_name SET table_name.value = LAST_INSERT_ID(value + 1) [/code] example: if value is 1 it will update it to be 2 not sure if that is what you are looking for

Member Avatar for Kadjii
0
128
Member Avatar for jlego

i have context menus & want the menu items font style to change to bold whenever the mouse moves over, and return to regular when it leaves. [code] Private Sub EmnuExitMenu_MouseLeave(ByVal sender As Object, ByVal e As System.EventArgs) Handles EmnuExitMenu.MouseLeave Me.EmnuExitMenu.Font = New Font(Me.EmnuExitMenu.Font, FontStyle.Regular) End Sub Private Sub EmnuExitMenu_MouseMove(ByVal …

Member Avatar for jlego
0
109
Member Avatar for namazee
Member Avatar for jlego

in vb.net 2008, i have no idea what this means error: the item "obj\debug\associateassist.frmdbsetup.resources" was specified more than once in the "resourceS" parameter. duplicate items are not support by the "resources" parameter. does anyone know what might cause this error / how to go about fixing it.

Member Avatar for jlego
0
123
Member Avatar for jlego

Sorry if there is a topic on this somewhere - i have been searching for awhile now no dice. I'm upgrading a VB6 application to a vb.net 2008 application. problem that's driving me nuts: I fill a listview with a list of customer first & last names + number from …

Member Avatar for jlego
0
350
Member Avatar for gemini31

a simplier way would have been to use the ms windows disk managment utility (in admin tools), change the drive to dynamic, assign it a drive letter, and format it.. would have saved some time. longer format process though

Member Avatar for jlego
0
245

The End.