Search results for query: *

  • Users: RTT
  • Order by date
  1. R

    how to convert special characters?

    nice.. thxs a lot
  2. R

    how to convert special characters?

    now i just made this function. this removes all the caracters that are dangerous for my script from the input string Public Function removeChars(ByVal input As String) As String input = input.Replace("'", "") input = input.Replace("[", "") input = input.Replace("]", "") input =...
  3. R

    how to convert special characters?

    now we're talking :p how can you limit the control? can you make it that they can't enter a ' or waht do you mean by limiting. never done it before.
  4. R

    how to convert special characters?

    indeed, i'm currently trying what characters lead to errors so i can remove them....
  5. R

    how to convert special characters?

    i have a textbox that receives input from a user: for example he enters: frank's special surprise this is save in a string input when i try to to enter this into a query like: "UPDATE dbo.resource SET description = " & input & " where id = 1" because of the ' in the inputstring the query...
  6. R

    how to convert special characters?

    In php you have a function htmlenities to convert special character. for example if you write a string to an sqlserver but the string contains ' you'll receive an error in your sql-query. is their an easy way to escape or convert these special characters?
  7. R

    datagrid of datatable to excell

    found solution to my problem: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_vsto2003_ta/html/odc_VSTMultCR.asp
  8. R

    datagrid of datatable to excell

    I'm using windows 2000 with excel 2000 SP3, i import the microsoft office 9.0 object library. But when i user your code i receive the error "System.Runtime.InteropServices.COMException (0x80028018): Old format or invalid type library." at those lines like: Excel.Workbooks.Add() also...
  9. R

    accessing directory over network

    I can access a directory with this code. Dim strPath As String = "\\be0001\Users\josgijsens" 'Dim strPath As String = "c:\" Dim strFile, strDir As String For Each strDir In Directory.GetDirectories(strPath) RichTextBox1.AppendText(Path.GetFileName(strDir) & vbCrLf) Next For Each...
  10. R

    accessing directory over network

    Working with folders and files in VB.Net i want to create an application to search files on a server. But i don't know where to start. is there anyone who has code that he or she is willing to share? I'm searching for code to search files with a specific extension. I think to main problem is...
  11. R

    Sending mail in outlook through a mail template

    found a way to make it work.. but oulook allows voting. is there a way to give the voting options with the mailtostring?
  12. R

    Sending mail in outlook through a mail template

    maybe a stupid question but where do i find: Microsoft Outlook Visual Basic Reference section? every user has outlook installed and running when they visit the webpage... that's what i'm sure of...
  13. R

    Sending mail in outlook through a mail template

    I found this code: http://www.c-sharpcorner.com/Internet/SendingEmailsThroughOutlookCB.asp and this work partly... with this code i can save the mail in the draft folder. But i can't get it to display to the user. mailitem.display does not seem to work. so now i'm searching for a way to open...
  14. R

    Sending mail in outlook through a mail template

    moet je hier niet ergens meegeven welk programma ofzo je gebruikt. want ik krijg deze error: The system cannot find the file specified Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the...
  15. R

    Sending mail in outlook through a mail template

    and can you ad values to the body of the mail that way? what object is process?
  16. R

    Sending mail in outlook through a mail template

    Hi, In my code i want to open a mail template like when you click a mailto-link, so the person views the mail, but the mail uses a certain template. Certain things should already be filled in when the person gets the mail. Like send to, subject and some parts of the template. Other things have...
  17. R

    Active directory? on what base does it connect.

    here is my current situation. I develop a program on my computer's localhost. From there i contact Active directory succesfull using a connectionstring like: LDAP://OU=BE,OU=SE,DC=eu,DC=aagp,DC=corp. This works fine. My computer is in and OU under the BE folder, and so is my User. I have no...
  18. R

    Active Directory. groups of groups...

    i can search the active directory to find the groups and i can search users and find out of what groups he's a member. But now i have to find a group, and find out what groups he's a member of, but i don't know where to start.... anybody who has an idea? thxs in advance
  19. R

    redirect and mail on error

    i want to make it so, that when an error accurs, the people get redirected to an error page, and that the error is being send to me. in the web.config file i added: <customErrors defaultRedirect="error.htm" mode="RemoteOnly" /> in the global.asax i added: Sub Application_Error(ByVal sender...
  20. R

    SQL Problem

    I think i narrowed down the problem. I wanted to build a system to report problems. So on every page i created this try-catch: try... ... ... Catch ex As Exception Response.Redirect("error.aspx", False) End Try in the try-block i frequently used Response.redirect("page.aspx), but then he...
Back
Top