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

    Pass Cognos parameter to Manual SQL

    Hi, Anyone can help me passing a Cognos Report Studio parameter (type string) to an SQL statement in the backend? I found some information on this, on the www, but unfortunately, it doesn't work. This is what I have so far: CASE WHEN #promptmany('Parameter1')# IS NOT NULL THEN...
  2. dbe123

    Help with Conversion of VB(?) code to C#

    Hi guys, Still some issues with the above. It seems like the C# function always returns a TRUE value, regardless of which user is logged in. In other words, all users are authorised (which is certainly not the case). A collegue of mine (who is an expert PHP programmer) supplied me with the...
  3. dbe123

    Help with Conversion of VB(?) code to C#

    Hi Jason, That's exactly what the function needs to do. All of the valid users are grouped in one specific Active Directory Group. If the user can login to this group, he is authenticated to use the web application. If an error occurs, the user must be rejected. I agree that the code isn't...
  4. dbe123

    Help with Conversion of VB(?) code to C#

    Hi Jges, Those libraries are imported in the new solution. I also added a reference to the ADODB library. That's not the problem I think.
  5. dbe123

    Help with Conversion of VB(?) code to C#

    Hi Jason, Thanks for your reply. I've heard about the new DirectoryServices which are built in in the .NET Framework, however I have no knowledge how to use them, or how to access them at all. I should probably study a good tutorial about this matter, which will cost precious time. In order...
  6. dbe123

    Help with Conversion of VB(?) code to C#

    Hi, An ex-worker of our company left the following code: function AuthenticateUser(UserName, Password, Domain) dim strUser ' assume failure AuthenticateUser = false strUser = UserName strPassword = Password strQuery = "SELECT cn FROM 'LDAP://" & Domain & "' WHERE objectClass='*' " set oConn...
  7. dbe123

    Combining a VBScript with an .HTA (Create GUI to get User Input)

    Thanks for the tip. I've modified my code as below http://www.plaatscode.be/131152/ I get the progressbar to display now, and the copying process still works after clicking the button. Every file is copied, which is just fine. The progress bar however, keeps incrementing till he reaches...
  8. dbe123

    Combining a VBScript with an .HTA (Create GUI to get User Input)

    Remou, I saw that Thread, but I'm unable to implement it in my script. Another thing: this opens in a new window, which I don't want. I would like the <div></div> named "LogOut" to display the progress. One more thing I saw in my code, the declaration of the Source & Destination folders was...
  9. dbe123

    Combining a VBScript with an .HTA (Create GUI to get User Input)

    Hi Remou, Thanks for your reply. This helped me a lot... I'm still unable to display the progress of the copy process. My code so far: <html> <head><title>LocalWeb Update Utility</title> <HTA:APPLICATION ID="oHTA"; APPLICATIONNAME="LocalWeb Update Utility"; ICON="Backup.ico"...
  10. dbe123

    Combining a VBScript with an .HTA (Create GUI to get User Input)

    Hi all, I'm having difficulties integrating a VBScript to an HTA. In fact, the VBScript will synchronize 2 directories, checking if files have changed. The script works fine, and now i'd like to have some User input. This user input will be achieved by using a HTA. I'd like the users to...

Part and Inventory Search

Back
Top