|
Thanks.
What if I want it to happen at every hour instead of every day then?
-- modified at 15:13 Tuesday 25th July, 2006
|
|
|
|
|
Then you're back at your first method.
---
b { font-weight: normal; }
|
|
|
|
|
I have an application which use has a DLL with 100+ (auto-generated) Managed C++ wrapper around some native API.
Compare to a purely version my application has some performance issue and I just realized it is probably due to the security check which happen just before each of the (numerous) call into this native API.
Now I know that, perhaps, I could tag my MC++ wrapper with
<suppressunmanagedcodesecurityattribute>
But I wonder if there is not an other call I could place in the Main() function (such as Permission.Demand() or stuff like that) which will achieve the same result?
After all my code this is for a desktop application with as much right as the user.
|
|
|
|
|
|
Hi All,
My task with combobox is:
When I Type a letter in combobox it should select the Item which is starting
with the letter.
for example the Combobox items are One,two,three,Four,Five,thirty,forty,fifty etc.
When I type 't',it should select "three" which is first in combobox items and the focus on remaining "hree".agian when i type 'h'(becomes"th") and the focus on "ree",on typing 'i'(becomes"thi"),combo should select "thirty",and focus on "rty".like that it should go on.
Please suggest.
Thanks In advance
G.Nagaraju
|
|
|
|
|
Set the AutoCompleteSource property of the ComboBox to ListItems (if in .NET 2)
If you're using .NET 1.x then you'll need to write or use a combo box which supports autocomplete. There are a few articles on this site regarding this.
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
|
|
|
|
|
I have set that option,but not able to get wat i want.
please can u explain with code or give me a url please
Thank u very much
Nagraj
|
|
|
|
|
Nagaraju_Focus wrote: give me a url please
Can you give more information?
Nagaraju_Focus wrote: I have set that option,but not able to get wat i want.
http://msdn2.microsoft.com/en-us/library/system.windows.forms.combobox.autocompletesource.aspx[^]
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
|
|
|
|
|
Hello All .I am workin in a very small company .we have our network system .We want to work on .net so tell us how n where we should install .net.
We have 20 system in which one is server .We want to use our server to work on .net and its project.
tell me exact process to .net installetion on network system . I know about single system which is work through localhost.
My server have NT 2000 operating system.
Thankyou in advance.
Life is not easy ,let's make it.
|
|
|
|
|
Install it on each machine that is going to be used for development.
I'd like to help but I am too lazy to Google it for you.
|
|
|
|
|
Hi All , i m very new in .net erra and i want work on .net So help me that where i can download latest .net framwork.
Send me url.
Thankyou in advance.
Life is not easy ,let's make it.
|
|
|
|
|
Go here[^] and do a search for downloading .net frameworks.
I'd like to help but I am too lazy to Google it for you.
|
|
|
|
|
I'm trying to make Outlook addin that will add one button to outlook context menu---
(VB.net / C# .net (NO C++ .net))
first,
ActiveExplorerCBars = applicationObject.ActiveExplorer.CommandBars
then
cmdbar = ActiveExplorerCBars.Item("Context Menu") 'cmdbar is commandbar object "^getting error here"
control = cmdbar.Controls.Add(MsoControlType.msoControlButton)
With control
.Caption = "kedar"
.visible = true
..... other props
End With
but i'm gettin an error that the parameter "Context Menu" is incorrect @ cmdbar = Active......
"i have seen code working in vb but not in vb.net so keep that in mind and reply for vb.net"
i've refered -- http://www.outlookcode.com/codedetail.aspx?id=526
http://www.outlookcode.com/codedetail.aspx?id=314 ?
and similar codes but they'r not of any use to me,.....
I think "Context Menu" is not a valid parameter. But accordg to other resources i've cometo know that outlook has that Named menu.
I'd like if anyone can post a code to add the button to context menu.
thnx in advance
"You can do any thing you set to your mind" - theGhost_k8
|
|
|
|
|
In VC++.Net , I have to create an VScrollBar,it usually has one Up arrow End and
One down arrow end
My Application is like this:
I have to create vscrollBar which is Having Both Up and Down arrows at both ends.
means
At UpEnd:UpArrow+DownArrow
at DownEnd:UpArrow+DownArrow
I dont know how to create These type of requirements in MC++.
Please Suggest me ,to get rid of this.
Thanks In advance
G.Nagaraju
|
|
|
|
|
You won't find any prebuilt one in the framework. I would try to inherit from VScrollBar and place two small buttons over the normal arrows and handle the click events myself. If there is not enough space to place two buttons at each end you could also make a usercontrol which contains one scrollbar and 4 buttons.
Note that issues might arise if you want to display xp-style scrollbars.
Robert
|
|
|
|
|
Why do you have to do this? What is supposed to happen when you click the arrow buttons?
---
b { font-weight: normal; }
|
|
|
|
|
The Scroll Bar work at both ends,
means at the up end when u click up arrow,bar shoud go up and when down bar
should go down
and this it both sides
G.Nagaraju
|
|
|
|
|
Then we return to my first question: Why do you need to do this?
Users are generally used to how a regular scroll bar looks like and works, and I think that doubling the buttons would cause more confusion than usability.
Anyway, you have to build your own scrollbar to get that functionality.
---
b { font-weight: normal; }
|
|
|
|
|
Hi all,
is there a way to enumerate all (active) WindowsXP users on the target machine?
FalkoD
|
|
|
|
|
Please refer Windows Platform SDK , jump to Windows Terminal Service category
|
|
|
|
|
Perhaps I didn't make myself clear enough.
I would like to know which user accounts are existant on the target pc. Furthermore I only would like to enumerate those which users can really logon to, that is no "Guest" account if it has not been activated and not those ASP.NET server accounts, only those which would appear on the logon screen if you boot up, that's why I called them active. And unfortunately I can't find a suitable function for that in the Windows Terminal Services.
|
|
|
|
|
Hello everyone,
I don't think the question is far fetched, let's suppose you have a class MyObj with a New() constructor that takes one or more parameters, anything you like; now, for some reason the state of the parameters indicate that a myObj should simply not be instantiated, i.e., the code
obj = New MyObj(param)
sets obj = Nothing. In essence, the constructor is selfaware and prevents object instantiation if the conditions are not right.
Any suggestions?
PS Yes, I could evoke a System.Exception() in the constructor
Visualize then Realize
|
|
|
|
|
Because a constructor must always return a new instance of the object you might like to look at alternatives.
For example: Use the factory pattern. Specifically: use a factory method.
A factory method is one that creates an object but is not a constructor. You might create one like this:
public class MyObj
{
private MyObj()
{
}
public static CreateMyObj()
{
MyObj result = null;
if (parametersAreOkay)
{
result = new MyObj();
}
return result;
}
}
The rest of the code cannot access the constructor, and must use the CreateMyObj factory method to instantiate the object. The method may return null if the object cannot be created.
Does this help?
|
|
|
|
|
Your factory method technique is valid indeed, however, you hit my question on the mark with the statement:
>>>...a constructor must always return a new instance of the object...
It would be nice if constructors behaved as functions, then "return null" would be clear and clean. Something to think about.
Thank-you
Visualize then Realize
|
|
|
|
|
Giancarlo Trevisan wrote: It would be nice if constructors behaved as functions, then "return null" would be clear and clean. Something to think about.
No it wouldn't. The purpose of a constructor is to construct an object. If it was able to avoid doing that then the semantics of a constructor would be broken.
|
|
|
|