Search

You searched for the word(s): userid:761313

Matching Posts

  • Re: SQL Where Clause With DateTime

    Yeah when a reserved keyword in SQL is used, you can surround that field name in brackets ' [ ] ' so that is resolves properly. Typically I just recommend staying away from using reserved names, but if you must the brackets should work. A suggestion would be to change the column named 'Date' to something like 'BreakDate' (because it looks like your table deals with tracking taking a break at work) or 'LastUpdate'. Here is the SQL with brackets: SELECT Date, UserID
    Posted to Visual Basic .NET (Forum) by atconway on 11/25/2009
  • Re: Vote Module

    Well without some sort of registration or permenant user tracking, it will be quite difficult to prevent users from voting more than once. As an alternative lets look at the reccomendations you made: Cookies: Can be cleared and user could vote again. IP or MAC address: User could go to a different machine and vote again. Email Address: User could put in a different email address and vote again. This issue is actually not unique to your system and is an inherient issue in most online voting systems
    Posted to Architecture (Forum) by atconway on 11/25/2009
  • Re: error '800a0400' / Expected statement error

    Here is one other actively used forum to add to the previous list: VB Forums: ASP, VB Script http://www.vbforums.com/forumdisplay.php?s=d9d1de6738484e13eb8a6ce54304b8ac&f=4 In fact read the forum description from the moderator: "Hello! Please note that ASP .NET has its own forum here . This forum you're looking at right now is for Classic ASP/VBScript questions." Re-post your question there and you should be able to get your issue resolved.
    Posted to Visual Basic .NET (Forum) by atconway on 11/25/2009
  • Re: Polymorphism question

    Thank you for fixing that- it is easier to understand your question now. I have a couple of recommendations but they don't relate exactly with your code example of idea. The concept of object state or determining the state is a good one and can be quite useful. Typically when I think of determining object state for doing whatever rules needed (update this or that, etc), I think of taking a 'snapshot' of the object at the beginning and then comparing it to that 'snapshot' later
    Posted to Architecture (Forum) by atconway on 11/24/2009
  • Re: How to display message on the Screen?

    Try this code instead: <script language="javascript" type="text/javascript"> function showMsg() { if(!document.getElementById(txtMsg).value=="") alert(document.getElementById(txtMsg).value); } </script>
    Posted to Web Forms (Forum) by atconway on 11/24/2009
  • Re: If Or statement in my form

    You could refactor that 'Or' block of code into its own method that would streamline the block of code above, but at some point you still need to define the valid extension types (at least as you rules imply). An example is below: Public Enum ExtensionTypes jpg = 1 png = 2 flv = 3 mp3 = 4 docx = 5 xls = 6 avi = 7 gif = 8 swf = 9 mov = 10 doc = 11 pdf = 12 xlsx = 13 End Enum Public Function IsValidFileExtension(ByVal ExtensionToCheck As String) As Boolean 'Initialize the value to return
    Posted to Visual Basic .NET (Forum) by atconway on 11/24/2009
  • Re: DLNA Player

    This link has a good discussion about the exact same topic: Creating a DLNA server/service in VB.NET: http://stackoverflow.com/questions/274470/creating-a-dlna-server-service-in-vb-net ...which included the following link (and other good ones too): UPnP AV Control Point: http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=6104&lngWId=10
    Posted to Visual Basic .NET (Forum) by atconway on 11/24/2009
  • Re: Could not load file or assembly 'AjaxControlToolkit, Version=1.0.10920.32880

    Something in that custom tool is hardwired to use that old version (1.0.10920) of the AJAX Control Toolkit, and if that version does not get referenced by your application as well, you will continue to receive that error message.
    Posted to ASP.NET AJAX Control Toolkit (Forum) by atconway on 11/24/2009
  • Re: Could not load file or assembly 'AjaxControlToolkit, Version=1.0.10920.32880

    [quote user="persistentDeveloper"]Could not load file or assembly 'AjaxControlToolkit, Version=1.0.10920.32880[/quote] Well 1st off that is a really old version of the AJAX Control Toolkit. I can see from your directory that you are using VS.NET 2008, so I reccomend downloading the newest version (3.0.36097) from the Codeplex site and starting from there: http://ajaxcontroltoolkit.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=36097 If you already have this .dll or one newer thatn
    Posted to ASP.NET AJAX Control Toolkit (Forum) by atconway on 11/24/2009
  • Re: Business logic layer

    [quote user="Mitja Bonca"]he proposed me that I rather split my code into business logic layer and data access layer. [/quote] This is a good practice; there are many reasons of why to do this. Some of the main reasons are separation of concerns, encapsulation of logic, and code reuse. The UI should not be accessing the database directly, or making business decisions by running through rules and validations. By doing this the UI gets quite heavy and the code becomes difficult to maintain
    Posted to Architecture (Forum) by atconway on 11/24/2009
Page 1 of 119 (1184 items) 1 2 3 4 5 Next > ... Last »