Search results for query: *

  1. M

    Problems creating a COM class

    I am trying to create a Com Class dll in VB.Net 2008 which will be accessable from VBA and VB6. I have choosen Class Library. Then added a New COM Class I deleted the original Class1 .vb I added my code. I added <Assembly: ClassInterface(ClassInterfaceType.AutoDual)> to my Com Class. It...
  2. M

    Debugging errors

    I am using VS 2008. I am writing a VB web project. This is my first attempt at using VB.Net and I do not understand how to debug errors. I can place a break point as I did in VB6. However, when the code reaches the break point if I then change something in the code, my change is not recognized...
  3. M

    ASP.Net Server configuration question

    Sorry Reineir, I am very sorry but I do not recall how I resolved that issue. If I think of it I will post again. That was a long time ago for me.
  4. M

    Easier Project Deployment

    I am trying to deploy my first VB.Net App. It consists of one small .exe and one dll(Intelicombo.dll). I need to place these files on the server and have each workstation access them. All workstations are on the latest version of .NetFramework 1.1. Is there a way to use the exe on the sever...
  5. M

    Changing the Tab order

    I designed a web form in VB.Net 2003. After I was done, I realized that I need to add a text box in the middle of the other text boxes. I moved things around and added the new text box. However, when the form is displayed the user inputs skips over the inserted text box. I have looked around the...
  6. M

    Finding a Dynamic control

    HI, I am adding many dynamic controls to a web form in the Initialization event. Later in the Page Load event I want to populate those controls. And on PostBacks I need to read those controls. I give each control a unique ID as it is added. How do I directly access the properties and methods...
  7. M

    Publishing VB.Net 2005 Web App

    Has anyone successfully published a Vb.Net 2005 Web application to a web server other than your development box? I cannot get even a simple single page web app to publish. I have tested the web server and it will serve up a standard asp page. Problems I encounter are: Sometimes Publishing...
  8. M

    ASP.Net Server configuration question

    Thanks, TPM. I successfully accomplished those tasks. But my problem persists. But I am beginning to believe my problem is in Visual Studio 2005 where I created the web site. By the way, the "web site" is just one page with the word "test" on it. I am going to look around and see if I can find...
  9. M

    ASP.Net Server configuration question

    I am trying to set up my first ASP.Net server. I have installed IIS and the .Net Framework 2.0 because I am creating a web application in VB.Net 2005. I have successfully created a web page in Notepad that is not an ASP page. It displays fine in Internet Explorer. Next I created a web page in...
  10. M

    Loop through Dynamic Controls

    I am adding dynamic controls to my web page. I need to loop through them to determine the values entered by the user. What is the correct code to loop through all the controls on a web page. Here is what I have been trying and I will explain why the results are not what I want. Dim ctl as...
  11. M

    Add New Line Programmatically?

    I would like to know how to add a blank space and a new line programatically in the code behind file. For example, the code below adds two labels. When the page is displayed they are on the same line, one touching the other. Dim Label1 As New Label Dim Label2 As New Label Label1.Text =...
  12. M

    Multiple TreeViews

    Thanks TPM. I will try to figure out how to add them in code. This brings up an interesting point. I haven't been able to figure out how to turn on Grid Mode. I looked under DOCUMENT properties and did not see it. Did I just miss it or is it somewhere else?
  13. M

    Multiple TreeViews

    I am trying to add multiple TreeViews to a WebForm. I would like 4 across and 2 vertically. I have tried placing the TreeViews inside a panel so I can have scroll bars rather than have the tree grow. Whenever I try to add a second TreeView Visual Studio places it on the line below the existing...
  14. M

    ListBox.Items.Add question

    I think your theory is correct but when I tried your solution the .Add returned Department     ... - Position Thanks
  15. M

    ListBox.Items.Add question

    I am adding items to a listbox. I would like the items to be aligned vertically in columns. To accomplish this in VB6, I would use a Courier New font and pad the items to achieve the proper spacing to give the visual affect of columnar data. I have tried the same thing in vb.net. However, the...
  16. M

    Another Session variable question

    Solution To test if a session variable has been set, use: If Session("VariableName") is nothing then 'VariableName was never created else 'VariableName was created and it is OK to test it for content If len(Session("VariableName").ToString)> 0 then 'Do Something else 'Do Something else end if...
  17. M

    Another Session variable question

    If I test against a Session variable before I assign a value to it I get the following error. "Object reference not set to an instance of an object" How do I determine if the Session variable exists before I test it? (I read elsewhere that you could assign the contents of a Session variable to...
  18. M

    Property value of a Class not retained

    I am trying to understand Classes. I have a Web App with two forms and one Class. The class contains a property, "Name". In each form I "DIM clsVariable as new Class1". As I am exiting the first form I set the "Name" Property of the Class to Bob. When the second page loads I check the value of...
  19. M

    Preserve values in ASP.Net Variables

    How do I add a module to the web project. I see how to add a Class but not a module. Could you please explain. I am trying to convert from VB6 to Visual Studio 2005 and I am writing a Web Application. thanks
  20. M

    Placement of control on Web Form

    Whenever I place a control on a Web Form, I can only place it onto an existing line. If I want to place a button at the bottom of the form, I have to hit the return button until the cursor gets there and then the spacebar to move the cursor away from the left margin. I am a VB 6 programmer...
Back
Top