Search:

Type: Posts; User: SeanGrebey

Page 1 of 13 1 2 3 4

Search: Search took 0.06 seconds.

  1. Replies
    1
    Views
    614

    Empty or Integer Validation

    I have a textbox I need to validate it can be empty or it can be an integer. Any thoughts on how to set that up?
  2. Replies
    1
    Views
    447

    int? and null assignment

    How come I can't do this?



    public int? MaximumAcres
    {
    get { return tbMaximum.Text.Trim() == "" ? null : Convert.ToInt32(tbMaximum.Text); }
    set {...
  3. DataTable internal index is corrupted: '5' (Multithreading and DataTables)

    My users are sporadically getting this error. The issue seems to be and issue with multithreading and datatables in some legacy code (see below). Anybody have any thoughts on the best way to make...
  4. Re: Access Denied - Creating Directories when not authenticated

    Yep, it is, and I missed that I wasn't doing it on my directory creation. Thanks so much that fixed it.
  5. Re: Access Denied - Creating Directories when not authenticated

    Sure.

    m_strSavePath = "~\Documents\#" where number is a new ID. I bolded where it excepts because I don't have proper rights.




    Public Function...
  6. Re: Access Denied - Creating Directories when not authenticated

    I'm doing it under a ~\Documents\ directory. How do I determine what account the application runs under in debug on the local machine? In production it is Network Service in the app pool. I don't...
  7. [RESOLVED] Access Denied - Creating Directories when not authenticated

    As part of my new user setup, when they sign up for an account I create want to be able to create a directory under a Documents folder for them and then write a web.config file in that folder...
  8. Re: Trying to figure out where the best place to put a redirect would be...

    Well I want them still to be able to log in just not be able to access any page but the payment one. If they try to type in another URL I want it to redirect to the payment page. I just dropped it in...
  9. Replies
    1
    Views
    2,471

    Windows Service Sub Main?

    Ok forgive me if this is a stupid question. I haven't written a windows service is close to a decade let alone any non-web based applications so I'm rusty.

    I'm trying to create a simple service,...
  10. Trying to figure out where the best place to put a redirect would be...

    I am trying to setup a site so that whenever somebody tries to access a page, it checks a database table to see the status of the company a logged in user belongs to. If that company's account is...
  11. Replies
    1
    Views
    823

    Re: Function to calculate revenue

    If anybody had any interest this seems to have done the trick:



    Public Function CalculateRevenue(ByRef dRevenue As Decimal, ByVal dCosts As Decimal, ByVal dTargetOverhead As Decimal, ByVal...
  12. Replies
    1
    Views
    823

    Function to calculate revenue

    Am looking for some thoughts on how to do this. I wrote a project management application that has a financials section that has all the basic financials of a project. Project revenue, labor costs,...
  13. Replies
    0
    Views
    870

    Multiline Button Captions in IE11

    So I generate some buttons on the fly in my app. I notice today in IE11, the mutli-line functionality of the captions doesn't seem to work. Here is my code below. Anybody have thoughts on how to get...
  14. Re: Compiler Error Message: BC30456: 'Title' is not a member of

    Hrm ok anybody have any other help?
  15. Re: Compiler Error Message: BC30456: 'Title' is not a member of

    IS it something to do with the inherits, I noticed my page directive will be:
    <%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="Rates.aspx.vb"...
  16. Compiler Error Message: BC30456: 'Title' is not a member of

    So just recently I started getting this error randomly. I'll publish, and one page will get the error. I'll push the same exact files and run again and another page will get the error. Seems to be...
  17. Replies
    1
    Views
    583

    HTML Text Editor

    Does anybody have any recommendations for a third party editor? I had been using the AJAX Toolkit version but it is causing me some issues in Safari and I need to find a replacement.
  18. Re: JavaScript:__DoPostback commands not working on a couple pages

    Blah AJAX Control Toolkit HTMLEditorExtenders are breaking it where ever I have them for some reason...
  19. Re: JavaScript:__DoPostback commands not working on a couple pages

    That probably belongs in ASP.NET if a mod will move it for me.
  20. JavaScript:__DoPostback commands not working on a couple pages

    But only in Chrome and I.E..

    Took me a while to figure it out but anywhere a call is done through the above such as Logging Out or Delete or Edit Commands on a GridView the command isn't firing....
  21. Replies
    1
    Views
    640

    Re: Export Crystal to PDF help

    Here is the full error message:

    XML Parsing Error: no element found
    Location: http://localhost:50510/ASC/Admin/DisplayEstimateActual.aspx
    Line Number 1, Column 1:
  22. Replies
    1
    Views
    640

    Export Crystal to PDF help

    Imports CrystalDecisions
    Imports CrystalDecisions.Shared
    Imports CrystalDecisions.Reporting
    Imports CrystalDecisions.CrystalReports.Engine
    Imports System.Data.SqlClient
    Imports System.Data...
  23. Re: Weird...master page menu button events not firing on some pages only

    The issue is that the page is not posting back, so no events are firing. I'm not sure why the # sign is appearing but it never reaches code behind at all so encoding won't help.
  24. Re: Weird...master page menu button events not firing on some pages only

    <%@ Master Language="VB" AutoEventWireup="false" CodeFile="Site.Master.vb" Inherits="Site" %>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"...
  25. Re: Weird...master page menu button events not firing on some pages only

    No the master page is very simple, just the Navigation Menu and a LoginStatus control. The only code behind is catching the navigation menu on click and redirecting to different pages based on the...
  26. Re: Weird...master page menu button events not firing on some pages only

    Any other thoughts? The # sign is a result but doesn't explain what is causing the master page event not to fire. I put a break in the master page Page_Load event and that triggers on the page load...
  27. Re: Weird...master page menu button events not firing on some pages only

    Not sure if it helps, but when I click a button my URL changes slightly from:

    http://localhost:59516/ASC/Admin/Project.aspx?projectID=224

    to
    ...
  28. Re: Weird...master page menu button events not firing on some pages only

    Sorry yeah this should go in the ASP.NET forum if you could move it over for me thanks.
  29. Weird...master page menu button events not firing on some pages only

    This is a new error I wasn't having before not sure were it came from. I have a master page with a menu on it. I have found now two pages out of dozens where for some reason the master page events...
  30. Page loads by IP address but only by domain name in Chrome

    Any thoughts what would cause this. Just transitioned servers, in Chrome the domain name works fine, but in IE I get an error:

    This page can’t be displayed

    •Make sure the web address...
  31. Replies
    3
    Views
    2,362

    SMTPClient to GoDaddy to send e-mail

    Anybody happen to do this? I have a client using them for their e-mail, and they want to be able to send notifications via their e-mail from my application. I would think I could provide but it is...
  32. Directions for setting up a .NET website in IIS

    I don't think I've ever done it from scratch. Does anybody have any good directions online for setting up a default website on a fresh webs server in IIS 7. I've honestly always been at places where...
  33. Re: Possible to create a web.config and new role via code

    This is kind of where was going with this where intCustomerID as an index to a new row in a Customer table in SQL.



    Public Function TestWriteWebConfig(ByVal intCustomerID As Int32) As...
  34. Re: Possible to create a web.config and new role via code

    Hmm thanks for the reply I guess I asked it before and then got sidelined. Not quite what I want to do. I guess let me try what I want to do and see if it works.
  35. Possible to create a web.config and new role via code

    I have a system where different users can upload files. Internally to the system I have administrators and regular users who can upload files into directories protected with web.config files and...
  36. Re: Formatting sorted header column in gridview

    This is an old thread but this doesn't work for me at all has this changed?
  37. Change GridView Sort Link from blue to different color

    Tried this:

    <HeaderStyle CssClass="headerstyle" />

    And in the css:

    .headerstyle a{
    text-decoration:none;
    color:#7dad4a;
    display:block;
  38. Replies
    2
    Views
    778

    Site to see what color a hex code is?

    Anybody happen to have one book marked off hand? Trying to figure out what is what in some code with lots of hex color codes in it and if I code match color to the screen it would be a big help....
  39. Causes for type or namespace does not exist?

    Error 3 The type or namespace name 'BR' does not exist in the namespace 'Manatron.Common' (are you missing an assembly...
  40. Replies
    1
    Views
    578

    Income e-mails into Database Table

    I have an application that allows a section of notes to be e-mailed out to a distribution list. I have a request that responses to those e-mails be captured an shoved into a database table so they...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width