Finding Each User On XP Machine
Jan 10, 2011Is there a method in the .NET framework for finding each user on a machine? I want to copy a shortcut to each users desktop, but first I need a list of each user on the particular machine.
View 3 RepliesIs there a method in the .NET framework for finding each user on a machine? I want to copy a shortcut to each users desktop, but first I need a list of each user on the particular machine.
View 3 RepliesI know HOW to use cookies, but how to do so in a Windows Forms Application? What reference would I need to add in order to add cookies to the user's machine?
View 1 RepliesHow can i check if the username has a administrator role or a member..
here is my code..
vb.net Try Dim connection As New OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:UsersMaynielDocumentsVisual Studio 2010ProjectsSampleSystemUserAccount.mdb")'Get the count of the records with matching user ID and password.
[Code]...
I'm trying to develop a decent answering software that can reply to anything that the person inputed. For example this would be in a chat software, when the user receives Hello? the chat program would reply to the sender "Hi, how are you?" or what ever the person away has set up.[code]
View 4 RepliesI have made an application using VB.NET which is used inhouse. In order to avoid everytime changing of exe on user's (multiple user) machine I want to use shortcut of exe on user's machine.
Where EXE is placed in one central location(Server).
I am getting bellow error on user's machine :
Request for the permission of type 'System.Data.Odbc.OdbcPermission, System.Data,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Error after clicking on ok button:
Application attempted to perform not allowed by the security policy.Togrant this application the required permission,contact your system administrator,or use the Microsoft .NET Framework Configuration tool.
[Code]....
Is there any possible to get ideal time for a particular user in NComputing machine (one CPU with multiple user) using vb.net?
View 1 RepliesI have an idea to make user machine no need to install dotnet framework to run a .net program
first,copy all the project refrence(with mscorlib.dll)to the program directory
then,make a bat file,"dotnet error fix.bat",inside the file includes the command that copy refrences to Microsoft.NET directory will the program run like this?how do i test?
I have form, on which a component is placed, which is inherited from Forms.UserControl. This component, called Panel, handles the layouting as visible in the screenshot below.
The screenshot shows 10 Panels. Each Panel contains its own title bar and visible area, in which any UI can be displayed.When the application starts, the application contains only one single Panel. When the user decides to split this Panel into 2 Panels, those new Panels are displayed side-by-side in the area of the old Panel either horizontally or vertically. Inbetween these Panels a splitter is added, so that the user can resize the Panels. The user can do the splitting multiple times, so that you reach a layout as given in the screenshot above with 10 Panels.
Minimizing and the maximizing the application causes a painting issue as displayed in the screenshot below. The red rectangle indicates the area, where the layout is not displayed properly.
Here some additional information:
1. Windows 7 The issue occurs only on Windows 7 machines. On Windows XP the application is running properly.
2. .Net Framework The application was developed for the .Net Framework 1.1. I upgraded it to 4.0. All warnings were fixed, which occured after the upgrade to 4.0.
3. Layouting Technically The Panel works internally with mutiple Forms.Panel, 1 Forms.Splitter etc. objects. If the Panel is not splitted, it displays the title bar and a visible area below, both instances of Panel. If splitted, the Panel replaces the title bar and visible area with 2 instances of Panel again but divided by a Splitter.
I created setup from VS2005 Setup Wizard now i want to do following actions
-If i already installed my Application then it should show Add/Remove or Repair message currently i am removing from Control panel then again installing.
-I want to run .exe file first when setup Load on User machine.
I am debugging an app in VS2008 (written in VB) that deletes and recreates a file. When I debug it, I get an error saying that I do not have the permissions to edit the file. How can I find out which user the appilcation is using to access the file? I would then grant that user full permissions to the folder and file in question.
View 8 RepliesI have to make probram in vb.net which can use as a audit tool for computers.give the suggestions how can i extract the data from machines such as what user machine contained what type of softwares are in place.
View 1 RepliesNeed to install a font on all user's machines that will use the application I am writing which creates custom documents in Word. It's a barcode font.I've successfully added the font to my solution and set its build action to Embedded Resource and have also successfully written code to check if the font is already installed on the user's system.
View 3 RepliesI am able to find out when is the last time a user log into a domain but I am also wondering if it is possible to find out what's the machine's name or IP.
In my Active Directory, I see there is an attribute called logonWorkstation but it seems not being used (no value stored)
When the user drags to left, I have to add the item to previous row. When the user drags to right, I have to add the item to nect row.
The below code is not working as expected. each row has 5 items. When the user drags to right in the first row, It is giving the TargetIndex as 5. It is giving the same value for targetindex, when the user drags the item in 2nd row to left end.
Private
Sub PictureList_DragDrop(ByVal
sender As System.Object,
[Code]....
How do I get the startup folder path for "Current user" and "All user" in VB.net?
View 2 Repliesnet application. .exe generated is sufficient to use software. since I have 700 MB (~8k media files) data to include as part of installation I do not want to use visual studio deployment wizard.
[Code]....
I am trying to see find out if a user has been inactive for a certain amount of time by mouse and keyboard events. I want to be able to find this from windows not my form. I am lost as to where to start. I came across this "GetLastInputInfo Function" but am not sure if that is right and/or how to use it.
View 18 RepliesWhat i want is :
There is one windows app ( made in .NET 3.5, VS2008, C# ) for Windows XP SP2 & SP3
generally users can change there IP or modify their IP Address.
Now,when my apps starts i dont want users to change there IP Address untill my app stops.
I am trying to create a slot machine application. I wanted to make a handle like gui so here is what I have:
[URL]
What I want is to be able to let the user drag the red button till a certain point and when they let go of the mouse click the button moves back slowly to the top.Here is what I have so far (I tried my best) :
Private Sub picBall_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles picBall.Click
tmrOne.Enabled = True
tmrTwo.Enabled = True
[code].....
I develop an application using vb.net.application will run on client server architecture.when we try to execute the program in client side then it will give me an error which is related to sqlclientexception.how can i handle this situation.i used vb.net 3.5 as front end and sql server 2000 as back end.i have done total coding with system.data.sqlclient namespace.
View 6 RepliesI've inherited a lot of custom made software for an office, and, while managing it, I've found it performs differently from machine to machine.I mean, some controls get painted in weird ways in some machines but well in another, or just work differently, like in some machines clicking something selects it, and in the next machine clicking the same thing makes it editable.I suspect, o course, of the myriad of DLL the software loads
View 2 RepliesIn vb.net I am using password protected database with following connection stringconnetionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:vaivaiDB.mdb;JetOLEDB:Database Password=secret;"Database access works fine on the development machine.
View 2 RepliesI have been doing a lot of reading on this topic and most folks seem to agree that having Excel is required to use the COM Interop libraries. However they are never specific as to where that should be installed. Does it need to be installed on the machine I am developing on or does it need to be on every machine that I deploy to?
Edit: I should mention that this is desktop development/deployment targeted for all Windows machines.
I want to block a perticular machine from accessing my machine..Both the machines are in LAN..I dont want a perticular machine to access my computer How can i achieve this...I want to do this using VB.NetAny idea....
View 9 Repliesi must get time on another machine and put it inside my windows application with vb.nethow can I
View 9 RepliesI have built a DLL for changing the default printer to a new value and then setting it back to the original. This DLL will be called from a VBA addon to an ERP product. I think the version of the VBA is 6.3.
I have built a Visual Basic 2008 Dll using a COM component. This generates a DLL and TLB file. Using Regasm.exe from the .net frameworkv2.0.50727 folder to successfully register these components on Windows XP and Window 7 32 bit.
However, when I try to do this on a Windows 7 64 bit system, it fails. After some fiddling around, I was able to get a successful registration using the Regasm.exe in framework64v2.0.50727. But after the successful registration, the VBA project still cannot use the DLL.
When I try to Reference the .tlb file in the VBA project, it is not visible even though the dialog filter is set to dll, tlb.If I try to use late binding by using the getobject and/or createObject method, it fails.
There are two ways to answer this request.1. How do I register my 32 bit COM dll on a Windows 7 64 bit machine?
2. How do I write a COM DLL component from scratch for a WIndows 7 64 bit machine using Visual Basic 2008 ( or 2010. I will upgrade if necessary)?
How do I register a vb program dll for all the users of a machine? I have admin rights and have tried to register the dll using regsvr32 . Its get registered and is functioning only for my user id. If some one without admin rights come and login then it is not working.
View 1 RepliesI have a 32-bit java dll which i need to call from a asp.net application on a 64-bit machine.
View 1 RepliesI'm buying a new computer this week and the one I want has Windows 7 Home Edition 64 bit. I program in VB.NET using VS2008. If I write a program and compile on this 64 bit windows, will it run in 32 bit? I did some reading and from what I understand is if it is not using any specific 64 bit drivers I should be good. I'm not doing anything fancy that I know of as far as drivers. I just wanted to see what everyone's past experience has been.
View 3 RepliesHow to get MAC address of client machine in c# and vb.net
View 3 Replies