Get The Clock From The Computer Running In An Application?
Feb 7, 2011
I'd like to get the clock running on my program which is the clock from the computer and displays it into the label text of my window form. I'm using VB 2008 Express edition and I only get the current value of the time at the moment the application starts but not running as a clock.Is there anyway to do this? I used the line 'Me.Label3.Text = TimeOfDay'.
View 4 Replies
ADVERTISEMENT
Mar 15, 2012
Is it possible to reload a form of the running application from one computer when I executed a function from my other computer with the same application? co'z I want to see the changes of data on my datagrid view?
View 2 Replies
Dec 26, 2008
I have write an application to control internet access on my com, is it possible to use it on another computer thru lan. Meaning that running that app on my com and control internet access on another lan computer.
View 2 Replies
Dec 4, 2011
I have a server (server A) that has several public IP addresses. I am building a desktop application that will run on server A to fetch data from another server (server B) using the httpwebrequest class.
What I would like to do is be able to programatically direct the application to use a specific IP address from the one the server (A) has.
View 2 Replies
Jun 8, 2011
Using any version of .NET how do you find out which zone a particular share is classified under. I am having a problem identifying if a share where my referenced dlls reside is in the "intranet zone" or "internet" zone relative to some user machine that is running my .NET application. I suspect this is a problem because I am having a problem accessing referenced dlls from a share on some machines but not others. How can I tell which zone .NET is classifying that share in so I can adjust permissions accordingly?
View 1 Replies
Mar 11, 2012
how to get the time using VB.Net.It has some useful information in addition to the time such as Latitude and Longitude and on what date Daylight Saving starts as in "Spring forward, fall back".This is different for different countries.
View 1 Replies
Feb 6, 2011
TextBox1.Text = Environment.UserName + "_" + My.Computer.Clock.GmtTime.Year.ToString + "_" + My.Computer.Clock.GmtTime.Month.ToString + "_" + My.Computer.Clock.GmtTime.Day.ToString + "_" + My.Computer.Clock.GmtTime.Hour.ToString + "_" + My.Computer.Clock.GmtTime.Minute.ToString + "_" + My.Computer.Clock.GmtTime.Second.ToString
This produces, for instance, such text in the TextBox1:
MyUsername_2011_2_6_23_22_6
I would like it to displat double numbers for month, day, minute etc, to get something like that:
MyUsername_2011_02_06_23_22_06
How do I do it?
View 6 Replies
Aug 18, 2010
In my program's Form_Load I randomly generate a time value. Once I generate the time value, I put it in a DateTime variable. I need it to work like a clock. I know I can do this with a timer with an interval of 60000, or using TimeGetTime and updating a variable.Is it possible to do this with a thread?
View 3 Replies
Dec 27, 2009
I'm trying to develop a windows application where i can get connected to remote server and look for process state going in remote server.We have many remote servers where automatic installation of software going on. We have an xml file(installstatus.xml) where it tells us at what stage the installation is (Example : Inprogress , Completed, Failed.)
So our aim is to develop a windows application where i can get connected to that servers and look for their installation status(may be we can use installstatus.xml to look for installation status). Every time i connect to a server, the server information should get stored in XML file(i want to create a xml file where all the servers list i connect to should get stored)
The UI at left side should will have list of servers i can connect to. When i get connected to server, at right side of UI, i want to display the status of installation (In progress, failed , completed).
View 1 Replies
Mar 15, 2012
Using format NOW will just show the current time but the time will not run. Is it possible to make it to make the time keep running?
View 3 Replies
Jan 29, 2009
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.
View 2 Replies
Jun 1, 2008
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 Replies
Mar 12, 2009
I'm a totally newb to VB and I want to do this. I want to do display system clock into a textbox. The trick is that I want it to be synchronized with the Windows XP clock. I want to have something like +/- 100 ms accuracy.
Each 'second' change will trigger an output pin to ground into the parallel port. This is very important that the 'second' change in the same time the Windows XP second change. Do not care about the parallel output thing, I'm nearly there. My main concern is the synchronisation with Windows clock.
In my code, I've added a counter that increment +1 at each 'second' change. So, when the 'n' value will reach a determined value, it will trigger another event.
[Code]...
I searched on the net and I found a thing about NIST time server.. Maybe this could be an otpion, but I have even no idea about how using it... I'm a total newb, but I'm ready to learn. So, please use simple language, no hard to understand acronym etc.
View 23 Replies
May 13, 2011
I have this code which gives me all of the information I need regarding tasks, information etc. I have it all shelled into a VB program and I want to be able to run this from one computer and have it return the data from all computers on the domain.[code]I have script that will list all users on the domain, can I implement that or is there an easier way? If I could search the entire domain for a specific file that would work too.At the moment I just need all the data returned to a text file, I am not worried about it being sorted, or how long a process like this would take.
View 1 Replies
Jun 2, 2011
i am new in visual basic. net programming. i am facing problem that when i made a file in vb.net and run it on same computer than it runs fine, but when i copy it to another computer where vb.net or .net framework is not installed then it doesn't work. can somebody help me how to run that file without install .net framework
View 7 Replies
Oct 15, 2010
I have created an app that will run on many computers, each will connect to one database on the network. When ever an app is running on the local machine, it has a Public Variable called MyUserName, which has the name of the user currently running the app.Is there a way to have an app running on the server side that could reach out to all the currently connected computers and 1: see if the app is running and 2: if it is running, retrieve that Public Variable, MyUserName? if this cant be done in this manner, is there some other way i can detect if a computer is running my app and if so, get the varialbe?
View 2 Replies
Apr 8, 2011
I'd like to make sure that a program could run on a specific computer and get information like pc's identity. This way it won't be possible to run on another computer.
View 7 Replies
Dec 28, 2009
I am using this code to try to connect to a computer/server from my desk top. but keep getting errors The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
Dim options As ConnectionOptions
options =
New ConnectionOptions()
[Code]....
View 5 Replies
Dec 4, 2009
I need to check if the explorer.exe process is running on a remote computer to verify that there is a user logged on the computer. I Also want to get the Process Owner of the explorer.exe process to check which user is logged on. I have found some VBscript examples online, but i can't seem to get them to work. If anyone knows of a better way of checking if and what user is logged on to a computer, please give me a reply also. I have tried System.Diagnostics.Process.GetProcesses, but i can't seem to get the owner of the process, maybe WMI will do the trick ?
View 8 Replies
Jun 29, 2010
I made a project in Visual Basic 2008 Expression Edition. My project works perfectly on the computer on which I made it. But when I make the executable file (.exe) and try to run the project on any other computer it doesnt work. I get the following message Project has encountered a problem and needs to be closed.
I followed the procedure provided by the Beginner Developer Learning Center to make the executable file. [URL]
I have Windows 7 installed on the computer on which I made this project.
View 4 Replies
Apr 17, 2010
I am currently working on creating a environment variable editor which will analyze your JAVA version and add/edit your class paths accordingly.I wanted to know how I would go about getting the JAVA version that is running on the computer. So I will basically have a button that is clicked then the java version will be displayed in text box 1.
View 1 Replies
Mar 5, 2010
i have developed a small application and was working fine on developing machine but when i installed it on another computer and double click on it to start it starts and after splash screen it gives don't send error [an error occurred] and getting closed.
View 3 Replies
Jul 9, 2010
Ok i got my application, put it on my other computer which has a smaller screen. And i have my controls in a panel but it still gets them chopped off by the screen. the part highlighted in yellow is the bit that gets missed off, what can i do here as i still want the search to be on the right. How can i make the controls fit in the screen even on a smaller screen.
View 11 Replies
Apr 24, 2010
I had done one application using api which send the message to given number. The working of software is very fine without any error working on windows XP SP2. I heard that vista already contain the .net frame work so didnt installed .net frame work in machine. I checked in vista it shows .net frame work is in machine. But when same code i tried to run on Vista it gives the error. Error is as follows
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at SmsSendingApplication.frmSingleMessage.InternetOpenUrl(Int64 hInternetSession, String& lpszUrl, String& lpszHeaders, Int64 dwHeadersLength, Int64 dwFlags, Int64
[Code].....
View 7 Replies
Jan 4, 2011
Make a code to view the processes that are running to a remote computer and how to kill them by select one...
View 6 Replies
Jul 22, 2011
I know this code will give a list of processes
ListBox1.Items.Clear()
Dim ProcessList As System.Diagnostics.Process()
[code].....
View 3 Replies
Apr 4, 2011
Title pretty much says it all. Does anyone know a way to to prevent a computer from entering a low/non-processing mode while the program is running? I don't care about monitor modes, screen-savers, hard-drive spindown, etc (in fact, I'd prefer to leave those alone; I like it that it shuts the monitor off after a time period).Basically, I have an industrial program that needs to continually monitor a PCI card it uses for IO; and this activity alone isn't enough to convince Windows not to go into Sleep mode. We normally just shut the power-save features off, but we had an incident where a technician forgot, a customer's machine went to Sleep after the end of the shift, the pumps stopped recirculating, yadda-yadda big mess.
View 6 Replies
Jun 4, 2011
what account for this error message in ls beta 2?'' The last change wasn't successfully persisted.Please shot down the running application.
View 1 Replies
Feb 26, 2010
How can I create a VB application in VS2008 without requiring the application be run on a computer with a .NET framework in place?
View 4 Replies
Jun 8, 2011
I have designed and published my small created app with WINDOWS FORMS using VB 2010 EXP on Windows 7. I can only install the app on the machine that I used to develop the app.I want to install the app on another computer but I cannot. I usually have error reports.
Example:Unable to install or run this application. This application requires Microsoft Common Language Runtime 4.0.3 to be installed on your computer.
what can I do to be able to install the app on a different computer which does not have .Net and does not have visual basic 2010 installed.
View 13 Replies