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 IamaSherpa 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. pianoben

    remove password protection

    Hi, Several companies regularly send us password-protected PDFs, along with the passwords to open them. The problem is that our automated document processing system requires that PDFs have no security measures enabled. We're using Acrobat 6.0. Is there a reliable way to remove password...
  2. pianoben

    Exchange Public Folder script question

    Hello, experts! I'm unsure if this is the appropriate forum, but the Exchange forum didn't seem to deal much with scripts. So, if this is the wrong place, apologies. I am trying to write a script that will run when messages in a given public folder are posted or modified, and removes embedded...
  3. pianoben

    TabControl Question

    The TabControl itself doesn't have a BackColor property. However, individual tabs do, so you can change it like so: tabPage1.BackColor = System.Drawing.Color.Red;
  4. pianoben

    intellisense not recognizing functions in .dll

    What is the class's namespace? I would try using the command "using <namespace>" where <namespace> is the title of ErrUtil's namespace. Hope this helps!
  5. pianoben

    Parameter converting problem in a reflected method

    Thank you for your reply! Your suggestion to pass a pointer is interesting, but unfortunately the class is non-blittable, and Marshall.StructToPtr will not generate the pointer needed.
  6. pianoben

    Parameter converting problem in a reflected method

    I am trying to pass a complex object (a third-party component) as a parameter to a reflected method. The call to MethodBase.Invoke works properly, but when the actual method itself begins, so does the trouble. Invariably, at runtime the method throws an exception stating that Object of type...
  7. pianoben

    XPath Queries in C#

    The way that I have always done it is like so: string returnString = doc.SelectSingleNode("config/data_module/select_sql").InnerText; Hope this helps!
  8. pianoben

    Dynamic Default Values

    Remou, you're right; I did forget the quotes. It now works just as you said it would. Thanks a ton!
  9. pianoben

    Dynamic Default Values

    I placed DMax([PassID],[Passenger]) into the Default Value field of the textbox, which when run displayed the "#Name?" value.
  10. pianoben

    Dynamic Default Values

    Maybe I'm a dunce with Access, but Dmax didn't work for me, either. I still get the same erroneous output. Thanks for your fast response, though!
  11. pianoben

    Dynamic Default Values

    Never mind, I was able to generate the proper values using a VBA module attached to a button's OnClick event. Code below: 'Container variables Dim SQL, temp, p1, p2, p3, p4, p5, p6, p7, p8, c, q As String Dim rec As Recordset Set rec = CurrentDb.OpenRecordset("Passenger", dbOpenDynaset) Set...
  12. pianoben

    Dynamic Default Values

    I also tried using a macro that executes when the form opens that attempts to set the value of the field to "(SELECT Count(*) FROM Passenger) + 1". When the form opens, a message informs me that the macro has failed. I'm suspecting that maybe forms and SQL Aggregate functions don't mix, but I...
  13. pianoben

    Dynamic Default Values

    On a form (bound to the table 'Passenger')in Data Entry mode, I would like to have a text box bound to the primary key, automatically generate a default value. The primary key is an ID number, which is simply one greater than the previous entry. I've attempted several things. I've placed this...

Part and Inventory Search

Back
Top