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

    How find if a Application is running in another Session ?

    Hi Matt This worked perfectly. Thanks a lot :-) Kongsjs
  2. Kongsjs

    How find if a Application is running in another Session ?

    Yes, I could do that, but if the application was terminated in a non normal way, the value would still be there and the program would'nt start up again. The same is for a database connection. This application is reading thousands of file every houre 24/7/365, and must always run, but only one...
  3. Kongsjs

    How find if a Application is running in another Session ?

    Hi Need some help here.... I am running a application (PB 7.0.3) on a Windows 2003 server. This application is starting automatical when the server reboot, and is starting on the Consol session with user "X". Then if I or some other log on to this server with user "X" again, but not to the...
  4. Kongsjs

    Can't see Tables in SqlServer 2008 in PB

    Hi Found a solution on this problem. We made the user I use "dbo", then it worked. I tried "powerbuilder catalog owner" and "table owner", but that did'nt work. The 'views' was not created with the user I use. Thanks for all suggestions :-) Regards Kongsjs
  5. Kongsjs

    Can't see Tables in SqlServer 2008 in PB

    Hi We have startet to user SqlServer 2008, and when I connect to a database I can see views, Stored Procedures, but not the Tables. I use normaly PB 7.0.3 and have the problem there. I tried PB 10.5 aswell, but same problem there. I use normal ODBC in PB and Microsoft SqlServer ODBC as the...
  6. Kongsjs

    Read/Write to eventlog

    Hi miguelleeuwe Thanks a lot. This was great. Do you know of a way to read the eventlog aswell ? Regards Kongsjs
  7. Kongsjs

    Read/Write to eventlog

    Hi Anyone that know how you read from the Eventlog in PowerBuilder 7 and write to the eventlog. Kongsjs
  8. Kongsjs

    Connect to SqlServer without error message

    The problem is that the messagebox appears on the "Connect" statement, so I never get down to the "If" I have after the connect. Connect; if sqlca.sqlcode <> 0 then I guess there must be some way of turning of getting the messagebox/prompt, but I dont know how.
  9. Kongsjs

    Connect to SqlServer without error message

    Hi I am makeing a program that should run 24/7 on it's own. In this program I need to connect to 2 different SqlServer databases, and all this works well. The problem appears when one of the SqlServers are down or someting else goes wrong when I connect to the SqlServer. I then get a MessageBox...
  10. Kongsjs

    How change Properties on a file from an application

    Hi I know how to read the Properties of a file. I asked for help on that in July 2007, and got several answers, and I have used "thekl0wn"'s solution, and that is working perfectly. Here is a link to that case: http://www.tek-tips.com/viewthread.cfm?qid=1390120&page=1 Now I need to update...
  11. Kongsjs

    How change Properties on a file from an application

    When you right click on a file in the File Explorer, and choose Properties (at the bottom). In the Properties window you the get choose tab folder Summary. There you have Tittle and comments + some more fields. There might be some fields only shown in "Advanced" view I also need to change.
  12. Kongsjs

    How change Properties on a file from an application

    Hi I need to change the Title and Comments on files (.txt) from a PB application. I know how to read the Properties, but I dont know how to update them. Is there anywone that could help me ? Thanks in advance !!!
  13. Kongsjs

    How get File Properties in Powerbuilder

    Hi citclasspb I dont know how to get the directory size, but if you need to know if a directory contains files or not, youcan use DIRLIST, and put the result into a listbox, etc. If you then use function TotalItems to count files in the listbox, you will get what you want. If you need to know...
  14. Kongsjs

    Number of rows in Nested Report

    Hi I have a datawindow that have 2 nested reports inside. The man datawindow always have 1 row, but the nested reports could have several rows. I need to know how many rows there is in each nested report. Anyone who know how to code this in PB ? I am using version 6.5 of PB. Regards Kongsjs
  15. Kongsjs

    How get File Properties in Powerbuilder

    Hi You are right of course. But there wasn’t any values in the fields over 34 on the file types I have tested. If you or someone else have a more complete list of property fields they would share, so would that be very nice.
  16. Kongsjs

    How get File Properties in Powerbuilder

    Hi I have tested the solution with OleObjects, and that work perfektly. The function "LastPos" wasnt in PB 7.0, but that was easy to make. An additional info is that if you change the number (3) to any other number from 0 up to atleast 34 you will get almost every property on files...
  17. Kongsjs

    How get File Properties in Powerbuilder

    Hi Is there anyone that know how to get the properties on files in windows from a PB application ? What I need is the modified Date and Time on files. I cant find a PB function that give this. It is probably a Microsoft program I can call to get this, but I have'nt found any and how to do it...

Part and Inventory Search

Back
Top