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

    Thank you... the actual problem was that I had several errors that I hadn't noticed... I had made regions and had them closed. When I fixed the errors, all went back to normal... thanks for your help... duh, I write code! kevin
  3. 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...
  4. khowell78737

    Scrambled SSN's

    The database would reside on a laptop, that could walk away. I don't think the client has considered this scenario, but I thought of it the other night and decided to do something about it on my own if the solution was simple and "free". Kevin Howell
  5. khowell78737

    multicolumn listbox

    Thank you, that was exactally the direction I was needing to be pushed... Kevin Howell
  6. 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...
  7. 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...
  8. khowell78737

    Changing A Control From Another Form

    Uh.... boy, am I a big dummy... Yes, Christiaan you were right... I forgot that I genaricized the code snippet and that wasn't the name of the acutal MDI form... Only after fooling around with it for several minutes did I realize my mistake... <BLUSH> errrr... I'd give you 2 stars if I...
  9. khowell78737

    Changing A Control From Another Form

    Thank you but the line dim mdiForm as mdi_parent gives me an error that mdi_parent isn't defined. Surely there must be an easy way to do this wouldn't you think?? Kevin
  10. 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
  11. 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...
  12. khowell78737

    Application Path

    Thank you for your reply. I am have gotten around the problem, albiet inelegantly, buy using "left" and "len" to strip the "/bin" As I understand what you are saying, when a user installes this on his system, this solution will break. Please explain what a "compile time constant" is and how...
  13. 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...
  14. 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...
  15. 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")...
  16. khowell78737

    DataAdapter vs DataReader

    If I have an MDI parent form and run procedures from another class (say cls_db) that fills public datasets with a public dataadapter that are declared in the form initalization, would these objects (datasets and dataadapter) remain available to me until the form is closed? Secondly, if I wrote...
  17. khowell78737

    DataAdapter vs DataReader

    Does the update, insert and delete actions apply to the underlying datastore or just to the DataAdapter? If it doesn't work on the datastore, how do you then update, insert or delete the source data? Thanks! Kevin Howell
  18. 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...
  19. 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!
  20. 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

Part and Inventory Search

Back
Top