Search:

Type: Posts; User: carrzkiss

Search: Search took 0.02 seconds.

  1. Re: website gets error "Type 'JObject' is not defined" (Newtonsoft.json)

    I had to remember what I had done years ago.
    In IIS, Right-click on the folder from which the script is running.
    Choose: Convert to Application.
    Refresh the website in your browser, and everything...
  2. website gets error "Type 'JObject' is not defined" (Newtonsoft.json)

    This works in Visual Studio.
    It does not work on `Windows 2016 Server Core` running `IIS 10`.
    When published, there are no issues.
    Run the website on the server, I receive the error `Type...
  3. Replies
    4
    Views
    2,152

    Re: TagLib.Sharp on a website

    OK, for anyone that runs into this issue.
    This is how you fix it.


    https://blogs.msdn.microsoft.com/tolong/2006/11/16/how-to-get-your-publickeytoken/

    Works like a charm.
    I am now viewing the...
  4. Replies
    4
    Views
    2,152

    Re: TagLib.Sharp on a website

    I did this in my default.aspx file
    (Added the Inherits="TagLib._Default")

    <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="TagLib._Default" %>


    This is a...
  5. Replies
    4
    Views
    2,152

    Re: TagLib.Sharp on a website

    @techgnome
    This is what I wrote.



    VS put them there, I did not.

    And in this case, it does not "Just work"
    You are the second person that has told me that in the last 24 hours.
    I just wish...
  6. Replies
    4
    Views
    2,152

    TagLib.Sharp on a website

    Hello all;

    I am using TagLib from here: http://download.banshee.fm/taglib-sharp/ (https://github.com/mono/taglib-sharp)
    I have it working within VS.
    However, I am designing a website with it,...
  7. Re: AjaxFileUpload PostedFile and other issues from converting over from fileUpload

    OK.
    I did the following for the above code sample, however. I am uncertain if this is the right way to write it or not.

    (MyFile = FileUpload Control)
    Dim myFile As HttpPostedFile =...
  8. AjaxFileUpload PostedFile and other issues from converting over from fileUpload

    Hello All;

    I have been messing around with different AJAX Upload scripts throughout the day.
    And I found one that I quite like, (AjaxFileUpload) but trying to get it to work with my Upload script...
  9. Re: Upload with json and send response back to form

    Is there a way to Accept a post as Answer?
    Or
    Is it just the [rate this post] option?
    I already did that part.
  10. Re: Upload with json and send response back to form

    IT WORKS!!!!!!!!!
    I had the DIV on the outside of the form.
    Now to test and make sure it is going to work in the actual project.
    PlausiblyDamp , you are a life saver my friend.
    Thank you so very...
  11. Re: Upload with json and send response back to form

    The images names show up, that is awesome!
    Now, "HOW" do I pass that to the processing page?
    I tried to post it, to the test post, and it did not grab it.


    <%
    for each item in Request.Form...
  12. Re: Upload with json and send response back to form

    OK, I got it to work.
    Something got messed up in the code, and it did not work.

    OK, adding it into the form itself, will only give ONE instance of the field, of which will only provide one image...
  13. Re: Upload with json and send response back to form

    did not work.
    I have this in an asp file that grabs all the form fields on Submit.
    And it is not catching anything in that field.
    Just the name I gave it, and it is blank.

    commas added it into...
  14. Re: Upload with json and send response back to form

    .asp (Nope, was just testing something early on, and just left it as is.)

    What I want to do, and have tried before, but not with the new JSON, is to send the name of the Image file, back to the...
  15. Re: Upload with json and send response back to form

    That did it.
    Uninstalling it, and re-installing it worked.
    It runs and uploads the image.

    Now, how would I use this to my advantage for retrieving the values and sending them back to the form,...
  16. Re: Upload with json and send response back to form

    I am running VS Community 2015.
    I right click on the Web Site.
    Choose [Manage Nugent Packages...]
    And it shows as being installed.
    145399
  17. Re: Upload with json and send response back to form

    How do I add the "Newtonsoft.Json package"?
    I have it installed, just not sure how to add it to a new web site.
  18. VS 2015 Re: SQL Query Statement in vb.net like RS in Classic ASP

    Thank KG
  19. Re: Upload with json and send response back to form

    Added this
    Dim strJSON as String = JsonConvert.SerializeObject(JaggedArray)
    Works good.

    No, it is not required to be done that way.
    I had another person that was assisting me in trying to pass...
  20. Re: Upload with json and send response back to form

    After installing the JSON.NET package, the only thing I was able to do was to convert one line.

    Imports Newtonsoft.Json

    From This:
    Dim js As New JavaScriptSerializer()
    To This:
    Dim js As New...
  21. Re: Upload with json and send response back to form

    I was doing some research on JSON and found the Newtonsoft JSON parser earlier.
    However, would it work with this project?

    This is the script with the upload function that I am using....
  22. Re: Upload with json and send response back to form

    speaking of the JSON, how would I return it as a JSON return?
    That sounds more interesting than the mime.

    It is already returning this part.
    JaggedArray(0) = New String() {"0", "File was...
  23. Upload with json and send response back to form

    Hello All;

    I am working on an upload script, that works great.
    It uploads and inserts the data into a database.
    And then lets you know that it was uploaded successfully.

    This is the issue....
  24. VS 2015 Re: SQL Query Statement in vb.net like RS in Classic ASP

    @KGComputers.

    I have Image Uploading scripts that use the Code Behind, which I have used for years.
    I love the way I wrote the code, and the more I learn, the more I keep tweaking the code to...
  25. VS 2015 Re: SQL Query Statement in vb.net like RS in Classic ASP

    Thanks, @techgnome
    having to go through a lot of errors inside of VS, with the code you supplied.

    I changed everything to work with my existing table/database

    I know that in the Code Behind,...
  26. VS 2015 Re: SQL Query Statement in vb.net like RS in Classic ASP

    Thanks, KGComputers.

    I see how people are debating rather inline is good to use, versus code-behind.
    I do not have a problem using code behind when it is called for.
    However, I enjoy using what...
  27. VS 2015 Re: SQL Query Statement in vb.net like RS in Classic ASP

    Thanks dday9
  28. VS 2015 Re: SQL Query Statement in vb.net like RS in Classic ASP

    Thanks to all that have commented with code samples.
    @jmcilhinney
    I tested your code, and it worked as expected.

    @dday9
    It should have been written like so.
    sqlUser.commandtext="SELECT UID...
  29. VS 2015 SQL Query Statement in vb.net like RS in Classic ASP

    Hello All;

    I am learning vb.net, well. Been learning it when I NEED it, I should say, for several years now.
    So, the question is this.

    ASP Classic



    <%
Results 1 to 29 of 29



Click Here to Expand Forum to Full Width