Search results for query: *

  1. J

    How to invoke Dynamic .NET components

    Hi everybody! Suppose you develop a Windows class library as a .NET object (not COM object) and you intend to use it at runtime, giving its DLL file to an application already running, which has the responsibility to "discover" the classes you implemented there and run certain methods...
  2. J

    another textbox question.

    Adding values to TextBox If the TextBox contains "6+6" and you want to see "12" then you should parse the Text property of the control. Try this way: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim op1, op2 As Integer...
  3. J

    How to hide a form and show it again from another form.

    Using the Tag property You should use the Tag property from one form to reference the other, as shown below: Public Class Form1 Inherits System.Windows.Forms.Form Dim frm2 As New Form2 .Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...
  4. J

    Grabbing Special Key Combos

    API Function Sure! It´s name is SetFocus(hwnd) where hwnd is the window's handle. Enjoy it!
  5. J

    Mystery code

    A better approach I think VB.NET syntax has been laughing at us. You should replace BooleanVariable1 = Len(StringVariable1) = 0 with BooleanVariable1 = (Len(StringVariable1) = 0) Just works!
  6. J

    Not trusted connections?

    I got it! Further efforts are always rewarded. Finally I could access the SQL Server remote machine through an ASP.NET web app. All I did is add the NT AUTHORITY\NETWORK SERVICE account to the logins of the SQL Server, and give it the proper access to Northwind database. Later, I established...
  7. J

    Not trusted connections?

    Error while adding ASPNET user to SQL Server While trying to add the user ASPNET on my local machine 'AI-FUZZY' to the remote SQL Server I got the following error: "Error 15401: Windows NT user or group AI-FUZZY\ASPNET not found. Check the name again" Tell me something about it. I tried to...
  8. J

    Not trusted connections?

    Hello, I'm having big troubles when I setup an SqlConnection object to a remote SQL Server within an ASP.NET web application. My Windows account is system administrator in the remote SQL Server. When I open the connection in the Server Explorer, it's all right. But look at this: when I create...
  9. J

    Uploading Data from an Excel File

    Excel uploaded to .NET Indeed you can upload all the contents of an Excel workbook into a .NET application by using the Excel Object Model. I suggest you to look at the Chapter 10 "Automating Microsoft Office Applications" of the well known book "Mastering VB.NET". There you'll find all the...
  10. J

    VS.Net 2002 or VS.Net 2003?

    Main differences between the IDEs Integrated Development Environment General Integrated Development Environment Tools Start Page The Start Page has been re-designed for this release. You can still set your user preferences for IDE behavior and access new or existing projects, but with a user...
  11. J

    about timertick

    timertick fixed Hi! Maybe this answer could serve you. I just modified a few lines of your previous code... Dim startime As DateTime Dim span, prevspan As TimeSpan, totalspan As New TimeSpan(0, 0, 0, 0, 0) Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)...
Back
Top