Final Year Project On "PC Maintenance Utilities"?
Jun 6, 2011
i m doing my final year project on "PC Maintenance Utilities" . Plz suggest me one good name for my project.it contains following modules:
Junk Cleaner
Privacy cleaner(browsers)
Uninstaller
Startup
Auto shutdown/reminder
System restore
[Code]...
View 2 Replies
ADVERTISEMENT
Jun 22, 2010
im interested in doing a software application on vb.net, 4 now im still confused.
View 1 Replies
Dec 22, 2010
How do I get final output to display month, day, year? Would I need another replace array? Or can I dynamically format from SQL table?[code]...
View 7 Replies
Mar 11, 2012
I am trying to access the types file from the project directory for the web root directory. Currently it only accesses it from the C:/, how can I have it access this file from the web root. I would like the file to be in the project folder as types.txt.
[Code]...
View 1 Replies
May 5, 2010
I am in the process of writing a battleship game for a final project for school. I get what to do for the most part, but need a little jump start for writing the "ships" class. Does anyone have any suggestions?
So far my game starts with a dynamic array of buttons, but as of now they don't do anything. I need to be able to have the user place ships in places and have the computer randomly generate positions.
View 2 Replies
Feb 28, 2009
Its finally done... post your impressions!Attached File(s) GH_Champion.zip (11.34K)Number of downloads: 35
View 7 Replies
Apr 3, 2008
im trying to make snake in visual basic.net for my major year 12 project in Australia and i cant get it to work?
View 5 Replies
Jan 26, 2010
i want to insert booking_no as combination of year and sno(year/sno) into database here iam giving the code as follows,,,,,,,,,
here sno stated from 1.........
Dim conn As New SqlConnection(ConfigurationManager.ConnectionStrings("guest1").ConnectionString())
Dim booking_no, sno As String
If Len(sno) = 1 Then
[code]....
but here booking_no was not inserted properly,it was inserted as "0/ ",,iwant to insert booking_no as "2010/sno" ,
View 2 Replies
Jun 12, 2011
how to validate the day if the selected year is a leap year in combo box.
View 1 Replies
Mar 14, 2009
I'm trying to create an array of three network utilities. They will basically flush dns, clear the arp cache and clear nbtstst. I want this to show in a rich text box as the commands are running. I'm running into a couple of issues that i can't figure out. First, I'd like each command to show in the RTB as it is run, and for that to stay in the text box while the rest of the commands run. I'm only seeing the last command that dns was registered successfully. Also I'm seeing an error saying the syntax for the ipconfig command is incorrect.
Private Sub btnRepairNetwork_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnRepairNetwork.Click
Dim pNetRepair As New Process
Dim arrNetKill() As String = {"arp", "nbtstat", "ipconfig"}
[code]....
View 11 Replies
Apr 11, 2010
I've trying download the Bram Fokke utilities for use with my Lego Next under Vb.net. I cant't access the website [URL], so I need these utilities in order to make programs on vb.net. These utilities are Bram.Lego, Bram.utilities and other files that include tutorials and examples.
View 4 Replies
Feb 24, 2011
I'm in the process of converting an Access 2007 database to vb.net (in visual studio 2010). I want the user to be able to maintain the items in these comboboxes....adding, updating, and deleting any item they choose. In Access, I had a button which would display the combobox items and allow the user to maintain. Upon leaving this display, the combobox would be refreshed. Is this the best practice for vb.net? Would it be any different than what I'm doing now in Access?
View 5 Replies
Apr 5, 2011
I have a program where I want to stop the "www" service at night to keep users out of a website while some night jobs are running.
I know how to stop and start the service from VB.Net but I need to put the computer in maintenance mode before stopping the service to prevent work tickets from being automatically generated.
Is there a way to put a computer in maintenance mode from VB.Net? And also to take it out of maintenance mode?
View 1 Replies
Feb 11, 2009
I am trying to get a handle on SyncLock and multithreading, but I am having some trouble wrapping my head around exactly how it should be implemented. I have a Public Class Utilities with a many Shared Functions. I want to make sure that each function can only be executed when there are no other concurrent calls to the same function. So If I have 2 functions, A and B in a Public Class Utilities, what is the syntax so that a function "locks" while it is being executed, preventing any subsequent calls until the "locking" thread has completed?
CODE
Public Class Utilities
Public Shared Function A (ByRef i As Integer) As Integer
[CODE].............................
I know I need to wrap the statements of execution in a SyncLock block, but I am unsure of the scope of the parameter used with SyncLock...is it private to the function, class, etc? Can the same object be used to lock both functions if they are independent?
View 36 Replies
Jul 10, 2009
I have a VB.NET (2005) application designed by my boss that uses a over 100 input and display controls (textboxes, comboxes, etc.), many with labels associated. My boss asked me to set the tab order, and then trap keypress so the user can use enter to navigate controls. I have 2 apps like this to work on.For the tab order, I could not use the View/TabOrder feature, since there are so many blue little tabindex popups showing, that I can not see any of the controls on the form to click. I tried clicking 'through' the popup with some success, but it still did not give me the tab order I wanted. The tab assistant that came with CodeSMART did not give me the result I wanted, either, so I could use it.
The controls on this usercontrol are spread among many groups, which in turn are spread among several splitcontainer panels. The 1st panel in the main splitcontainer has 3 main groupboxes which are selected via a toolstripbutton ( which sets the desired groupbox to visible and turning the others to invisible.) Example:
Private Sub ShowMainPanel()
'Note: Panels are groupboxes
Me.MaterialPanel.Visible = False
[code].....
View 1 Replies
Dec 14, 2009
I have an app that I'm trying to keep single threaded, mostly for reasons to do with simplicity of ongoing maintenance. I've structured it so that I can eventually multi-thread it if need be but I'd rather not at this point. It's semi-real time and does perpetual looping to display a number of different graphs and do various work with both the graph display and the work being hosted in their own respective objects. If you're familiar with the Windows dispatch manager it's that general paradigm run synchronously. And yee haw, it pretty much works at this point and runs fast enough to meet requirements by a happy margin. I have a cosmetic problem that I'd like to solve if I could. When I left-click and move any form around, my graphs stop updating until I release the left click button. I was thinking about a doevents somewhere in the click event catalog.
View 1 Replies
Feb 26, 2012
"First of all please TURN OPTION STRICT ON.I make no apology for the capitals - I consider it that important.When you do you will see that you are still using HorizontalAlignment instead of ContentAlignment.VB is converting from one to the other for you.Although that works fine here there are many cases when it will not be what you intended and can cause some very hard to find bugs.Under Tools | Options | Projects and Solutions | VB Defaults Set: Option Strict ON, Option Explicit ON, Option Infer OFF".I did do this but it showed no errors, so I placed 'Option Strict On' at the start of the code, it then showed HorizontalAlignment with the squiggly line. I did edit my code to show this but I think you must have read it before I did. All other suggestions I will note and from now try to implement.Using "magic numbers" in the code is not good practice and makes maintenance difficult.Declare all such numbers at the top and use the names in the code.Is this what you mean? Const SpinTime As Integer = 500
Now when ever I refer in code to SpinTime it will always be 500..Change the NumberOfBoxes to 10 and run the app.In mine, to change boxes to 10 I needed to alter the code in 5 places, in yours 1 place! Talk about proof of the pudding etc.Now to my question, in the program when the start button is clicked and the five random numbers are displayed I have to stop and restart the program to generate five more. So I thought I would create another button 'Reset' this I did and all worked but it seemed a waste so I then just kept the start button in place and changed the text to Reset eg [code] This is fine the one thing I can't figure is how to replace the five numbers that were removed so that it is picking 5 from 500 every time. Now I'm at the end of all this writing I have it! just comment out the line 'Numbers.Remove(Number).
View 1 Replies
Feb 3, 2010
why I can access System.Windows.Forms.DataVisualization.Charting.Utilities within C#, but not VB?
View 3 Replies
Mar 16, 2011
I have an application that I'm creating that uses VB6 for the maintenance programs, and visual studio 2005 to create the reports. At work we use reporting services to host the reports, but in my application I want to run the report from a menu within the application, not in reporting services. (A) Is this possible? I think I've read about a report viewer that can be embedded into .net applications. If I create a menu system in .net, that shells to execute the maintenance programs that are from vb6, or fires off the report viewer, does this sound feasible? The application is supposed to run connected to their SQL 2005 server via a VPN; I get blank looks when I ask them if they have reporting services installed...
View 9 Replies
Dec 18, 2011
Does anyone know how to implement in VB an algorithm for final differences that changes the network (the matrix) during the computation (decrease its dimensions)?
View 1 Replies
May 5, 2011
The program I am making contains many Form ,and I see that adding Forms increase the size of the final .exe . Is there any way to avoid making the large .exe ,as I have came to know that Large .exe is not good and also consume more RAM memory.
View 8 Replies
Aug 4, 2009
I've looked up this answer and changed 'build' option to embed the files but I still get a io file not found error. where exactly are my resources located? atm my code is this:
Private Sub TextBox1_KeyDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyDown
Select Case e.KeyCode
[Code].....
View 4 Replies
Nov 19, 2010
this application for computing the gcd but it give me just the value for first iteration but i need the final values of x2 y2 a
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim x1 As Integer
Dim x2 As Integer
Dim y1 As Integer
Dim y2 As Integer
[Code]...
View 1 Replies
Nov 20, 2010
phi(n) to any number in this code give me one?
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim n As Integer
n = CStr(TextBox1.Text)
[code]....
View 1 Replies
Nov 5, 2010
Dim Test_Output As System.Byte = 0
Try
For test_value As System.Byte = 0 To 255
Test_Output = test_value
Next test_value
Catch ex As Exception
MsgBox("Exception occurred: " & vbNewLine & "Test_Output is: " & Test_Output.ToString & vbNewLine & ex.Message)
End Try
View 7 Replies
Sep 6, 2010
I have a BaseClass, a DerivedClass1 and a DerivedClass2 from a third party library. DerivedClass1 and DerivedClass2 both inherit from BaseClass.There's a ContainerClass, from the same library, with a member variable ActiveItem, which can be of DerivedClass1 or DerivedClass2, so it is declared as BaseClass.I want to know if ActiveItem is of DerivedClass1, as it can change in runtime without notice.If I do
Dim isDerivedClass1 as boolean = TypeOf(oject.ActiveItem) Is DerivedClass1
then I get a compile time error, telling me that ActiveItem can never be of DerivedClass1 type.I have tried several combinations of GetType and TypeOf but it doesn't seem possible to check this. I have also tried to declare an auxiliary DerivedClass1 variable and comparing their types, but haven't got any luck either.
Edit:The following code doesn't compile in vs2005 SP1.
Public Class Base
Public x As Integer
End Class
Public Class Derived1
[code]....
View 3 Replies
Mar 1, 2012
Is there a way to delete the final line of a DataTable? I use - DataTable.Rows.Remove()But how can I find out which is the final line in the DataTable
View 18 Replies
Feb 25, 2011
I need to build a comma-delimited string from an array.
For i=0 to ubound(arr)
str+= arr(i) & ","
Next i
The trouble is that I end up with an extra comma at the end.
My current method for removing the comma is:
If str<>"" then
Left(str, Len(str) - 1)
End if
But it seems pretty untidy, and non-generic. I have to do this so often, it's become a pain.
View 2 Replies
Apr 24, 2012
I have a system that has a gridview on one page with an Update Panel. On selection of one row of a gridview the system posts-back using that CommandName and CommandArgument to post the row that is selected, and then set a Session variable as the ID of that posted selected row. The other controls run Async correctly and the button in question is already registered using this on the RowDataBound event.
Dim gvRowSelect As GridViewRow = e.Row
Dim imbSelect As ImageButton = DirectCast(gvRowSelect.FindControl("imbSelect"), ImageButton)
ScriptManager.GetCurrent(Page).RegisterPostBackControl(imbSelect)
I would like to try and get this session on the button command and somehow within the master page, set a label to the current Session. On the imbSelect command the code is:
Dim cellSnapshot As TableCell = gvSnapshots.Rows(e.CommandArgument).Cells(0)
Session("Snapshot") = cellSnapshot.Text
Within the masterpage is there anyway of calling a function after the Page_Load, and after it has resolved all Postback events?
View 2 Replies
Dec 4, 2009
I am having trouble trying to get my shared class final value
Class name : Encryption
Public Shared Sub PassEn(ByVal PassTxt As String)
Dim strText As String = PassTxt
Dim salt As String = "61651616516161651615"
Dim bytHashedData As Byte()
[Code] .....
I am trying to call this from the call and get the return hash but when I try to make a global variable it doesn't allow it. How would I call this and get "HashValue" on to a textbox on my form.
View 4 Replies