15,887,683 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by NeCroFire (Top 8 by date)
NeCroFire
14-Dec-10 4:26am
View
So simple and yet I didn't even think to check what other properties might be available in HorizontalAlignment.
Thanks.
NeCroFire
23-Nov-10 3:00am
View
This looks like it will work. Only thing is that everything needs to be static which should be fine for what we're doing.
Thanks
NeCroFire
9-Nov-10 8:08am
View
So simple, yet it's something I wouldn't have thought of.
Thanks
NeCroFire
20-Oct-10 6:53am
View
It worked! Just finished testing. What a mission though. Anyway, I'm just glad I got it working now.
Thanks
NeCroFire
20-Oct-10 6:31am
View
I can't access the 'Zeta Impersonator' link. It says Directory listing denied. But I just notices the '.aspx' was missing from the end of link. That might work for what I want to do. Will give it a go.
Thanks
NeCroFire
20-Oct-10 5:08am
View
That worked. Thanks. I did have to set LOGON32_LOGON_INTERACTIVE = 9 to get it to work with the server name instead of a domain name.
However, I now have a new problem. If I run LogonUser then all my FolderBrowseDialogs stop working like they should. Now I only have access to folders in the specified RootFolder of the Dialog. By default I have access to everything. One could even browse through the dialog to other PC's on the network, but not if I run LogonUser.
It would have been fine if Microsoft added a All(or something similar) option to the list of RootFolders that you could choose from in design view. But noOooOOo... now I have to alternate between the default Identity and the Backup PC's Identity to get the result I want or write my own folder browser dialog.
Is there someone at Microsoft whose sole purpose is to think of ways to annoy developers?? Who decided that if the Identity of a app is anything other than Default, the folderbrowsedialog will then only have limited function. And who is the Supervisor/Manager/Project Leader who said: "Yes, this is a good idea.". How long that meeting must have been...
NeCroFire
19-Oct-10 2:57am
View
I guess I'll do that then as I can't find a solution anywhere. We are a very small business and we have a straight forward simple LAN merely to have access to the Backup/File server (Which is actually just a normal XP pro machine). We simply don't need anything more then that. So specifying a username + pass in the app would have been the simplest solution, but I guess not.
It's quite silly actually. I mean, If you wrote a browser app like Explorer, how would you specify a username + pass when you try and access a PC on your LAN??
NeCroFire
15-Oct-10 11:38am
View
WindowsIdentity does not work. The error now get though says that it's a bad username or password.
We use one of the Backup PC's local users to login to the machine. So if there is a a User1 on the Backup PC, we will use that with it's correlating password.
Is there any way to specify a username and password for WindowsIdentity??
Show More