Search results for query: *

  1. FuZion

    Problem after deployment

    Hello, I'm having a problem with my application after I publish it. When I install it on another computer, and then attempt to use some SQL .mdf database functions, the program crashes and says that sqlserv.exe(something like that) is not responding. Is there something I'm doing wrong when...
  2. FuZion

    Update How To

    Hi there, Basically, I have an application that I would like to be able to check for updates from a webserver. Now, this application will have many files that need to remain the same such as a SQL Server database file and a few folders that the program will copy to dynamically. So, in order...
  3. FuZion

    last insert id of insert method

    Ok so can I do that within the INSERT query method itself? Because right now I call tableAdapter.customInsertMethod(xxx,xxx,xxx,xxx) and I believe it returns the number of rows affected, because it returns 1 every time. But the VS wizard adds a select statement that I rewrote to select the...
  4. FuZion

    last insert id of insert method

    I have an insert method, of which I need the id that was automatically added via an identity. How do I get this? Thanks!
  5. FuZion

    Best method for invoicing

    Well I have been messing around with iText, but when I try to declare a new document, it says that a reference to assembly vsjlib containing the implemented interface java.util.addeventlistener is required, but I have referenced everything that I downloaded with iText. Did I forget something?
  6. FuZion

    Best method for invoicing

    Something cheaper? Maybe a solution I can implement myself?
  7. FuZion

    Best method for invoicing

    Hi there, I'm currently writing a program that will generate large amounts of invoices, and I've been looking info PDF programs/dlls, but they're so expensive. Do you guys have any ideas for alternatives? I'll be emailing these to clients, as well as printing them. Thanks!
  8. FuZion

    DataGridView prevent it from adding a row

    Hello, I have a datagridview on my form and I'd like to prevent it from adding a row whenever the user edits the last row. I need a button that will add a new row to the datagridview.. is this possible? Thanks!
  9. FuZion

    Dictionary randomly loses content

    They don't.. the point it was losing content was within a separate thread, thus it was unable to access the dictionary and it would return a count of 0 when debugging. All fixed now, thanks for your help!
  10. FuZion

    Dictionary randomly loses content

    This is what loads the dictionary data at form load Private Sub frmMain_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'Add MySQL Table Info my_tabs.Add("accts", "`jmif96_mfs`.`accounts`") my_tabs.Add("acctsNotes"...
  11. FuZion

    Dictionary randomly loses content

    Hi there, I'm using a Dictionary object to store the table names for db queries that I use, and different forms/objects reference this via a property on my main form. But, after a few data reads the table name begins to return nothing, and the count of my dictionary, previously 9, is zero...
  12. FuZion

    LCD Display

    I'd like to write an application that will control the visual output of a second monitor connected to the computer. I would need the monitor, to sleep when the vb program hasn't sent any output after a while, and I'd need the application to be completely full screen, it would be best if this...
  13. FuZion

    DB Escape String

    Ok, I really appreciate the responses guys! I have implemented this, but I'm having a problem with the SQL now. When I call cmd.Parameters.Add("?val", paramVal) where paramVal is an integer, the value is added to the SQL with quotes, and since it is an INT datatype there shouldn't be quotes...
  14. FuZion

    Background Worker Problem

    Hey there, I'm having some problems with a background worker accessing for elements. I know there is a certain way to do it (from google/ VS help), but I'm having trouble understanding it. I was hoping someone here could give me a quick explanation to help me out. Here is my code if it...
  15. FuZion

    DB Escape String

    Great, thanks guys!
  16. FuZion

    DB Escape String

    Ok, so how exactly does parameters prevent this?
  17. FuZion

    DB Escape String

    Hello, I'm looking for some sort of equivalent to PHP mysql_real_escape_string(). Basically it takes user input and makes it safe to use in queries ( ie preventing injection attacks ). Is there anything of the sort in VB.NET? What would you suggest? thanks!
  18. FuZion

    Question form closing

    Thats exactly what I am doing.. the login form is an MDI child and everything else is frozen until they login. Does the other way work better?
  19. FuZion

    Question form closing

    I figured they could reopen it, but I'd rather my application be a tad more user friendly.. there is no way to prevent them from closing just that MDI child form while allowing the MDI parent form to be closed?
  20. FuZion

    Question form closing

    But what if the form loads and the user accidentally exits the login form.. they wouldn't be able to reopen it and thus wouldn't be able to access the application.
Back
Top