|
that's true.
it should be only clarify why i can't solve my problem with a request-timer in the client app.
usually internet is quite cheaper than mobile internet.
does anyone have some subject related information ?
thx a lot
cheers
|
|
|
|
|
Hi,
I am beginner to .net, I want to build a windows based application. That application needs back end access data base. So I want refer quickly DB connections and different commands possible to write in .net, Please refer me some links or any tutorial for this
Thanks in advance....
sampath-padamatinti
|
|
|
|
|
|
Hi all,
I have a control that I need to get the value for one of it's localized properties.
The problem is that the control may reside in an unlocalized form / control which inherits from a localized one.
For example, lets say I have a Button control. The control is placed inside a localized form of type Form1 (which inherits from Form) and the value for the button's Text property is set to "A".
A class named Form2 inherits from Form1 and is also localized, and sets the value for the button's Text property to "B".
Finally, Form3 inherits form Form2 and is NOT localized, and sets the value for the button's Text property to "C".
I need to know how to get at runtime the localized value for the control's Text property which is the highest in the inheritence hirarchy - in this case "B" and not "C".
What is the best way to do that?
Thanks...
|
|
|
|
|
|
A bit of self-promotion? Not getting enough traffic to your Facebook? It may be good information, I just don't think this is place to advertise it.
only two letters away from being an asset
|
|
|
|
|
Facebook is a bad place to put something like this. I'm not creting a Facebook account just to view this content.
|
|
|
|
|
Hi,
i want to convert a .msi file to .exe file using vb.net with c#.
but i don't how to do this.
if anybody know this please suggest me or mail me
how can i make such kind of application
Thanking you
|
|
|
|
|
I rather suspect you don't have a clue what you are talking about. How do you plan to use vb.net with c#? They are two different languages.
However, post what you have tried and someone may figure out what you are trying to do.
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
|
Thats interesting for something which has 2 diff. languages, I would like to test this one out.
|
|
|
|
|
Hi,
I want to change the javascript parameter value in c# like this.
var t = 123;
window.external.Test(t);
alert(t);
public void Test(ref int TT){
TT = 456;
}
I find another way to change it by use object like this
function MyTestClass(){
this.A = "123MyTestClass";
}
var t = new MyTestClass();
window.external.Test(t);
alert(t.A);
public void Test(object TT){
object s = TT.GetType().InvokeMember("A", BindingFlags.SetProperty, null, TT, new object[] { "mynewvalue" });
}
Then t.A is changed.
How can I change javascript value is c# code without object?
|
|
|
|
|
Are you working in website ???
I think in Web environment, Server and clients are different. Javascript have access to the client objects(Limited) while C# works with server objects.
The Bridge between server and client is made using Request and Response.
So if you want to set the value of a javascript function just write it to the Response... Simple.. (For example, create a hidden field and set the value, or Directly place anywhere and parse the body text using javascript).
|
|
|
|
|
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]
|
|
|
|
|
I hav created a program and i need to convert d source code into .exe file so as to make it platform-independent.can u please help me how to do this.
|
|
|
|
|
shakins wrote: I hav created a program and i need to convert d source code into .exe file so as to make it platform-independent.can u please help me how to do this.
This is not possible; an exe file is compiled for a specific target platform. You need to make the source platform independent and then compile that source on each platform that you want to run it on, to create a compatible object.
|
|
|
|
|
|
zaksoftwaredeveloper wrote: You need a .NET Reflector
How will that help to make a program platform independent?
|
|
|
|
|
He wasn't replying to the OP, he was replying to you. Perhaps he just thinks you want Reflector and have forgotten where it is now since Lutz sold it.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Pete O'Hanlon wrote: Perhaps he just thinks you want Reflector
Still
|
|
|
|
|
If you've written your application in .NET, then it's not platform independent. It will only run in Operating Systems that have the .NET framework. You could possibly compile against Mono, but that still isn't platform independent, for instance it won't run on an old VAX server.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
shakins wrote: convert d source code into .exe
You'll need a d compiler. Very few people here use d.
shakins wrote: make it platform-independent
That's unachievable.
|
|
|
|
|
Hi -
I'm looking to automate the switching on/off of my 2nd monitor.
I can do it manually, via the Windows Desktop/Properties dialog. Is there a API or baseclass that can do this?
Any help is appriciated!
Thanks,
Bill
|
|
|
|
|
hi , i want to develop an application where one person will share screen with several people joining the conference , just need some help for start up. please share some links or help code to begin with.
with regards
|
|
|
|
|
Hi friend,
I also want to develop screen sharing application.
if u got any help or link or code please send me.
|
|
|
|