Jump to content
Xtreme .Net Talk

Volte

*Experts*
  • Posts

    2372
  • Joined

  • Last visited

Everything posted by Volte

  1. Are you running any anti-virus software? I know Norton Antivirus and the .NET start page really don't get along at all, due to the dynamic scripting and such used on it.
  2. Paste your C# code and any errors it is giving.
  3. You need to take into account the border. frmChild.location = New point(frmParent.clientsize.width - frmChild.width - (SystemInformation.BorderSize.Width * 4), 0)
  4. Notepad is terrible for editing HTML. Blah. It doesn't even preserve your tab when you hit enter, something which is essential in every code editor. I recommend EditPlus 2.
  5. Listen very carefully: M S D N :p
  6. ShowDialog causes the form to show modally, so t.Close() will not execute until t closes. The way you have it laid out is a bit of a catch-22 situation, but you can easily fix it. You need to close the form with Me.Close() from within the Step1 form.
  7. I always use Me for calling a function or property accessor in the class, but I never use it for variables. I suppose it's just left-over habits from VB6.
  8. Value is a property of the progress bar. iIterations is the variable given in Machaira's sample code. Also, I wouldn't even recommend using a splash screen if you don't need them. They are only used to indicate progress when loading a large program. 9 times out of 10, one is not needed.
  9. Set the Max property of your ProgressBar to 8, then set the Value of your ProgressBar to iIterations each time the Timer goes through. However, I really hate programs which unnecessarily prolong splash screens, so I recommend against that very strongly.
  10. Not that I am aware of. If you are using VB.NET you can use the VB compatability function StrConv: Dim properCase As String = StrConv("this is the day", VbStrConv.ProperCase)However, this is rather bad programming practice, since StrConv is not supported by the CLR. Not only that, but it cannot be used from C#. If you want to do it the proper way, you'll need to do it manually, I think.
  11. Sure. Write the file any way you want, and as long as you read it in the same way, it will work just fine.
  12. Change Name to ID if you are using ASP.NET.
  13. There is really no reliable way to do this. You can either let Winzip handle it as is happening now, or use a free zip library (there are a few out there, I think) to unzip things yourself. That way the errors will be internal to your program and no external shelling is needed. Shelling to an external program in a hard-coded place is fairly bad practice anyway.
  14. When you use the RegEx constructor, pass RegexOptions.IgnoreCase as a second parameter.Dim re As New Regex("your pattern here", RegexOptions.IgnoreCase)
  15. It's a bit of a drawback, sure, but it's the price you pay for such flexibility. You can't really have all the functionality that .NET has without leaving a sizable footprint.
  16. Not true. I don't see people complaining when games require DirectX, though that is just as big, or bigger. It's the same thing really.
  17. Well, you haven't told me what exactly you want to do, so I can't get any more specific.
  18. I'm not experienced with making setup projects, but I'm fairly sure it has to be installed separately. You can provide a link to download it, or if you are distributing a CD, put the setup file on the CD.
  19. All the computers need to have the framework installed in order to work. You can download it for free from MS's site, so you need to do that first.
  20. Do the other computers have the .NET framework installed on them?
  21. The MSDN sounds like a good place. [msdn]System.Drawing[/msdn]
  22. From what I hear the Standard edition is extremely limited in what you can do. If you can, I'd get at least Professional.
  23. Looks like you don't have enough listview headers in your listview. Are there 8?
  24. So do something like this:Dim parentForm As Form = DirectCast(Me.Parent, Form) parentForm.SetStyle(blah)
  25. Volte

    Textbox Issue

    In the KeyPress event, set e.Handled = True to cancel the keypress from taking effect.
×
×
  • Create New...