|
sunder vel wrote: I Have Created a COM+ Serviced Based Application Dot Net
Let's see a sample fo the source code. Make sure to check the "Ignore HTML tags" checkbox before you click "Post Message".
Somehow, I think you're missing a bunch of COM decorations from your classes and methods...
|
|
|
|
|
Hello,
I am trying to create an email client however I don't know how to use the pop3 fumctions of vb.net can anyone help me with the parameters or does anyone know somewhere where I can download one ?
Thanks
al968
Avast Antivirus-<url>http://www.avast.com<url>
|
|
|
|
|
|
hi ,
i want to know what is the difference between Debug and Release folder.
any link that specify particular this point ?
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
|
|
|
|
|
Hi, do their names suggest nothing to you?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
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.
|
|
|
|
|
hi Ajeet,
use following code
label1.text=combobox1.text
Hope this Helps
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
|
|
|
|
|
It's because the selected item is of type DataRow and when you assign it to the label1.Text the ToString method is called on the DataRow, which returns System.DataRow.
If you want to display the selected value in the label try:
label1.Text = combobox1.SelectedValue.ToString.
Mike Lasseter
|
|
|
|
|
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")
|
|
|
|
|
can anyone tell me a way to replace a line and to remove.
I used this; doesn't work.
ex:-Richtextbox1.lines(0).replace("sdf")
|
|
|
|
|
In vb.net you do .Replace("sdf","") to remove that section.
Ben
|
|
|
|
|
If you could give a more clear coding it will be appreciated.
|
|
|
|
|
Your first error: The Replace method needs more than one parameter.
Your second error: The Replace method doesn't change a string, it returns a new string instance that contains the changes.
Richtextbox1.lines(0) = Richtextbox1.lines(0).Replace("sdf", String.Empty)
---
single minded; short sighted; long gone;
|
|
|
|
|
|
Then you need to be more precise in you postings.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
Standard question #1:
What do you mean by "not working"?
Standard question #2:
What error message do you get?
Standard question #3:
What does your code look like?
---
single minded; short sighted; long gone;
|
|
|
|
|
no error messages just doesn't work.(doesn't do anything)
|
|
|
|
|
Standard question #3:
What does your code look like?
---
single minded; short sighted; long gone;
|
|
|
|
|
hello frnd,
i am using vb.net 2.0, i want the code to get the content of the word file page by page...
is there any idea....??
is any one have code .....????
Please Help...
-Koolprasd2003
Be A Good S/W Eng... Life is swing with you..Enjoy..
|
|
|
|
|
the following code retrieves word by word
Dim mobjApp As Word.Application
Dim tmpRange As Word.Range
Dim tmpWords As Word.Words = mobjApp.ActiveDocument.Words
For Each tmpRange In tmpWords
If tmpRange.Text = "your text " Then
'do something
End If
Next
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
Isidoros
|
|
|
|
|
hello isidor7,
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
- koolparasad2003
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?
A.E.K
|
|
|
|
|
|
well it's simple!
you have to declare your class with events
so when a value changes you will raise an event.
then...
your form will grab the event and from the form
you will setup the value property of your progress bar.
isidoros
|
|
|
|