Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
D

DPaul1994

@DPaul1994
About
Posts
93
Topics
27
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Send data from MVC to KnockoutJS an show in HTML
    D DPaul1994

    I have created a list in MVC which looks like this:

    var countries = new List();

            countries.Add(new Countries() { Id = 1, Mainland = "a", Name = "a" });
            countries.Add(new Countries() { Id = 1, Mainland = "b", Name = "b" });
            countries.Add(new Countries() { Id = 1, Mainland = "c", Name = "c" });
            countries.Add(new Countries() { Id = 1, Mainland = "d", Name = "d" });
            countries.Add(new Countries() { Id = 1, Mainland = "e", Name = "e" });
    
            return View(countries);
    

    That is my Index page. Now, I want to retrieve that list in a js script which, for now, looks like this (this works):

    <script>
    var mainViewModel = {
    countries: ko.observableArray([]),
    initialize: function (model) {
    console.log(model)
    }
    };
    mainViewModel.initialize(@Html.Raw(Json.Encode(Model)));
    ko.applyBindings(mainViewModel);
    </script>

    But now, I want to show those objects in html and I don't really know how do to that. Can anybody help me?

    ASP.NET javascript html asp-net database tools

  • Send data from MVC to KnockoutJS an show in HTML
    D DPaul1994

    I have created a list in MVC which looks like this:
    <pre lang="text"> var countries = new List<Countries>();

            countries.Add(new Countries() { Id = 1, Mainland = "a", Name = "a" });
            countries.Add(new Countries() { Id = 1, Mainland = "b", Name = "b" });
            countries.Add(new Countries() { Id = 1, Mainland = "c", Name = "c" });
            countries.Add(new Countries() { Id = 1, Mainland = "d", Name = "d" });
            countries.Add(new Countries() { Id = 1, Mainland = "e", Name = "e" });
    
            return View(countries);</pre>
    

    That is my Index page.
    Now, I want to retrieve that list in a js script which, for now, looks like this (this works):
    <pre lang="text"><script>
    var mainViewModel = {
    countries: ko.observableArray([]),
    initialize: function (model) {
    console.log(model)
    }
    };
    mainViewModel.initialize(@Html.Raw(Json.Encode(Model)));
    ko.applyBindings(mainViewModel);
    </script></pre>

    But now, I want to show those objects in html and I don't really know how do to that. Can anybody help me?

    ASP.NET javascript html asp-net database tools

  • Send data from MVC to KnockoutJS an show in HTML
    D DPaul1994

    I have created a list in MVC which looks like this:

    var countries = new List();

            countries.Add(new Countries() { Id = 1, Mainland = "a", Name = "a" });
            countries.Add(new Countries() { Id = 1, Mainland = "b", Name = "b" });
            countries.Add(new Countries() { Id = 1, Mainland = "c", Name = "c" });
            countries.Add(new Countries() { Id = 1, Mainland = "d", Name = "d" });
            countries.Add(new Countries() { Id = 1, Mainland = "e", Name = "e" });
    
            return View(countries);
    

    That is my Index page. Now, I want to retrieve that list in a js script which, for now, looks like this (this works):

    <script>
    var mainViewModel = {
    countries: ko.observableArray([]),
    initialize: function (model) {
    console.log(model)
    }
    };
    mainViewModel.initialize(@Html.Raw(Json.Encode(Model)));
    ko.applyBindings(mainViewModel);
    </script>

    But now, I want to show those objects in html and I don't really know how do to that. Can anybody help me?

    C# javascript html asp-net database tools

  • WindowsInstaller 4.5 on Windows XP error processor type
    D DPaul1994

    Sorry, I meant 4.0 instead of 4.5! .NET 4.0 requires WindowsInstaller 4.5 which runs on Windows XP..Prerequisite is .NET 4.0

    C# csharp dotnet visual-studio winforms help

  • WindowsInstaller 4.5 on Windows XP error processor type
    D DPaul1994

    I have created a setup project for a windows forms application with VS Community 2015. I have set the prerequisites (.NET Framework 4.0 with Windows Installer 4.5) and I have downloaded all required files but when I try to run the install file on Windows XP, I receive this message:

    This installation package is not supported by this processor type. Contact the package vendor.

    I understand that the error is because the system is running on x86 and it doesn't find the windows installer files for x86 and I can't figure it out why. Files that are included in Windows Installer 4.5 are these:

    Windows6.0-KB958655-v2-x64.msu
    Windows6.0-KB958655-v2-x86.msu
    WindowsServer2003.WindowsXP-KB958655-v2-x64-ENU.exe
    WindowsServer2003-KB942288-v4-x64.exe
    WindowsServer2003-KB942288-v4-x86.exe
    WindowsServer2003-KB958655-v2-x86-ENU.exe
    WindowsXP-KB942288-v3-x86.exe
    WindowsXP-KB958655-v2-x86-ENU.exe

    Can anybody tell me if the files are wrong and what files should I include instead of these?

    C# csharp dotnet visual-studio winforms help

  • ShockwaveFlashObjects gives 'System.AccessViolationException'
    D DPaul1994

    I managed to fix the issue. The problem was that that flash object remains active when you open another form and it must be stopped or disposed. This is the solution, if anybody will get this error in this situation.

    C# help com performance tutorial

  • Cannot run setup project on Windows XP
    D DPaul1994

    Yeah

    C# visual-studio csharp help question workspace

  • ShockwaveFlashObjects gives 'System.AccessViolationException'
    D DPaul1994

    I see. Well, thank you for your time and all the informations. I'll try to fix it :)

    C# help com performance tutorial

  • Cannot run setup project on Windows XP
    D DPaul1994

    But I created an installation with InstallShield Limited Edition for the same project, and it worked perfectly..

    C# visual-studio csharp help question workspace

  • Cannot run setup project on Windows XP
    D DPaul1994

    You mean that I can't create applications with VS Community 2015 that work on Windows XP?

    C# visual-studio csharp help question workspace

  • ShockwaveFlashObjects gives 'System.AccessViolationException'
    D DPaul1994

    I don't really know how to make such a deep debugging, because it doesn't show me the line where the error occurs, it just shows me that message when I close the application and that's it..If I remove ShockwaveFlashObjects and AxShockwaveFlashObjects from reference and the item from form, it works perfectly, so that is the issue

    C# help com performance tutorial

  • Cannot run setup project on Windows XP
    D DPaul1994

    I have already created an installation for the project using InstallShield Limited Edition and it worked perfectly on XP. I know, I used Windows Installer 4.5 version for this

    C# visual-studio csharp help question workspace

  • Cannot run setup project on Windows XP
    D DPaul1994

    The version is .NET 4.0 which runs on Windows XP

    C# visual-studio csharp help question workspace

  • Cannot run setup project on Windows XP
    D DPaul1994

    Hi. I have created a WindowsFormsApplication in Visual Studio Community 2015. For this application, I created a setup project using Visual Studio Installer Extension. Setup file works very fine on other systems, but on Windows XP it shows that error like I've been stopped the installation. More precisely:

    Error : "The installer was interrupted before application could be installed. You need to restart installer to try again."

    I have added all prerequisites, all files that are required, but I think that I missed something..It has anything to do with the fact that applications that were created in vs community 2015 which are deployed with vs installer extension cannot be installed on windows xp? I don't know if it's true, I read that somewhere..

    C# visual-studio csharp help question workspace

  • ShockwaveFlashObjects gives 'System.AccessViolationException'
    D DPaul1994

    Hi. I have created an WindowsFormsApplication with multiple forms, and in a form I added an ShockwaveFlashObject and i set it a .swf file. The problem is that when I access two or three forms and come back to this form, it shows me this error message:

    An unhandled exception of type 'System.AccessViolationException' occurred in Unknown Module.
    Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

    I don't really know how to fix this, I just managed to find out that this is the problem. The ShockwaveFlashObjects was added to toolbox from COM Components.

    C# help com performance tutorial

  • Deploy ASP.NET MVC application with ftp on web server
    D DPaul1994

    Go to ParentThank you for your reply. I have found the problem. The problem was caused by the web server, because it didn't accept ASP.NET version for my project. So I have to choose another provider. Sorry for repost, I thought I have chosen the wrong category.

    Web Development asp-net csharp database sysadmin architecture

  • Deploy ASP.NET MVC application with ftp on web server
    D DPaul1994

    Sorry for repost, I thought I have chosen the wrong category.

    Web Development asp-net csharp database sysadmin architecture

  • Deploy ASP.NET MVC application with ftp on web server
    D DPaul1994

    Sorry for repost, I thought I have chosen the wrong category.

    Web Development asp-net csharp database sysadmin architecture

  • Deploy mvc application on ftp
    D DPaul1994

    Thank you for your reply. I have found the problem. The problem was caused by the web server, because it didn't accept ASP.NET version for my project. So I have to choose another provider.

    ASP.NET asp-net csharp database sysadmin architecture

  • "Attempted to read or write protected memory." Why?
    D DPaul1994

    I have an windows form application with multiple forms. If I open two of these forms in a runtime, I receive this error:

    An unhandled exception of type 'System.AccessViolationException' occurred in Unknown Module.

    Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

    If there is a handler for this exception, the program may be safely continued.

    The idea is that I don't have any programs that consume so much memory and this error occurs only after I introduced in script a background worker. It can cause this problem?

    C# help tools performance question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups