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

    How to determine if platform is win32 or x64

    Thanks MKuiper. It works. Best Regards Andreo
  2. jamsek19

    How to determine if platform is win32 or x64

    Hello. I have specific problem determine on which platform my program is running: win32 or x64. I tried using GetSystemInfo but its output on x64 platform is wrong - shows that is Intel Win32 platform. Also, I tried with GetNativeSystemInfo but this function just return right value for WinXP or...
  3. jamsek19

    Array of methods?

    Hello all. Let me explain my solution: I have similar problem: I want to validate each text box by their own function. So I use inheritance and encapsulation: First, I create a class which inherits System.Windows.Forms.TextBox. Into this class I override (in my case) "OnValidating" event. Also...
  4. jamsek19

    How to destroy events

    Thanks JurkMonkey for replay. This is very rough idea and I think is not so good. I'm searching for something that can destroy events before got focus in next control in a row. Well, at the moment I have implemented this by one global variable which on error in GotFocus method return focus...
  5. jamsek19

    How to destroy events

    Hello. I have a problem regarding events: When I want to leave (for example) textbox I catching Leave event of that control and do a check if I can leave this control. In a case that control must not be leaved I fire event to set focus to this control again. The problem here is that the next...
  6. jamsek19

    Switch process to run under different credentials

    ArkM, thanks. I found these functions in MSDN yesterday and I thought they're used for other purposes. Now I tried and works just as I wish. Thanks. Best regards Andreo
  7. jamsek19

    Switch process to run under different credentials

    Hello. Does anybody know how to programme in C++ a part of code to run under different credentials (ie. Administrator rights). For example: an .exe is running under momentary account credentials. In some part of code program needs Administrative rights to finished its job. So I have Admin...
  8. jamsek19

    Exif and IPTC Reading and Writing

    This is my class to get EXIF info from regular .jpg picture using System; using System.Text; using System.Collections; using System.Drawing; using System.Drawing.Imaging; using System.IO; namespace CreateHTML { /* This classs was rewrited from EXIF.py script from Gene Cash Contains code...
  9. jamsek19

    STrange Error Message in VB6

    Hello. I got the same problem. I running W2000. Searching on www I got one microsoft page (sorry I forgot the address) that running Win2000 without "Client for Microsoft networks" installed throws this error. This error occurs just in case that you have one .exe file which call ActiveX .dll file...
  10. jamsek19

    How to pass CommandButton array to Class's method

    I have one form with four CommandButtons putted in an array (Cmd(0), Cmd(1), …) I have also one class which operate with these buttons. I have a problem, how to pass reference of button array to one class's method. Example: Class clsBtn: Private mBtn(4) As CommandButton Friend Sub...
  11. jamsek19

    Passing object as parameter in a method

    Thanks SemperFiDownUnda. I imagine something like that. In this case, I also prefer the third way - by recordset. Thanks again Andrej
  12. jamsek19

    Passing object as parameter in a method

    Hello. We know that we cannot pass private User defined types (UDT) as a parameter to one method in AciveX DLL and for example, ADODB.Recordset can. Therefore I was wondering, I will pass my own object created from one class which has just properties, as a parameter. Can someone tell me if...
  13. jamsek19

    Skins in VB6?

    in http://www.visual-basic.com.ar page you can get nice skinner ocx control ;-)
  14. jamsek19

    check a file

    I prefer Public Function FileExist(a_file As String) As Boolean On Error GoTo FileExist_Err FileExist = False FileExist = ((GetAttr(a_file) And vbDirectory) = 0) On Error GoTo 0 Exit Function FileExist_Err: End Function which return true if file (with full path)...
  15. jamsek19

    Form unload does not release memory!

    JohnYingling has delimited wright. Add those 5 lines before End sub statment in Sub Form_Load If Not Form2 Is Nothing Then Debug.Print "Form 2 is NOT Nothing" Else Debug.Print "Form 2 is Nothing" End If You got After 2 Unloaded Form1 Form 2...
  16. jamsek19

    MS Transaction server

    Hello. I start programming in VB and I'm little confused about getting MTS. I try to found out where can I get Transaction server: Can I downloaded it from web, or I have to buy it. I found some pages on web (also on Tek-tips!) explained that I can get MTS from web but just for Windows NT or...
  17. jamsek19

    Where to download MTS

    Hello. Is it run also on W98 and/or w2000? Thanks Andrej
  18. jamsek19

    MS Access database limits

    Thanks for fast info. Just about concurrent users: are they really accessed DB at the same time or they're just connected to database and access to DB was periodical? Thanks Andrej
  19. jamsek19

    MS Access database limits

    Hello. Does anybody know the limits of MS Access 2000 database: max tables defined, max fields per tables, max size of table, max size of database, max connections opened simultaniously, ... A link of these values also make me happy. Thanks Andrej
  20. jamsek19

    Can Someone Explain How to Use ADO

    Here is one example of function, which retrieve all data from table as recordset. Hope this help. ' Declarations Private m_objConnection As ADODB.Connection Private m_objComm As ADODB.Command Private m_ConnProvider As String Private m_Path As String Private strSQL As String ' Function has...

Part and Inventory Search

Back
Top