|
This article has some cool stuff: Lock Windows Desktop[^]
--EricDV Sig---------
Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them.
- Laurence J. Peters
|
|
|
|
|
Thank u, ur code exactely satisfy my needs, but i want to do this under .NET not in visual c++
|
|
|
|
|
I m trying to export data in excel sheet, Data are exported in excel perfectly but i have a price filed in it which will truncated by excel to the non zero digits, but i want to show price field upto 4 decimal places either zero comes after decimal. Data are export through store procedure, size of price is defined 4 decimal places in sp but still excel trucate it to the non zero digits, what should i do to resolve this issue.
Regards,
Raheel Iqbal
|
|
|
|
|
Either change the cell or column formatting to text,
or add a single quote to the cell before the number: '9432.5700
--EricDV Sig---------
Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them.
- Laurence J. Peters
|
|
|
|
|
can anybody help me in developing an application like VNC(virtual network computing) in c#
prashanth
|
|
|
|
|
The question is very vague, but if you want an answer to it, the answer is no.
Anybody can't help you with that, as everybody doesn't have the knowledge required to contribute anything to the project. I am sure that somebody can help you, though.
If you want a more specific answer than that, you have to write a more specific question.
---
b { font-weight: normal; }
|
|
|
|
|
prashanthmaalay wrote: can anybody help me in developing an application like VNC(virtual network computing) in c#
Not a small task.
This article is C++, but it is a place to get started:
Remote Desktop Viewer Lite[^]
--EricDV Sig---------
Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them.
- Laurence J. Peters
|
|
|
|
|
hi,
iam writing one application using .Net(version 1.1),
in my application, i want to read and send data to one hardware unit through Serialport(rs-232).
i known to access serialport in C#
i directly use SerialPort namespace.
but iam using version 1.1 that namespace is not supported here.
plz help me how can i access the Win API in C# to access the serial port.
G.Perm Kamal
|
|
|
|
|
Simplest would be to use .NET 2 if you can.
There are some free coms drivers for .NET littered across the internet, one was provided by Sax a while ago, one was written by MS and included in the VB.NET Resource Kit and I'm sure there are one or two here.
Just do a Google.
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
|
|
|
|
|
hi thanks for reply
but my company must use .net framework version 1.1 only .
now tell how can i use win32 API to access the serial port.
plz help me .
Hi,
Thanks, if u think it's good.
otherwise sorry.
|
|
|
|
|
premkamalg wrote: now tell
Ask nicely, we're giving up free time to help you here.
premkamalg wrote: win32 API
Have you tried searching for RS232 on CodeProject, there's a C++ article on how to use Win32 to access the serial port, it isn't too difficult to translate.
Also this[^] article may help you.
As I mentioned there was stuff given away by MS, Sax and a few others, just do a Google search.
Alternatively you can use Reflector to examine the code behind the System.IO.Ports namespace for information on how to write your own RS232 Library.
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
|
|
|
|
|
Sorry Mr. Ed.Poore and also thanks for u r suggestion.
i will go through that links (what you give ).
G.Premkamal
|
|
|
|
|
hi thanks for u r answer.
but i must us e.Net Framework 1.1 only
now tell how can i access the Win API's in my C# program
plz help
G.Prem Kamal
|
|
|
|
|
|
Hello,
Is it possible to change the "DefaultValue" attributes value of a property without overriding the property?
Thanx for youre time!
Martin
|
|
|
|
|
No
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
|
|
|
|
|
Thats what I assumed,
Thanx
|
|
|
|
|
It's a bugger isn't it
But looking at it from a design point of view it makes more sense.
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
|
|
|
|
|
Or am I doing something wrong?
I'm creating a column sortable Listview and I want to give the user some visual feedback on which column is sorted and all that stuff, aka a sorting arrow.
In order to do that I'm activating OwnerDraw and then in all the protected overriden methods (OnDrawItem, OnDrawSubItem, etc) I'm setting DefaultDraw=true;
The only painting I'm really handling is inside OnDrawColumnHeader. I have everything working fine with XP themes and all using the VisualStyle namespace but there's one bug I can't seem to fix: The DrawListViewColumnHeaderEventArgs has a property which gives you the ListViewItemStates of the header. The ones I'm interested in are Default, Hot and Selected. The bug is that the Hot state never seems to activate, when you mouse over the header, the e.State property does not change and remains 0 or default. This makes it imposible to correctly render a themed header as it I can't detect when I have to paint a hot header. I've tried using Rectancle.Contains(Cursor) but that runs into tons of problems when moving cursor from one header to another.
Anyone know if this is a known issue or am I doing something wrong?
thanks
|
|
|
|
|
|
I am currently working on a medical transcription management system.
For the same I need a control that can use to playback .dss file in .net application....
Can somebody help me to find out the same.....
Thanks in advance !!!!!!!!!!!!
|
|
|
|
|
What is a .dss file ? That's a pretty specialised request, have you tried google ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
.dss is a format used in files which are dictated using a dictaphone (eg. Olympus Dictaphone) which is an equipment commonly used by doctors for dictating the consultations they make
i made some extensive search in google.
There are many players that can playback this kind of file.
like olympus dsslyte, dss dj etc.
But what i need is a control or component which i can integrate into my application.
actually i have this player with me.
i thought of calling it with a shell exec call...
but i dont know whether i'll be able to control the player when the focus will be in a word document.
|
|
|
|
|
It's an audio file ? I'd guess your best bet is SDKs that cover lots of audio formats, including obscure ones like this.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
thanks graus...
can u explain it in detail...
i'm not so familiar with sdk.
thanks
|
|
|
|