Click here to Skip to main content
15,901,035 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Tutorial on how to get started using the multi-core features of .NET Framework Pin
Dave Kreskowiak25-Oct-09 8:18
mveDave Kreskowiak25-Oct-09 8:18 
QuestionConvert .msi file to .exe Pin
Rajendra Kr. Rana22-Oct-09 22:45
Rajendra Kr. Rana22-Oct-09 22:45 
AnswerRe: Convert .msi file to .exe Pin
Ashfield23-Oct-09 1:35
Ashfield23-Oct-09 1:35 
AnswerRe: Convert .msi file to .exe Pin
Shameel23-Oct-09 8:29
professionalShameel23-Oct-09 8:29 
GeneralRe: Convert .msi file to .exe Pin
danielmia226-Oct-09 2:18
danielmia226-Oct-09 2:18 
QuestionChange the javascript parameter value in c# code. (use webbrowser) Pin
mingxiaodong22-Oct-09 15:29
mingxiaodong22-Oct-09 15:29 
AnswerRe: Change the javascript parameter value in c# code. (use webbrowser) Pin
Abhishek Sur24-Oct-09 7:32
professionalAbhishek Sur24-Oct-09 7:32 
GeneralRe: Change the javascript parameter value in c# code. (use webbrowser) Pin
mingxiaodong4-Nov-09 19:09
mingxiaodong4-Nov-09 19:09 
I'm working in winform project.
I used a webbrowser in the form. The webbrowser load a html file with javascript. In the javascript, it can call external method use "window.external.???".
The cs code like this
[code]
namespace TestA
{
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
InitStart();
}

private void InitStart()
{
webBrowser1.Url = new Uri(AppDomain.CurrentDomain.BaseDirectory + "test.htm");
webBrowser1.ObjectForScripting = this;
}

public void TestB(ref int TT)
{
TT = 345;
}

public void Test(object TT)
{
object s = TT.GetType().InvokeMember("A", BindingFlags.SetProperty, null, TT, new object[] { "mynewvalue" });
}
}
}
[/code]
The html file like this
[code]
<script language="javascript" type="text/javascript">
function MyTestClass(){
this.A = "123MyTestClass";
}
var t = new MyTestClass();
window.external.Test(t);
alert(t.A);
//可以修改

var t = 123;
window.external.TestB(t);
alert(t);
//无法修改

</script>

[/code]
Question.exe files from source code Pin
shakins22-Oct-09 4:09
shakins22-Oct-09 4:09 
AnswerRe: .exe files from source code Pin
Richard MacCutchan22-Oct-09 4:33
mveRichard MacCutchan22-Oct-09 4:33 
GeneralRe: .exe files from source code Pin
zahedonline23-Oct-09 22:41
zahedonline23-Oct-09 22:41 
GeneralRe: .exe files from source code Pin
Richard MacCutchan24-Oct-09 5:52
mveRichard MacCutchan24-Oct-09 5:52 
GeneralRe: .exe files from source code Pin
Pete O'Hanlon24-Oct-09 5:56
mvePete O'Hanlon24-Oct-09 5:56 
GeneralRe: .exe files from source code Pin
Richard MacCutchan24-Oct-09 6:03
mveRichard MacCutchan24-Oct-09 6:03 
AnswerRe: .exe files from source code Pin
Pete O'Hanlon22-Oct-09 4:33
mvePete O'Hanlon22-Oct-09 4:33 
AnswerRe: .exe files from source code PinPopular
PIEBALDconsult23-Oct-09 5:43
mvePIEBALDconsult23-Oct-09 5:43 
QuestionExtend My Windows Desktop on 2nd Monitor Pin
Will Rose22-Oct-09 2:58
Will Rose22-Oct-09 2:58 
Questionscreen sharing like go to meeting etc Pin
digitaldxb22-Oct-09 0:50
digitaldxb22-Oct-09 0:50 
AnswerRe: screen sharing like go to meeting etc Pin
rajivbirari3-Dec-09 22:19
rajivbirari3-Dec-09 22:19 
GeneralFormula Evaluation in C# / Reports Pin
Brady Kelly21-Oct-09 6:43
Brady Kelly21-Oct-09 6:43 
GeneralRe: Formula Evaluation in C# / Reports Pin
Abhishek Sur24-Oct-09 7:34
professionalAbhishek Sur24-Oct-09 7:34 
QuestionThe virtual path '/Templates/mysite/Main.master' maps to another application, which is not allowed Pin
uttam201020-Oct-09 23:21
uttam201020-Oct-09 23:21 
AnswerRe: The virtual path '/Templates/mysite/Main.master' maps to another application, which is not allowed Pin
Not Active21-Oct-09 4:07
mentorNot Active21-Oct-09 4:07 
QuestionOle DB command not working Pin
W4Rl0CK4720-Oct-09 10:00
W4Rl0CK4720-Oct-09 10:00 
QuestionProblems with VB6 Winsock connection and Senddata Pin
she-Developer20-Oct-09 4:58
she-Developer20-Oct-09 4:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.