|
I regret to report that we get enough dumb questions around here that you need to make that clear
Your mail server requires the step where you specify credentials ? No email code I've ever written involves that step, as far as I remember.
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 )
|
|
|
|
|
hi try this
set
client.DeliveryMethod = SmtpDeliveryMethod.Network
before sending mail..
Rajesh B --> A Poor Workman Blames His Tools <--
|
|
|
|
|
hey guys, got it working in the end:
Sub newreportMail(ByVal ex As String)
Dim SendEmail As New MailMessage()
With SendEmail
.From = New MailAddress("from@from.com")
.To.Add(New MailAddress("to@to.com"))
.Subject = "There is a problem inserting records"
.Body = "There has been a problem inserting a record : " + ex
Dim client As SmtpClient = New SmtpClient()
client.Host = "mail.here.com"
client.Credentials = New Net.NetworkCredential("from@from.com", "pass")
client.Send(SendEmail)
End With
|
|
|
|
|
Sir,I want to display Treeview in Crystal Reports
pls help me on this
Mamatha
|
|
|
|
|
The only way to show a TreeView in Crystal Reports is to create an image on one. Try this[^].
|
|
|
|
|
This message is appeared suddenly ,,
I deleted Debug folder and rerun project without any change ..
Hoe can i solve this problem ?
jooooo
|
|
|
|
|
The rest of the exception text will tell you what dependancy is missing.
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 )
|
|
|
|
|
hi guys
i have a windows library created in vb.net, now i want to know that how to i can create a html help file of this library ,, thanks in advance ..
hello
|
|
|
|
|
There are tools for doing that, did you google ?
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 )
|
|
|
|
|
|
Hi All,
Assume that you have an exe. Now you are creating a new application which opens or launches the existing exe. Launching an exe from your application can be done using Shell command.
Now my question is with out opening that exe you have to do operations what you are doing in that exe. eg: If are able to create new record in that exe then from your application you should be able to activate the new button in that exe.?
Thanks
Omprakash
|
|
|
|
|
Basically, if you're writing both apps, you need to write code to create communication between them, probably using WCF, named pipes, or the WM_COPYDATA message.
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 )
|
|
|
|
|
Hi Christian
Thanks for reply.
I am using VB6 to do this. The exe what i am using is not developed by me. So i don't have source code of that exe also.
|
|
|
|
|
What you want to do is very problematic. Using SendKeys and posting mouse messages to another window depends on the input focus NOT being touched by the user using your application. If they click off your target application during an interactive operation, that operation will fail. You'll have no way of knowing it and no way of resetting the target app back to a known state so you can retry the operation.
|
|
|
|
|
Hi Dave
Thanks Dave. Even i tried to send the keys but problem is when you are using send keys if target exe don't have any shortcut keys then it will not work.
Thanks once again.
|
|
|
|
|
I Have been generating a text file using streamWriter in my project.I have to set the readonly attribute of that text file to true.
can anyone please help me to solve this.
thank u
|
|
|
|
|
Google broken where you live ?
Once you have a text file stored on disc, you can get the file attributes and set readonly to be true.
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 )
|
|
|
|
|
Does anyone know how to create a RecoProfile in VB.Net. I would want to create a new Profile and name it from code and not through the speech controls in the Control Panel.
Thanx 
|
|
|
|
|
Dhara_Remadhara wrote: RecoProfile
Never heard of it. Perhaps a link to the library you're using might help.
|
|
|
|
|
hi
how would i use a web service to post data from my vb.net client to an asp.net website
plz could someone provide examples
thanks so much
|
|
|
|
|
Any example you could find on the web for consuming a web service will answer this question better than a forum reply can. Of course, your website needs to expose the webservice and use data sent from the webservice in it's pages, for you to send data 'to' an ASP.NET website ( of course, your web service cannot interact with actual pages )
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 )
|
|
|
|
|
Recently I've been tasked with needing to add the ability to and existing VB6 application print to a certain type of printer:
http://global.dymo.com/enUS/Products/LabelWriter_400_Turbo.html
Now, I am aware that I would need the specific driver for this printer, but however I am curious if this particular printer requires anything different for me to actually add it's functionality to the application I'm supporting. This isn't time critical, so no one is in a hurry. So I'm posting this as I'm looking stuff up to help answer my question.
Thanks in advance.
|
|
|
|
|
BREdwards wrote: I am curious if this particular printer requires anything different for me to actually add it's functionality to the application I'm supporting.
No, not really. Windows abstracts printer functionality from your application. All you have to do is be able to handle smaller paper sizes properly.
|
|
|
|
|
Okay, thanks, I managed to find the SDK for the printer and I see how it works. It seems like I only need what I need to print, then run it through the proper subroutines on its way to the printer.
|
|
|
|
|
I suggest contacting the technical support of the maker of the printer for information like that.
|
|
|
|