VS 2010 Run Entire Application As Another User?

Jun 7, 2012

I have an application that performs several network tasks like query AD, add pc to domain, execute netowrk programs and scripts, etc. I need all tasks to run using credentials I provide in text boxes in the application can someone teel me what method or class or anything to get me pointed in the right direction? I have been searching Google forever but nothing

View 2 Replies


ADVERTISEMENT

VB Application Book - Entire Development Process Of An Application (Prefered: WPF ,LINQ ,ADO)

Apr 17, 2012

I am looking for a VB.net book that strings me through the entire development process of an application (Prefered: WPF ,LINQ ,ADO). I have read a few books on OOP and VB.net with small code samples demonstrating the specific idea of the chapter.I think it would be really helpful if there was a book that programmed an entire application that uses a sql database (Northwind , Adventureworks).

View 1 Replies

Search Entire Domain For A User In AD?

Apr 4, 2012

I understand how to find a user using the exact LDAP url

LDAP://domain/CN=Username,OU=Users,DC=domain,DC=com

but what if I need to find a user without looking in the particular OU. How do I search the entire domain?

View 2 Replies

Copy An Entire Folder To User Selected Location?

Aug 11, 2011

I am trying to copy an entire folder and all of its contents that is in the same location as my program that is running to a user selected location. I started off by using a SaveFileDialog, but now I am working with a FolderBrowserDialog. Here is some code:

Private Sub BackupButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BackupButton.Click
Dim sourcePath As String

[Code]....

But when I run the program, it works, but it does not copy the entire folder in the application startup location.. how I can copy that folder that is in the same location as my program to a user selected location?

View 14 Replies

Set The Font For The Entire Application?

Sep 19, 2011

I have an application with roughly a dozen forms and I am attempting to change the font property for each form when a button is clicked on the main form.I have found the my.forms namespace and I am able to change the font there. But I need to be able to add more forms later without having to change the code each time Is there a way to iterate through a namespace and manipulate a subclasses properties?

View 3 Replies

VS 2008 - Get DataGridViews Entire Column To Become Disabled And Won't Let The User Click On The Checkboxes

Aug 23, 2011

I have a dgv with a column type = DataGridViewAutoFilterCheckBoxColumn. I want to know if there's a way to I can get that entire column to become disabled (or Enabled = False) so it won't let the user click on the checkboxes. I tried looking in the "Bound Column Properties" but there isn't an option to disable the entire column.

View 2 Replies

Disable Proxy For Entire Application?

Apr 17, 2010

Ever since upgrading to Visual Studio 2010, I'm running into an issue where the first web request of any type (WebRequest, WebClient, etc.) hangs for about 20 seconds before completing. Subsequent calls work quickly. I've narrowed down the problem to a proxy issue.If I manually disable proxy settings, I don't experience this delay:

Dim wrq As WebRequest = WebRequest.Create(Url)
wrq.Proxy = Nothing

What's strange is that there are no proxy settings enabled on this machine in Internet Options. What I'm wondering is if there is a way to disable proxy settings for my entire project in one shot without explicitly disabling as above for every web object.

The main reason I want to be able to do this is that I'm trying to use an API [URL] which uses web requests, but does not provide any way to manually disable proxy settings.I have found some information suggesting that I need to add some proxy information to the app.config file, but I get errors building my program if I make an edits to that file.

View 2 Replies

Keydown Event For Entire Application .Net?

Sep 1, 2009

I want to make it so that no matter which control has focus, it will do my event. So that I dont have to write a keydown event for all 137 of my objects. Is this possible?

View 2 Replies

Make Object Available Throughout Entire Application

Jul 28, 2009

I've recently began to use OOP in my application and now I'm stuck on how to use it properly.

View 2 Replies

Change Default LookAndFeel For Entire Application?

Jan 25, 2011

This page lists a way to change the default LookandFeel for a .net application using DevExpress 10.2. It's not working for me.[code]...

View 3 Replies

Create HotKey Shared Only For The Entire Application?

Jan 12, 2012

Basically i am creating a vbnet system software. I want to create a shortcut key to lock the system with out affecting the windows explorer (just my system only). Is it possible to create one for that? Or let's say create a procedure that triggers anywhere whether the focus is on a control, on a form (whether shown as normal or modal), or on any other that has the focus on it.

View 1 Replies

Download Entire Website To Start Path Of Application?

Jun 14, 2010

Is there any code to download entire website to my start path of application?

View 14 Replies

Lose Form1 Without Closing Entire Application But It Doesnt Work

Apr 30, 2010

I have 2 forms. I want to close Form1 without closing the entire application but it doesnt work. It closes the whole application even though i say Form2.show()[code]When it reaches the End Sub then it closes the application.

