Jump to content
Xtreme .Net Talk

michaelrawi

Members
  • Posts

    15
  • Joined

  • Last visited

About michaelrawi

  • Birthday 03/21/1981

Personal Information

  • Occupation
    IS/IT Designer and Analyst
  • Visual Studio .NET Version
    Visual Studio 2005 Professional
  • .NET Preferred Language
    VB.NET

michaelrawi's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Have you set SQL Server 2005 to enable remote connection ? It's off by default. And when it's off, no program can access SQL Server 2005.
  2. In VB2005, when you add a panel or datagridview, there should be a tiny right arrow on the top right of the control. How can I have that with my own user control ? Also how can I have spesific property for my user control ? (Like property page in VB6) Thanks in advance
  3. It's somewhat slow everytime I switch from design to preview and vice versa, when I use more than 3 tables. Is it happen to all of you or am I miss something? I hope there's a solution for this. Note: My CPU spec has P4 3ghz and 512 Memory, so I guess hardware performance isn't the issue. . .
  4. Yup. MSDN taught me that, when I was migrating from VB6. I don't know why it must use by code while with form startup, you can directly use visual style . . .
  5. If your project start from sub main, you have to enable XP visual style by code. Use Application.EnableVisualStyle method before you run your application form
  6. Oh, I've look some of you have a fancy code tag with visual studio style / color. How can I do that ?
  7. Supposed I want to create a button, and only need it's click event. Which one should I use: dim withevents button1 as windows.forms.button or dim button1 as windows.forms.button addhandler button1.click,addresof button1_click Which is the best and why? Thanks in advance
  8. AFAIK, Intellisense will display all control's functions and methods (It's hasn't change from VB6). Maybe you've declare a control with different name (example you created butProces, but you tried to call butProcess ??. Sometimes, it get me too). No. It's always the same. Even if you add your button programmatically, at least you have to declare it first (dim blabla as new window.forms.button). So, IDE will sure know that you've declare an object.
  9. Ok. I've solved it. It's a code error actually. :D
  10. I don't think there's a way to make that a control will ALWAYS on top of another new cotrol. Some solution would be call BringToFront method after you create a new control, or create a function that sort all control after you created a new one. Another one, if you use usercontrol, add a BringToFront method in load method. This will ensure that the control will be on top of other control but only when your created it.
  11. Thanks. I'll try it.
  12. Hi, I have a date parameter on my report, but I can't pass it from VB2005 Here's my code: Dim Param As CrystalDecisions.Shared.ParameterField Dim myDiscreteValue As New CrystalDecisions.Shared.ParameterDiscreteValue Param = crViewer.ParameterFieldInfo("pDate") myDiscreteValue.Value = dateParam.dtSelect.Value.Date Param.CurrentValues.Add(myDiscreteValue) This didn't work. The date parameter in my report screwed up. Can someone give me solution? Also, how can I pass parameter that have multiple values ? Thanks in advance.
  13. Hi, I want to create a component that inherits a label and have it's own autosize in width (because it's use an image and a text). My question is, is there a way to know the length of a text ? Thanks in advance.
  14. Yes. I want to make a user control like a panel control. Ok, I've looked up the MSDN article. I'm going to try it. Thanks everyone :)
  15. Greetings How can I make a user control that can act as a container ? Can I see a simple sample (you can post a link if you like) Thanks in advance.
×
×
  • Create New...