Is it possible to create a webconfig file dynamically? We have a web app that presents a series of menus. We would like those menus to be populated based on username or user group. We can get all this information from a table and it seems easy enough that we coulduse the information in the...
I have a datagrid that is populated with contact information. The phone number gets populated as 1234567890. I have been unable to find how to format that as (123) 456-7890. Can anyone help????
Thanks!
I guess what's giving me the most trouble is looping through each instance of the component. I've tried putting:
dim arrGuests as ArrayList = New ArrayList
dim MyGuest as new Guest
For each MyGuest in Form1
arrGuests.Add(MyGuest)
Next
This gives me an error: Form is a type and not...
It's kind of cheesy, but I have a "guest" class which I turned into a component. The component holds information about guests that have visited a particular website. There are multiple instances of this component and I want to loop through each of the instances and populate a text file with the...
I have a form with multiple instances of a component on it. I want to be able to loop through all the components and return the information to an arraylist. Is this possible?
Thanks!
Hey TechGnome,
Thanks for the reply! I really appreciate the help!
I did what you suggested and moved the Dim out of the sub and into the module level and now the datagrid gets populated after the first guess but then never again. Do I need to move something else into the Module level...
Or maybe it is but the data just isn't displaying properly. What I'm trying to accomplish is a "guessing game" for my nephew. He enters a number and is prompted as to whether the number is too high, too low or guessed correctly. Each guess along with the number of tries is then put in an...
After I add, delete or edit values in a listview I want the listview to refresh to reflect the changes. I have tried
my.Forms.frmPublications.lvTitles.Refresh
but this doesn't work at all. Any help would be greatly appreciated!
I am having problems adding new rows to a datatable. I was getting the error message "Object not set to an instance of an object." The answer seemed quite clear to me; create a new instance of the datarow object. After doing that I now get this error: "System.Data.DatRow.Protected Sub New not...
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.