View 6 Replies

VS 2010 Create Application's User Login System?

Dec 7, 2009

[Code]...

I need some trick to make some good and safe "Login" to application system with username and password.

View 8 Replies

VS 2010 Zipping An Entire Folder?

Feb 24, 2011

With VB.NET, I'm able to completely unzip a file - this is easy. I'm able to manipulate the resulting folders - again, easy. However, for some reason, I cannot figure out how to zip and entire folder. I can zip specific files, but I need a function that will allow me to input a path and then it will zip that entire folder, including the subdirectories

View 1 Replies

VS 2010 Create An Application That Lets A User Enter As Much Grades He Wants?

Oct 5, 2011

I have to create an application that lets a user enter as much grades he wants. The grades are between 0 and 100 and they can't be negative. Whenever the user type -1, the application is done and it shows the average of the grades, the lowest and the highest grades.I absolutly have no idea where to start but i must be using loop/do/while.

View 4 Replies

Publish In VS 2010 Without Wiping The Entire Directory?

Oct 25, 2011

The Publish (for a Web Site) is nice and all, but wiping the entire directory is problematic as I have a folder that files can be uploaded to, and I don't want the wiped out every time I make a code change.

View 4 Replies

VS 2010 Bolding 1 Entire Column Of A Listview

Apr 25, 2011

i populate 5 listview on form load with some numbers, but i need it to making the first column in all these listviews Bold. When i try to do it, it makes both columns bold.

[Code]...

View 2 Replies

VS 2010 Replace First Occurrence Of An Entire Word?

Jul 19, 2011

A little background... I'm trying to build a spell checking form. I have this lovely library: [URL] and it seems to be working flawlessly.

The problem I have is trying to replace an entire word and only the first occurence of the word.

Example: Replace the first instance of "foo" with "bar" in the following string
"foo foo foobar" and get this "bar foo foobar"

I've been trying regular expressions with no luck. Here are the patterns I've tried compiling(these are obviously tied to variables in my program):

"(?<!foo)foo"
"(foo){1}"

I also tried the built in string.replace method with a count parameter, but I have no idea how I would make that match the entire word.

View 6 Replies

VS 2010 Returning Entire Row From SQL Table To Combobox?

Apr 11, 2011

I am designing an clock-in/clock-out program as a learning exercise. So far I can type the name of an employee and add them to my timeclock database in a row called "EMPNAME". The issue I'm having now is that I need each of those employees in column of EMPNAME to appear in a combobox when I hit "GET LIST". Is there a simple way to do this using a SELECT statement for the commandtext? I've tried to google but cant find exactly what im looking for.

[Code]...

View 2 Replies

VS 2010 Tab Control Tab Sizes - Does Not Resize Itself To Fit The Entire Title

Aug 6, 2011

How Do I Make It So When You Navigate To A Webpage Using A Tabcontrol The Tab Displays The Document Title Of That Site But Does Not Resize Itself To Fit The Entire Title, It Stays One Size.

View 1 Replies

VS 2010 DrawItem Event In TabControl Doesn't Cover The Entire Header?

Aug 1, 2011

I'm using a TabControl and have overridden the DrawItem event to produce my own background and foreground colors for the header text. It looks good but there's still grey color around each header. I thought maybe the Padding property could be set to (0,0) but that seemed to have no effect.

View 2 Replies

Obtain Entire Text Content Of A Webpage Displayed In Iframe Named 'test_iframe' In 2010?

Sep 9, 2011

I want my application to open a web page that has an iframe within it named "test_iframe". Now I want to obtain the text being displayed in test_iframe. How do I get this content (I dont need the HTML code, only text being displayed in that page). Also if the iframe is hidden, can I obtain the content in such a scenario also?

View 6 Replies

Save Application Settings But For USER But Cannot Find The User.config File

Aug 7, 2009

in vb.net i am trying to save application settings but for USER but i cannot find the user.config file

when does this file get created?

i searched my entire hardrive. i also searched the entire project.

View 2 Replies

VS 2008 Close An Application When User Shutsdown, Restarts, Log Off Or Switches User?

Aug 30, 2010

How can i close my vb.net application when user shutsdown, restarts, log off or switches user?

View 6 Replies

Multi-user Application - Updating All Clients When A User Updates Data (push Vs Pull)?

Aug 26, 2009

I am designing a fairly small application to manage a waiting area for a clinical department. There will be a receptionist who books appointments and updates exisiting appointments to say that a patient has "Arrived". In seperate rooms will be nurses who call patients who have "Arrived" and update the appointment as "In Session" and finally as "Discharged". The appointments are viewed in a flexgrid with nurses across the top and time down the left, patient names are displayed at the relevant times and the cells are shaded a colour to represent the current appointment status ("Booked", "Arrived", "In Session" and "Discharged").

