VS 2010 Remote HWID?

Mar 13, 2011

How can I get the HWID ID of a user that runs the program? I'm going to make it send it to my SQL and anybody who leaks the program will be locked out... I have a SQL Login System.

View 4 Replies


ADVERTISEMENT

VS 2010 How To Make A HWID - Hardware ID

Dec 10, 2010

How to make How to make a HWID - Hardware ID

View 1 Replies

Changing Up This Code (HWID)?

Mar 7, 2012

i have been trying to figure out auth system and after tons of researching and asking questions, I found a tutorial that "almost" fits my needs. This is what the code does:Basically a new form is created with a textbox and a connect button on it. When the program is loaded, the textbox has your hardware ID on it (also known has HWID). Then it looks for that HWID on a text file of the link given [URL] in this case as an example. If that HWID is found on that text file, then it leads you to form2 which is an actual program and if not, form1 closes meaning you have no access to anything at all. A basic authentication system and here is the code for it:

Imports System.IO
Imports System.Management
Public Class Form1

[code]....

View 1 Replies

Read Username After HWID?

Jan 1, 2012

Read username after HWID

View 3 Replies

HWID System (vb > Php > Mysql) Not Working?

May 13, 2012

Im going to get started.Im setting up an hwid login for my vb.net program,

To be safe, im not directly connecting to my db from the program, because if it was cracked, my db info is leaked,so i want it running through php,

this is my current php code

<?php
$con = mysql_connect("localhost","username","password");
if (!$con)
{
die('Could not connect: ' . mysql_error());

[Code]...

of course, i have removed my db info, but im getting this error Parse error: syntax error, unexpected T_VARIABLE in db.php on line 10

I cant seem to find what the problem is, what i want to do is have the program submit the hwid like this site.com/db.php?hwid=hwid here and have it echo the name in the row of the hwid submitted.

View 1 Replies

Locking Application To HWID And SmartAssembly?

Nov 27, 2010

1) How do I lock my application to user's HWID?I want it to work this way: when a certain user opens my app, it automatically scans for his hardware ID and lock the application to it so noone other than the user can use the app.

2) I'm planning to use SmartAssembly trial version to obfuscate my code, will this affect my application in any way? Like, crashing?

View 2 Replies

