Search results for query: *

  1. C

    protect database data

    I am hoping someone here will give me some ideas. I am developing and system which will use a mysql database. The asp.net application will be hosted by a web hosting company which has mysql support. I will have several users of this application. Due to the fact that the company hosting the...
  2. C

    Why can I not get hashing to work

    Okay, I went back to where I am orginally loading the code and converting it to a memorystream. And tested it by writing it back to disk. Now this bit of code worked fine yesterday, but, today it is adding a bunch of garbage to the end of the file. Here is this code: Dim encoder As New...
  3. C

    Why can I not get hashing to work

    myFileMain is a Byte Array. The myFileMain stores the UTF-8 encoded original file. The strOutFileArray3 is a string for the location of the file that has been written to disk with the hash and file length appended to the file. Thanks, Chester
  4. C

    Why can I not get hashing to work

    I input a XML file with UTF-8 encoding. I get the file length and hash the file, I write out the file and append the hash and length to the file. I input this newly created file, extract the hash and length from it and then calculate the hash on data. When I view the data before and after...
  5. C

    Memorystream copy to two new memorystreams

    Okay, here is my code: Dim msNewStream As New MemoryStream Dim msstreamhass As New MemoryStream msNewStream.Write(msStream.ToArray, 0, msStream.Length - (hashsize * 8)) Dim intP As Integer = msStream.Length - (hashsize * 8) intP = msStream.Length...
  6. C

    Access to mysql database from other computer(VB.net/Mysql)

    The methods will be a little different. ODBC is older than the connector. The .net connector is not to big of a download and ODBC will probably one of these days go away. Chester
  7. C

    Access to mysql database from other computer(VB.net/Mysql)

    Have you downloaded the .net connector or ODBC? I prefer the .net connector for mysql. You can find it here http://dev.mysql.com/downloads/connector/net/1.0.html. And this link will descirbe how to connect using the connector...
  8. C

    Access to mysql database from other computer(VB.net/Mysql)

    The mysql server will need a user created that has access from other computers or the computer where the client is located. Now the client program can either use the servers computer name or IP address to connect to the mysql server, I prefer the IP. Chester
  9. C

    MS Access

    Where do you open the connection to the database? Also, in your catch block, what if there is another error other than the one that is coded? Chester
  10. C

    DataReader To DataSet

    To make things easier, you should use import statements at the very top of your code. Imports System.Data Imports System.Data.OleDb Now yu will not need to use the fully qualified name. Just use something like this: Dim myConn as Oledb.connection 'much easier Next you need to...
  11. C

    Specified cast is not valid

    Are you using a datareader or a dataadpter? Chester
  12. C

    Design issues with an access database

    Jon, Designing a good database is not as easy as it sounds. Especially when you start working with a relational database model. You have different types of relationships to consider, primary keys, foreign keys, possibly concatenated keys and much more. I have been designing a "simple"...
  13. C

    How textbox binding with database ???

    Are you talking about when you enter text into the textbox your database changes? Chester
  14. C

    Access DataBase & Textboxes

    What do you mean navigate Access using textboxes? Do you want to enter a string and then query Access with it? There are several methods that are invloved with editing any type of database. What are you wanting to do? Delete records, edit records or add new records, or do a combination of...
  15. C

    Disable Keys.

    You can look at the Sender and if the sender is Alt then set e.handled to true. I have not tried it with Alt, but it may look something like this: Private sub myTextBox_KeyPress(ByVal sender as object, ByVal e As System.Windows.Forms.KeyPressEventArgs) _ Handles myTextBox.KeyPress If...
  16. C

    Windows App datarow error

    am writing an application where my user makes a selection with a combo box and then it pulls up the appropriate information for the selection. If the user approves of the selection he clicks a button which adds the information to another dataset. Everything works fine except when the button is...
  17. C

    Data tier, dataview with combobox

    I had to initiliaze the dataview... It was sending an empty dataview back...
  18. C

    Refreshing and removing DataBindings

    This is a Windows ADO App. I have a form which allows a user to select a PO number from a combo box. I then get a dataset based on this information and bind some labels to various parts of the data. Now when the user makes a new selection I want these labels to reflect the new changes and not...
  19. C

    Passing variables between classes

    I am creating a two tier application for database connectivity. I have all of my connections, dataadapters, etc in a single class named ReqTrakData (ReqTrakData.vb) On a form a user makes a selection from a combo box. I save this selection to a Public variable (mstrSelectedNum) which has been...
  20. C

    Data tier, dataview with combobox

    I have a datatier which has all of my connections, dataadpters, etc. One of my dataadpters pulls out a concatenated field like this: SELECT DISTINCT ROW [tblMaster].Prefix & [tblMaster].Num & [tblMaster].Change AS ReqNum FROM [tblMaster] Okay the dataset (dsReqNum) is fine from the...
Back
Top