VS 2005 Performance Difference Between Using WMI And My.Computer.X.X In VS 2005?
Jun 19, 2009
I am writing an application to gather, display and export system information for use with a Support Dept.Is there a performance difference between using WMI and My.Computer.X.X in VS 2005? Is one method better practice than the other?There are more lines with WMI, but am willing to write more if it's considered good practice over using My.Computer.X.X.
View 2 Replies
ADVERTISEMENT
Jun 21, 2010
i wrote a software which would work perfectly fine on vb.net with connection string: [code] but if i try and run it on a pc with sql server 2005 installed it fails to run what changes do i need to do to make it run
View 5 Replies
Jul 11, 2009
I am trying to dial a computer from another computer using Modem for sending files and messge.Follwoing is the code done in dialing computer
Text1.Text = "Test string from App1 "
Number$ = InputBox$("Enter phone number:", "Number$")
If Number$ = "" Then Exit Sub
Temp$ = Status
[code].....
But after the dial tone, i am getting the exception "CTL_E_GETNOTSUPPORTED " at the line MSComm1.Output = Text1.Text?
View 6 Replies
Apr 2, 2009
I have built an application using VB 2005 express edition with backend Ms Access 2000. In main form(which is loaded on startup), I am having 9 datagridviews, each bound with databindingsources. I am refreshing this data every 15 seconds by refilling the table adapters and updating the datagridviews.Now, this access database is shared in the network and is accessed by about 5-6 users concurrently. There are other forms which are used to edit the data.My problem is poor performance of the application. Its very slow in opening up forms, not responding sometimes and using the network resources fully.
View 5 Replies
Jun 13, 2009
Is there any difference between VB 2005 (from Visual Studio 2005) and VB.Net 2.0, either for using ASP.NET or Windows-based apps as a front end for SQL Server databases? I'm upgrading from VB6 to Visual Studio 2005. My research seems to show that VB.Net 2.0 is integrated into Visual Studio 2005, and the VB-specific books seem to only refer to VB in terms of 2005, 2008, etc.; I'm just trying to find out if they are the same or what the differences are.
View 5 Replies
Feb 9, 2011
i have my final project viva, i developed my project in Visual Studio 2005 (vb.net) at front end and SQL Server 2005 Standard Edition at back end.so pleaseeeee tell me some most distinguish features of vb.net which i could tell the examine that why did i use this.and also tell me that what are most distinguish differnences between vb6 and vb.net..
View 3 Replies
Apr 9, 2010
i developed my project in Visual Studio 2005 (vb.net) at front end and SQL Server 2005 Standard Edition at back end. tell me some most distinguish features of vb.net which i could tell the examine that why did i use this.and also tell me that what are most distinguish differnences between vb6 and vb.net.give me such valuable information which makes my arguments more authentic.....
View 6 Replies
Aug 3, 2010
I've been using VS 2005 for quite some time and will be jumping to VS 2010 shortly. Are there any gotchas to be concerned about in making that transition? Is this a side by side install?
View 6 Replies
Feb 3, 2009
What is the difference, and why don't any of these methods work?
[code]...
View 3 Replies
Dec 16, 2010
From what I've read in the documentation, both of these methods roll the state of the datarow back to where it was the last time AcceptChanges was called. So what is the difference between them? Am I wrong about that?
View 4 Replies
Jun 13, 2011
what is the difference between key press event and key down event in vb.net
View 17 Replies
Dec 29, 2009
I supposed they should return the same values but oddly when I tried it I am getting different results?
View 4 Replies
Apr 9, 2010
i am a newbie in socket programming and remoting.May i know where lies the difference between the socket programming and remoting? Where do i start off to learn the basics of the socket programming?I haad a goo with the google search but unfortunately the search outcome results are a bit tough for me to understand
View 4 Replies
Jun 3, 2010
what's the difference between Environment.NewLine & vbcrlf any other line breakers which i dont know.
View 2 Replies
Oct 21, 2009
The particular control I'm trying to figure out is a UserControl. When I design it as a separate DLL, add it to the Toolbox, then drag it onto the form, it shows up. But when I declare the instance in Form_Load & add it to the Forms Controls, it doesn't show up. (Note that I'm dealing with two different UserControls here as what I don't really want to do is create it as a DLL. It's specific to this project & that's where I want it-in this project. I suppose I could create it as a separate project in this solution, but again-that's not what I want to do. I can add a UserControl to this project, but I can't seem to *use* it. Frustrating.)
Dim X As New Class3
X.Size = New System.Drawing.Size(96, 74)
X.Location = New System.Drawing.Point(5, 5)
Me.Controls.Add(X)
Me.Refresh()
Class3 inherits System.Windows.forms.UserControl, and contains a label.OK, found that I can make the UserControl appear by setting the BackColor (X.BackColor=). Doesn't seem like I should need to do that as it's set in Class3, but apparently when I add it to the form it picks up the form's backcolor-which might be the way UserControls work.
But, it still doesn't show the label that's on the UserControl-just a block of color where I placed the UserControl.And now, I might have solved this problem only to raise another. I finally noticed that although Class3 had an InitializeComponent sub it lacked a Sub New-so it never called the InitializeComponent sub.
I added a Sub New that does nothing except call InitializeComponent & now I'm getting the whole thing. I guess now the question is why the Sub New is required for Class3 but not for the DLL? (Or maybe it was created automatically for the DLL but not for Class3? I'll check the hidden code in the DLL project to see if it was created or not.)
View 8 Replies
Nov 25, 2009
bow to get Computer name in VB.Net. Tell me one thing more that Computer Name & machine Name are same or different?
View 4 Replies
Apr 27, 2011
If you have a form with two datagridviews that were dragged on to the form from a datasource that have a parent/child relationship with foreign key constraints. Is there any difference between using the binding navigator Delete button or adding a button to the form and in the Click event put "somebindingsource. RemoveCurrent". Basically what I'm trying to find out is if clicking the navigator Delete button causes "Removecurrent" or does it do something else or something additional.
View 2 Replies
Feb 26, 2011
i want that i control my compute through vb.net. i mean to say that i want that i have a projec on which i have buttons though which i could go to any drive of my computer, or any folder, or can play any song or can open any image or any other file. can i do this?
View 7 Replies
Jul 27, 2010
on a network how can i identify a computer uniqulyof course not by system IP , why because IP can be changed easily or else other person on a network can change his system IP to another system IP while that IP in shut down status.hence i want to identify a system duly keeping any text file + some id written in it at any said address
View 1 Replies
Feb 11, 2011
Which one is best approach out of the following? Or Both has same effect ?
Dim carrierName As String
Dim someotherName As String
Dim anotherOne As String
[Code].....
View 4 Replies
Jun 1, 2010
When I am concatenating object values together to form a string in VB.NET, is there a difference in performance or a recommended best practice between using the & concat or the + concat with calls to .ToString() on each object?
Example (which is faster or best practice):
Dim result1 As String = 10 & "em"
Dim result2 As String = 10.ToString() + "em"
View 4 Replies
Jul 15, 2010
I would like to make a VB.NET program that changes the computer name and then add it's to the domain.
View 6 Replies
Jul 28, 2011
I have someone who downloaded my program using click-once. My program allows user to read a .txt file and then manipulate data The user selects the file to open by goin gto File>Open on menu strip
I have a user who gets an error message upon clicking on File Open
It doesnt open up the OpenFileDialog return ans unhandled exception
Method not found System Windows.Forms OpenFileDialog get_SafeFileName
Anyone have an idea what i should be looking at I cant re-create it on my end
View 16 Replies
Nov 14, 2009
Is there anyway of reading the date a computers name was changed? I can get the OS installation date which is the same date that the computer name was first set.
View 1 Replies
Oct 14, 2010
We have an assignment at school to make a programm with visual basic that helps the user choose a computer, better give him a choice of 3 PCs.the following code is how far we are with comparing but we are knew to VB so...
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
Dim num1, num2, num3, num4, num5 As String
Dim i, j, x As Integer
Dim help(5, 13) As String
[code]....
sol() is a global variable that contains the characteristics of our 14 computers (in our own format, lol) which we then compare to the users input (via combobox). With "ordi" we "format" the choise of the user to match our format. then the grand comparing begins... the first for-loop should select the computers which fit best but we don't know how to "skip" that computer if the comparison doesn't fit (after all, we still want to use that computer for a second or third choise!). After that the next for-loop should pick the best fitting computer as no.1 (going from top priority down).
View 9 Replies
Jul 15, 2010
how can connect to sql server 2005 or 2008 by vb.net from anther computer ? and this computer donot have sql server.i made search on internet and result was use sql client tools but i made search and try to download sql client tools but i did not get any result.so how can i connect to sql server 2005 or 2008 by vb.net on anther computer or on network LAN.
View 4 Replies
Oct 9, 2009
Both of the below return the computers name in upper case even when the actual name is in lower case:
MsgBox("Computer name: " & My.Computer.Name)
MsgBox(Environment.MachineName)
Is this true for every windows version? I only use MsgBox when testing.
View 3 Replies
Sep 15, 2011
How can I obtain the default language settings of the computer using vb.net code?
View 1 Replies
Jul 8, 2009
I am trying to do drag and drop from files on my computer.Say the user has a file on the desktop, and he/she drags it onto the open application, I would like it to read the file path of the file and put that in the first column of my DataGridViewI have tried this but get no luck, I have DataGridView AllowDrop equal to True, but when I drag a file to it I get the "Circle with a line through it" action meaning it can't be done.How do I drag and drop?
View 3 Replies
Aug 28, 2009
I am writing a quick program to display the network information of a computer without having to run ipconfig or enter the TCP/IP settings on the network adapaters.I have managed to pull the computer name, local IP address and the external IP address, but I now need to get the default gateway, the subnet mask and the DNS resolvers.I have tried using the registry, but the key differs from computer to computer, so that method has been ruled out.
View 8 Replies