I dont know if that what this function of the IDE is called "autocomplete"...
Used to, when I typed a variable in lowercase the program would automatically change the capitalization to reflect what was declared.
This has stoped working. When I type a key word- it capitalizes the right...
I want to have a listbox or checklist box that contain mutiple columns of data populated by data from a DataReader.
I would like the data to be presented something like:
12/12/04 (row 0 col 0); $250.00 (row 0 col 1)
12/13/04 (row 1 col 0); $500.00 (row 1 col 1)
and so on..
I think I...
I have 2 functions that make entries "SQL" safe. They add or replace SQL unsafe charactors like "," with "~,~".
My problem is that when I bind a dataset to a control, I have no way to remove the "~" charactors where present.
I am creating a dataSet from an Access datastore from a query that...
How do you reference a control on another form?
I would like to unhide and increment a progress bar on the MDI parent from an MDI child.
I have tried (from the mdi_child):
dim mdiForm as mdi_parent
mdiForm.ProgressBar.Visible = True
and so on... but this doens't seem to work
I have tried...
I read the thread796-774766 that said that "comboName.Items.Insert(0,"Select")" would insert a "default" item at the top of the box.
Also in this thread, it mentioned that the insert must take place after the binding.
I'll be darned if I can get it to work.
My code is:
Public Function...
In asp.net, you can set up a DSNless connection by using the server.mappath method...
ie.
DSN= DSN & Server.MapPath("data\rio.mdb")
In vb.net, I can't seem to find a simple way to get the root path of the application.
I've tried application.startupPath, but I get the "/bin" directory, not...
I have a dataset that is populating a combobox with the "DataSource", "ValueMember" and "DisplayMember" properties of the combo box.
I want to concancate (sp?) the values from two cells in a row to fill the "DisplayMember" property.
My code:
comboBox.DataSource = dataSet.Tables("tblCity")...
Please enlighten me to the advantages of one over the other. I understand that one is direct and one is disconnected. For a non-networked desktop application, shouldn't the simplicity of a direct access weigh heavily in favor of it? Or am I missing the point altogether.
Thanks in advance
Kevin...
If I declare something "Public Shared" in a class, once initialized it holds the data until when? The class is destroyed?
Suppose I wanted to initalize a Public Shared variable in a MDI form. Would that variable be available until the MDI parent was closed (application exit?)
Thanks in advance!
In asp classic, it was possible to compress / repair an access database via code.
I was wondering if asp.net provides this ability and what namespace should I be looking in?
Thank you so much!
Kevin Howell
why would this:
If not Request.Cookies("logged") Is Nothing Then
Dim booLog as boolean
booLog = cBool(Request.Cookies("logged").Value
else
booLog = False
End if
Result in an error stating:
"Request is not available in this context"
I have imported the web and...
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.