Topics
-
- 0 replies
- 22.9k views
Hi guys, I have a couple of Linux servers that I want to monitor. I've been searching for good, and free monitoring software but have not really found what I'm looking for. Now I want to see if I can build it myself. I was wondering if anyone has done something similar before. How should I start, what do I need to keep in mind? Do I need to code something that goes on the server too? I want to be able to monitor the server load, memory used, CPU used, if the server is up, if specific ports are up and disk space. I know that it is possible to get connected with the server over SSH from .NET, but is there an other way? If so, how? I hope someone can help me,…
Last reply by mrpddnos, -
-
- Administrators
- 9 replies
- 32.9k views
Hi all, I am really struggling with this one!! I need to let users delete a bitmap file from a location on a server and also delete a record relating to this bitmap from a database at the same time. Every time I click on the delete button it throws an exception message saying "The process cannot access the file "\\server\blah\blah\myfile.bmp" because it is being used by another process" I think I need to close the process somehow but have no clue how to do this. My code is shown below: Try If MessageBox.Show("Are you sure you want to Delete this document?" & vbLf & vbLf & "NOTE: If you click Yes you will not be able to retrieve thi…
Last reply by JoshuaReen, -
-
- 1 reply
- 2.1k views
Hi, I want to create a registry string : HKEY_CURRENT_USER\Software\Nico Mak Computing\WinZip\WinZip And set the value of "0" to it. So the shortest way is: Dim ExtractKey As Microsoft.Win32.RegistryKey = Microsoft.Win32.Registry.CurrentUser.CreateSubKey("Software\Nico Mak Computing\WinZip\WinZip") ExtractKey.SetValue("OpnExplFolder", "0") ExtractKey.Close() ? I'm doing it good and is there a shorter way? And .Close is necessary? Thank you very much...
Last reply by LamKat, -
-
- Leaders
- 1 reply
- 1.7k views
i can't seem to get it to save the Hex string back to a file. This is the code i using to open the file Dim builder As New StringBuilder Using reader As FileStream = File.OpenRead(Parth) Dim length As Long = reader.Length Do Until reader.Position = length If reader.Position > 0L Then builder.Append(" "c) End If builder.Append(reader.ReadByte().ToString("X2")) Loop End Using RichTextBox1.Text = builder.ToString() But how can i save the Hex in richtexbox1.text Thanks Sutton
Last reply by snarfblam, -
-
-
- Leaders
- 1 reply
- 2.1k views
Hi, Anyone can help me with converting a regular path like: C:\Program Files\Steinberg\Cubase 6\MP3.jpg to a web relative path like: ../../../Program%20Files/Steinberg/Cubase%206/MP3.jpg To use in HTML files? Thank you.
Last reply by snarfblam, -
-
- 1 reply
- 1.9k views
I have a project with 3 DataGridViews, and I want to save each of these grids to a different sheet within 1 Excel file. Can anyone give me some tips on how to accomplish this? (or possibly point me to some sample code.)
Last reply by emptyB, -
-
- Leaders
- 2 replies
- 2.6k views
Hai everybody, I'm new here. I need help to solve my problem in vb. I using vb 2008. Actually I creating my application that can solve boot crash for Windows 7. I started code using batch file and convert into .exe format for application solution. The application solution is transfer file like: - ntoskrnl.exe - bootmgr - ntfs.exe - hal.dll Then I execute it using vb form. In real environment everything is going nice. But when I boot that application solution that I already integrate using vb form. The application solution is running as usual but there is no transfer file into directory that I specify. When I boot the application, directory C:\Windows\ …
Last reply by enciktangankida, -
-
-
- Leaders
- 1 reply
- 3.7k views
Encryption and Decryption in vb.net possible? 1)when my form load text.exe to text.enc file encrypted but when my form closed text.enc to text.exe file decrypted sample file name(text.exe file)(encrypted file text.enc)(decrypted file text.exe) How? plz give me sample..
Last reply by snarfblam, -
-
- 4 replies
- 2.9k views
I've got nice a nice piece of software that can serialize and deserialize settings from my project just fine on one PC, but I need to be able to deserialize the file on another PC running a similar (but different) application. I've searched here and online, and it seems I need to use "Assembly.LoadFile(string pathToAssembly)," but are there any directions on how to do this? I'm not sure how to get the path to the assembly if it is running on another PC. Would this require each PC to have a static IP that I could ping and get this information (our network administrator wouldn't go for that). Should I deploy the assembly for the other PC with this application? Woul…
Last reply by joe_pool_is, -
-
- Administrators
- 3 replies
- 3k views
Okay, we've run across something a bit odd. I have a Windows forms application, that when it starts, downloads and opens a file (with a .ini file extension) to retrieve some system settings. Private Sub SetupKioskInformation() Dim strKioskString As String = "" Dim strProperty() As String = Nothing Dim strObject As String = "" Dim strValue As String = "" Dim bolbtnWebpageOneSet As Boolean = False Dim bolbtnWebpageTwoSet As Boolean = False Try '-------------------------------------------------------- '- Determine if the Kiosk.ini file exists . . . '----------------------------------…
Last reply by PlausiblyDamp, -
-
-
- Leaders
- 4 replies
- 4k views
My goal is to create an application that determines which check boxes ARE NOT checked in a checkedlistbox and run a command based off of those unchecked check boxes. I have only been able to find the opposite - running a command based off of checked check boxes. Here is my code right now: Imports Microsoft.Win32 Imports System.IO Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim _RegistryKey As RegistryKey = Registry.LocalMachine.OpenSubKey("SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList") For Each _KeyName As String In _RegistryKey.GetSubKeyNames() …
Last reply by cloudmonkey, -
-
-
- Leaders
- 2 replies
- 4.9k views
Ok, i have two programs one program writes to a text file on a consistent basis, while the second program is opening this text file on a consistent basis for reading.. Sometimes the programs are accessing the file at the same time and the user keeps getting this error : this process cannot access the file because its already in use.. Is there any class, in system.io that i can use to modify the settings of this text file so both programs can access it at the same time? Any help would be appreciated!
Last reply by kill4, -
-
- 1 reply
- 3.7k views
Good day one and all, Apologies if I'm not in the most suitable topic area for this. Can someone tell me why I'm getting a bad data error when I try using this decryption method? The encryption part works fine, but when decrypting the file I get the error: CryptographicExcpetion was unhandled Bad Data on the line fsDecrypted.Write(sr.ReadToEnd()) please see the code I'm trying to use: /// <summary> /// Encrypts a file - Not implemented /// </summary> /// <param name="sInputFilename">File to encrypt</param> /// <param name="sOutputFilename">Encrypted file name</param> /// <pa…
Last reply by joe_pool_is, -
- 1 reply
- 2.3k views
Greetings, I am new to the boards. I have looked through 36 pages of posts and was not able to find an answer to the task i need to preform. I have done extensive google searches, but all answers lead back to compatibility issue directly in vb.net and i need setting information for a single file. File.attributes does not contain the information i need. I have a file C:\SomeFile.exe. I right click on it and go to properties, then the compatibility tab. I need to retrieve what the setting is under compatibility mode using programmatic methods including if the value is null using VB.NET. Thank you for any responses
Last reply by Eirwick99, -
-
- Administrators
- 9 replies
- 7.3k views
Does anyone know any way to defrag a disk in vb.net??
Last reply by BrettW, -
-
-
- Administrators
- Leaders
- 2 replies
- 3.6k views
Dim DirInfo As IO.DirectoryInfo = DriveInfo.RootDirectory If I get into a protected system folder like "System Volume Information" in the root of drive, I get System.UnauthorizedAccessException. So how can I check DirInfo to prevent this exception? Thanks.
Last reply by snarfblam, -
-
-
- Leaders
- 2 replies
- 3.5k views
Hi everyone. Is there any way to read code from a text file and run it during runtime? :confused: By the way i looked at the one about textboxes and tried it but that uses VBScript code not VB.NET and i want the .net code to be ran.
Last reply by BrettW, -
-
- 6 replies
- 9.8k views
hi, my dedicated server has a backup server which i can copy files to using these steps: i have to open up IE and type in this url: ftp://myuser@mybackupserver.com/ it then prompts me for the password which i enter, then i can simply drag the files into that window and it copies them over however, i would like to write a .net program to copy some files over automatically and then schedule it to run nightly can someone point me in the right direction for trying to code the above procedure. how do you specify the ftp site as the destination, how do you specify the user/pass etc. thanks!
Last reply by booriaxy73, -
- 0 replies
- 2.6k views
how do i register my web service to uddi registery in windows xp sp-3
Last reply by srinivaskr, -
-
- Administrators
- 2 replies
- 2.7k views
I want to take a text file with data stored on each line, then have my VB program take each line and assign it a variable. If anyone can help me on this I would deeply appreciate it. Thanks.
Last reply by 8ball, -
-
Who's Online 0 Members, 0 Anonymous, 10 Guests (See full list)
- There are no registered users currently online