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 Mike Lewis 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. Bachatero

    How to implement the WMI WIN32 calls

    It is working now, I changed: var Value: Longint; To var Value: Cardinal; Thanks, Johan
  2. Bachatero

    How to implement the WMI WIN32 calls

    Thanks for the information. Hi Glenn, I used the code that was posted on the: Get System information from WMI faq102-7315 I have just a question: The function below generates the following error code: function WMIRowFindFirst(ObjectSet: ISWbemObjectSet; var ENum: IEnumVariant; var tempobj...
  3. Bachatero

    How to implement the WMI WIN32 calls

    Hi all, I use VBS (Visual Basic Script) to automate some tasks. However, sometimes I miss some nice and handy features in VBS. As well I use Borland C++. Now I will try to use borland to perform these tasks. Do somebody know were I can find some simple examples how to implement the WMI Win32...
  4. Bachatero

    Problem with reading the correct subkey's

    Hi All, I use the following command to read the contens of the field: driverdiscription: For Each subkey In arrSubKeys My script returns two subkeys 0000 and 0001 But if I use regedit I can see that there are 9 subkeys. The subkeys 0000 - 0008. My first nic has the key 0001 and my second...
  5. Bachatero

    How to detect the speed of the network card in XP

    OK, I found it. Johan
  6. Bachatero

    How to detect the speed of the network card in XP

    Is it posible to detect the speed of a network card in VBS. e.g., is the speed of the network card set to auto, 100BM/full, etc. I tried to find it in the windows register, but I did not find something. Is this anayway posible with VBS. Thanks in advance, Johan
  7. Bachatero

    Borland Codegear 2007 and Dual monitor

    I would like to use my left hand monitor for all my toolbars and my right hand monitor for all my units and forms. Does anyone know how to configure this, because I always have to rearange the toolbars if C++ Builder is finished during started up. Johan
  8. Bachatero

    Button style B C++6 vs B C++ 2007

    I use my original created project in Borland C++6 now in Borland C++ 2007. This works perfect. But, I would like to use the new style buttons. If I created a button in B C++ 6, I always got buttons with rectangular corners. If I create a new project in B C++ 2007, I got the new style button...
  9. Bachatero

    Question about open dialog

    I found it! I changed the field alowMultiSelect in the object inspector from FALSE to TRUE. Johan
  10. Bachatero

    Question about open dialog

    Hi all, I use in my program the following command to open a file: (OpenDialog->Execute()) I am able to select a file. But, what should I do if I want to select more than one file at a time in the open dialog, e.g. with the shift key pressed. This does not work. I can now only open one...
  11. Bachatero

    How to change the filename of a file

    Hi all, I would like to rename a lot of file names. I use the following command to extract the file name: MyFileName = ExtractFileName(OpenDialog->FileName); So, if I change the variable MyFileName, how can I update the filename of the file itself. My idea is: 1) Open the file. 2) Extract...
  12. Bachatero

    Hi All, I tried to fill some dat

    I solved it. I removed the TListView and inserted it again. Maybe some of the properties were not set correctly. Johan
  13. Bachatero

    Hi All, I tried to fill some dat

    Hi All, I tried to fill some data in my ListView, but I don't see anything. It adds the text to the colums but I dont see the items. Any idea why ??? Thanks in advance. Johan void TUniformity::ShowTags() { Uint16 BeginAdres; Uint16 groep[3000]; Uint16 element[3000]; Uint16...
  14. Bachatero

    How to organize program code into different units

    Hi all, Since I did spit up my code into different units I got the following error: [Linker Error] Unresolved external '_GainValues' referenced from I:\C++_PROJECTS_JOHAN\NEMA_REVIEW\MAIN.OBJ Any help is very appreciated! Thanks in advance, Johan
  15. Bachatero

    How to organize program code into different units

    Ok, I solved it. No compiler errors anymore however, if I load a file my program crasshes. Before I moved the code to a seperate unit it didn't crash. The following message is displayed: --------------------------- Debugger Exception Notification --------------------------- Project...
  16. Bachatero

    How to organize program code into different units

    Ok, I moved: TOpenDialog *OpenDialog; TButton *bDicomTags; from the Uniformity.h to the Uniformity.cpp and now my E2451 error is gone. However, if I call Uniformity->LeesUniformityMap(); now I got the following error: [C++ Error] Main.cpp(344): E2316 'LeesUniformityMap' is not a member of...
  17. Bachatero

    How to organize program code into different units

    Hi Vinay, Thanks for your reply and your suggestion. I am relative new in C++ programming but I tried to write down the code for a tab page in a unit as you suggested. I did got a lot of errors but most of the errors I solved now. However, I have still 3 errors left to solve. All 3 are off the...
  18. Bachatero

    Please help!! How can I contact the system administrator of the GID Fo

    Hi James, No, I don't think so. It is the following forum: http://www.gidforums.com I did not know that Tek-Tips had a GID forum aswell Johan
  19. Bachatero

    Please help!! How can I contact the system administrator of the GID Fo

    Is here someone who also use the GID Forums ??? I am not able to login anymore. It comes with the following message: Bachatero, you do not have permission to access this page. This could be due to one of several reasons: Your user account may not have sufficient privileges to access this...
  20. Bachatero

    How to organize program code into different units

    Hi all, My program contains a mainform with 5 tabpages and 3 other forms. I would like to split up my code that belongs to the mainform into different units, for every tabpage a seperate unit. However, I noticed that if you create a new form it creates a new unit as well. So, the general...

Part and Inventory Search

Back
Top