|
Hi,
I am trying a simple window program in C#. That application should be in system tray and show the window when the icon in the tray is clicked. How can i do this?
urs truly,
Mutyala Rao,
9980004568
|
|
|
|
|
Mutyala Rao wrote: How can i do this?
Do a little research.
There are plenty of articles on the subject here.
only two letters away from being an asset
|
|
|
|
|
There's a controol available called NotifyIcon... Try experimenting with this one
|
|
|
|
|
hi thanks.
the below links were helpful:
http://www.developer.com/net/csharp/article.php/3336751
http://bluehouse.wordpress.com/2006/01/24/how-to-create-a-notify-icon-in-c-without-a-form/
urs truly,
Mutyala Rao,
096886303653
|
|
|
|
|
I had set some shortkut keys by using &in front.But the underline is enabled only if i press the alt key.i hav to see the menus with underline before press the alt key.please help me
My small attempt...
|
|
|
|
|
Display properties -> Appearance -> Effects -> Uncheck "Hide underlined letters..."
Don't use urgent in the subject
only two letters away from being an asset
|
|
|
|
|
i know that.But is der any other method
My small attempt...
|
|
|
|
|
No, there isn't. This is a user-controlled setting in the system, not your application. You don't have any control over the appearance of that underline in your application, unless you are owner-drawing the menus yourself. But, that's a lot of work just to show a stupid underline in a menu.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
thanks a lot dave.I were trying to change the registry thru pgm
My small attempt...
|
|
|
|
|
I have a list view control that is populated with "text" names of files on an ftp server. I want to allow the user to drag one of these names onto an area (like a folder), and copy the file from the ftp server. Is that possible?I have the QueryContinueDrag which tells me when the mouse is released, but is it possible to know where it was released? Also, I get the no drop icon. Can I change that as well? All I need to know from the user is, which directory he wants to drop the file, and I can do the rest. So basically, I need to,
1. Make sure the user has dropped the file on an explorer window
2. what directory was that explorer window pointing to?
thanks
|
|
|
|
|
Hi, I am wondering if any body has tried priting Images 2 or more per page depening on the user selection to print. LIike in Ms power point slide.
Thanks
|
|
|
|
|
Tried and completed.
Formula 1 - Short for "F1 Racing" - named after the standard "help" key in Windows, it's a sport where participants desperately search through software help files trying to find actual documentation. It's tedious and somewhat cruel, most matches ending in a draw as no participant is able to find anything helpful. - Shog9
Ed
|
|
|
|
|
|
Count me in, I've done it too!
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
And me.
Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world."
Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that."
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
So how do we do.
Can somebody show me how to make printPreview which dispaly 2 customers data each data on different page.For instance, When clicked on print preview it shows 2 pages on printpreview each page loaded with differnt customer
I need to get this printing done
thanks
|
|
|
|
|
hi all,
i have 2 computers(their names: MFA1 and MFA2) on the same network(workgroup).
currently i am using MFA1.
and i have an ms access file on MFA2 in drive D:\ under folder foo. (D:\foo\foo.mdb)
is it possible to access (insert, delete, modify...) that mdb file on MFA2 from MFA1 using C# in a windows app.?
if possible, then how should i set my connection string ?
many thanks in advance,
bye.
MFA
|
|
|
|
|
Mehmet Fatih Akbulut wrote: have an ms access file on MFA2 in drive D:\ under folder foo. (D:\foo\foo.mdb)
If D:\foo\foo.mdb is a network share.
Mehmet Fatih Akbulut wrote: if possible, then how should i set my connection string ?
I can tell you but it sound like you might be alittle new to this so do this
Google for 'C# MS Access Connection String'.
If you need somemore help, I will help you but see what you can find first then I give you a really big tip, I am working on an artical right now for this tip.
Searching on how to solve a problem is part of being a good developer.
Good Luck,
Jason
Sometimes simply is better than fancy. The developer stated after typing code line 10 billion!!!
|
|
|
|
|
Message Closed
modified 27-Apr-15 11:16am.
|
|
|
|
|
Mehmet Fatih Akbulut wrote: i shared folder foo on MFA2 with full permission. (read/write)
and mapped that folder on the computer (MFA1) i use.
I read once that for Access database mapping to the folder did improve preformance when accessed of a network.
But from a programming view is would be better to use something like "\\MFA2\\foo\\foo.mdb".
Because you would want your app to be able to run on any machine. Mapped drive 'A' on your box my not be the same as mapped drive 'A' on the box down the hall. Did that come out clear or what? Also, do not code in the connection string. What if foo.mdb moves to another box?
Mehmet Fatih Akbulut wrote: shared with full permission
Change the access level to allow the users you want.
Many hands make lite work,
Jason
Sometimes simply is better than fancy. The developer stated after typing code line 10 billion!!!
|
|
|
|
|
Mehmet Fatih Akbulut wrote: that's why i asked if there is a better solution instead of sharing with r/w mode ¿?
You MUST let the users have Read and Write permissions to the same. If you don't give them Write access, you can't update the database, obviously.
That one of the limitations of Access, being that it is a file-based desktop database. It's not really optimal for multi-user access. Move up to SQL Server and you'll get much better performance and greater security options.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Dave Kreskowiak wrote: Move up to SQL Server and you'll get much better performance and greater security options.
I agree.
Some people have a memory and an attention span, you should try them out one day. - Jeremy Falcon
|
|
|
|
|
Mehmet Fatih Akbulut wrote: how should i set my connection string ?
http://www.connectionstrings.com[^] is a good site to bookmark for connection strings. I has Access, SQL Server, MySQL, and many others.
Some people have a memory and an attention span, you should try them out one day. - Jeremy Falcon
|
|
|
|
|
Hello,
I would like to know differences beetween FormClosing and FormClose. I know that FormClosing is called before FormClosed but that's all. Does the context is the same ? For the application's objects is there some change ?
If you have some idea or internet link.
Best ragards
Ellande
|
|
|
|
|
ellande wrote: FormClosed
public event System.Windows.Forms.FormClosedEventHandler FormClosed
Member of System.Windows.Forms.Form
Summary:
Occurs after the form is closed.
ellande wrote: FormClosing
public event System.Windows.Forms.FormClosingEventHandler FormClosing
Member of System.Windows.Forms.Form
Summary:
Occurs before the form is closed.
Good Luck,
Jason
Sometimes simply is better than fancy. The developer stated after typing code line 10 billion!!!
|
|
|
|