|
Your question really belongs in the ASP.NET Forum since it really has nothing to do with VB/VB.NET.
Only the first word is showing up because once objRS() is evaluated, the HTML becomes:
<input TYPE=text NAME=txtield_nameF SIZE=50 VALUE=Whatever objRS returned here>
You might want to type enclosing the objRS() code in quotes:
<input TYPE=text NAME=txtield_nameF SIZE=50 VALUE="Whatever objRS returned here">
But, then again, I'm no expert in ASP...
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Dave,
Sorry about posting it in the wrong forum. Just goes to show what 2.00am will do to you Anyway your spot on just needed to enclose the objRS and it worked like a treat. Again appreciate the help
Nic
|
|
|
|
|
Hi there can anyone provide me with code or example project that will allow me Logon Via a remote database or txt file e.g. Server sits in London and the Client sits in Edinburgh, I wont to enter a Username and Password in Edinburgh and the credentials are verified from a database or txt file in London.
Iam using VB.NET
Thanks in advance.
Knowledge is Knowledge but finding Knowledge is a more powerful Knowledge.
|
|
|
|
|
|
Once the Username and Password has been verified from a database or txt file the logon form will close and allow you to continue with app.
|
|
|
|
|
Once again, what is the client logging into? An SQL Server, Windows Server, Linux box, what?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I think you thinking too deep, once i type in a username and password they are sent via TCP/IP or other method to the server(PC) were the usernames and passwords are stored if there is a match then the logon form will close.
|
|
|
|
|
Actually, you're not thinking deep enough. Are you connecting to a WebService, HTTP site, SQL Server, or are you going to be writing the Authentication Service for the server machine?
Each method has a radically different method of connection and communication. So, YES, it DOES matter!
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
If I cant explain it this time then forget it. Imagine 2 PCs on a LAN - PC1 has a text file containing a list of usernames and passwords with some sort off server app that reads that text file, PC2 has some sort of client app installed which has 2 text boxes one for Username and one for Password and a login button, when you enter a username and password and click login its send the username and password to PC1’s server app that app then reads the text file to see if the username and password exists the answer is then sent to PC’2 client app and a message box pops up says “User Found” or “User not Found”.
|
|
|
|
|
UniBond wrote:
PC1 has a text file containing a list of usernames and passwords with some sort off server app that reads that text file
And that application is __________?
Is this server application something you wrote or something someone else wrote and your trying to call it?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
And that application is __________? THAT IS WHAT IAM LOOKING FOR AN EXAMPLE IF THIS TYPE OFF APP..............!!!!""££$$%%^^&&*
|
|
|
|
|
Finally! An answer we can use! I asked you a couple of posts ago:
are you going to be writing the Authentication Service
for the server machine?
and you never answered the question. Up until now, you never said if it was a component that some else wrote and your trying to use or if it was a component that you want to write. So, yes, your going to write both the server and the client pieces.
There's a bunch of different ways you can do this. But, what is going to work for you could be complicated by the path to the authentication server.
If your going to go over the Internet, you're undoubtedly going to go through a couple of firewalls, in which case a Web Service would be your best bet to get through those walls.
If your staying inside the company network, you could also run into firewalls that will can block you, especially between cities/sites like you are. Again, a Web Service would work, but .NET Remoting is also a possbility if your network won't prevent you from doing this. .NET Remoting will at least let you pick the ports you want to use, whereas WebServices run over standard HTTP.
Try reading Remoting and XML Web Services in Visual Basic .NET[^] for an introduction to both and see what you think.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
|
|
UniBond wrote:
IAM LOOKING FOR AN EXAMPLE IF THIS TYPE OFF APP
You have described IIS on the server side, and any web browser on the client side.
|
|
|
|
|
Uhhhh.... WHAT?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
e.g. Server sits in London and the Client sits in Edinburgh, I wont to enter a Username and Password in Edinburgh and the credentials are verified from a database or txt file in London.
That sounded to me like he was describing an ASP.NET application. IIS for the server and a webbrowser for the client.
I think I hit reply on the wrong post.
|
|
|
|
|
Hello,
I have an inherited class from XmlElement with this name: XmlElementCF
I have added a function in XmlElementCF that returns a XmlNode.
I can cast the a node with the type od Element to XmlElement but
can not cast the node to XmlElementCF, I am getting an error
: Specified cast is not valid.
Here is my drived class:
<br />
Imports System.Xml<br />
Public Class XmlElementCF<br />
Inherits System.Xml.XmlElement<br />
<br />
Public Sub New(ByVal prefix As String, ByVal localName As String, ByVal namespaceUri As String, ByVal doc As System.xml.XmlDocument)<br />
MyBase.New(prefix, localName, namespaceUri, doc)<br />
<br />
End Sub<br />
<br />
Public Function GetFirstElementByTagName(ByVal name As String) As XmlNode<br />
Return Me.GetElementsByTagName(name)(0)<br />
<br />
End Function<br />
End Class<br />
and then:
<br />
Dim xDoc As New XmlDocument<br />
xDoc.LoadXml("<?xml version=""1.0""?><xml><ChoiceSet ChoiceSetID=""9""><Choice ChoiceID=""31"" /><Choice ChoiceID=""30"" /></ChoiceSet></xml>")<br />
<br />
Dim xElmnt As XmlElement = xDoc.SelectSingleNode("//ChoiceSet") 'There is no problem here<br />
Dim xElmntCF As XmlElementCF = xDoc.SelectSingleNode("//ChoiceSet") 'But here i am getting :Specified cast is not valid :(<br />
Dim xmlElmntCh As XmlElementCF = xElmntCF.GetFirstElementByTagName("Choice")<br />
Please Help
Thanks
|
|
|
|
|
i had downloaded "Instrumentation Widgets 3.0", added it as reference and set it as component in my vb.net web application.However the component appears in the toolbox in disabled form,how do i enable it?
Instrumentation Widgets is written in c#, windows based application.
|
|
|
|
|
Will it work in a Web Form? Or is it for Windows Forms applications only?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
actually...i'm new to this domain....though it is written in windows form application,cldnt i make it work in web form based application?this is my query?
|
|
|
|
|
Nope. It must be completely rewritten to work in a web page. Since the browser environment is very restricted and communication with whatever your monitoring is slow, there's little chance, if any, of this ever happening.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi,
I am learning VB.NET by Wrox "Beginning VB.NET"...
Although I more or less completing this bk, I am still very confused with many things..
Does any1 knows where can I get VB.NET projects and exercises with codes where I can practise on?
|
|
|
|
|
Another book maybe?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
how can we create an executable file.
i.e.,. to run a c file with graphics(exe file) we need BGI file. but consider DAVE game it run without any supporting file, how it is possible....? can anybody help to create my own executable (c graphics exe file )file that run independently with out need of any supporting file...
|
|
|
|