Search Results - VBForums

Search:

Type: Posts; User: experience

Page 1 of 4 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: Read/Write to Encrypted file without Decrypting the whole file - possible?

    Ok what i'm thinking then is to encrypt one table of data inside the database and not the whole database file itself. I've spent months creating the data and don't want a competitor to easily open...
  2. Read/Write to Encrypted file without Decrypting the whole file - possible?

    I have an encrypted sqlite database which decrypts when my application starts and encrypts when the app closes down - it is encrypted using the Rijndael method

    Currently the data is retrieved by...
  3. Re: Exporting Access Database and importing to SQlite - Encoding issue with symbols Ω

    Fixed (my error!)

    i double checked the design view of the table in the Access and one of the columns was set to type 'number' instead of 'text' - i changed it to 'text', exported the database as...
  4. Re: Exporting Access Database and importing to SQlite - Encoding issue with symbols Ω

    Actually i'm just testing it and it opens the database in UTF8, all the symbols are showing - however it is still throwing the 'specified cast is not valid' error - maybe this is referring to...
  5. Re: Exporting Access Database and importing to SQlite - Encoding issue with symbols Ω

    The main reason I've changed to sqlite is to secure the database (it is also lighter/faster than access which is a bonus) - unfortunately the only security Access offers is password protection which...
  6. Re: Exporting Access Database and importing to SQlite - Encoding issue with symbols Ω

    The table columns are varchar except one column which contains images (blob)
  7. [RESOLVED] Exporting Access Database and importing to SQlite - Encoding issue with symbols Ω

    Im trying to export my data from an access database and import it to an SQlite database, however some of the characters have encoding issues such as Ohms Ω which displays as a ? in the database
    ...
  8. Re: Read last 200 lines of a text file

    thanks dunfiddlin - Paul beat you to it - however i do appreciate your help!

    Many thanks
  9. Re: Read last 200 lines of a text file

    Superb Paul :D

    Works a treat - many thanks for your help guys - it really is appreciated!!
  10. Re: Read last 200 lines of a text file

    This returns the whole logfile perfectly


    Public Function ReadLog() As String
    If File.Exists(Strings.LogFile) Then
    Using tr As TextReader = New...
  11. Re: Read last 200 lines of a text file

    I can return the whole logfile which i've tested successfully - however if the logfile gets big it will fail to send
  12. Re: Read last 200 lines of a text file

    basically if a client has a support issue, the client runs a diagnostics report through the software which gets emailed to me via a httpwebrequest - i want to append the last 200 lines of the log...
  13. Re: Read last 200 lines of a text file

    When i return the whole logfile using a single return command it comes out such as:
  14. Re: Read last 200 lines of a text file

    A single string i presume, i simply want to read the last 200 lines and return them using a single return command - e.g. return logfile
  15. Re: Read last 200 lines of a text file

    Sorry, i'm getting lost :blush:


    ' Read last 200 lines of log file
    Public Function ReadLog() As String
    Dim lines As String() = IO.File.ReadAllLines(Strings.LogFile)
    Dim...
  16. Re: Read last 200 lines of a text file

    Where would i put the location of the text file in this code?

    i.e. c:\logfile.txt

    I tried


    Private Function getLast200Elements(Of T)(ByVal a("c:\logfile.txt") As T) As T()

    however this...
  17. Re: Read last 200 lines of a text file

    VS 2010 - however its compiled for .net 2.0 to maximize compatibility
  18. Re: Read last 200 lines of a text file

    Thanks guys, unfortunately i don't appear to be having much luck with either of these solutions

    Paul:i get an error using the following code:




    ' Read last 200 lines of log file
    ...
  19. [RESOLVED] Read last 200 lines of a text file

    I'm trying to read the last 200 lines of a text file - however the following returns a single line (line number 200 from the end of the file) instead of the last 200 lines


    Dim lines As String()...
  20. Replies
    4
    Views
    338

    Re: Remove Line Break

    That seems to join the 2 lines instead of splitting them


    Dim str As String = SerialTextBox.Text.Replace(" ", vbCrLf).Replace(vbTab, vbCrLf)
    Dim lines = str.Split({vbCrLf},...
  21. Replies
    4
    Views
    338

    Re: Remove Line Break

    oh so it does, how would i select each line instead of each character?
  22. Replies
    4
    Views
    338

    Remove Line Break

    Hi, can anyone tell me how to remove the extra line break when using this code:


    Dim str As String = SerialTextBox.Text.Replace(" ", vbCrLf).Replace(vbTab, vbCrLf)
    For Each s As...
  23. Re: Quick Question - how would you do this?

    Thanks :blush: - Sorry just read other threads across google and some people said you couldnt use @@IDENTITY in access

    However, i found a great webpage showing how to retrieve the LastID with...
  24. Re: Quick Question - how would you do this?

    Am i right in thinking that scope_identity() & @@IDENTITY cannot be used with an Access database?
  25. Re: Quick Question - how would you do this?

    Hi, yes i just cant get the code suggested to work with my existing insert statement

    Existing

    Dim sql1 As String
    sql1 = "INSERT INTO Products (SKU, Brand, ProductName,...
  26. Re: Quick Question - how would you do this?

    Unfortunately i'm still having trouble getting this to work :(

    The pic below shows the 2 tables (Products & SerialNumbers)

    I thought it was best if the serial numbers were put in their own...
  27. Re: Quick Question - how would you do this?

    That link you sent may contain the answer :)
  28. Re: Quick Question - how would you do this?

    I want to work out how to add the productid and serialnumber to the serialnumber table

    This adds the product details to the products table without any issues


    Dim sql1 As String
    ...
  29. Quick Question - how would you do this?

    I'm creating an access inventory database, one product can have many serial numbers e.g. 10 laptops same model, different serial numbers

    I have 2 tables:
    1. Products (Columns=ProductID...)
    2....
  30. Replies
    2
    Views
    1,074

    Re: Exclude .asp from url rewrite

    Have tried dozens of combinations without success :frown:

    I would have thought adding this would have excluded all .aspx pages but i'm not sure why it wont work


    <add input="{URL}"...
  31. Replies
    2
    Views
    1,074

    Re: URL Rewrite stops ASP page from posting

    I think i add need to add a 2nd rule to stop .aspx pages from being redirected

    I've tried the following but it doesnt work


    <rule name="san aspx">
    <!--Removes the .aspx...
  32. Replies
    2
    Views
    1,074

    Exclude .asp from url rewrite

    I've installed a new wordpress website

    In order to get friendly links on the website i have added the following code to my web.config - however my existing .aspx page wont post unless i remove it...
  33. Re: Database Security - Which Database to use?

    After doing a bit of reading i see the SQL CE can be deployed with the reference dll's included, so sql server doesnt need to be installed on the client PC :)
  34. Re: Database Security - Which Database to use?

    So i could use SQL SE & CE without having to install any sql software on the client PC?

    I use MySQL on my own PC for my localhost testing, again could that be used on a client pc without having to...
  35. Re: Database Security - Which Database to use?

    Database needs to be stored on the local machine, which rules out SQL server express & CE.

    Local databases that i know of:
    Access (Free-little security)
    Sqlite (Free-Moderate security)
    Oracle...
  36. Re: Database Security - Which Database to use?

    Database needs to be stored on the local machine, which rules out SQL server express & CE.

    Local databases that i know of:
    Access (Free-little security)
    Sqlite (Free-Moderate security)
    Oracle...
  37. Re: Database Security - Which Database to use?

    Shaggy, what database would you personally use if you were selling a desktop program?
  38. Database Security - Which Database to use?

    Currently my .net Desktop app uses an access database which i know has little security.

    I need to secure the data so am looking for suggestions on the type of database to use.

    I've tried SQlite...
  39. Re: Windows 8 - Program Has Stopped Working - Incompatible Program

    forgot to update - it ended up being the 3rd party obscurification i use. Replaced the reference files and all is working :)
  40. [RESOLVED] Windows 8 - Program Has Stopped Working - Incompatible Program

    My vb.net software wont work on windows 8 :blush:

    I'm running windows 8 x64 on a virtual machine

    When i open the program, it crashes and a message pops up "myprogram has stopped working"
    ...
Results 1 to 40 of 158
Page 1 of 4 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.