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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by mikecx

  1. mikecx

    System.NullReferenceException Help

    That's going to be difficult as one is just an included dll file. Any idea how to step through something like that?
  2. mikecx

    System.NullReferenceException Help

    Also, since it calls mapphystolin i'll add that, sorry it's a bit long. PBYTE _stdcall MapPhysToLin(PBYTE pbPhysAddr, DWORD dwPhysSize, HANDLE *pPhysicalMemoryHandle) { PBYTE pbLinAddr; tagPhys32Struct Phys32Struct; DWORD dwBytesReturned; if (!IsWinIoInitialized) return false...
  3. mikecx

    System.NullReferenceException Help

    bool _stdcall GetPhysLong(PBYTE pbPhysAddr, PDWORD pdwPhysVal) { PDWORD pdwLinAddr; HANDLE PhysicalMemoryHandle; if (!IsWinIoInitialized) return false; pdwLinAddr = (PDWORD)MapPhysToLin(pbPhysAddr, 4, &PhysicalMemoryHandle); if (pdwLinAddr == NULL) return false...
  4. mikecx

    System.NullReferenceException Help

    Result = GetPhysLong(Val("&H" + get_reg.Text()), PhysVal) is the line that is throwing the error. I'll try stepping through the code and making sure of that but I know get_reg.Text() is not null so i'll check out the other variables. Any other information I can provide that will help with this I...
  5. mikecx

    System.NullReferenceException Help

    The following code produces the error in the subject line. Am I missing something simple? Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim Result As Boolean Result = InitializeWinIo() If (Result = False) Then...
  6. mikecx

    Backup Option Help

    Seems to be the fault of user error and that's what we are trying to fix. All except the .pst file thing. A recent back-up was missing the .pst file which is very important to most users. My guess is that the file was in use during the back-up. The half of the tech dept's. usual procedure is...
  7. mikecx

    Backup Option Help

    I forgot to mention, we are already using Tivoli. JUst finding that it is still inneffective and refuses to backup some important data such as outlook .pst files. We need something company wide that takes the work out of it for the end-user and doesn't require them to have a internet connection...
  8. mikecx

    Backup Option Help

    Thanks for the suggestion gwichman. I'm also looking for things that are outside the box. This is a global company with 36,000 users so I'm assuming the budget isn't limited very much. All the servers here are backed up nightly so that wouldn't be a problem. Thanks for any suggestions.
  9. mikecx

    Backup Option Help

    My manager here at work has asked for some help on a project she is working on. The project is to improve the current data back-up process which has proved to be pretty much useless. Current back-ups rely on the user and can sometimes miss important files or be horribly out of date. The new...
  10. mikecx

    Quick DB String Help Needed

    I fixed that problem, it turned out to be and order of operations mistake but this one still isn't working right. It will work if there is only one selected but not if there are 2 or 3: If curhs <> &quot;anyschool&quot; then strSQL1 = &quot;SELECT * FROM dbo.PCGA WHERE dbo.PCGa.curhs...
  11. mikecx

    Quick DB String Help Needed

    Sorry for the quick updates but here's the code that almost works. It works except for the second code block. It appeasr to me to be the same as the first and third but it wont work. If curhs <> &quot;anyschool&quot; then strSQL1 = &quot;SELECT * FROM dbo.PCGA WHERE dbo.PCGa.curhs =&quot...
  12. mikecx

    Quick DB String Help Needed

    Updated a Bit: If curhs <> &quot;anyschool&quot; then strSQL1 = &quot;SELECT * FROM dbo.PCGA WHERE dbo.PCGa.curhs = &quot; & curhs ElseIf curhs = &quot;anyschool&quot; then strSQL1 = &quot;SELECT * FROM dbo.PCGa&quot; End If If appfine <> &quot;Any&quot; and curhs =...
  13. mikecx

    Quick DB String Help Needed

    I have 3 things being passed from a form. All need to be checked. The code works if all are left alone, basically set to none. If they aren't it whines. I know it's something simple to do with the syntax but I can't see it. curhs = Request.Form(&quot;schoolis&quot;) appfine =...
  14. mikecx

    reuse RecordSet

    Have you tried Rs.MoveFirst? NOt sure if it helps you at all but it should take it to the begining of the Rs again.
  15. mikecx

    Avoid duplicate post and resubmission?

    From what I read you want them to be able to go back and re-submit, you just don't want 2 records. If this is correct, onpnts suggestion wont work for you. I'd suggest storing a session variable and basing the sql string upon. If the session varaible is blank, then Insert * into dbo.blah.blah...

Part and Inventory Search

Back
Top