Automating Hardware Upgrade For A Significant Number Of Users

Jun 10, 2009

I am in the process of upgrading hardware for a significant number of users. When we upgrade them to new hardware we often upgrade a lot of their software. Once the base load of the OS is on their new machine I run a vb script that copies their profile from the old machine to the new machine and sets up a lot of the software on the new machine that we use. I am trying to migrate this application to VB.Net for a variety of reasons (speed and UI being among the biggest). There are two separate issues that I am having.

One issue is that I can't seem to find a good .Net way to query what printers and ports they have on the old machine and set those up on the new machine. I am still using script (called from VB.Net) to do this. Another issue is with CopyProfile. We have several users that have directory structures that use names longer than this utility seems to allow. Is there a better way to copy a profile from one PC to another than this utility? Is there any documentation on exactly what this utility does so I could determine if I wanted to code it myself?

View 2 Replies


ADVERTISEMENT

Display A Given Number Of Significant Digits?

Nov 17, 2009

Is there a number format in .Net that will display a given number of significant digits, but also NEVER displays in scientific notation (for example,declaring 3 sigfigs you would have 1234.567 = 1230 and .000123456 = .000123)

View 4 Replies

ATM System - Check Card Number Matches Up To The Users PIN Number

Mar 13, 2009

I am trying to make a basic ATM system, iv got all the interface done and I have made the link to my SQL database etc. the part i'm stuck on is how I can run a check to see if a bank card number matches up to the users PIN number. To simulate the user putting a card into the machine I've used a combo box, and that lists all the cards, that haven't been flagged as confiscated (there's a column in my ATMCards table that I can set to true or false) then after the user has selected a relevant card there's another text box where they can enter in their PIN number.

Now what I want to do is, if they chose the card number 1234567890123456 in the combo box and they enter in the PIN 1234 into the text box, then, after clicking the check PIN Button if the pin is correct they need to be taken to another from where they can check their balance etc., and if its wrong they got three attempts after which point i want to flag that card as confiscated.

View 4 Replies

XML In A Dataset Without Significant Work?

Feb 15, 2010

Question:Using VB.NET/C#, is it really not possible to read the below XML in a dataset without significant work ? I tried

oDataSet.ReadXml(strFileName)<BR>and
Dim oDataSet As System.Data.DataSet = New System.Data.DataSet
Dim strLocation As String = Environment.GetFolderPath(Environment.SpecialFolder.Desktop)
strLocation += System.IO.Path.DirectorySeparatorChar + "filename.xml"
oDataSet.ReadXml(strLocation)

But all this is doing is putting ONE row with one cell with content "2010-02-12T10:33:39" in my dataset.

[Code]...

View 5 Replies

Count The Number Of Users Used An Application?

Jan 7, 2011

count the number of users used an application?

View 2 Replies

Check The Number Of Records Inserted Into A Particular Table(Users)?

Feb 6, 2012

I have a vb application sitting on sql 2005 database i want a scenario where the application can check the number of records inserted into a particular table(Users) , if the number of records inserted into that table after 1wk since the last insert is less than 100 records it should pop up a warning alert with the total number of records

View 3 Replies

Computer Generates A Random Number Then Checks It Against Users

Feb 15, 2011

I'm Trying to make a piece of software where You enter a number and the computer measures the length of the number, and then generates random numbers to match the human number. It will then count the number of guesses and the time taken. However it always comes up that there was a infinite loop "An unhandled exception of type 'System.StackOverflowException' occurred in System.Windows.Forms.dll". I have searched up how to do this and I can't seem to find out how. I think I just put my wording wrong when looking it up. My Software Has Has 2 TextBox, 2 Buttons, 6 labels (4 just to make it user friendly) and a timer.

Here is the Code:

Public Class Form1
Dim TimeTaken As Integer
Dim GuessesTaken As Integer

[Code].....

View 9 Replies

Users Enter Some Record Sometimes Two Records Get Saved On Same Number?

