Search:

Type: Posts; User: sebs

Page 1 of 13 1 2 3 4

Search: Search took 0.72 seconds.

  1. Replies
    0
    Views
    731

    RC4 Encryption + File Upload

    Ok, I'm giving up.

    I am encrypting every data on my website before saving it to a MS Access database. The encryption used is RC4 and I found the script on the net.

    Everything works fine, the...
  2. Replies
    0
    Views
    290

    Database + Password

    Hi there,

    I am copying a database(MS Access) with ASP, how would I set the password for the new database through code ?

    Thanks in advance.
  3. Thread: Which is faster ?

    by sebs
    Replies
    9
    Views
    664

    Re: Which is faster ?

    Exactly Al42, Bruce, I am thinking sort of like a cursor, I would have something like "text text text{1}text text text{2}text text{3}text text text text" in my string, that's why I was think if it...
  4. Thread: Which is faster ?

    by sebs
    Replies
    9
    Views
    664

    Re: Which is faster ?

    Sorry, not sure I get what you are saying ?

    A 100 was just for an example...
  5. Thread: Which is faster ?

    by sebs
    Replies
    9
    Views
    664

    Re: Which is faster ?

    No, not yet...

    If the Replace function could return the location of the string replace, I could do my next replace from there. Unless I do a InStr just before my replace and then I tell the...
  6. Thread: Which is faster ?

    by sebs
    Replies
    9
    Views
    664

    Which is faster ?

    Imagine I have a variable that has a lot of text in it, let's call it strLargeString, and in it, there's string like {1}, {2}, {3}, etc.. what would be faster?

    For x = 1 to 100
    strLargeString...
  7. Replies
    9
    Views
    1,273

    Re: Linked tables in MS Access

    FINALLY !

    I figured it out, I used some of the code I had to backup our sql database.

    Anyway, the trick is to create the link from code:

    DoCmd.TransferDatabase acLink, "ODBC Database",...
  8. Replies
    9
    Views
    1,273

    Re: Linked tables in MS Access

    Yeah, I just tried, it says that there's no linked tables :(
  9. Replies
    9
    Views
    1,273

    Re: Linked tables in MS Access

    Nah, it asked me for the password and when I put it in, it just refreshed the table.

    I need to be able to query the database thru asp.

    I found this piece of code:


    Option Compare Database
    ...
  10. Replies
    9
    Views
    1,273

    Re: Linked tables in MS Access

    Small update !

    I created my own dsn, now when I select it in the dsn list, I do not get prompt for my password, but as soon as I close MS Access and reopen it, I get prompt for it again.

    If I...
  11. Replies
    9
    Views
    1,273

    Re: Linked tables in MS Access

    Geez, that's what I've been reading on the net, but I double triple checked and I cannot see that damm option :(

    I have read somewhere that you could store the password in the tabledef of the...
  12. Replies
    9
    Views
    1,273

    [RESOLVED] Linked tables in MS Access

    Hey,

    I have a linked(from MS SQL Server 2K5) table in MS Access 2K and I cannot query it because it is asking me for the password everytime.

    I do not see an option to save the password in my...
  13. Replies
    4
    Views
    561

    Re: How to run .ASP Page

    You need to go by the IP and the port, you can just open up the file from the network, you have to open it through the IIS so it process the asp!

    Something like http://192.168.0.9:8072/

    Good...
  14. Replies
    3
    Views
    494

    Re: This is pissing me off (AffectedRows)

    Where in the statement, I never used the @@Rocount before.

    But why is the AffectedRows not working, it's suppose too !!!

    Thanks
  15. Replies
    3
    Views
    494

    This is pissing me off (AffectedRows)

    Why would the recordset not return the number of rows affected, I have example in a book that show a select returning the number of rows selected !!


    Public Function RunQuery(ByRef QueryString)...
  16. Replies
    3
    Views
    489

    Re: read text from another url

    You'll need the XMLHTTP opbject:


    Dim objXMLHTTP

    Set xml=Server.CreateObject("Msxml2.ServerXMLHTTP")

    xml.Open "GET" , "http://www.somesite.com" , False
    returnedContent = xml.responseText
  17. Replies
    3
    Views
    461

    Re: Frames and Request Form Data

    Here's what I would do, that is if there's not too much info being submitted!

    Use the get method to submit your data and in your frameset, when you specify the filename, do something like
    ...
  18. Thread: .dbf locked !!

    by sebs
    Replies
    17
    Views
    1,242

    Re: .dbf locked !!

    Hmm, the program is an old dos Book Manager, I don't think that we can ask for a change.

    I will have to tell my client to run a backup and run my program on the backup file.

    Why the engin is...
  19. Thread: .dbf locked !!

    by sebs
    Replies
    17
    Views
    1,242

    Re: .dbf locked !!

    Damm, good thinking, I linked it and opened it but then I close it and open the DBF and went back to Access and open the linked table and I get the same error I get it VB !!

    Thanks for you help, I...
  20. Replies
    20
    Views
    1,188

    Re: How Many Table I Need To Do......

    He just told you what to do !

    You should be nice with the people that tries to help you, y'a know :mad:
  21. Thread: .dbf locked !!

    by sebs
    Replies
    17
    Views
    1,242

    Re: .dbf locked !!

    Yes, I have MS Access...
  22. Thread: .dbf locked !!

    by sebs
    Replies
    17
    Views
    1,242

    Re: .dbf locked !!

    Sorry Fishy, not too familiar with ADODC, is it in the components ?

    Also, just a note, I tried with DAO and it gave me a different error, "Open exclusively by another user", I guess that is the...
  23. Thread: .dbf locked !!

    by sebs
    Replies
    17
    Views
    1,242

    Re: .dbf locked !!

    Oops, I didn't put my path from the code you gave me :blush:

    It's works if it's not open, but it still does not let me if the database is opened.

    Thanks
  24. Thread: .dbf locked !!

    by sebs
    Replies
    17
    Views
    1,242

    Re: .dbf locked !!

    That's what I have...
  25. Thread: .dbf locked !!

    by sebs
    Replies
    17
    Views
    1,242

    Re: .dbf locked !!

    Hmm, now it tells me that my table does not exist...

    How would I do a select ?

    I tried:

    FROM tablename
    FROM tablename.dbf
    FROM [tablename#DBF]
  26. Thread: .dbf locked !!

    by sebs
    Replies
    17
    Views
    1,242

    Re: .dbf locked !!

    Specify it from VB ?

    The thing is my client has a store inventory program that use those DBFs database all the time and I am making a program that is reading that database and updating his online...
  27. Thread: .dbf locked !!

    by sebs
    Replies
    17
    Views
    1,242

    .dbf locked !!

    Damm thing!

    I want to open a .dbf db and do a SELECT, I am using ADO

    It works when no one is using the .dbf, but it wont be the case, so I get this error:
    Could not lock table 'tablename';...
  28. Re: Microsoft Visual FoxPro Driver Installation?

    Nice, it worked with the OLEDB, I just need the extended properties and it works.
  29. Re: Microsoft Visual FoxPro Driver Installation?

    Thanks Fishy,

    I tried a different approach, I am connecting to the DBFs with OLEDB instead, we'll see if it works now.

    I will let you guys know.
  30. [RESOLVED] Microsoft Visual FoxPro Driver Installation?

    In which package can I find the vfpodbc.dll ?

    My client has an outdated version and I tought that MDAC was including those drivers, am I missing something ?

    Thanks once again.
  31. Replies
    8
    Views
    750

    Re: [RESOLVED] How can I impove this?

    Looking good, way better, did you noticed a performance increase ?
  32. Replies
    8
    Views
    750

    Re: How can I impove this?

    Use InStrB to check if your string is in another.

    Example:

    If InStrB(strLines(i), "MAXCLIENTS:") > 0 Then strMaxClients = Trim(Mid$(strLines(i), 12))

    Be carefull, because if you want a...
  33. Replies
    5
    Views
    495

    Re: implementing a 2d array with 2 data types

    Yeah, if you do not want to declare it as a Variant, which I agree, in most cases is bad practice, you should just have two parallel array...

    Dim deckNumbers(12) As Integer
    Dim deckFaces(12) As...
  34. Thread: Format date!!

    by sebs
    Replies
    3
    Views
    511

    Re: Format date!!

    Yak, this is PHP :p

    Today's date:

    date("d-m-Y");

    By default date is now, otherwise, the syntax is :

    date ( string format [, int timestamp] )
  35. Re: How to set the first line of a paragraph indent ?

    There's problably a CSS style you can use, but if you want it cross-browser and don't care about having a true indent, just use space!!

    <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;You text starts...
  36. Re: Sql query in Access to display ascending with null values rows following it

    ok, since you're in Access then, use

    WHERE Not IsNull(your_field)
    and
    WHERE IsNull(your_field)
  37. Replies
    5
    Views
    495

    Re: implementing a 2d array with 2 data types

    Dim deck(1,12)

    deck(0,0) = 1
    deck(1,0) = "A"
    deck(0,1) = 2
    deck(1,1) = "2"
    deck(0,2) = 3
    deck(1,2) = "3"
    etc...
  38. Replies
    2
    Views
    1,339

    Re: help with error

    Do you have permission to write files ?

    If you do, then make sure that

    Response.Write strUploadPath & "/" & strNewFileName equal a valid path.
  39. Replies
    6
    Views
    564

    Re: Join giving multiple results

    But that will only returned clients with sites, you might want this:

    SELECT client_name, COUNT(Site.CLIENTID) AS numOfSite FROM Client
    LEFT JOIN Site ON Client.ID=Site.CLIENTID
    GROUP BY...
  40. Re: Sql query in Access to display ascending with null values rows following it

    Just a tought:

    SELECT your_field FROM your_table WHERE your_field <> null ORDER BY your_field
    UNION ALL
    SELECT your_field FROM your_table WHERE your_field = null

    Didn't try it, but it should...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width