|
can anyone help me to develop irc chat in asp.net
Veeresh R M
|
|
|
|
|
Sorry, but that's not really a valid goal - irc is instant chat, and ASP.NET is based on a page being served when the user clicks on something. The best you could do is make your pages autopostback in a way that would kill your server with useless traffic.
Although, I believe there's an article on CP about having controls that talk to the server, I still don't see ASP.NET as the way to write a chat program.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
thank u for replying,
i tried to connect irc chat with tcpclient, it gave some following error,
i cld'nt understand it, plz help me out.
NOTICE AUTH :*** Looking up your hostname NOTICE AUTH :*** Checking Ident NOTICE AUTH :*** Couldn't look up your hostname :blueyonder2.uk.quakenet.org 451 * :Register first. :blueyonder2.uk.quakenet.org 451 * :Register first. :blueyonder2.uk.quakenet.org 451 * :Register first. :blueyonder2.uk.quakenet.org 451 * :Register first. :blueyonder2.uk.quakenet.org 451 * :Register first. :blueyonder2.uk.quakenet.org 451 * :Register first. ERROR :Closing Link: by blueyonder2.uk.quakenet.org (Registration Timeout) Cannot read from a closed TextReader.
|
|
|
|
|
The IRC server tried to reverse your IP address to get a DNS name. Apparently, you need to contact the owner of the IRC server to get an account first. At least that's what I think when it returns "Register first."
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
does anyone know about Dhtmledit executecommand option in detail. with exapmle VB6.0 please help
thanks in advance
|
|
|
|
|
Have anyone got this error : Unexpected Error (50003) when running VB6 application? I tried looking into the MSDN, but couldn't find the solution.
<italic>Work hard, Work effectively.
|
|
|
|
|
|
can anyone briefly explain me about .NET porting ?
What are the significant changes need to be done after porting a VB application to VB.NET?
|
|
|
|
|
Basically, you need to rewrite it, from what I've been told. The reason some MVPs are asking Microsoft to still support VB6 is that they find the process of importing a VB6 app into VB.NET to be less than stable, and less than complete.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Porting vb6 to vb.net simply isnt worth it. For a project of any real size you would need to spend weeks/months implementing the stuff that did not port and testing the stuff that LOOKS LIKE it did import. Then at best you would have an under performing vb.net application coded in the same crappy style as a vb6 application. The truth is that its applications like this that give vb.net a bad name.
The correct way to go is the following:
1. Take a good look at the vb6 app and evaluate whats good / bad about it.
2. Start from scratch in VB.net using all the nice new OO methods now available to you.
Jon
|
|
|
|
|
i have 2 picture in my MS Word. I need to delete the second picture. Anyone knows how to delete it using vb.net??
thanks..
|
|
|
|
|
Is anyone know about Crystal Reports with vb? I created a mailing label in crystal reports 8.5, but I don't know how to skip used mailing labels and print duplicate. any idea?
Lisa
|
|
|
|
|
Can anyone help. I'm trying to set the font of a label property to 'strikeout' by clicking on a command button. When I do this I get "Property Strikeout is read only". I've put in this code
Public ReadOnly Property Strikeout() As Boolean
Get
End Get
End Property
but whatever I put in between the Get & End Get statement isn't an accepted value. All MSDN info is only general not specific. This is probably simple but I just can't get passed it.
|
|
|
|
|
You will have to create a new Font instance:
label1.Font = new Font(label1.Font, FontStyle.Strikeout)
|
|
|
|
|
Thank you very much that works well. The next step is to apply the strikeout to a checkedlistbox line when it is checked. Can certainly determine if the line has been checked but need to apply strikeout to only one line at a time.
|
|
|
|
|
This is a bit more tricky, because the CheckedListBox doesn't support this by default. First you will have make your own CheckedListBox by inheriting from the normal CheckedListBox class. Then override the OnDrawItem method and implement it the way you want.
The easiest way to implement it should be to call the base implementation and just draw a line over the whole item when it is checked. Other possibility would be to get Reflector and look into the default implementation to get a feeling for what has to be implemented.
|
|
|
|
|
Thank you for the info so far. I had a quick look at creating a custom control but I'm a bit lost ( haven't had much experience with Visual Studio yet, mainly VB6). I don't have to have the strikeout, even a color change might do, as long as it is more noticable than the check box but I will try different ways.
|
|
|
|
|
If you want the text of any item of a CheckedListBox to look different, in any way!, from the others, you'll have to ownerdraw the list items, just like Christian said.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I am currently attempting to design an easy to use Order for about 24 different pruducts using Visual Basic 6.0. I am planning on using a database to keep track of previous orders and to hold the pruduct list. However, I am having trouble toring to making the 24 different text boxes to only allow the user to enter numbers only. I have tried going through the different properties and cant figure it out. Can anyone help me with the code or provide me a link with a detailed example? Also, if anyone happens to know where I can go to get a good example of a database driven order form that allow easy changes to pruduct numbers?
|
|
|
|
|
Does VB6 allow you to catch the WM_CHAR message ? If so, you can check if it's a number, and ignore it if it's not.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Public Function procNumOnly(KeyAscii) As Integer
If ((KeyAscii < Asc("0")) Or KeyAscii > Asc("9")) _
And (KeyAscii <> 8) And (KeyAscii <> 13) And (KeyAscii <> 46) Then
procNumOnly = 0
Else
procNumOnly = KeyAscii
End If
End Function
Private Sub txtPrice_KeyPress(KeyAscii As Integer)
KeyAscii = procNumOnly(KeyAscii)
End Sub
<italic>Work hard, Work effectively.
|
|
|
|
|
Yulianto. wrote:
And (KeyAscii <> 8) And (KeyAscii <> 13) And (KeyAscii <> 46) Then
Wow - VB6 doesn't have IsNumeric, or IsControlKey ? Assuming you're safe to use hard coded ascii values, wouldn't it be better to accept the entire control range ?
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
good morning guys.
i get a problem automatind excel in vb6. when i'm working with Range Property everything is alright. but each time i use with the ActiveCell or ActiveSheet in my codes, compiler return error 91; Object Not Set. Plus, i make sure that i activate the sheet i'm working with. here's some codes i use:
Wks.Activate
ActiveCell.Value="Visual Basic"
-------------------------------------
thank you for your help
|
|
|
|
|
Is thr any free software available on net for designing toolbar and UI controls like button ect.;)
|
|
|
|
|
Doesn't the IDE let you do that ?
Christian Graus - Microsoft MVP - C++
|
|
|
|