Click here to Skip to main content
16,010,351 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Create object of .dll in vb6 and Use the public functions of .dll Pin
Dave Kreskowiak26-Feb-10 1:40
mveDave Kreskowiak26-Feb-10 1:40 
GeneralRe: Create object of .dll in vb6 and Use the public functions of .dll [modified] Pin
karthickmani6328-Feb-10 22:06
karthickmani6328-Feb-10 22:06 
GeneralRe: Create object of .dll in vb6 and Use the public functions of .dll Pin
Dave Kreskowiak1-Mar-10 1:49
mveDave Kreskowiak1-Mar-10 1:49 
GeneralRe: Create object of .dll in vb6 and Use the public functions of .dll [modified] Pin
karthickmani631-Mar-10 17:31
karthickmani631-Mar-10 17:31 
GeneralRe: Create object of .dll in vb6 and Use the public functions of .dll Pin
Dave Kreskowiak2-Mar-10 1:41
mveDave Kreskowiak2-Mar-10 1:41 
QuestionVisual Studio 2010 Pin
programmervb.netc++25-Feb-10 10:21
programmervb.netc++25-Feb-10 10:21 
AnswerRe: Visual Studio 2010 Pin
The Man from U.N.C.L.E.25-Feb-10 22:39
The Man from U.N.C.L.E.25-Feb-10 22:39 
QuestionBlank Mail ASP Pin
for120625-Feb-10 1:25
for120625-Feb-10 1:25 
Hi CodeProject ,

I wrote a javascript to validate the fields on the contact form . But it is working in my system.

After deploying in Main server . I am getting BLANK fields values .
What is the problem ?

This the code
<%@language = "VBscript"%>

<%

set objMessage = createobject("cdo.message")
set objConfig = createobject("cdo.configuration")

' Setting the SMTP Server
Set Flds = objConfig.Fields
Flds.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 1
Flds.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "xyz"
Flds.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport")=25 
Flds.update

dim b 
 b= "Name : " &  Request.Form("Name") & vbCrLf 
 b= b & "Organisation : " &  Request.Form("Organisation")& vbCrLf 
 b= b & "Title : " &  Request.Form("Title")& vbCrLf 
 b= b & "Address : " &  Request.Form("Address")& vbCrLf 
 b= b & "City : " &  Request.Form("City")& vbCrLf 
 b= b & "Country : " &  Request.Form("Country")& vbCrLf 
 b= b & "Email : " &  Request.Form("Email")& vbCrLf 
 b= b & "Phone : " &  Request.Form("Phone")& vbCrLf 
 b= b & "Interesed in : " &  Request.Form("category")& vbCrLf 
 b= b & "Description : " &  Request.Form("Description")& vbCrLf 

Set objMessage.Configuration = objConfig
objMessage.To ="xyz@gmail.com" 
'objMessage.CC ="xyz@xyz.in" 
objMessage.From = "info@xyz.in"
objMessage.Subject = "Contact Form - " & Request.Form("Organisation") & vbCrLf 
objMessage.TextBody = "High priority -  See details below. " & vbCrLf & vbCrLf & b

on error resume next
objMessage.Send
   if Err.Number <> 0 then
     response.Write "Email sending failed: " & Err.Description & ".<br />"&vbcrlf	 
   else
	response.redirect("contact_submit.html")     	 
   end If
Response.End
set objMessage = nothing
set objConfig = nothing
%>






Regards,
For1206

AnswerRe: Blank Mail ASP Pin
TheComputerMan25-Feb-10 1:33
TheComputerMan25-Feb-10 1:33 
QuestionSilverlight for Windows Application Forms...? VB.Net 2008 Pin
Paramu197324-Feb-10 23:15
Paramu197324-Feb-10 23:15 
AnswerRe: Silverlight for Windows Application Forms...? VB.Net 2008 Pin
Dave Kreskowiak25-Feb-10 1:52
mveDave Kreskowiak25-Feb-10 1:52 
QuestionWorking mdb access with vb.net - won't update [modified] - RESOLVED Pin
C#Coudou24-Feb-10 20:12
C#Coudou24-Feb-10 20:12 
AnswerRe: Working mdb access with vb.net - won't update Pin
Wayne Gaylard24-Feb-10 21:23
professionalWayne Gaylard24-Feb-10 21:23 
GeneralRe: Working mdb access with vb.net - won't update Pin
C#Coudou24-Feb-10 21:43
C#Coudou24-Feb-10 21:43 
AnswerRe: Working mdb access with vb.net - won't update Pin
Dave Kreskowiak25-Feb-10 1:49
mveDave Kreskowiak25-Feb-10 1:49 
GeneralRe: Working mdb access with vb.net - won't update Pin
C#Coudou25-Feb-10 12:54
C#Coudou25-Feb-10 12:54 
GeneralRe: Working mdb access with vb.net - won't update Pin
Dave Kreskowiak25-Feb-10 13:52
mveDave Kreskowiak25-Feb-10 13:52 
GeneralRe: Working mdb access with vb.net - won't update Pin
C#Coudou25-Feb-10 14:59
C#Coudou25-Feb-10 14:59 
GeneralRe: Working mdb access with vb.net - won't update Pin
TheComputerMan25-Feb-10 23:00
TheComputerMan25-Feb-10 23:00 
GeneralRe: Working mdb access with vb.net - won't update Pin
Thomas Krojer1-Mar-10 19:33
Thomas Krojer1-Mar-10 19:33 
QuestionPrint RichTextBox Content Pin
Anubhava Dimri24-Feb-10 19:51
Anubhava Dimri24-Feb-10 19:51 
AnswerRe: Print RichTextBox Content Pin
Wayne Gaylard24-Feb-10 21:20
professionalWayne Gaylard24-Feb-10 21:20 
GeneralRe: Print RichTextBox Content Pin
Anubhava Dimri24-Feb-10 22:12
Anubhava Dimri24-Feb-10 22:12 
AnswerRe: Print RichTextBox Content Pin
Nuri Ismail24-Feb-10 21:25
Nuri Ismail24-Feb-10 21:25 
AnswerRe: Print RichTextBox Content Pin
Smithers-Jones25-Feb-10 0:50
Smithers-Jones25-Feb-10 0:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.