Aug 26, 2009

i have a sql table which has 2 fields number & name

1 abc
2 xyz

Situation is that the app finds out max of number and increments it by 1 to get new number.The problem is when two users enter some record sometimes two records get saved on same number.

[Code]...

View 4 Replies

Add A Message To A Mask TextBox Reminding Users To Enter Number?

Mar 21, 2011

I have two masked text boxes that holds Phone Numbers and Zip Codes.Since they are Masked text boxes and are set not to allow characters or letters, the user must enter numbers.However, how do I add a message telling the user to enter number and zip code since there is no prompt?I don't need to validate the numbers just to add an error message if it's left empty.

View 9 Replies

Generates A Random Number And Validates The Users Guess To See If Its Correct?

Jul 31, 2010

I've created code that generates a random number and validates the users guess to see if its correct. I think the code is good but i'm not 100% sure. I need to add additional pieces to the code and i'm not sure where or how to do it. allow the user 10 guesses. after 10 guesses disable the ability to make more guesses if the 10th guess is wrong count each guess entered & display the count as it increments display each guess along with its returned messaeg into a list box. when the user gets correct answer provide a box to allow them to play again. Re-initialize variables back to their starting status.

a. If the user correctly guesses the number in less than 5 guesses display "Either you know the secret or you got lucky!" in a message box. b. If the user correctly guesses the number in 5, 6, or 7 guesses, display "Ah Ha! Do you know the secret?" in a message box. c. If the number of guesses is 8 to 10, then display "Try to do better next time." d. If the number of guesses exceeds 10, then display "You have taken too many guesses."

[Code]...

View 3 Replies

VS 2010 : Generate A Number/value From The Users Hardware/os Data And Then Use That To Create A Key?

Jan 20, 2012

I am wanting to create a registration algorithm for my applications. I would like to generate a number/value from the users hardware/os data and then use that to create a key.

View 1 Replies

.net - Counting Word Frequency (most Significant Words) In A String, Excluding Keywords?

Aug 31, 2010

I would like to count the frequency of words (excluding some keywords) in a string and sort them DESC. So, how can i do it?

In the following string... This is stackoverflow. I repeat stackoverflow.Where the excluding keywords are

ExKeywords() ={"i","is"}

the output should be like

stackoverflow
repeat
this

View 2 Replies

WebBrowser Control Make Application Or The Deployment PC Vulnerable To Any Significant Security Risks?

Mar 17, 2010

I have a Visual Basic.Net Windows Forms application to which I am considering adding the WebBrowser control. I'm assuming that the PC's on which this application will ultimately be deployed/installed will have the latest Windows (XP, Vista, or 7) updates, a firewall, and an Internet security suite installed/running.

With this deployment environment in mind, does the WebBrowser control make my application or the deployment PC vulnerable to any significant security risks? Are there any programming issues that should be addressed to eliminate potential security risks when using the WebBrowser control?

View 1 Replies

Forms :: User To Be Able To Select Any Number Of Those Checkboxes/rows And Then Return A Value To The Table "stamping" That Users ID?

Jan 8, 2010

I'm working on a project and my boss insists I use a DataGrid for this. The grid holds information for work orders, one of the cols has a check box in it. I need the user to be able to select any number of those checkboxes/rows and then return a value to the table "stamping" that users ID. This is what I have so far to get the grids populated... I'm using 2005 with a 2000 Access Database if that helps. Though this will be changed to SQL Server once we get it working (yay more work)...

[code]...

I removed the code from the second grid to make it easier to read, obviously once I can get one to work the second shouldn't be as much trouble.
This is the check box: dgvNewBiz.Columns(1).HeaderText = "Select"At this point if someone knows how to get it to recognize the click event of the check box and pass that row info to a variable that would be super as I'm sure I could probably figure it out from there.

View 1 Replies

Administer Website (create New Users, Assign Users To Roles) From A Windows App?

