Way To Get Computer Info
Apr 23, 2010I'd like to get ram, proccessor , motherboard and videocard information in vb. Does any one know what functions to use?
View 1 RepliesI'd like to get ram, proccessor , motherboard and videocard information in vb. Does any one know what functions to use?
View 1 RepliesBasically I'm adding a registration feature into my program, or a similar thing to that. So, when you purchase you can install up to 3 copies (for example), but not more.To do this, I need to know some kind of information that is unique to each computer (to store in my database online), I thought of the name of the computer, but that isn't unique, obviously.
View 9 RepliesI know I can pull the amount of memory by using My.Computer.Info.TotalPhysicalMemory but I would like it to show like it does under My Computer properties. What do I need to do this?
View 1 RepliesI have a problem where I am running a Console App to obtain some computer information on a pc. The pc has the following specs:
Windows XP Media Center Edition 2002
Service Pack 3
2 GB RAM
.NET Framework 3.5
The script runs fine on my Vista Ultimate PC. However, my friend runs it on his pc and nothing is written to the file. The directory and the file are being created, but nothing is in the file. Is there something that I am missing about XP Media Center Edition?
Here is the code:
Dim cFile As String = "C:System InformationsystemInfo.txt"
Dim objWriter As New System.IO.StreamWriter(cFile, False)
Try
Dim mObjOS As ManagementObjectSearcher = New ManagementObjectSearcher("SELECT * FROM Win32_OperatingSystem")
Dim mObjCS As ManagementObjectSearcher = New ManagementObjectSearcher("SELECT * FROM Win32_ComputerSystem")
[Code] .....
Up to now, my programs are installed in individual computers, and I use the data collected using Win32 classes (such as bios, board, and processor) to lock my program to those computers to avoid piracy. However, I am currently preparing two programs that will be installed in servers and accessed by more client computers. My problem is that I once read some ways of doing the same thing with server (accessing the hardware info of the server), but I simply can't find it again in my archive. My idea is simply to lock the program to the hardware info of the server computer, so wherever the person runs the program, it will be first checked the server hardware info, if it matches, only then, it will run. My client server is Windows Server 2003, and I am programming with VB2k5.
View 1 Replieswriting user info such as user, computer name, date, and time to an acces database using a button click event. Then use a query to check if the user has accepted the aggreement. If the user has accepted the aggreement then call a vb.exe that display the aggrement. I have a login script that runs the vb.exe and uses a button click that records the user info to a csv file, but if the user has already agreed to the policies I do not want it run again.
View 4 Repliesget a list of printer's (name,port,model) from a computer over the network. I know how to list my own, but it's from querying the Win32_printer object on my machine, I need to be able to do something similar on a remote machine.
View 4 RepliesI am working on a media player, and I would like to setup a local playlist feature. I am using a single ListBox and its "Display-" and "Value-Member" properties. The display is the song's Artist and Name, and the value is the song's file path (i.e 'C:UsersUSERMusicetc.').To write the file path to the .txt file, I believe I can use the following code:[code]
View 18 Replieshow to create Quick info and/or parameter info for own code?
View 6 RepliesI am making a program, obviously, and I require some assistance. I found an explanation on how to read information from a Text file and have modified it for my needs. Here is my (modded) version:
Public Function GetInfo(ByVal playlistname As String) As String
On Error Resume Next
Dim PlaylistInfo As String
[code].....
I'm making a database app. I've finish the search, add new, and add function. What I'm trying to do is to expand the functionality of the add new item function.
View 2 RepliesI am trying to do is fill out a form with certain info, put the info into an array, and write it to a listbox using loops, arrays, and maybe a function if I need one. This is for VB2010 and here is what I have so far... I think there are ways to make it shorter but I cannot figure it out.... maybe just brain dead from all the coffee I have been drinking!
[code]...
under my project I have the following
However when I use this code.
lblABOUT3.Text = "Version : "
lblABOUT3.Text += My.Application.Info.Version.Major.ToString()
lblABOUT3.Text += "." & My.Application.Info.Version.Minor.ToString
[Code]....
how to correlate info from a textbox based on a listbox item selection. For example the user will select an item from the listbox, enter say the length of a song in the textbox say 2:00 for song #1, select say song #2, enter the song time for that song say 3:00, click on song #1 again and have the same textbox display the length of that song and be able to do that until there are no more songs on the list.
View 5 Repliesi have a task to create a TCP Server (a program that is listening on its network card interfaces for incoming data stream).I have search on the internet and i found that i can use two methods : Socket or TCPListener class.I have created an example for Socket class, but i wondering how could i test it? I need to check that if another computer in the network send some string data to the listener computer , then this message should be displayed.Here is the example from microsoft that i am using for TCP Server using Socket:
Public Shared Sub Main()
' Data buffer for incoming data.
Dim data = nothingc[code]....
But it does not work because of the PORT setting.If in the TCP Server i have "Dim localEndPoint As New IPEndPoint(ipAddress, 0)" the client crashes, but if i change the port from any (0) to 11000 for example,the client works fine.Do you know why?
Later edit2:Maybe i should have started with this question:Which method is recommended for my scope?asynchronous or synchronous method ?
I am developing a computer application designed to monitor the network and CPU statistics on a computer remotely. The monitored computer would have my program installed and the monitoring computer would display, in a form, the information being sent from the remote client.The application does not send any information regarding packets, user names, passwords, etc. It is solely meant for monitoring CPU performance and Network resources remotely.
What would be the best method to send this information over to my host machine?I am programing in Visual Studio 2008 on windows XP. The client machine is also XP. I know this sounds a little shady, but it is required for my little business (http://www.iquorum.net) to monitor what and when something happens on our machines when I and my employees are away.
I am trying to dial a computer from another computer using Modem for sending files and messge.Follwoing is the code done in dialing computer
Text1.Text = "Test string from App1 "
Number$ = InputBox$("Enter phone number:", "Number$")
If Number$ = "" Then Exit Sub
Temp$ = Status
[code].....
But after the dial tone, i am getting the exception "CTL_E_GETNOTSUPPORTED " at the line MSComm1.Output = Text1.Text?
i have encountered a problem, i want to access the data coming to the computer from the in-built bluetooth module of a computer on windows platform, this data has been sent by a remote bluetooth module say a by an autonomous device (just like a bluetooth mouse connecting to the computer). The to be sent is in the form of numbers and i need these to manipulate on the computer.
View 6 RepliesI have a desktop computer with a cable connection on the back that allows me to watch TV on the computer using Windows Media Center. I had the idea of writing a program that would access this feed and send it to another computer (laptop) via my network. That way I would be able to watch TV from anywhere that my network spans. I have no idea if this is possible or how I would even do it,
So I have three questions.
1: Is it possible?
2: How would I go about access the feed?
3: How would I send it over the network?
My original thought was doing it in Flash, but I'm not very good at Flash so I wanted to do it in VB.Net.
I need to copy a file from a local computer to a remote computer on the network, if i try to use File.Copy without logon i get the following error:"Logon failure: unknown user name or bad password."How do I provide user name and password for file copy?
View 2 Replieshow can i look up for a specific computer given ip or computer name ...retrieve the user logged on..
View 2 RepliesProblem:When my computer restarts my mapped drive appears under My Computer. When I try to use it from code I get errors. If I open the mapped drive by double clicking it, and then try the code, it works. What I discovered is that when my computer starts the status, using net use, is
[code]...
I have to create an online application which i can apply it on every employee's computer in my company and i have create the application on visual basic 2008 and SQL 2005 using windows application and database. The problem is i do not understand how am i going to run the application on every employee's conputer. Because i have create the application on my computer, must i install SQL on every employee's computer? or any other software i have to used.
View 8 RepliesThis line of code freezes on my Win7 dev computer but not my XP dev computer.I am using Visual Studio 2003.
strOutputFile = "c: est.mp3"
How do you share files from one computer to another that are connected in one wireless internet connection? I mean, it's possible using shared folders this means it could be possible in vb.net too..
View 1 RepliesI have exe file that lunch a program takes 5 inputs. this exe locates in computer B and I need to execute it from computer A using VB.net customized application that pass the inputs through it.
View 3 RepliesI tried to get os version of remote computer using ip address with WMI ,It shows "RPC server unavailable" error.If anybody have solution for getting remote system information without WMI in vbnet,
View 1 Replieshow to transfer files from 1. computer to the computer with the program made in visual studio 2008 (visual basic)
View 3 Replieshow to make automatic backup from one computer to another computer ? I'm using vb.net. We are on the local network.
View 14 RepliesCan I get info from stored cookie on the local machine. I have a Webbrowser control in a winform, and I would like to output data from a cookie to a label or so.
View 4 Replies