.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Sandeep Singh

Home >> Forum >> Windows Application >> Post New QuestionBookmark and Share Subscribe to Forum

Visual Basic 6.0 Program to Check Log in Details with Access Database

Posted By: Sushil     Posted Date: February 24, 2010    Points:2   Category :Windows Application
Hello sir,
I want Visual basic source code to check Log in Details with MS Access Database,if It is True then I want to display Deposit form.
when user enters Deposit amount then it will stored in Access database
by following way-
1)Net Balance=Initial Balance+Deposit Amount
when user cliks on withdraw button
2) Net Balance=Initial Balance-withdraw Amount

Author: elizas             
Posted Date: February 24, 2010     Points: 5   

We can use messageHeaders to check and authenticate the connection between the Silverlight and WCF service. Operation context of type System.ServiceModel holds the information for the current operation in client and service side.

For sending messages from the client side we will use the OutgoingMessageHeaders of type System.ServiceModel.Channels.MessageHeaders and similarly for receiving header information in service side we will use IncomingMessageHeaders.

Suppose we want to send the username and password from the client and check in the service side we can use messageHeaders.

Here in the client side we can create header with the CreateHeader function with the parameter CreateHeader(name as string,ns as string,value as object)

Imports System.ServiceModel.Channels

Dim PersonObj As New Person
PersonObj.UserName = "Soumyap"
PersonObj.Password = "Mindfire"

Dim messageHeadersElementOutgoing As MessageHeaders = OperationContext.Current.OutgoingMessageHeaders
messageHeadersElementOutgoing.Add(MessageHeader.CreateHeader("Authentication", "", PersonObj))


Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend