|
hi, can anyone please give me a hint of how can i retrieve all the Machines name and IPs in my network whether its a workgroub or domain. thanks in advance.
|
|
|
|
|
Hey!
I had the same problem, i found this app here http://thecodeproject.com/vb/net/MyLanApp.asp
just read the source
|
|
|
|
|
thanks that was really helpfull, but i think that this method only works when there is an Active Directory installed, is this right?
so i need a generic way to retrieve the machines in the network even if it was a workgroup!!!
|
|
|
|
|
Basically what you'll need to do is use the DOS utility "net view". When you type it in the command prompt, it lists all computers on the network whether Active Directory is on or off. All you'll have to do in your app is to call the Shell using "net view" as a command and adding ">C:\myfile.txt" (this is the location where all the net view info will be stored). Just read the file from your app and parse the string to get the list. I've already seen several VB6 apps doing this and have tried it myself on WinXP and it works fine. Check out NetSend (VB6) here http://www.a1vbcode.com/download.asp?ID=2503 it does exactly what you need ;)
|
|
|
|
|
Thanks for your help this is exactly what i wanted.
|
|
|
|
|
here's a command: net view
It will write to the standard output so i guess there will be no problem there
Or there is another method, using NetBios, for that try google:P
And it fades like the shadow in the night.
PhoeniX
|
|
|
|
|
I am using .NET V 1.1, I have a wierd problem. I write some code, and that is reflected only when I close the solution, open it again, and then run it.
what is the problem?
_____________________________________________________
Yea! I could be wrong...
|
|
|
|
|
Just downloaded the new .NET Framework 1.1 Service Pack. It succeeded to install on all my Windows 2000 PCs and even on other Windows XP PCs.
Only my own development machine (Windows XP, SP 2) fails to install, bringing up a "TargetInvocationException " during installation.
Anyone noticed this behaviour and knows a workaround/fix?
--
- Free Windows-based CMS: www.zeta-software.de/enu/producer/freeware/download.html
- See me: www.magerquark.de
- MSN Messenger: uwe_keim@hotmail.com
|
|
|
|
|
I'm trying to run this application but i keep getting an error message saying that the .NET Framework is unable to load mscorwks.dll
I can't launch the application...this happened with the demo app i downloaded from http://www.codeproject.com/csharp/GlobalSystemHook.asp
and some other related apps.
Can anybody know how to solve this issue?
Thanks
P.S: I heard that this happens with unmanaged C++ applications...but the rest of the users seem to enjoy the same download while I can't...
|
|
|
|
|
Your installation of the .NET Framework is broken. mscorwks.dll is the Workstation version of the runtime - mscorlib.dll is pretty much just a loader that loads the appropriate version of the runtime. You should reinstall the Framework.
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
Hey,
it turned out that i was trying to lauch an application made with .NET Framework version 1.1 while I had the 1.0 installed...
|
|
|
|
|
Hi All.
I need to make an application in c# which could be check updates of its next versions.
1. Is there any good article about this?
2. can I do it from the projects under 'setup and deployment' projects in VS.NET
3. any free tool to do this...
I want simply :
-->when the programs invokes check for new updates
-->if there promtp to user do update now
-->if user will give okey update program close all the open files about application and get new version dlls, resource so on...
--> and restart the application
karanba
|
|
|
|
|
Automatically Upgrade Your .NET Applications On-the-Fly
http://www.devx.com/dotnet/Article/10045
|
|
|
|
|
thaks, thats what I look for but in the article says that use "AutoUpgrade Class Framework"
but I could not found any class with that name in .Net framework? where is it
karanba
|
|
|
|
|
http://www.devx.com/assets/sourcecode/4211.zip
|
|
|
|
|
Hi guys,
I'm taking a class for which all my material must be written in C, not C++ or C#. Does anyone know if theres an expansion/download for visual studio that allows one to do this? I can get basic C to compile if i create a Visual C++ project > Win32 > Empty Project, and then rename a text file to the .c extension, but the DOS prompt won't wait on functions like scanf() that require user input. I really don't want to develop in vi on our campus Sun machines, so any input is much appreciated.
Thanks,
Justin
|
|
|
|
|
Justin,
I never got it to work right with just changing the file names, I use the command line options:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/_core_.2f.tc.2c_2f.tp.asp
|
|
|
|
|
You should be able to write "plain C" applications with VS.NET. Give your files a ".C" extension and it should work OK.
What errors do you get?
store your internet favourites online - www.my-faves.co.uk
|
|
|
|
|
Hello,
Can anyobdy tell me an interesting application for a PocketPc, which can be downloaded for free? - the purpose of the application is not so important, it should only be an interesting application.
thanks in advance.
regards
mat
|
|
|
|
|
What do you find interesting?
I've produced an article here on Code Project about an application I made for the Pocket PC. Personally, I think it is very interesting.
An International Hangman Game for the Pocket PC[^]
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell
Not getting the response you want from a question asked in an online forum: How to Ask Questions the Smart Way!
|
|
|
|
|
Interesting in that way, that it is interesting to test the usability of
that PocketPc application (this application should be able to use from many
people)? does anybody know one? - and would be in best case free downloadable.
thx
regards
pat
|
|
|
|
|
I still don't think I understand what you mean. From my interpretation of what you are asking for things like Pocket Word and Pocket Excel would count. Both of those applications come with the Pocket PC itself.
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell
Not getting the response you want from a question asked in an online forum: How to Ask Questions the Smart Way!
|
|
|
|
|
Has anyone seen a good tutorial on "training cards?"
|
|
|
|
|
Hi
I installed DirectX SDK for C#, but I can't use it cuz the assemblies doesn't exist, I tried to find them, but nothing.
Someone knows where Microsoft.Directx.*.dll files are?
Thanks in advance
----
hxxbin
|
|
|
|
|
For my machine, they reside in "C:\WINDOWS\Microsoft.NET\Managed DirectX\v9.02.2904"
Have you made sure that you've installed the latest DirectX Runtime to your machine ? By DX Runtime, I mean the DirectX installation package you can get from Microsoft that allows you to play DirectX games.
-Antti Keskinen
----------------------------------------------
The definition of impossible is strictly dependant
on what we think is possible.
|
|
|
|