Received New User Name And Current Buttons Cannot Locate Personal.xls?
May 20, 2009
With my new user namewhen I press a custom tool button, I receive an error message saying that it can't find Personal.xls at the XLStart location under the old user name.Personal.xls from the new XLStart folder is properly open and hidden.
View 2 Replies
ADVERTISEMENT
Jun 8, 2010
But I am trying to get to the Personl folder of the current user in windows 7. Now there are two special folders: MyDocuments and Personal However they both lead to C:Users{USERNAME}Documents Shouldn't Personal lead to one back from that?
View 3 Replies
Mar 3, 2012
I have a piece of software with two tabs, inside each tab there are buttons (the user can add the buttons when they want). when tab1 is full tab2 should start to fill. I currently know how many buttons fit on the screen so I just say something like if buttons > 150 then start to populate tab 2 The problem i have now though is if the resolution is changed then a different amount of buttons can be displayed. so if I put my screen to 1280x720 some buttons are left of. I was thinking of detecting the resolution and then using different cases for different resolutions but this seems very inefficient im wondering if there is a different way?
View 5 Replies
Feb 2, 2010
I am making a program that stores all information that is entered into a directory and then zips that directory onto the C drive. It is working perfectly fine, but I think it would be easier for the user if the final directory was zipped onto the desktop.
Is there a way that VB.Net can locate the user's desktop and then zip the directory and place it on the desktop? For example, zipping it to "C:Documents and SettingsAdministratorDesktop" would work on my PC, but it may be different on a user's computer.
View 4 Replies
Jun 1, 2012
VB2010. I'm trying to figure out how to locate the desktop path for a user on another pc/server. Something similar to:
Environment.GetFolderPath(Environment.SpecialFolder.Desktop)
The main reason is we area talking about an Environment that has XP, Win Server 2003 (TS), Win Server 2008 and Win 7. Obviously different path depending on the OS. I need to copy a file to a users desktop and would like to do so without having to hardcode the path as it could change depending on where they are working from.
View 10 Replies
Sep 11, 2010
I was just wondering if there was a way with, using VB.net, be able to create a program to detect when a message is received in Windows Live Messenger, and alert the user?Essentially, MSN is minimized in background and our program, Program A, is also running in backgroung.Friend X sends us a message, the MSN icon blinks as usualy, but also a window pops up and shows the name of the user and the message.I was just wondering if there was a way to connect to MSN in some fom to be able to do this?
View 1 Replies
Mar 12, 2012
I have a list of 12 buttons on a form. I want to label each of them representing a month from left to right starting at the most recent month. So if today is the 12/3/12 my buttons will be in THIS order MAR12,FEB12,JAN12,DEC11,NOV11 ETC UP TO BUTTON 12. I have already written code for it and it works but it is long winded.
Here is my long winded
Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
DTPicker1.Value = TimeValue(Now)
End Sub
[Code]....
View 8 Replies
Nov 27, 2009
How to know that if the current user is an administrator or normal user or guest?
And how to make the exe can just only run in administrator?
I have tried to set the .manifest to "<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />", but no use. Although I am not logged in as admin, I can still run the exe.
View 1 Replies
Sep 16, 2010
In my application I have a several type of user could be log in. My purpose is to have a restriction with other menu to show on or off. In php I used a session to handle that user id. In vb.net how can assign user id and retrieve anytime I need it in every user that has been logged in, so that I can check the user type and do some action.
View 8 Replies
May 14, 2011
How is it possible to get the name of the current user of windows?
View 2 Replies
Apr 15, 2009
I have tried multiple ways of grabbing the username of a current logged on user in vb.net/asp.net. I am running it on IIS 6 and understand that it will return NETWORK SERVICE for the username. I need to grab the username of the actual windows box log on.I have tried the following code: Returns NT AUTHORITYNETWORK SERVICE
Dim User = System.Security.Principal.WindowsIdentity.GetCurrent.User
Dim UserName = User.Translate(GetType(System.Security.Principal.NTAccount)).Value
View 1 Replies
Jun 11, 2011
im using membership of asp.net to manage user and roles in my vb.net winform application when logged in i wanna get the current user in a specific form
i use that code
nom = TextBox1.Text
Dim user As MembershipUser = Membership.GetUser(nom)
Dim identity As New GenericIdentity(user.UserName)
[Code].....
View 10 Replies
Jan 31, 2011
I'm writing a program in VB.NET that needs to get the path to the current user's wallpaper.
View 2 Replies
Aug 13, 2010
I have a code that works fine to get all users but when I just want the one user it will not except the code it dose not give any errors but nothering will happen in the code you can use more that one agument so this is what i need help with in command prompt if you type net user %username% it will give me my current user account information which is what i am trying to get in my program [code]
View 1 Replies
Apr 1, 2009
i have a couple of questions 1- i have a button when the user click on it the current row in the DGV will be deselected and the next row will be selected.(i know that there is this option in the binding navigator but i need to do it manually.) so how can i do that?
2- i need to make a the first column (unselected) all the time i mean if i click it or moved to it the selection will move to the next column.
View 6 Replies
Aug 15, 2011
i have a problem with my project.in one form i have 2 textboxes in one i have displayed the serial number.in the second i want display the current user logged on software.how can i display the current user logged in ????? the code for the serial number is :[code].....
View 2 Replies
Jun 7, 2011
I've been searching for a while, but it seems that I can't find an easy way to get the current user profile folder. I've tried "%userprofile%" environment variable, but it didn't worked (or I'm doing something wrong).How can I do it? I want to add the value to an string variable.
I actually tried something like: Dim Userfolder As String = %UserProfile%
I tried with quote marks too, but none seems to do the trick.What I'm missing?
View 3 Replies
Sep 26, 2009
I need to know what current user's avatar is... e.g. this one: not the name of the avatar but the image (bitmap)
View 4 Replies
Feb 15, 2012
How can I display the logged in user after the user enters the login credentials?
View 5 Replies
Jul 29, 2009
i am looking for information on how to get the current active directory users name? Basically i have a recording package program and some of the users have expressed the want to have it track who is entering which notes. So when a note is saved the program will take a look at who is currently logged into the computer and save it to the database. I have found how to do this for mac address, computer name and ip address but have not found anything yet for getting current logged on user.
View 4 Replies
May 14, 2012
Dim Process As New Process()
Dim Count As Integer = 0
For Each Process In Process.GetProcesses(My.Computer.Name)
[code].....
I have that currently. What I want is instead of it loading ALL processes, I only want it to load processes from the current user. (ie. Ryan or Andrew, not SYSTEM or LOCAL.)'ve done research on Google looking how to implement and I've gotten some code on how to retrieve a User Name of the current user but nothing prevailed for what I needed :[ Any ideas? I'm noobish, taking Computer Science in Fall so I'm preparing and still learning.
View 4 Replies
Sep 20, 2010
This code suppose to take the user's input of current balnace, the annual interest rate, the current month, and amount he/she will pay per month. When the CALCULATE button is clicked the program starting with the current month, should compute and display for each month until the balance is reduced to zero, the month, the interest charge, payment, and new balance. But somehow im stuck in an infinite loop and its not displaying anything.
[Code]...
View 4 Replies
Nov 6, 2009
How would I get the current user's folder?Example:"C:Documents and SettingsOwner"
View 1 Replies
Mar 1, 2011
So I'm making a asp.net login. I want the login name that people use to match an id in my SQL database. So that I can retrieve their information. But currently when I use the code below, from which I get the name of the computer I am currently on. However I would like the user Identity to be what they write in the username textbox at the login screen.
[Code]...
View 3 Replies
May 24, 2012
How can I access the current user information via LDAP and VB.Net 2.0*? I found a vbscript that works, but I'd rather have it done in .net
Dim objSysInfo = CreateObject("ADSystemInfo")
Dim strUser = objSysInfo.UserName 'returns current user account
Dim objUser = GetObject("LDAP://" & strUser) 'queries active directory for user account
I'm using the framework 2.0 because it is for more likely in my XP/Vista/7 World to have 2.0 installed than 3.5 or 4.0
View 1 Replies
Jun 7, 2010
I'm using the Details View control of VWD asp.net 2008
I have a users database table. One of the columns contain the "uniqueidentifier" user's profile ID, created by VWD (from the automatic profiles table).
From my table, I would like to select only the data pertaining to the logged in user.
How do I get the current unique user profileID in general and then how do I use that for my query?
In the configure data source option of the control, I select the check box for "Return Only Unique IDs" and the WHERE option. In this new window I select the Column to the profile userID ... "=" and then assumed I should select Source: "Profile".
Now what should the parameter properties or value be to select only the current logged userID?
OR how can I do this just in C#? There doesn't seem to be any code behind after instering a DB with the VWD controls?
View 1 Replies
Jan 26, 2010
This is the function that I use in web service for getting current windows user.
<WebMethod()> _
Function User() As String
Dim p() As String = Split(My.User.Name, "")
[code]....
When I run service on localhost it realy return current windows user name!The problem is when i run service from remote PC, in that case I got nothing from this function. What is problem with this service, and how I can get name of Windows user?
View 4 Replies
Sep 25, 2008
Is there a 'simple' way to determine the current user's email address ? I want to automatically send an email when an application detects an unhandled exception, but would like it to come from the current user.I found this on the net and haven't yet worked out what its doing (although it seems to work). Unfortunately, as I'm not sure how it works, I also don't know what drawbacks there are to this technique.[code]...
View 5 Replies
Aug 29, 2010
I want a user information including name, last name, phone number and ..
View 2 Replies
Jul 25, 2011
I've set up an application that runs as a service, auth'd as LocalSystem. One of it's functions is to establish the logged in windows user's username.All I'm getting with the following is either the SID or username of the user (localsystem) running the service.
my.user.name
WindowsIdentity.GetCurrent().Name
WindowsIdentity.GetCurrent().User
[code].....
View 1 Replies