Solved

TO LOAD VB FORM FORM VC...?

Posted on 2001-06-18
6
123 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
Comment Utility
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
Comment Utility
navexpert, your CAPS LOCK is stuck?
0
 
LVL 5

Expert Comment

by:gbaren
Comment Utility
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
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 5

Accepted Solution

by:
gbaren earned 100 total points
Comment Utility
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
Comment Utility
Who have we got here, Screamin' Jay Hawkins?
0
 
LVL 3

Expert Comment

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

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

771 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now