I Have Created a COM+ Serviced Based Application Dot Net
I have installed The Application Proxy In my Client machine when I access the COM+ Service in the Server I Get a error “ Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))”
Visual Studio provides different build scenarios. There are two build scenarios that are created when for a solution, Debug and Release. As the names suggest, the Debug configuration contains extra information inside the EXE or DLL to allow you to debug the application. The Release is stripped of all of the extra debugging information and is ready to be shipped or released.
i have a bounded combobox control on form in windows application, i tay to retrive selected value from it and try to show in a label control
but in label it not shows value,it shows system.datarow......
how i do it.
i write label1.text=combobox1.selectedItem
try to solve my problem.
The SelectedItem will return the DataRow object in the datasource that your box is bound to. Cast SelectedItem to a DataRow object, then you can use the DataRow's properties and methods to get the data you want out of that row.
Dim dr As DataRow = DirectCast(ComboBox1.SelectedItem, DataRow)
Dim id As Integer = dr("SomeIdColumnName")
Dim tmpRange As Word.Range
Dim tmpWords As Word.Words = mobjApp.ActiveDocument.Words
For Each tmpRange In tmpWords
If tmpRange.Text = "your text " Then
similary you can use
tmpParagraphs = mobjApp.ActiveDocument.Paragraphs
in order to retrieve paragraph by paragraph.
i think at both objects Words and Paragraphs
there is a property that you can tell you the page.
hope that helps
Thankx for your valueable help .
but if i read a page, word by word OR para by para then how can i come to know that the end of page is here.
suppose, if there is 10 pages then it is go on reading till the last page comes.. how can i come to know then that the page 1 is over and 2 is start ???
If u know plz help ....
thankx again for your reply
Be A Good S/W Eng... Life is swing with you..Enjoy..
I have a form with a progressbar and a dynamic graphic control
this dynamic control freezes when i run a method in the form.
so i run the method as a new thread in a class.
the problem is that the value of progress bar should depend to a variable in the method.
when i try to assign a value to the progress bar from the thread class I recieve the error message which says: the control is not created within the thread and can not access to its properties.
so how can i access to the value property of the progressbar?
Last Visit: 31-Dec-99 18:00 Last Update: 24-Sep-23 23:50