|
thank u sir
i have done manythings like:
using the background control to operate database processes
and used timer whith specific time interval to run the background asynchronously
best regards
modified on Thursday, April 24, 2008 5:52 AM
|
|
|
|
|
I was wondering...
There's a SendKeys function to send keys...
What about a SendClick(x, y); function?
Does one exist, that I just don't know about?
(I'm trying to avoid messy DllImports )
|
|
|
|
|
Not sure if it's exactly what you want, but my guess is you wanna click a particular button. Is myButton.PerformClick(); what you're looking for?
He who makes a beast out of himself gets rid of the pain of being a man
|
|
|
|
|
Oh Cool!
Was more looking for MouseClick(x, y); for automation purposes, but WOW! That's useful!!!
Just wondering why it works in normal windows forms, but not with ASP.NET Buttons :p
|
|
|
|
|
I got this script for reading session values using Javascript
code>var color='<%= Session("color").ToString() %>'
But my requirement is to store Session values using Javascript.Can any one plz tell me how to do it ?
Thanks in Advance
|
|
|
|
|
I think u cannot assign a session using javascript that's coz session is set at server side for particular client..however u can retrieve the value from session which u have done...
Also u have posted in the wrong forum javascript in C# ?????
.....
|
|
|
|
|
Oke i feel like an major idiot for asking but i'll ask it anyway,
I've for an multible forms,
and i want when i press an key it switches to another form i created,
i was looking over the coding and i tought
Application.ActiveForm would do the trick but it doens't
So what does??
thanks in advance
Ben
|
|
|
|
|
are you looking on form.show()?
|
|
|
|
|
Exually what i have are 6 forms,
and 6 buttons
what i'm looking for is :
button 1 > form 2 + backbutton
button 2 > form 3 + backbutton
button 3 > form 4 + backbutton
button 4 > form 5 + backbutton
button 5 > form 6 + backbutton
button 6 > form 7 + backbutton
button 1 when pressed opens form 2 ect.
that works with form.hide(); ? and form.show(); ?
|
|
|
|
|
I tryed to use
Form.ActiveForm.Hide();
Form2.ActiveForm.Show();
but that trows System.NullReferenceException was unhandled
|
|
|
|
|
You need to create an instance of the form you wish to show/hide, that's the exception you're seeing.
He who makes a beast out of himself gets rid of the pain of being a man
|
|
|
|
|
so i need to create 6 instanses, cause i got 6 forms?
|
|
|
|
|
yes. example,
form1 f1 = new form1()
f1.show();
hope this help you
|
|
|
|
|
it does thanks
|
|
|
|
|
Alternatively you could create user controls, one for each form you need, and populate them with the components that you need for each form and then use just one form in which you show one of the user controls and then switch it for another. This way the user controls works like different views in the same form.
/Ruben
RJJournal
|
|
|
|
|
For a project which I soon have to be involved in, we are looking to implement a graphic intensive application, but balk at using either MDX 1.1 or XNA to access the DirectX libraries. However, the development platform has to be C#. Is there any way to get to the DirectX libraries (and how on earth do use them) directly, through unmanaged calls?
|
|
|
|
|
Extrakun wrote: through unmanaged calls?
You could do, but then you'd only be doing what MDX does anyway.
Unless you are an expert at unmanged DirectX don't use it; it'll take you longer to write, be less managable, and won't really be much quicker. From personal experience it took me getting on for 100 lines of code to get keyboard input in unmanaged DirectX and 3 in managed.
On a final note, the extra cost of development will more than offset the cost of a new graphics card for the whole company if it's of any real complexity.
|
|
|
|
|
How to get the user Telephone Inputs into our C# application...??
Regards
|
|
|
|
|
Look into Interactive Voice Response applictions and maybe the Microsoft Speech SDK. They have ways to detect DTMF signals as input. You should also look into learning VXML as most of the IVR systems use that for the call flow.
|
|
|
|
|
i want to add new channel (alpha) on my png file like photoshop does. how can i do it using C#?
please help!
|
|
|
|
|
Good Morning Everyone
i have an application in VB.net and a Functionality(dll) written in C#.i have a DLL in C# Project and i have compiled my project with release and Fetch the DLL in the release folder and paste it in the VBProject. now i want to use that C# Functionality in vb project, i went to References and i tried to Add it as .NET reference and i got the following Error.
A Reference to Motherboard.dll could not be added.This is not a valid assembly or Com Component.Only Assemblies with extension 'dll' and Com components can be referenced.
Thanks
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
you c# assembly is probably not CLS compliant
|
|
|
|
|
Hi thanks for the Reply
i have created this DLL in C#.NET, and copied it to the other's application folder and tried to referenced it. doesn't Visual Studio automatically make it CLS Compliant?, because the DLL was created in VS2005 and am taking it to a Project in VS2003. is there a Problem there ?
Thanks
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
you have to add manually this [assembly: System.CLSCompliant(true)] in the AssemblyInfo.cs of your class library, visual studio is not doing it automatically
|
|
|
|
|
The DLL is corrupt, apparently. What happens when you try opening it with ILDASM?
Cheers,
Vikram.
The hands that help are holier than the lips that pray.
|
|
|
|