Jump to content

oceans

Members
  • Posts

    514
  • Joined

  • Last visited

    Never

Everything posted by oceans

  1. Thanks D.Shankar, its good!
  2. Any One want to add something that could help me. Thanks.
  3. Thanks Mate, Do you think Java and its script will help me on my implementation. I do not want to call up a file at run time.
  4. I want to implement browser based POS system (replacement for my application based), I only know PHP browser based language as for now. For POS system, to open cash door latch we need this I/O. Bar code input as well. If you suggest an easy alternatives for this browser based initiative, I will be happy.
  5. I am sorry, I still can't get you. To be honest, I could not google "samophlange" as well. I mean, I could not find a listing for this term. OK lets talk about the simple one first, RS232, I need to have a micro-controller chip and RS232 bridge, we need DLL or OCX from Microsoft, then we write code (in the PC) to opening com, communicate output, listen for input, close com. For USB 2.0, I have the micro-controller chip, and the device driver (for PC) for it. My intention, is to push ascii char to the chip and get receive some returns. As for the chip routines, I can handle separately. As for VB implementations I can handle at the PC side well, the situation is I need to implement in PHP. Thanks
  6. Thanks for your advice. I could not understand you "samophlange" can you explain.
  7. Hi people! I want to I/O with RS232 or USB 2.0 using php. Firstly can this be done? I know RS232 is dyeing, maybe dead soon, so lets look at USB 2.0. Please suggest how should I go about. I have done similar implementations on VB, thus I should understand your technical suggestions. Thanks
  8. Thanks I will, I will be greatfull if you refer me to any, I am going in a circle getting no where
  9. Dear people, I trying to get things going, but I could not put things in place. Thanks.
  10. Dear people, Please help, you may refer me some where if you know. Thanks.
  11. Dear People, Does anyone know how I can get real-time video stream on my webpage? I have a camera placed at a spot, it will give out real time video stream. I want this stream on my web page. Please guide me, I have developed a number of web based applications, this type is my first. Thanks.
  12. I thank you. Not only because you solved it, you took effort to handle a "forgin language" for me.
  13. I think we are locking on, let me mutate your C to my B.
  14. Corbin I Thank you, Though you mention you are not good in VB, you are lending your hand. Thanks. Flow --> 'code in my sub main() --> create one if not present (if present End the program) -->Form1.Show --> "now we are in form1"--> on exit of the program -->Form_Unload. My situation I keep on opening same applicaition. (if present End the program) does not happen
  15. I am trying to use the following code for MUTEX operation, but it is not working, I am failing to find where I am going wrong. "I want only one instance of my application to run at any one time, the new instance should END with no harm to the old one" Can you point out where I am wrong. (My code does not prevent the second instance) 'code in my sub main() Option Explicit Public Declare Function OpenMutex Lib "KERNEL32.DLL" Alias "OpenMutexA" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Boolean, ByVal lpName As String) As Long Public Declare Function ReleaseMutex Lib "KERNEL32.DLL" (ByVal hMutex As Long) As Long Public Declare Sub CloseHandle Lib "kernel32" (ByVal hPass As Long) Public Declare Function CreateMutex Lib "KERNEL32.DLL" Alias "CreateMutexA" (ByVal lpMutexAttributes As Any, ByVal bInitialOwner As Boolean, ByVal lpName As String) As Long Public LongMutex As Long Public Sub Main() If ProgramRun = True Then End Form1.Show End Sub Private Function ProgramRun() As Boolean Dim ReturnReleaseLong As Long Dim ReturnCloseLong As Long If OpenMutex(0, True, "Project1") Then 'ReturnReleaseLong = ReleaseMutex(LongMutex) 'CloseHandle LongMutex ProgramRun = True Else LongMutex = CreateMutex(ByVal 0&, False, "Project1") ProgramRun = False End If End Function 'code in my form Option Explicit Private Sub Form_Unload(Cancel As Integer) Dim ReturnReleaseLong As Long Dim ReturnCloseLong As Long If OpenMutex(0, True, "Project1") Then ReturnReleaseLong = ReleaseMutex(LongMutex) CloseHandle LongMutex End If End Sub
  16. Any one has working code for mutex. I am trying, but could not get it right. Do you think if I post my small code, you can find my mistake.
  17. Thanks, I will go to your suggested link. Can I ask you for a help, can you view the following link, I desprerately need help there. "http://www.phpfreaks.com/forums/index.php/topic,237870.0.html" Thanks a million.
  18. Can I use VB6.0 to access MySQL. Please guide, if there were to be any ocx to help
  19. Thanks for moving. Can anyone please help me. I tried almost all my tricks, but could not fix it.
  20. Can anyone (with privilege) please help me push this topic to “Other Programming Languages”. I could not start a new topic over there (don’t know why). My Question: I have used VB6.0 to develop an application to do database (I/O) work on MS Excel file. I am using the OCX which came along with the studio suite. Things are running fine. I want to password protect the Excel file (“to open” password). When I do this, I can’t access the MS Excel file via my VB application. Please help me on how to supply the password via my application so that my application will be able to open and process the data. Thanks a lot.
  21. Btherl could be busy. Can any one chip in please.
  22. Dear btherl, May I ask you a personal favour? The more I read, the more I get confused, probably because, I am facing a situation right now. (My old session ID entries are never destroyed, they keep on accumulating) My first page will find & make a unique session ID at run time. This session ID will be carried to all the pages till the user walks away from my domain. All I want is, the session ID in the server & the client to be destroyed after walking away from my domain or after a 20 minutes of idle connection. Please suggest me All the typical session directives (and its typical values) for me. I really appreciate your help.
  23. Thanks, I think Session values are stored in server, and not in client (Please confirm this). "session.cache_expire" what does this means, it appears very close to "session.gc_maxlifetime" session.cache_expire 180 180 session.cookie_lifetime 180 180 session.gc_maxlifetime 1440 1440 I am confused with the units are they seconds or hours? Because for these values, I see thousands of entry of session numbers (when I list the active session values), while the traffic is very low, which means the session numbers are not removed. I am greatful, Can you please explain.
  24. Can any one give me quick explanation to the following (I read the PHP manual but I got a bit confused): max_execution_time (if set to "0", it is no limit right? What happens if a function in page falls to infinite loop, will this page always be open even if the browser is cutoff by user) session.cache_expire (180 is it minutes? ) session.cookie_lifetime (what is the diff between the above, sounds about the same to me) session.gc_maxlifetime (I could not figure out) implicit_flush (Ideally this is not necessary right, as when the page is closed or transferred, all data pertaining to the current page gets destroyed right) max_input_time (is this client dependent)
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.