I am using SQL Server as the back-end and Visual Basic 6 (I know) as my front-end.I have been told that there will be 2 or 3 nurses plus the receptionist logged in to the system but I would like to cater for growth.My question is what is the best mechanism to use in order to reflect the status change made by one user on the screens of the other users currently logged in?

I have been thinking about using a timer to refresh the data at a set interval but I do not want to keep hitting the server excessively (although what is considered excessive? we would be talking about a call for data every 60 secs per user). Plus the server could be serving data for many other applications so this is another consideration.Alternatively I have been thinking about sending some kind of message via Winsock to the other users notifying them of data changes as they happen. I don't have a lot of experience with this and am concerned about clients not receiving messages and users seeing old data. It also seems strange to me that once the days appointments have been retrieved from the database that "in theory" a client could go the whole day without having to query the database again to pick up changes - kind of scary.Some information on the data:We would probably be looking at around 100 appointments per day We capture patient name, date of birth, date and time of appointment and appointment status.What is the standard approach / best practice for this kind of scenario?

View 6 Replies

AutoLoad - User Load Application Will Automatically (without Prompt, Or User Selecting) Upload All Files In A Folder

Jun 13, 2010

How can I do it so every time the user loads my application it will automatically (without prompt, or user selecting) upload all the files in a folder i select beforehand and add them into ListBox1

View 16 Replies

Get The WindowsIdentity Object For Logged-on User In An Application Running As Another User?

Jul 18, 2011

I'm running an application under an account that is not the account logged-on to the PC.

Within the application I need check if the logged-on user is a member of the Administrators group. Below is the code I'm using. From what I've read, WindowsIdentity.GetCurrent() should return an object associated with the logged-on user. It doesn't, it returns the same information as the call to System.Threading.Thread.CurrentPrincipal. Which is the information associated to the ID running the application, not the logged-on user.

[Code]...

View 8 Replies

Application For User - Run As The User And Preserve Individual Settings

Jun 5, 2010

I am attempting to create an application in an attempt so it could be run as the user and preserve individual settings, by this what i am trying to achieve is when the application is installed, it is installed once but each user has their own settings saved within their own profile - a bit like Office applications. How could i start with this?

View 8 Replies

Application Can Only Be Installed On A User By User Basis?

Jan 6, 2010

I have a few programs published via ClickOnce. These are highly specialized programs, and are only used by a relative handful of people, but the set of users is likely to change, and is spread over a fairly wide geographical area. The major advantage of ClickOnce....ok, for me, the ONLY advantage of ClickOnce, is that I can create updates and have them (mostly) installed when the end user runs the program. Over the brief time that I have used it, I have encountered these aggravations regarding ClickOnce:

1) The application can only be installed on a user by user basis (it can't be installed for all users at once). I understand why this is done for a general solution like ClickOnce, but it is certainly an aggravation.

2) Updates don't always appear to happen. Usually, the updates do happen when a person starts the program, but a fair number of times, the update isn't noticed, or recognized, or something. This causes the user to continue with the old version, which makes them think that I didn't fix the bug they had, which causes them to give me a raft of excrement, which results in me flipping them the bird. Much hilarity ensues (fortunately, I'm friendly with my entire user group, so this is a fairly accurate acconting of the sequence of events, except that I just laugh at them rather than replying in sign language).

3) Certificates expire in a year. Certificates are a great thing...for some situations. In my case, an alternative seems like it might be better.

4) Some settings in the manifest are so doggone hard to fix that I've nearly given up. I changed the URL that ClickOnce was supposed to go to for updates, and found it impossible to change the program to find the new location. It had to be there somewhere, and I found several candidates, but never could find the critical one.

Because of these issues, I have been tempted to write my own replacement. There are a few issues that I'd like some commentary on. For one thing, security is an issue that is hard to pin down. None of the data I am dealing with is worth a second thought. No cracking of that data would harm anybody or any thing. However, my first thought would be to have people install an app that would go to a web service to check for the existence of an updated version. If one was available, then the existing program files would be overwritten by the new files. If one was not available, then no overwrites would take place. Lastly, if the service couldn't connect, then no overwrites would take place (of course). If the files were compressed for transport, it would be kind of difficult to intercept and inject a different program into the transport stream, so the only weakness that I can see would be if somebody hacked the server that held the new version, and replaced it with something else. What am I missing here?Also, has anybody done anything like this, and if so, what else am I overlooking?

View 36 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved