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

    Start in Sub Main()

    Been away from vb.net for a while but I believe this is an easy fix. (1) Open your project. (2) Select the [Project } tab from top row (3) Select [ Properties ] which should be at the bottom of the drop down list (4) If the application form isn't showing select [ Application ] from the left...
  2. MikeCt

    Setting desired column in datagridview to combobox,checkbox

    Excellent, Sorry for not getting back earlier Mike
  3. MikeCt

    Setting desired column in datagridview to combobox,checkbox

    Hello I have a Datagridview which is populated from a sql query. The order of the columns and binding of the grid are handled at runtime. Problem is I cannot find a way to assign the combobox and checkbox to the columns I desire. In the example below column (1) and the last column share the...
  4. MikeCt

    Creating a relationship between to tables in the same database ( runtime )

    Hello I tried to make thing as simple as possible for clearity Fisrt I'm working in VB6 I have a simple form with a command buton on it The project has a reference to Microsoft DAO 3.6 Object Library There are 2 table in the database ( Patients ) & ( Medications ) Patients has 3 Fields (...
  5. MikeCt

    DAO Connect with VB2012

    hello I'm just starting to switch from VB6 to Visual studio 2012 - Visual basic for applications In the past i've always connected to my access databases with the code listed below changing the strSQL string to filter my tables. I tried to keep this simply and clear as possible with the...
  6. MikeCt

    WebBrowsers new url address

    I'm using VB6 and I have a form with a WebBrowser control and a command button Private Sub Form_Load() WebBrowser1.navigate "http://www.google.com/" End Sub Starting from google.com webpage, I begin my search Once I find the website needed I would like to save the url of this new page...
  7. MikeCt

    Programming in the future

    I've been programming with VB6 for quite some time. Problem is with the new windows operating systems( windows 7 & 8 ) I've been having a harder time getting them to run as smoothly. As much as I love VB6, I find I must start moving on if I want to run my applications in the future. Visual...
  8. MikeCt

    Testing for no value in a recordset field

    Hi I have a table with 5 fields Dates Date/Time User_1 Text User_2 Text User_3 Text User_4 Text When I use the statement below, my recordset consist of every date that has a value in all four of the user fields SELECT Dates,User_1,User_2,User_3,User_4...
  9. MikeCt

    Using KeyPress event with DateTimePicker Control

    Hi Setting the form Keypreview to true did not help. The Keypress event was not triggered with the pressing of the Enter key. Using the keydown event worked perfect and solved the problem Thankyou
  10. MikeCt

    Using KeyPress event with DateTimePicker Control

    Hi I have a form with 2 DateTimePickers controls, DTPicker(1) and DTPicker(2) I have the procedure below but the pressing of the return key does not trigger the event. If I press a number key the event is triggered. How can I detect if the return key is press if the keyPress event does not work...
  11. MikeCt

    DateTimePicker drop down calendar closure

    Thanks, This would be a simple fix but the program is running under windows7 which does not except the SendKeys command.
  12. MikeCt

    DateTimePicker drop down calendar closure

    I'm using the DTPicker on my form. When the user enters a date that is is out of range I want to disable the DTPicker till the the user presses the "OK" button on the message that appears. Problem is the Date entry part of the DTPicker is disabled with DTPicker.enabled = False, but the drop...
  13. MikeCt

    Extracting values with decimal point from a text file

    Thanks My mistake was reading the msdn example which states "Symbols and characters that are often considered parts of numeric values, such as dollar signs and commas, are not recognized." Then there was the example they give that leaves the decimal point out The following returns the...
  14. MikeCt

    Extracting values with decimal point from a text file

    Hi I trying to write a procedure that can extract numbers from a text file, then multiple that value * 2, then parse the new value back into the text file. Example of text file ( ORIGINAL ) N1G90G81X-5.75Y1.5Z-.25R.01F2.5 N2X-3.832Y.25 N3Y-1.916Y.35 N4X0Y.45 N5X1.916Y.55 N6X3.832Y.7546...
  15. MikeCt

    Filling multiple frames with option buttons at runtime

    Thank Once again you gave me a clear and excellent solution Mike
  16. MikeCt

    Filling multiple frames with option buttons at runtime

    Hi I know how to load controls at runtime, but now I would like to add a number of frames at runtime and then add (3) option buttons into each frame all at runtime. ( For each line of info on the form I need to select only 1 of 3 options ) Thanks Mike
  17. MikeCt

    Disabling the close form button

    Thanks again Mike
  18. MikeCt

    Disabling the close form button

    Hi On a form there are the 3 buttons that control the form MinButton,MaxButton, and the close form button. Is there a way to disable the close form button at runtime? What event is triggered when this button is Pressed? Thanks Mike
  19. MikeCt

    Printing into paper form

    Hi I have a paper form that I need to fill in with data from the program I've written. I would like to print the form at the same time as filling in the data. I've been trying to find where to start but if I inquire about forms, I get info about building forms on the screen used with...
  20. MikeCt

    Problem with compiling program

    Thanks for the info about the access file. I tried looking at the assembly code but It's way over my head. Plus there thousands of lines of code and I would not even know where to start looking. My program is getting the same error in all the forms I've written so I do believe it's got...

Part and Inventory Search

Back
Top