|
I need to get the _Application (or _Document) interface from a running Word application. I know how to get this interface using ROT, but I need to do it in a deferent way.
In my case, I run in the context of the Word process (not as add-in). When I am inside the process I would like to get the running Word’s _Application interface so I can listen to events.
Thanks
Sagi
|
|
|
|
|
Hi! I want to populate a listview with items from the database, can someone help me how should I start...I really don't know how to populate...thx ahead
|
|
|
|
|
ListView doesn't support data binding, I guess. You can fetch data into a DataTable, iterate rows and add list items manually. I have got one article here[^] which explain the data binding in ListView. Take a look at that too.
Hope this helps.
|
|
|
|
|
Hello
I'm using oracle 9i db and my connection string is,
"Data Source=HDLOCAL; User Id=HDLOCAL; Password=HDLOCAL; Unicode=True;";
I want to turn off autocommit.
What changes required in the connection string?
TIA,
Leena
|
|
|
|
|
I think you are understanding incorrectly.
Look at DbTransaction , this will allow you to control your own transaction.
|
|
|
|
|
Hi,
I have encountered a situation where i need to list all the softwares installed that are either trial versions or do not have a registration Key.
Please recommend how to approach n useful links/code samples if possible.
Karunish Arora
India
|
|
|
|
|
I doubt there's any way to do that. The mechanism to make something a trial differs. You can do it, for known programs that you specifically detect, and specifically know how to tell if they are trial versions.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I found an attribute productID in win32 through which u can get serial/key no of the product.
if I can filter from the complete list softwares that have keys. I can detect.but i am not getting the exact approach.Please think over again !!
Karunish Arora
India
|
|
|
|
|
I guarentee you that my software does not have this attribute. You cannot tell without knowing how my application works, specifically, if it is a trial version or not.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
hmm...
But if customer has demanded such a thing then there must be existing way to list trial version softwares may be some otherway. That is why i am stuck up ???
Karunish Arora
India
|
|
|
|
|
OK, let me get this right - if a customer asks for it, it must be possible ?
The sort of customers who hire cheap developers from sites like rentacoder are clueless morons, sorry.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
|
You can't. Still. You CANNOT tell if they are trial versions, unless the word 'trial' appears in their name or something.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
karunisharora85 wrote: if customer has demanded such a thing then there must be existing way
I think you must be new to this game. Just because the customer wants it doesn't meant its actually possible! Learn the art of managing expectations.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
is there any way to idebtify if an string is an IP?
|
|
|
|
|
Use System.Net.IPAddress.TryParse()
|
|
|
|
|
Perfect, I didn't know this existed. Got my 5
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Thanks
|
|
|
|
|
Hoo boy - I didn't even know that existed. A 10 out of 5 for you sir.
|
|
|
|
|
I am delighted. Ratings from you is lot for me. Thanks pete.
|
|
|
|
|
thanks:usefull,helpfull,fullfull
|
|
|
|
|
Use a Regex . The following should work: @"(\d{1,3}\.){3}\d{1,3}"
|
|
|
|
|
I thought of that, but it's not perfect. It will accept 300.534.999.21
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Christian Graus wrote: It will accept 300.534.999.21
Close enough
|
|
|
|
|
A regular expression will do that. I suspect Expresso ( www.expresso.com[^] ) will have one to do that built in.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|