|
Hi,
How to get Windows name or Application name from tray "Loaded Programmes"
Thank you
|
|
|
|
|
I don't think there's a way to retrieve only apps running in the system tray. None that I know of. You can retrieve all apps running using System.Diagnostics.Process.GetProcesses()
|
|
|
|
|
Hi guys. I am stuck.
I need to create a form/component that does the following.
* Can render text, in various different ways, such as outlined, drop shadow (basic), centered on the screen etc.
* Can render said text over an image or video file or gradient background.
* Can play this video file, AND LOOP IT, seamlessly.
* Can fade from one video feed to another, including fading the text.
* Can be controlled via a C# windows forms application. - UI will be done in C# - windows forms. Just the text rendering that has me stumped.
I want to develop this part of my application first, but am really at a loss of where to start. Can anyone offer me any tips on a) what library to use and b) so useful links for such an endeavor.
Cheers
Jacob
|
|
|
|
|
If you have the option of using WPF, it sounds like that is what you need.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I would prefer not to delve into WPF, though the thought did cross my mind, simply for ease of use. Perhaps that is my only option...
|
|
|
|
|
Dear kubbeh
hi
can i add SqlServer program and .Networkframework in my setup?
|
|
|
|
|
wrote: kubbeh
Who ?
wrote: can i add SqlServer program and .Networkframework in my setup?
So the one MSI installs them all ? No.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
When i logout, i want that 'logoutdatetime' in database,its format is datetime in database. So i have written query, but it is giving error.
strQury = "insert into dashboarddealerlogin (logoutdatetime) values '" + DateTime.Now + "';
what is wrong?
If u can plz guide.
And..
lasttime nu :
str = str1 + "#" + str2 + "#" + str3 ...barobar implement nai thayu haji,i'll try it 2mrw now.
thanx
nekshan
-- modified at 5:20 Monday 19th February, 2007
|
|
|
|
|
What is the format of the date you wish to store in the database??
Thanking you in Advance
Regards
Pratik Shah
|
|
|
|
|
strQury = "insert into dashboarddealerlogin (logoutdatetime) values '(" + DateTime.Now + ")';"
|
|
|
|
|
Incorrect syntax near : '(" + DateTime.Now + ")'
I m checking it in query analyser.
nekshan.
|
|
|
|
|
insert into dashboarddealerlogin (logoutdatetime) values (GETDATE())
write this in query bilder.
|
|
|
|
|
insert into dashboarddealerlogin (logoutdatetime) values (GETDATE())
It is giving error : Cannot insert value null in logoutdatetime.
Anywaz, let it b.
Just c this :
private void logout_Click(object sender, EventArgs e)
{
conn.Open();
string strQury = "";
strQury = "insert into dashboarddealerlogin (logoutdatetime) values '(" + DateTime.Now + ")'";
SqlCommand cm = new SqlCommand(strQury, conn);
int n = Convert.ToInt32(cm.ExecuteScalar());
}
I have written this code in form1.cs n i have to write it here only.
Now i want to use this 'int n' in a function in form2.cs
funEntrylogin(m, i, tb_id.Text, tb_pswd.Text, DateTime.Now,n);
but here it is giving error on 'n'.
how can i do this?
thanx.
nekshan.
|
|
|
|
|
'private void logout_Click(object sender, EventArgs e)
'{
'conn.Open();
'string strQury = "";
'strQury = "insert into dashboarddealerlogin (logoutdatetime) values '(" + DateTime.Now + ")'";
'SqlCommand cm = new SqlCommand(strQury, conn);
'int n = Convert.ToInt32(cm.ExecuteScalar());
'}
'above query is correct.return value for n is (0 or 1) if n=0 then not row update and n=1 then row updated. error is on something else.
|
|
|
|
|
u test query in sql query bilder but system.datatime.now() is a function of vb.net so its not run in builder but code i sent u is correct '(" + DateTime.Now + ")'
|
|
|
|
|
Nekshan wrote: strQury = "insert into dashboarddealerlogin (logoutdatetime) values '" + DateTime.Now + "';
what is wrong?
You have forgotten the parenthesis around the values, and you have forgotten to convert the DateTime value into a string:
strQury = "insert into dashboarddealerlogin (logoutdatetime) values ('" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + "');
You should make sure that the date format that you use is understood correctly by the database. I prefer the ISO 8601 date format as it's unambigous.
---
single minded; short sighted; long gone;
|
|
|
|
|
Nekshan wrote: ...barobar implement nai thayu haji,i'll try it 2mrw now.
|
|
|
|
|
I tried Windows Vista on my laptop, and one of the great features I found was the ability to customize power options in great detail, particularly, the ability to set a maximum limit for cpu activity. Is it possible to do that on Windows XP? If not directly, is there a way to write application that does this? Does the .NET framework expose such functionality?
|
|
|
|
|
|
I checked the webpage you referenced. Well, it showed the signatures and declarations but I couldn't figure out what it actually does.
|
|
|
|
|
Hi, I'm a Java programmer and I know a bit of C# (let's say all the fundamentals and perhaps a bit more), however, I still lack a lot of experience on the field of programming form-applications.
I have a concept for something of a Microsoft PowerPoint-like application. My problem is: I don't know how/where to start on building the framework for the GUI. When the program is running, the user should be able to drag and drop controls (text, buttons, ..) on the workspace, and my idea was to render them using reflection (does anyone know a 101 on this?).
Is there a good starter kit for building 'workspace' applications?
Your help is very much appreciated.
- A young C# programmer
-------------------------------------
Kerfeunteun!
|
|
|
|
|
Hi,
I was looking for an example of desktop ticker, i.e a scrolling bar maybe that can be launched via exe. A small windows which can display rss feeds from internet.
Thank you!
M. Nauman
"Mess with the Best, Die like the rest"
|
|
|
|
|
Perhaps this[^] (VB) article will help?
/ravi
|
|
|
|
|
Hello,
Firstly I'm very new to C# so I'll apologise in advance for what may sound like silly questions.
I'm want to write a small game application where things move on the screen. It is a turn based app and as soon as one persons turn is over the graphics update with the new position.
I understand the business logic side but as far as the visual side goes I'm not sure how graphics work in C# and would very much appreciate some pointers on where to start.
Do I draw the game board first and then overlay stuff on it? If so how? Or do I draw a game board every time a person moves?
Any help is greatly appreciated.
Thanks,
Monk
|
|
|
|
|
Monk111 wrote: I'm very new to C#
Monk111 wrote: I'm want to write a small game application where things move on the screen
These are probably mutually exclusive statements. You should learn core C# before learning extension libraries like GDI+
If the Graphics.Drawing namespace doesn't do what you want, then you need DirectX
Monk111 wrote: Do I draw the game board first and then overlay stuff on it?
Almost certainly
Monk111 wrote: If so how?
With bitmaps that havbe transparency masks, or 3D models.
Monk111 wrote: Or do I draw a game board every time a person moves?
Yes, you will have to.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|