|
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...
|
|
|
|
|
You can ask this question a thousand times. We still don't have any clue what your talking about. BGI file?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
|
Based on the reminder Colin gave me...
You'll have to rewrite the C .EXE. BGI stood for Borland Graphics Interface and supplied the library functions that the application used to draw a user interface on the screen. Since it was written in Borland C, you'll have to rewrite it so you can use Windows for its interface. That way, it won't need the supporting files, they're already built into Windows.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
How could I order "categories" in the propertygrid according to my will?
|
|
|
|
|
Server:
PC win2000 with network shared printer hp1320
Client:
PC win2000
When run print preview on client all is ok, but when run print from client
to server printer not print all (only print part of report = left and top
corner). Why?
|
|
|
|
|
Always assume it's your code, not the framework. That is almost certainly the case.
Christian
I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
|
|
|
|
|
I m getting the following exception for provider while importing an excel file and creating table with its column names in sql simultanously.If anyone can help out with it.
An unhandled exception of type 'System.ArgumentException' occurred in system.data.dll
Additional information: Keyword not supported: 'provider'.
The string i have given is:
Dim str As String = "Provider=Microsoft.Jet.SQLDB.4.0;Data source='" & Me.BrowFile.FileName.Trim & "'; Extended Properties=""Excel 8.0;"""
Dim connstr As String = "data source=com14;initial catalog=master;user id=sa;password=sa;"
thanx.
nupur
|
|
|
|
|
I need some help. I'm trying to construct a function in the best manner.
I have a class. This class wraps several API function calls. The function in question wraps NetServerEnum. As many of you know, NetServerEnum has a paramter called "level" this parameter dictates the level (amount and type) of information retrieved on each server.
Rather then creating multiple functions for each level I wanted to create one function that the code could call, passing what level to use. This part is fairly easy. Create a public enum in the class which sets the level value to 100 or 101 respectively. Now, where I run into the problem is the structure. The data returned from the function for each level has a different structure.
I have 2 structures that represent the levels and I have a class for each level that will hold the collected data.
I have no problem getting any of this to work if I limit the function to dealing with just one level. I'm not sure how to write the function to handle both levels. I've tried initially setting a variable to object then using DirectCast to cast the object to the correct structure based on the level passed. This just doesn't seem to be working right. Could someone please help me set this up properly???
|
|
|
|
|
You could try passing each type of structure to the function as ByRef parameters and then interpret which one to evaluate when the function returns based on the level parameter.
Robert
|
|
|
|
|
I think that would just confuse a developer. I know I would be confused if there were two extra parameters that I had to pass to a function because the function wasn't able to make up it's mind to do it.
I know there is a correct way to do this, I just don't know what it is. Microsoft does it with the NetServerEnum itself. There is only one function, but when you pass the level it knows to use the appropriate structure.
|
|
|
|