Search results for query: *

  1. F

    Problems with Pagesettings (PrintDocument)

    Here is my code... private bmp as bitmap Private Sub GridDetail_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles GridDetail.Click bmp = getsnap(GridDetail) 'PrintDocument1.Print() PrintPreviewDialog1.ShowDialog() End Sub Private Function getsnap(ByVal ctrl As...
  2. F

    Change ASCII code

    What are you trying to accomplish? Encrypting a password? Please enlighten us.
  3. F

    Insert - Loop??

    I know you are using SQL Server, but the solution in Oracle would be something like this...and hopefully SQL Server has the same capabilities. Declare a cursor by selecting specific records by a key. This creates an array in PL/SQL (even though its called a cursor). Then you loop through...
  4. F

    Deleting record causes error

    The Foreign Key is acting as a constraint. You MUST delete the record on the other table first, then proceed with the delete on the intended record
  5. F

    sequence not incrementing

    Try using a trigger when you insert a record that gets the max sequence number and adds one, then inserts it into the record. This should always be done on the database side. You only hurt your program's performance this way....
  6. F

    Error in Opening vb.net connection to oracle 9i

    Post your code, including the connection string
  7. F

    Oracle stored procedures

    I think you are missing the code that sets the command type to stored procedure. Can you post your code again? Just the part that creates the connection object, opens the connection, creates the command type, set command type to stored procedure and the line of code that executes it.
  8. F

    Oracle stored procedures

    Have you tried creating the stored procedure through the VS IDE? What version of Oracle are you using?
  9. F

    Oracle stored procedures

    Have you tried issuing the command from the client using SQL*Plus or something similiar? Are the ODP drivers the most up to date? Check out this link... http://download-east.oracle.com/docs/html/B28089_01/extenRest.htm I saw this on there, very interesting... Unsupported SQL Commands...
  10. F

    Oracle stored procedures

    Try renaming your stored procedure to something else other than "vb".
  11. F

    Oracle stored procedures

    You should always post what you have done so far
  12. F

    Oracle stored procedures

    SQL Server examples will work for Oracle. You only have to change the property to reflect which class you are using ie. OledbClient, OracleClient. SQLCommand would be oledbcommand or OracleCommand, SQLConnection would be OledbConnection or OracleConnection Dim sqlINS As SqlCommand Dim sconn...
  13. F

    OleDB can't AddNew record and Save or update record and delete record in my Acce

    BTW... Most books don't always have their code correct
  14. F

    Error In My Delete Code

    So what is your error? No one can help you if you don't mention what it is. Saying that you can't do it like your book is NOT an error description.
  15. F

    DateTimePicker value match with db value

    No database was specified. So I'll do this the VB way... Use the Format function on both dates so that they can be compared. Format(inDate, "MM/dd/yyyy") or whatever mask you please for the second parameter in the function
  16. F

    Error In My Delete Code

    Try something like this... sqlINS.Parameters.Add("@CopyPointsFile", SqlDbType.VarChar, 50).Value = textbox1.text
  17. F

    SQL Server and Crystal Report is too Slow

    At the risk of bringing hellfire of this forum upon me, Use Oracle!
  18. F

    ADODB.connection

    You can reference www.connectionstrings.com for your connection string for different databases.
  19. F

    Smart Client with Oracle?

    Don't know SQL Server that well. Try asking in that section of VBDOTNETFORUMS
  20. F

    Smart Client with Oracle?

    You can use the SQL examples almost to the "T". Depending on whether you use the Oledb or OracleClient class for your connection. Both of them have corresponding methods to the SQLClient class. SQLConnection, SQLCommand would be OledbConnection, OledbCommand or OracleConnection...
Back
Top