|
Happy New Year!!!!
I wanted to know how to make my web based ASP.Net application an intranet application.I know i can use authentication/authorization to do it.But I donot want a login page or something along those lines.I just donot want any one who's not a member of the intranet to view the site.I also want to know how i can accomplish the same thing in ASP.Would appreciate if someone can help me out in this.
Thanks,
Aanchal.
|
|
|
|
|
Do you even understand the definition of an Intranet? It doesn't sound like it.
An intranet is just a private network, internal to a company or other entity. A website that is visible only inside the company running it is running on an Intranet. So an employee in the company just opens a web browser and types its internal, company address to get to it.
So, if your site isn't visible to anyone on the Internet, but is visible to people inside the company, your done. There is no special coding to "convert" your app to an "intranet".
Intranet[^] on Wikipedia
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
hey all, im attempting to make my pocketpc into a remote control for my desktop pc through the network.
what i want to do is have a windows service that listens for connections through a tcplistener and recieves commands then executes some code according to what the command is. i would like the server to stay connected to the client the whole time so that it can recieve more than one command.
the problem is that i really don't know enough about tcplistener or the way that sockets works in vb.net to be able to do this.
why can't it be as easy as winsock was in visual basic 6!!
could someone please enlighten me on this matter and possibly post some source code so that i have something to go by?
my email is curseddagger@hotmail.com if you want to talk to me on msn about it.
thank you in advance
Regards
James
|
|
|
|
|
Perhaps Winsock.NET[^] might do you some good. If not, Google for "VB.NET sockets tutorial".
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
i didn't know that there was a winsock in .NET, thankyou.
i have spent many hours trying to find a descent tutorial for .net sockets and cannot come up with one.
i really would like to learn how to use sockets so if you know of a good tutorial, please point me to it
|
|
|
|
|
I haven't had the need to search for one. But since sockets is such a LARGE topic, there's not going to be any one tutorial that covers all applications for sockets, and possibly not yours.
I would suggest picking up a book on sockets, such as Network programming in .NET : C# & Visual Basic .NET[^]
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
That winsock control was absolutely fantastic but how do i use it with Pocket PC? when i add the control to my toolbox in a smartdevice application it shows up as disabled and i cannot add if to my form.
your help is much appreciated
|
|
|
|
|
No idea. I don't really do any Pocket PC development.
It's entirely possible that the library won't work with the .NET Compact Framework because the CF doesn't support the full set of classes, and doesn't support all the methods and properties of the classes it does support.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
My company, has a network domain name for the LAN,
Just named "abc-asia".
How can I get this domain name in VB.NET?
I found no method in Environment object.
Please help, and Thanks.
|
|
|
|
|
Environment.UserDomainName isn't giving you what you want? If the logged on user is in the domain, it'll show...
...Unless the machine is not yet in the domain??? More specific details about your situation would help.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I agree with you, RageInTheMachine9532, but this system constant will not work with systems using Win98 or lower...
|
|
|
|
|
I am going to design a application for three offices,
Difference office has its own domain name,
For example, "abc-asia", "def-asia", "xyz-asia".
I means my login name would be "abc-asia\cylix2000".
I would like to get these three domain names.
Environment.UserDomainName return me cylix2000,
just the same with Environment.Username.
My office use Win2K/WinXP.
Thank you for help!
|
|
|
|
|
Why didn't you say this in the first place?
You can find some code to enumerate the domains from this[^] page, here on CP. About half way down the page, under the heading System.Net.IPAddress, there is code to enumerate the domains, but you'll have to pick it out of some extra code to enumerate all the machines in those domains too.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
hi,
i am just trying to do the same....but it requires object name.
So tell me what "reference" has to include to the project
Paritosh
|
|
|
|
|
Hallo
i have a VB6 application, from which i'd need to launch a VB .NET form application (not command-line) passing it a value. Something similar to the POST/GET arrays in HTTP.
Any way to achieve this?
Thanks and happy new year to everybody!
-- modified at 19:40 Tuesday 3rd January, 2006
|
|
|
|
|
Make your VB.NET app accept variables on the command line, then use ShellExecute, or whatever passes for that in VB6, to run it.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
|
i want to add a prog to the startup folder so it'l startup iwhen i turn my computer on.is there a line or 2 of code i could use to accomplish this.thnx
-- modified at 19:11 Tuesday 3rd January, 2006
|
|
|
|
|
Do you want it to start when Windows starts? Then you have to write your app as a service.
If you want to start this app when the user logs on, then you need to launch it from either the Startup folder found at either:
C:\Documents and Settings\All Users\Start Menu\Programs\Startup
or
C:\Documents and Settings\[userid]\Start Menu\Programs\Startup
or you can launch it from the registry key found at
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
and create a REG_SZ value with the full path to the .EXE and its command line parameters.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
is there a site or something that would how me how to do this(just started programming and i got some source for this alarm clock type thing and i wanna make it startup whenever i turn my computer on).so i dont know how to create a registry value and whatnot
|
|
|
|
|
If you've never been in RegEdit, I suggest Googling for "RegEdit Tutorial" before you start messing with it in code.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
well i lost the whole project "all of the solution"
but i have the debug file (MyApp.exe)
can i get it back?
and what if i've the release files not the debug one?
Militiaware
Faris Madi
|
|
|
|
|
You can get most of the source back by using .NET Reflector[^] on the EXE file. You'll have to piece the project back together from the source code it reveals.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
You can try Reflector[^]. It converts .net exe and dll back to C# or VB code.
And next time, do yourself a favor by making lots of backups!
"..Commit yourself to quality from day one..it's better to do nothing at all than to do something badly.."
-- Mark McCormick || Fold With Us! || Pensieve || VG.Net ||
|
|
|
|
|
Is there any opposite keyword for the "extern (C#)" keyword in VB.NET?
Militiaware
Faris Madi
|
|
|
|