|
That's precisely why you should never send or load ANYTHING over http if it's got anything to do with passwords (or other sensitive data) - Https encrypts which protects the plain text that you send to the server, and prevents eavesdropping via a man in the middle - hence why everything is loaded via https (if it's not, then you can't guarantee anything)
Troy Hunt has some good explanations on the whys and wherefores
C# has already designed away most of the tedium of C++.
|
|
|
|
|
|
Try creating a .Exe solution and adding your code into it.
This space for rent
|
|
|
|
|
I try installed visual studio 2015 for windows 7 x64bit, when running demo xamarin was reported "No Android NDK found". I go to "Tools> Options> Xamarin> Android Settings" in this tab I see Android NDK Location -> "No Android NDK found" how do i want to install android ndk for visual studio 2015 ? What can I do ?
|
|
|
|
|
|
I have searched google but it's not results are true
|
|
|
|
|
|
I have followed your instructions but it's still get error messages not found ndk-stack.exe while there is file ndk-stack.cmd. you see my attach file.
File sharing and storage made simple
|
|
|
|
|
Those messages clearly say that ndk-stack.exe cannot be found in that path, so have you checked to see where it actually is?
|
|
|
|
|
the link you send to me, in the file compression is not a ndk-stack.exe, you can you want to find more ?
|
|
|
|
|
You need to do the searching for yourself. Have you checked every directory on your system to see if it has been saved in the wrong place? Have you checked again the downloads to see if something is missing?
|
|
|
|
|
|
If the system continues to produce this message then you will need to find the missing file by other means. We cannot do it for you as we have no access to your system.
|
|
|
|
|
When a user clicks on the delete button to delete a jqgrid row, the form Action attribute is triggered and calls my controller method, which then returns a view. Then in this view, depending on the value of a certain viewbag, an alert will display the message "Successfully deleted" and the grid is reloaded.
Everything worked fine but I would like to use a confirm modal to make user confirm his/her intention so I put a part of the Razor code above the modal script and the rest inside the Success section of the AJAX code inside of the modal code. Below is my script:
@{var message = ViewBag.Message;}
$("#DeleteDialog").dialog({
height: 280,
modal: true,
autoOpen: false,
buttons: {
'Confirm': function () {
$.ajax({
type: "POST",
cache: false,
url: "/Forms/MyMethod",
success: function (data) {
@if (message == "Deleted"){
ViewBag.Message = null;
ViewBag.Status = null;
<text>
alert("Successfully deleted!");
jQuery("#jQGrid").clearGridData(true).trigger("reloadGrid");
jQuery('#jqGrid').trigger( 'reloadGrid' );
$('#files').empty();
</text>
}
}
});
$(this).dialog('close');
},
'Cancel': function () {
$(this).dialog('close');
}
}
});
I noticed that during debugging the viewbag codes were executed but the "<text>" element was skipped. That means the alert and other code inside of the TEXT element are not executed.
modified 23-Jun-18 20:04pm.
|
|
|
|
|
Please, look at the top of this page: this is a forum for C# discussions, not javascript / razor. Either try the JavaScript Discussion Boards[^] or Ask a Question[^]
Sent from my Amstrad PC 1640
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Hi thanks for your reply. My question is related to ASP.Net MVC which encompasses C#, Razor, and Javascript, if you had read my question you would see that.
modified 24-Jun-18 4:47am.
|
|
|
|
|
We read your question but the code you posted was JavaScript.
This space for rent
|
|
|
|
|
Please go ahead and delete this post. I will find an appropriate forum for this topic.
|
|
|
|
|
Hello everybody,
Unfortunately I did not find it online or asked the wrong questions, I hope you can help me.
I am new to the world of C # and Visual Studio 2017.
I used to work with Boost in C ++ in Visual Studio 2010.
So I created a project in Windows Forms Control Library and created everything I needed to enter data about a Froms application and put my little program in there.
Then I created a second project as an application (main project) with a button.
Now I have:
After I added the project under, "Project -> Add Reference -> Browse".
Now I would like when I press in the application (main project) on my button, then the Forms
Application from the Windows Forms Control Library (Added Project).
If I conclude that firm, then I come back to the Froms main project.
Similar to a window switching
Great thanks for your help.
Manuel
|
|
|
|
|
That;'s easy - you have added the reference, so all you need to do is add a using statement:
using MyLibraryNamespaceName; And use the form as if it was part of your "normal project":
MyLibraryForm f = new MyLibraryForm();
if (f.ShowDialog() == DialogResult.OK)
{
...
}
Sent from my Amstrad PC 1640
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
hmm
using WindowsFormsControlLibrary1;
and then
WindowsFormsControlLibrary1.UserControl1 f = new WindowsFormsControlLibrary1.UserControl1();
f.ShowDialog
then comes the message CS1061:
UserControl1 does not contain a definition for ShopDialog
and if I write that then what Visual Studio suggests:
f.Show.ShowDialog
comes the message CS0119
"Control.Show ()" is "method" and not valid in the specified context.
|
|
|
|
|
Look at what you wrote:
WindowsFormsControlLibrary1.UserControl1 f = new WindowsFormsControlLibrary1.UserControl1();
That's not a form! It's a usercontrol, which is a component (like a TextBox or a DataGridView) that you can add to a form.
You can't display a usercontrol on it's own - it doesn't have the "bits and bobs" that a Form needs.
You can add it to a Form using the designer (drag and drop it from the toolbox) in either the DLL or EXE project, and display that.
Sent from my Amstrad PC 1640
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
please i need a code and a library which saves audio in a compressed format like .mp3 rather than saving it in a .wav format
|
|
|
|
|
This is not a "code to order" service: we are not here to do your work for you.
If you want someone to write your code, you will have to pay - I suggest you go to Freelancer.com and ask there.
But be aware: you get what you pay for. Pay peanuts, get monkeys.
The idea of "development" is as the word suggests: "The systematic use of scientific and technical knowledge to meet specific objectives or requirements." BusinessDictionary.com[^]
That's not the same thing as "have a quick google and give up if I can't find exactly the right code".
So either pay someone to do it, or learn how to write it yourself. We aren't here to do it for you.
Sent from my Amstrad PC 1640
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|