VS 2008 HWID ( 2 Same Codes 1 Works 1 Don't ) Error To Do With Define

Feb 27, 2010

I downloaded HWID Which lets me create lock to pc for my app Original source works but when i try and add that to my app it dosent m i Missing something ?This is the code

Imports System.Net
Imports System.Management
Public Class Form1

[code]....

I coppyed original source as u see above to my form3 which will be loading screen but some reason I get errors above code is exacly the same?

View 1 Replies

Remote Assistance For VB 2010?

Mar 7, 2012

Ok, here is the scoop. I would like to know if someone would provide remote assistance in restoring contols for visual basic ultimate 2010. I have had this version for less than a week and the controls are dispapearing to make it function. I don't know how to restore functions yet, due to the fact of beginners luck.

View 2 Replies

Read Remote Registry From VB 2010?

Jul 27, 2011

I created an in house tool in VB.net to complete my post installation steps of SQL Servers.

My tool completes all post installation steps like (Creating Database,storedporcedures,logins,logon trigger, database mail configuration, Jobs , local security policies and creating required folders and granting permissions to service account.)

[code]...

View 2 Replies

Remote Desktop In VB 2010 Using Winsock

Jan 12, 2011

procedure or program codes in creating a remote desktop application using visual studio, vb.net with the tool Winsock. I've heard in blogs and forums that Winsock can be a good tool in creating a remote desktop.

View 4 Replies

VS 2010 - Execute App On Remote Machine Using WMI

Jan 1, 2011

I am trying to execute exe file on remote machine using wmi. Its basically work on 50%, but problem is interactive process it execute the app but i can't see any window or form but I can see app is running in the task manager. Does not need to be vwi, might different method, but I dont want to use psexec tool.

My function:
Public Function StartEXEonRemote(ByVal machine As String, ByVal file As String) As String
Dim wmi As ManagementClass
Dim wmi_in, wmi_out As ManagementBaseObject
Dim retValue As Integer
[Code] .....

View 4 Replies

VS 2010 Connect To Remote MYSQL DB?

Nov 18, 2010

I have an app, that is going to connect to a remote MYSQL DB.I've look around online, and didnt find any good resources. I've seen some where you have to download an odbc driver etc

View 10 Replies

VS 2010 Detecting Printers On Remote Pc?

Mar 16, 2012

I need to list printers on a remote pc and am gettings errors trying to use wmi code but I am open to another way of doing this,

Private Sub DetectPrntrs()
Dim strComputer As String
Dim colPrinters As String

[code]....

I get the error:'Name' is not a member of 'Char'.

View 5 Replies

VS 2010 Execute App On Remote Machine?

Dec 21, 2010

im trying to execute exe file on remote machine using wmi. Its basically work on 50%, but problem is interactive process it execute the app but i can't see any window or form but i can see app is running in the task manager. I spend 3 days on this with no luck.Does not need to be vwi, might different method, but i dont want to use psexec tool.My function:

Public Function StartEXEonRemote(ByVal machine As String, ByVal file As String) As String
Dim wmi As ManagementClass
Dim wmi_in, wmi_out As ManagementBaseObject

[code].....

View 1 Replies

VS 2010 Listing ALL Remote Printers

May 14, 2012

I have this working but only shows printers for the current user I think, I need to see a list of all printers installed on a remote pc for all users.I think I need to use the reg keys but all samples I fnd want only for one user and seem to be vbscript not VB code..[code]

View 2 Replies

VS 2010 Remote Closing Application

Feb 28, 2011

I have an app that is on a network drive. Around 100 people will be using the app.

Right now, I have 2 people testing it. They found a couple of bugs, I fixed them, and made the changes.

However, before I could update the app, they had to close it because I can't delete a file that is in use.

how I might prompt the user that the app will be closing in "x" amount of seconds for updating?

View 5 Replies

Connect To A Remote Network By Creating A Temporary Connection On The Fly By Using The Remote IP/Host Name?

Jan 20, 2010

Rather than use an Entry name of an existing VPN connection, is it possible to connect to a remote network by creating a temporary connection on the fly by using the remote IP/Host name, username and password?

View 6 Replies

Connect VB 2010 To Remote Database MS Access?

Jan 11, 2011

Client form need an access to the ms access database located at the Server. I've just created a database in MS Access in the format .mdb, 2000 version. Forms created in the platform Visual Basic 2010. Kindly post procedure or source code to do it. I preferred to use OleDB connection since i used it on a stand-alone access to database.

View 4 Replies

Retrieving Remote Share Permissions - .net 2010?

May 7, 2010

I can seem to find is vbs code for retrieving remote share permissions using WMI.I've tried to convert this code to run on vb.net but don't seem to be getting anywhere.should I try to convert the below code or are there other methods I can use to retrieve the permissions. I can easily get the list of remote shares using win32_share but not the permissions

Code:
strComputer = WScript.Arguments(0)
Set objWMI = GetObject("winmgmts:\" & strComputer & "
ootcimv2")

[code]....

View 1 Replies

Retrieving Remote Share Permissions - VB 2010?

Jul 6, 2009

I've search tons of .net pages and all I can seem to find is vbs code for retrieving remote share permissions using WMI.I've tried to convert this code to run on vb.net but don't seem to be getting anywhere.hould I try to convert the below code or are there other methods I can use to retrieve the permissions. I can easily get the list of remote shares using win32_share but not the

View 4 Replies

VS 2010 Code To Run On Remote Server As Administrator?

Jun 21, 2011

I need to write an app that will stop and restart a service on a domain controller. The app needs to be usable by all domain users without making them run as.

Therefore, I want to have the administrators login details within the app itself (I will encrypt them).

How do I get my app to run something on the server as administrator though?

View 2 Replies

VS 2010 Copying A File To Many Remote Computers

Jul 20, 2011

I have to periodically (2-3x/wk) copy a file or two to approximately 70 remote computers. I have full control of the remote computers and they all follow the same directory structure and security permissions. I have asked in the General PC forum to see

[Code]...

View 11 Replies

VS 2010 Referencing A Remote Assembly Codebase?

Feb 15, 2012

Currently I have a need to reference a class library dll that is not located in the same directory as the exe nor its subdirectories. Can anyone point me in the right direction on this? Are there any good articles or tutorials on it? I have been looking through my .Net books and some go into details in a different direction and none that I have seem to cover it. To be honest, if theres a nice tutorial or article on this topic with sample code to look at, that would be ideal at this point in my project (Im literally presenting on it twice tomorrow).

I have to admit that Im fairly ignorant of this topic, but its my understanding that I should be able to accomplish this using the assemblyBinding elements in the application configuration. If I do use a codebase approach with the app config, am I suppose to do something in the exe code to read the config and load? The class library that Im refrencing am I supposed to have any special methods or classes in it to make this work? I think I have more questions than answers.

If you want more of the nitty-gritty details on the current scenario, here it is:

I have an executable Ive developed (well call this myApp.exe). I also have a centralized data-accessing class library (well call this appData.dll). This exe actually utilizes a framework Ive designed to run from within a third-party companys application. To ensure the myApp.exe is more maintainable and accessible, it will be located separately from the framework.dll and the appData.dll. The framework.dll will most likely reside in the same directory as the third-party exe, but separate from the appData.dll and myApp.exe. So I was considering applying the assemblyBinding elements in the application configuration files for the myApp.exe pointing toward the framework.dll and the appData.dll while that for the framework.dll will be pointing toward the appData.dll (this is why the data access library file is central between the two).

View 5 Replies

Remote Desktop - Make An Application Of Remote Management For Images

Aug 5, 2010

I want to do a small application that made the broadcast of images from a PC. The idea is to make an application of remote management but without the management part, only with the viewing of images. Anyone know any code already done or any API that helps in the project?

View 8 Replies

VS 2010 Code To Detect Remote Operating System?

Mar 7, 2012

I want to detect the operating System of a local or remote pc based on the IP or computer name I typed in a text box, these will all be on the same domainThis is what I use for the local OS version

View 4 Replies

VS 2010 - Get Installed Software From Remote Host. Win Vista/7?

Nov 19, 2009

I have created a Windows service that runs on one of our servers. The service lisens to incoming connections on a set socket port, runs a series of WMI queries on the requested computer in a new thread (the socket accepts a string value as input which is the hostname to scan), creates an xml file based on the collected data, and posts it back to a webserver. This works perfectly on all WMI queries, but i have one function that gets all installed software from the requested host using the RegistryKey.OpenRemoteBaseKey method to get all keys from the "SOFTWAREMicrosoftWindowsCurrentVersionUninstall" key on the target host. If the the target machine OS is Window Vista or 7, it returns no values. If i run this code on the target machine it works, but not from the service on a server. The service is installed and runs with full domain administrator rights. I guess this is a permission issue, but i have not found a good solution on how to solve it on the internet. As a workaround i use WMI to get a list of installed software from computers running Vista or 7. The problem with the WMI method is that it's very slow. It takes 10 - 15 seconds just to loop thru all ManagementObjects in the Querycollection. Maybe i could filter the WMI query better before starting the loop ?

[code]...

View 2 Replies

VS 2010 Load IP Address Into Remote Desktop From File DB?

Aug 13, 2010

1. Can I include a database in an exe file? - I am trying to create a small launcher application which contain 10-20 IP addresses with name, addresses, phone and email for people I help out on a regular basis. I would prefer if I could have the DB containing this info included in my launcher app, so I could carry it around on a USB stick.

2. How do I get mstsc.exe (remote desktop) to launch with an IP address from my DB above?- In my small app I am trying to add a launch button for each person. So if I am helping "person1", then I click the button next to him, and it launches my remote desktop of PC Anywhere to his IP address....

My initial thought was to use an ini file with my exe file, and modify the ini file with data through the app, but I want to be sure that there is no way I can include this information in the exe file.As I want to be able to change the connection information through my app interface I reckon I am forced to use either a SQL DB or some sort of file DB right?

View 4 Replies

VS 2010 Loading Combobox (remote) Database (threading)?

Oct 7, 2011

I'm loading 3 comboboxes and a treeview with values, from a remote database when the app starts. As we all know the app freezes until it's done loading. I want to speed things up.

Dim _thread As Thread
_thread = New Thread(AddressOf test_loading)
_thread.Start()

[code]....

When I execute this code I get the following error:

mycomboboc.Items.Add(reader.Item("columnname").ToString)Cross-thread operation not valid: Control '' accessed from a thread other than the thread it was created on.

View 14 Replies

VS 2010 Reading Remote Registry With WMI Returns No Results

Feb 9, 2012

I am trying to read the HKEY_USERS hive of a remote machine with this Class

Imports System.Management
Imports System.Management.Instrumentation
Public Enum RegHive As UInteger

[Code]....

The value of sSubKeyName is the user's SID + "" + Network (e.g. S-1-5-21-1606980848-2025429265-839522115-560021Network). Now under that key are various subkeys containing mapped drive letters. But it never returns anything.

Strangely, if I use the OpenRemoteBaseKey method it works BUT I don't want to use that because using WMI lets me specify alternate credentials and OpenRemoteBaseKey doesn't

View 1 Replies

VS 2010 WMI Code To List Remote Share Permissions?

Apr 30, 2010

I've been struggling for hours now to get some working code to list the share permissions of a remote share. I've got WMI code which uses win32_share which lists the shares and path and it works great. I"m now trying to add in a routine to get the share permissions as well.

I've searched just about every site for some sample code and can only find some C# (I think) code.

[Code]...

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved