Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
J

Jason Weibel

@Jason Weibel
About
Posts
142
Topics
64
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • mouse hover popup
    J Jason Weibel

    Looking at the controls more closely I can created the desired popup by using the Animation control. I appreciate your response. Thank you.

    Jason

    Web Development csharp asp-net

  • mouse hover popup
    J Jason Weibel

    On http://www.asp.net/ajax/showcase/ when you hover over a showcased site a window will popup giving more detail about the site. What control is providing this functionality and where can I find a sample. Thank you,

    Jason

    Web Development csharp asp-net

  • Edit.ScrollLineDown (Scrolls text down one line) command.
    J Jason Weibel

    Thanks for the help – that's what I needed to know.

    Jason W.

    Visual Basic visual-studio com question

  • Edit.ScrollLineDown (Scrolls text down one line) command.
    J Jason Weibel

    How can I change VS 2005 shortcuts so CTRL + DOWN ARROW does the Edit.ScrollLineDown (Scrolls text down one line) command. Thank you,

    Jason W.

    Visual Basic visual-studio com question

  • SFTP using FtpWebRequest class?
    J Jason Weibel

    The server is running and I have no problem connecting with WS-FTP. I'm starting to wonder if FtpWebRequest works for SFTP. I have been reading some blogs and others are having the same problem but no one has a solution. Here are some links: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=346870&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=532122&SiteID=1 At this point I'm going to look into other ways to get this resolved.

    Jason W.

    C# csharp com sysadmin security cryptography

  • SFTP using FtpWebRequest class?
    J Jason Weibel

    Here is the C# version - I'm really not interested in getting into a C# is better then vb debate. I just want get this working so I can move on to the next item on my to do list. private void List(string listUrl, string username, string password) { StreamReader reader = null; FtpWebRequest listRequest = WebRequest.Create(new System.Uri(listUrl)); System.Net.ServicePointManager.CertificatePolicy = new TrustAllCertificatePolicy(); listRequest.Method = WebRequestMethods.Ftp.ListDirectoryDetails; listRequest.KeepAlive = true; listRequest.EnableSsl = true; listRequest.Credentials = new NetworkCredential(username, password); FtpWebResponse listResponse = listRequest.GetResponse(); reader = new StreamReader(listResponse.GetResponseStream()); } public class TrustAllCertificatePolicy : System.Net.ICertificatePolicy { public bool CheckValidationResult(System.Net.ServicePoint srvPoint, System.Security.Cryptography.X509Certificates.X509Certificate certificate, System.Net.WebRequest request, int certificateProblem) { return true; } }

    Jason W.

    C# csharp com sysadmin security cryptography

  • SFTP using FtpWebRequest class?
    J Jason Weibel

    Vb.net and c# are the same thing, more people visit this forum so I figure there is a better chance of getting an answer here.

    Jason W.

    C# csharp com sysadmin security cryptography

  • SFTP using FtpWebRequest class?
    J Jason Weibel

    I am attempting to read an SFTP directory using the FtpWebRequest class, but am getting the error 'Unable to connect to the remote server'. Here is my code: Private Sub List(ByVal listUrl As String, ByVal username As String, ByVal password As String)  Dim reader As StreamReader = Nothing  Dim listRequest As FtpWebRequest = WebRequest.Create(New System.Uri(listUrl))  System.Net.ServicePointManager.CertificatePolicy = New TrustAllCertificatePolicy  listRequest.Method = WebRequestMethods.Ftp.ListDirectoryDetails  listRequest.KeepAlive = True  listRequest.EnableSsl = True  listRequest.Credentials = New NetworkCredential(username, password)  Dim listResponse As FtpWebResponse = listRequest.GetResponse()  reader = New StreamReader(listResponse.GetResponseStream()) End Sub Public Class TrustAllCertificatePolicy  Implements System.Net.ICertificatePolicy   Public Function CheckValidationResult(ByVal srvPoint As System.Net.ServicePoint, _ ByVal certificate As System.Security.Cryptography.X509Certificates.X509Certificate, _ ByVal request As System.Net.WebRequest, ByVal certificateProblem As Integer) As Boolean Implements System.Net.ICertificatePolicy.CheckValidationResult  Return True  End Function End Class I appreciate any advice you can provide into what I'm missing. Thank you,

    Jason W.

    C# csharp com sysadmin security cryptography

  • 2.0 Framework Zip Class
    J Jason Weibel

    In the 2.0 framework is there a class that will provide functionality to do zipping and unzipping of file? Thank you,

    Jason W.

    .NET (Core and Framework) com question

  • SSL Connection?
    J Jason Weibel

    Problem resolved - the certificate was setup for the current user but not for the local computer. Thanks for your help; do you happen to know of a good article on certificates?

    Jason

    ASP.NET security help csharp asp-net com

  • SSL Connection?
    J Jason Weibel

    Looking at the LogonUser could the problem be with the dwLogonType (LOGON32_LOGON_INTERACTIVE) I am using?

    Jason

    ASP.NET security help csharp asp-net com

  • SSL Connection?
    J Jason Weibel

    I'm running Windows XP Professional Service Pack 2 - thoughts?

    Jason

    ASP.NET security help csharp asp-net com

  • how to compare whetther a substring is available in striong or not
    J Jason Weibel

    I'm still working with 1.1 so that is good to know when I move to 2.0 – thank you. I see your point with using the IndexOf and agree it will provide better performance then the function.

    Jason

    ASP.NET tutorial question

  • code being displayed at the top of the page
    J Jason Weibel

    Sorry Todd you have me stumped, if you discover the answer please let me know what it was – best of luck.

    Jason

    ASP.NET help csharp css asp-net sysadmin

  • code being displayed at the top of the page
    J Jason Weibel

    Now I am getting a better picture, first a clarification codebehind is the page.vb file which the page.aspx inherits from. Question, is the application written with spaghetti code like an asp app, where the vb code is in the same file as the html?

    Jason

    ASP.NET help csharp css asp-net sysadmin

  • how to compare whetther a substring is available in striong or not
    J Jason Weibel

    To the best of my knowledge .Contains is not available to string variables. It is for ArrayList and other Collection objects. If this is wrong could you please show me an example?

    Jason

    ASP.NET tutorial question

  • how to compare whetther a substring is available in striong or not
    J Jason Weibel

    Using IndexOf will work but the System.Text.RegularExpressions is a better way, here is an example. Private Function InLine(ByVal Line As String, ByVal Value As String) As Boolean   Dim r As Regex = New Regex(Value, RegexOptions.IgnoreCase)   Dim m As Match = r.Match(Line)   If m.Success Then Return True Else Return False End Function

    Jason

    ASP.NET tutorial question

  • code being displayed at the top of the page
    J Jason Weibel

    When an app is compiled in debug mode and an unhandled error occurs the error will be printed to the screen along with the code that it erred on. My guess was that a custom component was being used for the header and that erred. The message was sent to the screen and that is want you were seeing. To help resolve this could you tell me more about your environment? What version of visual studio, language, are frames used? The other guess I had was the original developer used response.write for debugging and that is what you are seeing.

    Jason

    ASP.NET help csharp css asp-net sysadmin

  • Buffering or Caching.
    J Jason Weibel

    To improve performance in my apps I utilized Elvin Cheng's ViewState Provider article. See here

    Jason

    ASP.NET help tutorial

  • How to from a textbox template column
    J Jason Weibel

    As I understand it, since you are creating the datagrid dynamically the viewstate must be rendered before you can use the findcontrol method. Try moving the findcontrol to the page prerender and see if that resolves the problem.

    Jason

    ASP.NET tutorial question announcement
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups