Jump to content
Xtreme .Net Talk

mutant

*Experts*
  • Posts

    1922
  • Joined

  • Last visited

Everything posted by mutant

  1. I don't know about standard versions but VS.NET Pro and up comes with a Setup project, which will let you create an installer for your program. If you have that you can use that installer. I personally don't see a problem with having two DLLs as a problem. What is the problem it would cause for you?
  2. They are required because your project depends on them. The control that you are using in your program is contained in there. The DLLs are needed because the control is not the part of the Framework, if it was you wouldn't need any dependencies other than Framework.
  3. As for number 1, put a ValidationSummary control on your page. The ValidationSummary will take any error that the user has made and display all of them. From the properties select the DisplayMode property and set it to SingleParagraph. This will make it look like a single label.
  4. For that code to work you would need to create a new instance of the form. Using its class name to identify will not work. Dim f2 As New Form2 f2.Show()
  5. For writing to a file look into the System.IO.StreamWriter class. When you have the StreamWriter object ready, use the Write or WriteLine method and pass in the text of the TextBox to the method. When you are done writing don't forget to use the Flush() and Close() method, tomake sure everything is written to the file. For the form problem, do you want to just keep changing the forms every 3 seconds or do it for some number of forms and stop?
  6. Paint can't make icons. Use the VS.NET Icon editor, or some other one.
  7. If the client supports client-side validation, that is what will be automatically done.
  8. A browser is the only requirement. If you wanted to host Windows Forms controls in the browser then the client would need the Framework and IE, but that is only if you want to host Windows Forms controls.
  9. Ah, I looked at the wrong event. Thanks for the correction PlausiblyDamp.
  10. You could use the Cursor class from the Windows.Form namespace, as the event handler doesnt provide the coordinates. The Position property will return a point for you. Then you decide if you want to count where it is on the whole screen or relatively to a control, using the PointToClient method for the latter. [Edit]I made an error, I looked at the wrong event :eek: [/edit]
  11. Well, that was just an example of how the actual browser object could be called, in your case AxWebBrowser1. :)
  12. It should work fine without clicking. Are you sure that you have to click it for the page to load?
  13. browserobject.Navigate("url of the page")
  14. Using custom Regions would do the job but you will have much harder time setting up the region so it matches your bitmap.
  15. If you check to see if a file exists, then it won't be hard to just fill an element of array with a zero. 'see if the file exists If System.IO.FIle.Exists("path") Then 'read the file or do whatever you want to do with it Dim reader As New System.IO.StreamReader("path") '.... Else 'file does not exist 'add a zero to your array, im assuming you are using an ArrayList yourarray.Add(0) End If Is this what you are looking for? :)
  16. Keep one variable for every form.
  17. 1. You need an instance of the class to create a handler for it. Simply using the class name will not work, without an object that holds its instance. You could intercept an event without a class instance if the event was declared as shared. 2. Everytime you create your new object use the AddHandler keyword to add an event handler for the object. AddHandler yourobject.yourevent, AddressOf handlermethod
  18. Open the form using the ShowDialog method instead of Show. :)
  19. http://www.elitevb.com/content/01,0077,01/ :)
  20. The Debug mode contains all kinds of info that enable debugging. This make the assembly slower. On the other hand, Release mode, when compiled does not include any debugging info so it cannot be debugged like the assembly built using Debug mode.
  21. If you want to make your own browser from scratch then you are in for some time of coding :). Instead you could use the Browser component that works with IE. Go to your toolbox, click on Add/Remove components, go to COM Components and look for Microsoft WebBrowser control. Then with that, you can easily implement your own Next, Back, etc. buttons using the methods the control provides.
  22. Next releases of the .NET Framework will bring more and more classes. Including the ability to play sounds, videos (that is at least what I read somewhere, but don't remeber where :) ). As Win32API is being slowly phased out, the Framework will provide more and more features to substitute for the loss.
  23. If you need to dynamically change the size of your array then look into the ArrayList class. Simply using the Add method of the ArrayList will let you add another one. I don't know if Im getting your whole problem right so correct me if im wrong.
  24. Compact Framework lacks some things that are available to the normal Framework. Unless you write your own implementation of that code or find one, you just have to work with what you have.
  25. You can use VB.NET to program for Widnows CE, using .NET Compact Framework. Look here for more on device development: http://msdn.microsoft.com/vstudio/device/
×
×
  • Create New...