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: *

  • Users: oneshadow
  • Order by date
  1. oneshadow

    read/write ini file without API

    dear all, in VB 6 we can read/write to .ini file using GetPrivateProfile.. function, I know i can do the same way in .Net but i want to avoid using Win32 API as much as i can and using .Net framework only. Anybody knows how to do that? thx
  2. oneshadow

    Store.exe consume too much resources

    My office has Exchange 5.5 server on NT 4.0 SP 6.0. Everything runs well until this morning when i found that the server runs sooooo slow, even for displaying NT explorer window. When i checked on Task Manager, i found that almost (99%) of processor resources was consumed by Store.exe. what is...
  3. oneshadow

    slow refresh

    To see the changes you just did, try to refresh the record after update is success, either using rs.Requery or ADODC1.Refresh
  4. oneshadow

    count the connections

    i think you will have a better chance to get answer of your question if you post it in VB forum.
  5. oneshadow

    select multi files in Common Dialog

    thank you :-)
  6. oneshadow

    select multi files in Common Dialog

    How to select multi files in a CommonDialog1.ShowOpen? by default, we only can select one file at a time. I wonder if there is a way to select 2 or more files. U know, things just like we did in Winamp thnks.
  7. oneshadow

    How do i know if a Recordset is open?

    use the State property method of ADODB.Recordset. It returns: 0=adStateClosed 1=adStateOpen rgds
  8. oneshadow

    Date problem

    try to using "MM/DD/YYYY" format coz as far as i know it is MS Access default.
  9. oneshadow

    executing SP using VB and VFP7.0

    The code below is taken from SQL Server Books Online, it shows how to get value from store procedure ----------------------------------------- Dim cn As New ADODB.Connection Dim cmd As New ADODB.Command Dim rs As New ADODB.Recordset cn.Provider = "sqloledb" cn.Properties("Data...
  10. oneshadow

    Cannot move to next text box

    post your code for LostFocus & GotFocus events
  11. oneshadow

    executing SP using VB and VFP7.0

    try to change the line: .CommandType = adCmdText to: .CommandType = adCmdStoredProc
  12. oneshadow

    HELP

    To validate user's input soon after it's typed, you can use the LostFocus or Validate event. Put your validation code here. btw, if you have trouble with the data control, then i suggest you to stay away from it. Unbound method is more flexible and can give more fun ;-)
  13. oneshadow

    Cannot move to next text box

    normally, a text is keep stay until it cleared. There's must be something somewhere in your code that gives the order to VB to clear the combo box. Do search for "Combo1.Text =" or "Combo1.ListIndex = -1". This may not a solution but at least it's a start.
  14. oneshadow

    can not resolve symbol

    Hi all, I wonder, what's the meaning of error msg "can not resolve symbol"? I got it when try to compile a java class. And where I can find references about errors and their meaning? thanks
  15. oneshadow

    highlighted problem..

    How about: In Text1_Gotfocus: Text1.SelLength = Len(Text1.Text) In Form_Load: Call Text1_GotFocus
  16. oneshadow

    ADO Control- No connection

    you can trap the error number. if it indicates failed build connection to server then order it to connect to local.
  17. oneshadow

    Need help saving settings from input.

    hi TinkerBear, according to Sawatzky's suggestion you can save the info in an .ini file. Your program will read/write it whenever needed. To do this you need to use API function. Don't worry, it's easy;-) put this code into General_Declarations section: Declare Function...
  18. oneshadow

    Copying a Database

    not sure if this helps. if MyDBase is a SQL Server database, then you should be able to generate a SQL script which will write the structure of MYDBase (tables, views, sp etc..). you can then run this script in the destination database to create all objects with the same structure.
  19. oneshadow

    How can I manipulate the 3 controls on the top left of an application?

    you need to use API in this case: Private Declare Function GetWindowLong Lib "user32" Alias _ "GetWindowLongA" (ByVal hwnd As Long, _ ByVal nIndex As Long) As Long Private Declare Function SetWindowLong Lib "user32" Alias _...
  20. oneshadow

    sql scripts

    if it is saved as SQL script that you can open it through Query Analyzer. Check the code, if it has a 'CREATE DATABASE' function then all you have to do just running it then you will be able to open the db sample in Enterprise Manager. If not, then you may have to create the db manually and...

Part and Inventory Search

Back
Top