Feb 9, 2010

I have an asp.net web app that uses forms-based authentication, a SqlMembershipProvider (using an encrypted password format), and a SqlRoleProvider. I need to know if it's possible to administer the users (create new users, assign them to roles, etc.) from a windows application - the powers that be don't want any administrative functionality in the web app itself.Here is the membership provider definition from web.config:

<membership defaultProvider="MyProvider">
<providers>
<add name="MyProvider"

[code].....

View 3 Replies

VS 2008 Database Search - Using SQLClient That Loops Though All Users In A Users Table

Dec 29, 2010

I've got a code using SQLClient that loops though all users in a Users table inside each loop i want to preform another search in the UserOrders table, thus doing a count of all orders.

I get this error

HTML

There is already an open DataReader associated with this Command which must be closed first.

Here is my code

vb.net UserLists.Items.Clear()
Dim connection As New SqlClient.SqlConnection(My.Settings.ConnectString)
Dim command As New SqlClient.SqlCommand("SELECT * FROM Users ORDER BY PersonName",

[CODE]...

View 3 Replies

.net Desktop App : Log Users Application's Usage By Users After Remote Deployment?

Apr 3, 2012

1.I�d like to publish a free vb.net desktop application for the users to download and use meanwhile I�d like to collect usage information ex: user ip address, user�s registration information, used features, time spent� if the user allows the report to be sent back.

2.Also , in order for the user to be able to use the application, he�ll have to register it then, everytime, before the application loads, it gets verified online that it was registered, maybe validate the registration information or a valid user name and password, no critical personal information. The target of this step is for the application to be used exclusively by the registered user and maybe on his computer only.

View 2 Replies

Vb.net Desktop App : Log Users Application's Usage By Users After Remote Deployment

Apr 4, 2012

1. I�d like to publish a free vb.net desktop application for the users to download and use meanwhile I�d like to collect usage information ex: user ip address, user�s registration information, used features, time spent� if the user allows the report to be sent back. 2. Also , in order for the user to be able to use the application, he�ll have to register it then, everytime, before the application loads, it gets verified online that it was registered, maybe validate the registration information or a valid user name and password, no critical personal information. The target of this step is for the application to be used exclusively by the registered user and maybe on his computer only. Any alternative way to achive the target is just fine.

View 1 Replies

Get Path Of 'All Users' Desktop And 'All Users' Start Menu

Jun 10, 2008

I cannot figure out how to get this call to work.I have searched EVERYWHERE.MSDN is no help at all and the only thing I can find is this vb6 code that doesn't work in .net.I tried to convert it over but I've had no luck.Specifically I'm trying to get the path of the "All Users" Desktop and the "All Users" Start Menu.It would rock if anyone could help me out with this one.

View 5 Replies

Automating An ASP.NET Web Form?

Aug 11, 2010

I have an ASP.NET web form that reads a file and writes some data to a database. I need to run this process on a scheduled basis.

Currently, I have a scheduled task that calls a batch file. The batch file then opens Internet Explorer and navigates to the URL and the process is fired. There is another scheduled batch file that closes Internet Explorer.

View 3 Replies

Automating Excel Using .net?

Dec 18, 2011

My problem is actually how I can transfer certain words or sentences from one cell to another. Keywords that I can reference in the comment cells are: "Description: sentence goes here., Solution: Solution : Microsoft has released a set of patches for Vista, 2008, 7, and 2008 R2 : [URL]...The actual text is this:Synopsis : The remote Windows host has a denial of service vulnerability. Description :The remote host is affected by a vulnerability in the SMB service that can reportedly be abused by a remote, unauthenticated attacker to cause the host to stop responding until manually restarted.This vulnerability depends on access to a Windows file share, but might not necessarily require credentials.Solution :Microsoft has released a set of patches for Vista, 2008, 7, and 2008 R2 :

[Code]...

View 4 Replies

Automating Putty With VB?

Feb 12, 2010

We have bid on a large installation and if we get it we will need to set up 300-400 router like devices very quickly. To set one up now we connect to the device with a serial cable, run Putty on the windows PC, log in to the device, and run some commands on it to load the latest firmware and change some settings. I'd like to reduce this to connect the router to the pc with the serial cable and press a button on a vb program. The program would launch Putty, login and execute the commands. Sendkeys might work but it would be best if the VB program could read the responses that were coming back to an extent so I wouldn't have to program in really long pauses to insure actions had completed before doing something else.

View 8 Replies

Automating RDP Sign-in With VB

Jan 7, 2009

I want to use VB to set an existing RDP connection's credentials.Can I do that with code only?

View 3 Replies

IDE :: Automating Outlook From .NET?

Mar 26, 2010

i am using the following code to send e-mails, I am using this cause various other methods though sucessful, were not compatible. My earlier code was compatible with Outlook 2003 and used to crash at machines with Outlook 2007. i know you can add a reference to Outloo 2007 office files. but the following code is version independent, but i am not able to pre-populate the various outlook fields such as the To: , Cc: ,BCc:, Subject and Body. and i am not able to Launch Outlook for the user to actually see the display.

Dim outlookApp As Object
Dim outlookNamespace As Object
Dim newMailItem As Object

[code]....

View 2 Replies

Automating Login To A Website?

Mar 26, 2010

My broadband provider used to have an XML data usage stream where I used to check my usage. They have now disabled this so I am planning to build my own VB application to login to the usage webpage and scrape the usage data.This is the code I am using:

WebBrowser1.Navigate("https://memberservices.optuszoo.com.au/myusage/")
WebBrowser1.Document.GetElementById("username").SetAttribute("value", "blah")
WebBrowser1.Document.GetElementById("password").SetAttribute("value", "blah")[code].....

View 4 Replies

Automating Microsoft Word Using .Net?

Dec 10, 2007

I have developed a VB.Net application to automate Word and I am noticing some issues when I attempt to close a document and subsequently Word. So I have decided to do the following - - ->

I check to see if Word is running on the local PC. If it is not, then I instaniate Word, execute code, close the document and quit Word. If Word is already running I want to be able to use that instance of Word, execute code, close out the active document and NOT close Word. I have retrieved the Process ID for Word running on the local PC but am not sure how I can use Word's properties and methods on an existing instance.

View 4 Replies

Automating Uninstall Using The Uninstallstring In Reg?

Dec 8, 2009

Since installing Windows 7 on one of my test machines my automated uninstaller can not find the uninstall string. My script works on XP just fine. I noticed that the uninstall information is in a different location for Windows 7. it is in Wow6432NodeMicrosoft... is there a constant I can use that will allow my script find the correct uninstall location on both Windows 7 and Windows XP?

View 2 Replies

Automating Web Login Over Two Pages?

Sep 22, 2010

i am using vb2008 and trying to create an auto login and reboot for a secure console server "Lantronix SCS100", I can get through the first page with the code below but on the next page i need to check a checkbox "<input type="checkbox" name=OidC2.11>Server</td></tr>", then click event the "<submit>" button to reboot the server.

Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

[Code]....

View 1 Replies

[2008] Automating Key Pressing?

Jan 23, 2009

I was wondering, lets say I have a web browser control? Can someone help me figure out how to automatically press the tab key in the web browser control & then follow it up by tapping the space bar key?

View 4 Replies

Automating A Software Using ThunderRT6PictureBoxDC Control?

Dec 27, 2010

I am automating a software using ThunderRT6PictureBoxDC control.

Well by selecting some menu some ThunderRT6PictureBoxDC show up and some don't.

That's how they switch screen

What is ThunderRT6PictureBoxDC?

How do people get it?

How do I set which one show up and which one is hidden using sendmessage?

Is ThunderRT6PictureBoxDC made by microsoft?

View 5 Replies







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