Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. khowell78737

    Proper DataType for Currency

    would i store a currency value as a decimal, single or double? thanks! Kevin
  2. khowell78737

    Visual Studio AutoComplete Issue

    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...
  3. khowell78737

    multicolumn listbox

    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...
  4. khowell78737

    Retrieving Data From DataSets

    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...
  5. khowell78737

    Validator

    Is there anything nifty like asp.net's required field validator in vb.net? I don't seem to find reference to it. Thanks! Kevin Howell
  6. khowell78737

    Changing A Control From Another Form

    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...
  7. khowell78737

    Default combobox value

    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...
  8. khowell78737

    Application Path

    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...
  9. khowell78737

    Variables from DataSet

    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")...
  10. khowell78737

    DataAdapter vs DataReader

    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...
  11. khowell78737

    Public Shared

    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!
  12. khowell78737

    Database Compression

    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
  13. khowell78737

    ASP.NET Cookie Error

    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...

Part and Inventory Search

Back
Top