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

    Style vs Idiot-Proofing

    Hi Plenty of comments there ... I see a lot of: "I prefer to do it this way" etc. Isn't an important point, that most people seem to have missed, the fact that the style of coding you should create should entirely depend on the requirements i.e. "what sort of thing am I...
  2. SUNRlSE

    Windows CE.net

    I know this is a little out for this forum but I seem to get the best help here. Does anybody know if there are any compatability issues between ActiveSync 3.5 and WindowsCE.net. I am running ActiveSync on Win2k Prof and Cannot establish a connection to a PDA running CE.net Version 4 build 708...
  3. SUNRlSE

    ActiveSync 3.5 + Windows CE.net

    Does anybody know if there are any compatability issues between ActiveSync 3.5 and WindowsCE.net. I am running ActiveSync on Win2k Prof and Cannot establish a connection to a PDA running CE.net Version 4 build 708 Can anybody shed any light on it?????? Give a man a program and tomorrow he will...
  4. SUNRlSE

    How to get reference to Microsoft VBScript Regular Expressions

    Go to the windows setup in add/remove programs and ensure WSH is installed from your win98 cd. If not install it. Give a man a program and tomorrow he will be hungry. Teach a man to program and he will never hunger again. --[COLOR=RED]Sunr¿se
  5. SUNRlSE

    to get results from nine recordsts individually in same form

    I'd probably consider Summing the values before they go into a recordset so you'll have the data you require at the time of displaying them. Since you have the values in a table do the sum before returning. If its SQL you can easily do this in a stored procedure or if its Access call a query...
  6. SUNRlSE

    Line Input

    Thanks All. I've re-written in C++. That tends to be a lot better at things like this involving buffers and memory addressing. Problem now solved. Cheerz. Give a man a program and tomorrow he will be hungry. Teach a man to program and he will never hunger again. --[COLOR=RED]Sunr¿se
  7. SUNRlSE

    Stopping a loop when a command button click

    Sorry that sounded bad, I meant "in agreement with the other guys use Do Events" ;¿) Give a man a program and tomorrow he will be hungry. Teach a man to program and he will never hunger again. --[COLOR=RED]Sunr¿se
  8. SUNRlSE

    Line Input

    I can copy the file to Another and just delete the last three quarters so to vb the file is exactly the same just shorter....this works fine. Its as though it has to process the whole file before doing the line input. The shorter the file is the quicker line input becomes EVEN with identical...
  9. SUNRlSE

    Stopping a loop when a command button click

    I'd use a boolean in a while loop while <your condition> AND not bClicked wend But like the other guys don't forget Do Events Give a man a program and tomorrow he will be hungry. Teach a man to program and he will never hunger again. --[COLOR=RED]Sunr¿se
  10. SUNRlSE

    Line Input

    This is the code where it hangs. It was done very quick so I know its sloppy, no text dereferences etc Private Sub Split_Click() On Error Resume Next If (CInt(txtFields) < 1) Or (CInt(txtFields) > 4) Then MsgBox &quot;Fields must be 1 - 4&quot; Exit Sub End If Screen.MousePointer =...
  11. SUNRlSE

    Line Input

    Hi all I've got a problem with Line Input. When I open a smallish file for input, I can read the first line to a string. However one of the files I need to read is 5.9 meg, By my reckoning the file size shouldn't make a difference as VB holds the file open with a pointer to position, BUT as...
  12. SUNRlSE

    Disable F1 key.

    Does anyone know how to disable the F1 key from bringing up help (win2k included)??? I need to stop all function keys in IE which I've managed to do with some JavaScript. I use the onKeyDown event and this works for all the function keys (stops F5 refresh and F3 etc). HOWEVER even though the...
  13. SUNRlSE

    MSXML reference not working

    Oh yeah I use Dim objXmlDoc as NEW MSXML2.DOMDocument30 I don't instantiate with a SET statement I just use it after this one dim line. eg objXmlDoc.Load = &quot;c:\File.xml&quot; This will parse the xml into a DOMDocument which you can then manipulate. Give a man a program and...
  14. SUNRlSE

    Packaging and Deployment / Distributioin

    What Dave means is. IF (CreateAccessDSN(&quot;MyDsn&quot;,&quot;C:\MyDb.mdb&quot;) THEN msgBox &quot;DSN Created&quot; 'or whatever code you want ELSE Msgbox &quot;DSN not Created&quot; 'or whatever END IF Give a man a program and tomorrow he will be hungry. Teach a man to program and he...
  15. SUNRlSE

    MSXML reference not working

    Your using the wrong declarations. The intellisense (drop downs) for this declaration are wrong. Try this: Dim objXML AS New MSXML2.XMLHTTP30 Give a man a program and tomorrow he will be hungry. Teach a man to program and he will never hunger again. --[COLOR=RED]Sunr¿se
  16. SUNRlSE

    Event logging

    Write it as a function which returns boolean and you can can easily error check it. (if userid is a global variable) Private Function WriteLog(strEvent as String) AS Boolean On Error GoTo Error_Handler Open &quot;c:\test.txt&quot; For Append As #1 Print #1, cstr(userid) & format(date(), _...
  17. SUNRlSE

    Web Page OCX

    Without certificate just drop all your IE security settings and you should have no problem. Give a man a program and tomorrow he will be hungry. Teach a man to program and he will never hunger again. --[COLOR=RED]Sunr¿se
  18. SUNRlSE

    How do I get information from a text file to use in my program?

    Just read the entire file into memory as a string. Alter what you need (can use InStr for example to find) then write it all back. Give a man a program and tomorrow he will be hungry. Teach a man to program and he will never hunger again. --[COLOR=RED]Sunr¿se
  19. SUNRlSE

    Anyone 4 Trace messages/Transaction list?

    Does anyone else here have a problem getting trace messages or the transaction list to show anything. Am I missing something and being REALLY dumb :) Grateful 4 any response. Give a man a program and tomorrow he will be hungry. Teach a man to program and he will never hunger again...
  20. SUNRlSE

    MTS returns out of memory when returning 270 records

    Hi there. I also have had some experience with this out of memory. I found that mine was due to other instances of the MSDTC service running for some reason. When my components started sitting there just spinning I checked task manager/processes and sure enough there were other instances...

Part and Inventory Search

Back
Top