Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: SavantMan
  • Content: Threads
  • Order by date
  1. SavantMan

    Transition from windows forms to ASP development

    I'm hoping someone can point me in the right direction. I have been developing windows forms applications with .Net for a few years now. I'm interested in becoming more proficent with ASP.Net development. Does anyone have suggestions of books and/or other training materials/methods are...
  2. SavantMan

    Newbie? - Response MailTo Tag

    First off, my experience is primarily with windows apps, so I appologize for the simplicity of this. This is using v1.1 of the framework: I've added a button to a aspx page that generates a new email - contents, who it's going to etc. info generated in code. The entire value of the link is in...
  3. SavantMan

    Deployment/Custom action question

    I have a deployment project that I'm setting up. I need to perform a different custom action based on whether this is a first time install or an update. Does anyone have any idea if it's possible to set the Condition property of a custom action to determine if the currently running install is...
  4. SavantMan

    Single Instance App Setting trips MacAfee Firwewall

    I spent a bunch of time tracking this down (with Microsofts help) and finally found an answer. It seems like something that would normally be pretty common, so I figured I'd post something here in case others run into it so that others searching have hope of finding the resolution. The issue...
  5. SavantMan

    Anyone else use VistaDB?

    I'm more than likely going to be migrating an app from SQL to VistaDB --- has anyone else done this? If so, any gotchas to look for (either in coding or VistaDB in general?) Any opinions would be very appreciated. TIA
  6. SavantMan

    DataColumn.Expression in with DateTime

    I'm trying to do something that seems like it should be pretty simple, but haven't found a solution. I am trying to add a datacolumn to a datatable that adds or subtracts a number of days based on another datetime column in the table. See sample below. How do I do this? Any help would be...
  7. SavantMan

    use one user.config with 2 seperate .exe

    Two of the projects in my solution that both need to use a common user.config file. This is a data application - the executable that is created with the first project is the primary executable that users will be working with 99% of the time, the other is a seperate "maintenance" executable...
  8. SavantMan

    table merge error

    I'm having difficulty with a function and can't find what the problem is. The code is below. Essentially, it works fine if the target table (tbl variable in code) is empty, however if it contains rows prior to the method being called, the error "'column' argument cannot be null" is thrown on...
  9. SavantMan

    Setup/Deployment Prerequisites

    I am deploying a project that uses SQLExpress (2005) -- I've successfully configured the pre-requisite package to properly install my instance. What I'd like to do is include the sqlexpr32.exe file with my deployment package as first time intallers will never have met the prerequisite...
  10. SavantMan

    Trouble inserting image into DB

    I have a stored procedure that is intended to simply insert an image into a DB. The data back end is MSDE. When the procedure executes, it returns: "Failed to convert parameter value from a Bitmap to a Byte[]." Anyone have any idea what might be wrong? ''' <summary>Inserts a new object...
  11. SavantMan

    Multi-User Data App Architecture

    I'm working on converting my application from a single user, to a multi-user. The current architecture is with an MSDE data back end (switching to SQLExpress soon, but not quite yet). Each user connects to the database directly - the connection string is stored encrypted in a local file, and...
  12. SavantMan

    datacolumn.expression with apostrophe in string

    I have a need to set the expression of a datacolumn to calculate based on another field, plus a string. The problem is if that string contains an apostrophe, it's recognized as a a single quote. ie: Dim c As New DataColumn c.Expression = "[UserName] & ' is users name'" <-- works fine...
  13. SavantMan

    splash screen with .showdialog in startup form

    I have an application written in VB 2K5 (don't think this functionality existing back in 2K3 edition). I have a splash screen set for the project, and in the startup forms load event I check to see if the user is registered and if not show a nag form modally (via .showdialog). The problem is...
  14. SavantMan

    Initialize bound textbox with string.empty instead of null

    I have a bound textbox that needs to never store a null value when commited to the DB, yet this is exactly what happens. What I've done to try to resolve the problem is to specifically set the text property to System.String.Empty - but a null is still stored to the DB. I know the logic is...
  15. SavantMan

    Error: Cannot change DataType of a column once it has data

    I'm running into a problem when filling a DataTable with data from an Excel file. The DataTable is filled with datatypes that the fill method has "guessed" are correct -- the problem is I need them to be treated as strings, and sometimes they come in as Double. When attempting to change the...
  16. SavantMan

    Customize Build Process

    I need to customize the build process beyond just selecting which projects get built in what order. What I want to happen is when I select "Release" 1: pop a dialog confirming I want to build (release build takes several minutes, and I regularly forget to switch back to "debug") 2: Build...
  17. SavantMan

    Form Closing event not firing

    I've got an application I need to display a "nag" screen for on shutdown if the user hasn't entered a valid registration key. I've got the appropriate code in the closing event of the main form of the application, but the event doesn't seem to fire. I've put a breakpoint here and which doesn't...
  18. SavantMan

    divide by zero error

    Scenario: A dataset exists with a number of columns in it. I want to add a new column that will divide ColA by ColB. How I've accomplished this is pretty simple, simply create an instance of DataColumn, and set the .Expression property to ColA / ColB. The problem is when I get to a row where...
  19. SavantMan

    enforce event calling on inherited classes

    I have an abstract class that about a dozen sub-classes inherit from. I want to enforce that each sub-class shadows an event in the abstract class, but can't quite figure out how to do this. Basically, all of the inherited classes deal with data in some way or another. I need to make sure...
  20. SavantMan

    Able to tell when bindingsource can EndEdit

    I have an application that uses the new bindingsource class (part of the V2 framework). In addition, I'm binding the enabled property of certain buttons to properties of a wrapper class that I've written around the bindingsource. Most is working fine, but having difficulty with a couple of...

Part and Inventory Search

Back
Top