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: *

  • Users: mikej28621
  • Order by date
  1. mikej28621

    Using Selfcert to disable the 'enable macros' prompt in outlook

    Not sure about the problem. I just recreated it with: makecert -r -n "CN=test 2004" -b 01/01/2000 -e 01/01/2099 -eku 1.3.6.1.5.5.7.3.3 -sv test.pvk test.cer cert2spc test.cer test.spc pvkimprt -pfx test.spc test.pvk I left the password blank and took the defaults for all the rest except I...
  2. mikej28621

    SQL Query Statement

    All I have are Visual Basic for applications microsoft excel 10.0 object library ole automation microsoft office 10.0 object library microsoft forms 2.0 object library microsoft ActiveX Data Objects. 2.0 library These are fine unless you distribute to people with older versions of Excel...
  3. mikej28621

    Using Selfcert to disable the 'enable macros' prompt in outlook

    I assume you double-clicked on the .pfx file and installed it. From there open Outlook then Alt-F11 to open the VBA interface. Go to TOOLS>DIGITAL SIGNATURE select the certificate from the browse button and OK it and close the VBA interface. Close Outlook and reopen it. It may prompt you to...
  4. mikej28621

    Using Selfcert to disable the 'enable macros' prompt in outlook

    PS once you get a .PFX file then you can just double click on it to except it. Then in VBA interface go TOOLS>DIGITAL SIGNATURE select the certificate and save the file. Close the file and reopen it. When prompted check "Always turst macros from this source then click Enable Macros...
  5. mikej28621

    Using Selfcert to disable the 'enable macros' prompt in outlook

    From what I remember and my notes basically 3 steps. (fill in with your own info and file names - run from command line) 1. makecert -r -n "CN=Your Name" -b 01/01/2000 -e 01/01/2099 -eku 1.3.6.1.5.5.7.3.3 -sv selfcert.pvk selfcert.cer 2. cert2spc selfcert.cer selfcert.spc 3. pvkimprt -pfx...
  6. mikej28621

    Using Selfcert to disable the 'enable macros' prompt in outlook

    Your goal is a certificate that you can install. It will be a .pfx file. Look at this page. http://www.source-code.biz/snippets/vbasic/3.htm M
  7. mikej28621

    SQL Query Statement

    Ron, Here is one of my own examples.... Dim cn As New ADODB.Connection Dim cnstr As String Dim CurrLib, ipadd As String ipadd = "192.168.1.1;" CurrLib = "lib1" cnstr = cnstr & "DRIVER=Client Access ODBC Driver (32-bit);" cnstr = cnstr &...
  8. mikej28621

    SQL Query Statement

    Cha Ching..... Ron checkout http://support.microsoft.com/default.aspx?scid=kb;en-us;124218 Sample 8: Using Long SQL Query Strings NOTE: There is a maximum limit of 255 characters in a SQL query string. You may also receive GPFs if the length exceeds 127 characters. Use the method below to...
  9. mikej28621

    SQL Query Statement

    Ron, Sounds like no matches to your query. Did you get an error or just no records? Did you go to the 400 and do a STRSQL and paste your query there. That will tell you. Any query that returns an answer there should work from ODBC. M
  10. mikej28621

    SQL in VB . NET

    skarosi, Check out http://www.w3schools.com/ado/ for some good examples. M
  11. mikej28621

    VB .NET connecting to FOXPRO DB

    Post more code and check out http://www.w3schools.com/ado/ M
  12. mikej28621

    VB dot net data base connection to FOX PRO DB

    Check out http://www.w3schools.com/ado/ M
  13. mikej28621

    SQL Query Statement

    comconrk, any luck? M
  14. mikej28621

    SQL Query Statement

    Oops That was STRSQL.... M
  15. mikej28621

    SQL Query Statement

    Very interesting, there could be a max SQL parameter on the 400 that I don't know about but it would not be the default setting. I just performed a query of 417 characters (incuding spaces) with no problems. I have done it on several AS400's for years. 2 things... could you post more of your...
  16. mikej28621

    SQL Query Statement

    comconrk, What is the error message and what method are you query the 400. I perform much longer querys and have never found a limit. There are limits on the timeslice that the 400 will allow to execute the query. M
  17. mikej28621

    ODBC Query error

    xlbo you turned out to be correct. I had checked it but I guess I did not get it right. It turned out to be the regional settings. It was giving the date as '1/1/2004' rather then '01/01/2004' Thanks again to all that answered. Once again the simplest answer was the correct answer. Mj
  18. mikej28621

    ODBC Query error

    Good advice everyone and thanks again. The ODBC driver shown above is the older version. I tried it after the newer one failed with the same error. I am using a DNS'less connection so the regional settings should be the same and I am using the same user name and password in the connection...
  19. mikej28621

    ODBC Query error

    I am running an ODBC query from MS Excel agains AS400. Select B3GLAC, B2TRDT, B1VND#, B2DESC, B1VNAM, B3TITM+B3TFGT+B3TTAX-B3TDSC as Test, B1PON#, B1INV#, B3REF#, B3GLPX FROM YADPOS2.b3billl1 INNER JOIN YADPOS2.b2billl3 on B3REF# = B2REF# and B3SEQ#=B2SEQ# INNER JOIN YADPOS2.b1billl0 on B2REF#...

Part and Inventory Search

Back
Top