|
fair enough... what messageboard would be more fitting for my question?
|
|
|
|
|
hello every one..
i am devoloping a LAB monitoring system as an acedamic project..the first tast is to remotely authenticate the user this may not seem to be a big problem in windows foms.. but i need to have a windows integrated login where as the system boots and the logonui.exe triggers it should acceps the use password and should authenticate to the server running a c# system service from the database defined...can any one tell me if its possible and how to do it... thans....
|
|
|
|
|
Did I understand correctly that you want to automatically logon to the desktop of the remote machine. Couldn't you create a service which runs on this machine and communicate with the service (or the service communicates with a server) instead of using a desktop application which is run in user session?
|
|
|
|
|
thans for ur reply... let me explain you clearly...
our lab has 100 systems and a server. i am installing c# system services on the server and clients to communicate. but when windows starts the client has to get a user name and password form insted of the windows authentication and the user name and the pass should be passed to the server for the authentication from the database... all insted of the default windows authentication...
|
|
|
|
|
Did I understand correctly that when windows starts, you want to create a desktop session using account information from database? AFAIK that's not possible. A database and windows can share the same user information which is stored in Active Directory, but you still logon to windows using windows authentication.
Or do you mean that when user has logged into windows and the desktop is running, you want to connect to a database using the same account information that windows uses. In that case this is called integrated security if you're using SQL Server.
|
|
|
|
|
. i meant the first one.. creatng a desktop session ussing the account information from a database...thanks for uor reply.
|
|
|
|
|
Ok, in that case I'm sorry but as far as I can see, Windows cannot use any other login information than windows accounts. If that's true, I believe that the only option is to use service as I suggested on the lab machine (since services don't need to logon to windows the way that user session does).
|
|
|
|
|
I'm building some code that is called from a VB6 application. I've built a COM aware dll in .net that I register with /codebase so that it gets found properly. This dll uses reflection to load a dll that lives in a subfolder of commonfiles. This all works fine until it tries to call an assembly that resides in its folder when the whole thing falls over.
The output from Fuslogvw shows that the framework is trying to bind to things in the GAC and then the VB6 calling applications path.
Is there an equivalent of the DOS "Start in" path that I can set for my reflected dll?
Thanks,
Russell
|
|
|
|
|
|
Thanks for that, loads of good info there. I'll be link hopping for a while now
|
|
|
|
|
Either what ledmike said, or have a look at hooking AppDomain.Current.AssemblyResolve.
|
|
|
|
|
That looks like it might work, just going through the options now!
|
|
|
|
|
Hi Friends,
I have created an window application which access the control of any html page and do some stuff using mshtml.dll its working superb but recently one of my office user notice one bug in that application i trace that bug and found that the selected page contain frames and one of frame is contain page which is in ".jsp" so actually i did't thought of this, i search on google for this issue but in vain...
So, please help me regard this, i want to access jsp page control, i know it is not possible using mshtml.dll if i am wrong let me know otherwise please help me to solve this problem..
thanks in advanced ..
Sasmi
|
|
|
|
|
You don't seem to understand the Web paradigm. How a client (Browsers) uses HTTP to get a HTML resource, parse that to find other resources embedded in that HTML and make further HTTP requests to get those resources.
Since you have created an application that is responsible for dealing with that subject, it might be a good idea if you, the developer, studies the subject. What do you think?
|
|
|
|
|
Hi everyone!
I would like the checkedlistbox control to change the checked state of an item only if I click on the checkbox. Is there a (not too difficult) way to do that? Thanks in advance!
Istvan
|
|
|
|
|
The only thing I can think of is to set the SelectionMode to None. Now, in the mouse click event, get the location of click. If it is on the checkbox, programmatically check the item.
The word "politics" describes the process so well: "Poli" in Latin meaning "many" and "tics" meaning "bloodsucking creatures."
जय हिंद
|
|
|
|
|
You have to use HitTestInfo function to check current mouse position and then automatically check or uncheck the box.
Sorry, this method doesn't works with CheckedListBox control.
|
|
|
|
|
I have recently been working on a project intended to lock (and / or hide) directories in Windows in some manners. Now the problem isn't actually coding it, but some strategies that I might use in order to achieve this.. What to look for?
((What I have currently implemented are simply the rename functions of folders in order to make them look like Control Panel / My Computer etc etc. And then the attributes (setting them as hidden / system / read-only)...
I also had in mind 'zipping' a folder or a similar technique with a password or encryption from program-side or maybe adding an image to the 'zipped' file in order to make it look more 'innocent' but I don't know about that yet.))
Preferably it's something that can be achieved quickly (such as the attributes technique) rather than 'zipping' which takes quite some time - according to file size... Thanks!
|
|
|
|
|
Trapper-Hell wrote: in order to make it look more 'innocent'
I know exactly what you mean!
This is really a function of the filesystem, not a specific program per se. For example, NTFS allows you to protect directories.
You could, however, encrypt all files in a directory from your program. There are lots of classes which deal with cryptography in the framework.
|
|
|
|
|
Trapper-Hell wrote: What I have currently implemented are simply the rename functions of folders in order to make them look like Control Panel / My Computer etc
Deception is not a safe protection method...
Trapper-Hell wrote: And then the attributes (setting them as hidden / system / read-only)...
There is no read-only attribute on folders.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Hi All
I have an application where I am using a seperate thread to create a report. I created a public class with custom events etc for the threads to comunicate. I set up the events in my UI, but when the events are triggered by the report thread, the UI thread gets upset about it being caused by a different thread.
Please can somebody tell me how to get the UI to stay happy when the events are triggered??
Thanks,
oooo, the Jedi's will feel this one....
|
|
|
|
|
Google broken today? No, I didn't think so. A quick search for 'cross thread calls' revealed a list of links - this one[^] on code project looks promising.
It definitely isn't definatley
|
|
|
|
|
|
To learn about Threads, Synchronous and Asynchronous calls to UI Thread, using delegates and events to communicate between threads is best explained in this article. I learnt thread reading and running the demo project, Its the Best.
http://www.codeproject.com/KB/cs/workerthread.aspx[^]
Regards,
Karmendra
|
|
|
|
|
That was all good stuff. Thank you everybody.
oooo, the Jedi's will feel this one....
|
|
|
|