Solved

TO LOAD VB FORM FORM VC...?

Posted on 2001-06-18
6
126 Views
Last Modified: 2010-05-02
HI EXPERTS .......
 I HAVE TAKEN UP A PROJECT IN MY COLLEGE IN VB,
 AND HERE THE FIRST THING IS THAT WHEN A USRE OPENS THE FORM HE WILL BE VALIDATED WITH USER NAME AND PASSWORD ...
SO I THOUGHT IT WOULD BE BETTER  IF I USE VC SERVER AND VB CLIENT FOR THIS ...SO I VALIDATE THE LOGIN NAME AND PASSWORD IN VC AND I PUT THIS IN VB THROUGH COMPONENTS OK..
BUT AFTER VALIDATING THE USRE IF THE USER IN VALID A NEW FOR SHOULD OPEN THATS IS A VB FORM SO HOW DO I DO THAT...
CAN I LOAD A VB FORM FOR VC .....IF YES HOW DO I DO THAT ,IS NOT WHAT CAN I DO TO SOLVE THIS ......

I CASE U DID GET THE QUESTION EXACTLY PLZ MAIL BACK TO ME AND I WILL PUT IT BREAFLY...........

I HAVE PUT 100 PTS FOR THIS QUESTION AND IF I GET THE RIGHT THING I WANT AND IF IT WORKS FINE,I WILL SURLY GIVE 100 MORE .........

                                       
0
Comment
Question by:navexpert
6 Comments
 
LVL 43

Expert Comment

by:TimCottee
ID: 6202427
If you have a problem with your keyboard, try posting a question in the hardware topic area!

navexpert, has nobody ever told you that it is rude to shout? Capitalizing everything is very difficult to read and will put people off your question. I notice that you have posted all 6 of your questions in upper case. Perhaps this is why at least 4 of them remain unanswered.
0
 
LVL 15

Expert Comment

by:ameba
ID: 6202485
navexpert, your CAPS LOCK is stuck?
0
 
LVL 5

Expert Comment

by:gbaren
ID: 6202533
navexpert,

If you want to handle validation in C, just write a C DLL and use it from VB.


DLL:
  BOOL ValidateUser(char * UsrID, char * PWD)

VB:
  Public Declare Function ValidateUser Lib "ValidateUser.dll" (ByVal UserID as String, ByVal Pwd as String) As Boolean


Then, use the OK button's click event to call the function with the entered values:

Private Sub OK_Click
    if ValidateUser(txtUser, txtPassword) then
          msgbox "User Authenticated"
    else
          msgbox "Authentication Failed"
    end if
End Sub

0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
LVL 5

Accepted Solution

by:
gbaren earned 100 total points
ID: 6202547
By the way, you have 3 ungraded questions dating back to January. Could you please resolve them before continuing with this thread?
0
 
LVL 10

Expert Comment

by:caraf_g
ID: 6202610
Who have we got here, Screamin' Jay Hawkins?
0
 
LVL 3

Expert Comment

by:jrspano
ID: 6206511
why bother with vc at all, unless your college makes you.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question