Jump to content
Xtreme .Net Talk

Rick_Fla

Avatar/Signature
  • Posts

    188
  • Joined

  • Last visited

About Rick_Fla

  • Birthday 10/28/1975

Personal Information

  • Occupation
    Applications Systems Analyst/Programmer
  • Visual Studio .NET Version
    Visual Studio .NET 2003 Enterprise Architect
  • .NET Preferred Language
    VB.NET

Rick_Fla's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. me.close will close all forms only when calling that from the form that starts-up when the application starts. That can be changed by creating a Sub Main and starting from there. **edit** Crap sorry was not looking at how old the post was, was looking for something else and had a brain meltdown.
  2. Most sites I have read says you should, and it does not state using or not using parameters, is to do a replace on ' with '' so that it helps prevent SQL injection. But others sites I have read state what I said above, sql knows not to run the parameter as a SQl command. Have fun testing and please post your results.
  3. Read this site, might help out. http://winfx.msdn.microsoft.com/library/default.asp?url=/library/en-us/wd_adonet/html/33e09965-61d5-48cc-9e8c-3b047cc4f194.asp basic idea, SQL treates the parameter as it would one in a stored procedure. it knows it is a value and not a command to run. Thus making it so the injected command is not ran by the SQL server but treated as a value to say, a wehere clause. Hope this helped.
  4. Found the problem, sort of. The page is now submitting, so I will work on the rest for now. I removed all the validators and it was happy again. So I am not sure what the deal was.
  5. Anytime. I guess it is the same key used by companies to "brand" IE.
  6. Sorry for the misunderstanding. I have tested it under both methods. I have made it only SSL at one point, but it was not working. The webconfig file currently looks like this. <authentication mode="Forms"> <forms name=".EPERMIT" loginUrl="login.aspx" timeout="30"> </forms> </authentication> but at one point I had the requiressl set to true and the loginurl was to the https: site. But the above method works fine, but I would rather it be secured. Thanks!
  7. Well, the application I was looking for is one I would install. So what I did was make a change in the registry under the following key: HKLM\Software\Microsoft\Windows\CurrentVersion\Internet Settings\User Agent\Post Platform Add a String key with the name "Boo" or whatever you wish, leave the value blank. That adds an extra header to IE. So now you can look at the header info for the browser and check if that value exisits.
  8. has anyone else had a problem with a secure page not doing a post back? I have a login page that works just fine when accessing from a http address. But when I access it using https and click on my login button, nothing happens. I inserted a response.write line and I see it working on the http but no the https when the button is clicked. Is there something special I have to do in the code behind? I can provide examples if needed. I am using forms authentications if that makes any differences.
  9. Found a way to do this. So this issue is closed.
  10. try http://vbxmldoc.tor-erik.net/news.shtml
  11. Is there anyway for a website to check for an installed application? Or is there a way to add to IE's information a header object so when someone visits a site, it knows the application is installed? Example, might be easier to explain. We have an application that an end user will install on their machine. Just a simple VB.NET application. On the website, the will click a button that will call the application with some parameters. This is working well. The problem, if the application is not installed, it gives them a page not found. What I would like to do, is when the user goes to this page, the page will know if the application is installed, enabling the button. If not installed, enable a download button. please let me know if I need to explain this a little better. Thanks in advance for any help. I am still doing the google searching right now.
  12. Mister E - I have put break points on the code. The raiseevent code is firing, the event handler is not firing. PlausiblyDamp - This is not a server control, it's a normal class object. What I am trying to do, and maybe I will just not go this route, is trying to put all the validation in the class and not on the page itself. So I am trying to use the event to notify the page that the data entered was bad data. I am trying to go with the whole business layer idea, where all the logic is in the class, and not in the UI (being the webpage and code behind). Thanks for the help though, I am not sure if I am explaining myself.
  13. Ok, my google skills have failed me. I try and search for the answer but keep getting caught on custom control event, which is not what I want. Here is what I am trying to do. I have a Class Called SiteUsers. In the class I have an event declared as such: Public Event BadData(ByVal PropertyName as string) Inside the class I have a property Public Property UserName() As String Get UserName = m_Username End Get Set(ByVal Value As String) m_UserName = value RaiseEvent BadData("UserName") End Set End Property Just for a test I was raising the event no matter what, just to make sure things were happy. On my Code behind File I Declare the object Private WithEvents oSiteUser as SiteUser In the load event the object is getting set with a new statement passing it some needed code. To capture the BadData event, I have the following Private Sub BadData (ByVal PropertyName as string) handles oSiteUser.BadData 'Some code End Sub I set a break point on the Sub and it never gets called. What am I missing here? I am new to the ASP.NEt world, so I am not sure what I could be missing, or if the postback stuff is screwing me up. Thanks for any pointers you can hand my way.
  14. Let me be the first to say Congratz!
×
×
  • Create New...