Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
K

kuyak2000

@kuyak2000
About
Posts
14
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • WPF is a nightmare
    K kuyak2000

    Christian Graus wrote:

    Our card is an ATI card, I have their latest driver, and it doesn't work.

    I'm very sorry. What is the model number of your ATI card? I mean, usually the model numbers usually are: X300, X1300, X600, X2100 or X2500. As far as I know, ATI Radeon below X300 (for example, the Radeon 9800), is considered to be Tier 1 renderer. I've used and tested ATI X600 and X1300 with the latest Catalyst driver, works fine for me, and the graphics index is 3.5 for X600 and 4.1 for X1300 (with 256MB GDDR2). Tier 1 renderer is somehow can be slower on Vista, and this bring sluggish performance on WPF running on Vista, IMHO. I've also tested 9500, the score went bad, only 2.4. best regards, Eriawan

    The Lounge csharp c++ wpf architecture performance

  • WPF is a nightmare
    K kuyak2000

    Christian Graus wrote:

    If I turn the hardware acceleration down so that DX is off, it solves it ( but now the app is all jerky ). I wonder if a new version of DX might help ?

    As far as I know, there's no DirectX 9.0c update at this time, after the latest February 2007 update. Also by default, in WinXP, DirectX 9 acceleration is turned off for some part of WPF. See this: http://msdn2.microsoft.com/en-us/library/ms742196.aspx[^] and also this: http://msdn2.microsoft.com/en-us/library/aa970683.aspx[^] In the first link, it says the 3D anti aliasing of WPF is only supported on Windows Vista. Second link is "Optimizung WPF performance" guide. Running WPF on Windows XP means you can't have 3D anti aliasing explicitly. It will go back to software renderer. As for NVidia, I suggest you need to download driver Forceware version 163.xx or latest version. It's stable for me. Correct me if I'm wrong. Eriawan

    The Lounge csharp c++ wpf architecture performance

  • New categories of WPF, WCF and WF are needed
    K kuyak2000

    Hi guys, Since there are many articles about WPF, WCF, and few WF, now I think CodeProject forum really needs new categories about WPF, WCF and WF. Also I think these technologies won't fit into Vista category, since they are specific to .NET 3.0 and 3.5. Any suggestions are welcome! Best regards, Eriawan K. RX Communica

    Site Bugs / Suggestions csharp wpf wcf

  • MsAccess with .net
    K kuyak2000

    Kissy16 wrote:

    Also how to remove the history of a textbox values?? Like if i insert more than two records,textbox is giving the previous data for that textbox for the next time.I dont want to show the already entered data. Which property i need to set??

    Just set the autocomplete property to off. You can directly code it on the HTML. For example: Or on the ASP.NET, you can set the TextBox property of AutoCompleteType to AutoCompleteType.None in your code. best regards, Eriawan :)

    ASP.NET csharp database help tutorial question

  • Event Fire in Drop Down List
    K kuyak2000

    Yes, I know. What I'm trying to say is, you should define items in your dropdownlist at least two items, instead of just one. Otherwise, the web browser will always chose the only one item and there will be no SelectedIndexChanged event fired, since there's just only one item. There is a historical reason for this. W3C HTML 3.2/4.0 compliant browser such as IE 4.x or above, Netscape 7 or above, Firefox 1.5/2.0 or above, and Opera 5.x or above will always treat dropdownlist to automatically select first item it found, unless it's defined by the dropdownlist. If the item is only one instead of many items, it will always select the only one item. For example, in your code you only define one item. Therefore when the ASP.NET page is rendered on client web browser, the first item selected is always the only one item and there will be no SelectedIndexChanged fired. This is the default behavior of web drop down list (or dropdownlist in ASP.NET), and there's nothing you can do to overcome this event not fired problem, since it's the default behavior. ASP.NET (even other server side Java Server Pages, Struts) itself relies on the default render behavior on web browsers. best regards, Eriawan :)

    ASP.NET database

  • Event Fire in Drop Down List
    K kuyak2000

    Gagan Deep Garg wrote:

    dropdownlist1.items.insert(0,new listitem("Add new","0");

    If your dropdownlist only has one item, it will always choose that item. This is different with Windows Forms' ComboBox, that requires you to select first even if the ComboBox only has one item, unless you made the default selected item is the only one item available. If your dropdownlist has more than one item, any item selected will trigger PostBack (as long as AutoPostBack is set to true). Eriawan

    ASP.NET database

  • using activeX in web form
    K kuyak2000

    samy100 wrote:

    using C# i did a user control that i want to use from web page. when i tried the control using windows application it works ok. when i add it as object to the web page it is never loaded. this control uses a special dll which is needed for its operation. could it be the reason for the problem? how can i add external dll's so they will be installed on the client side?

    First, I like to clarify some background information about your first line. By default, any .NET Windows Forms controls are not exactly ActiveX controls. You can use ActiveX controls and embed it directly on any web page, but ActiveX control means it can only run on Internet Explorer. Secondly, any Windows Forms control you've created needs to be wrapped as a COM object. COM object itself is an ActiveX control. After this, you can embed it in any web pages. Good luck. Eriawan

    ASP.NET question csharp com help

  • Toolbar or BindingNavigator?
    K kuyak2000

    It's quite easy. - First you have to validate the form using Form.Validate() method, - End the edit of bindingsource used using BindingSource.EndEdit() method. - Save the datasource. If you're using TableAdapter, just use Update() method Good luck! best regards, Eriawan :)

    Windows Forms csharp visual-studio question

  • Toolbar or BindingNavigator?
    K kuyak2000

    aharrisreid wrote:

    The problem with the BindingSource is that I don't require the navigation buttons, which only leaves the add and delete buttons, so I would have to add my own edit/save/cancel buttons. It might make more sense for me to create my own customised toolstrip.

    Using VS 2005 IDE, you can just add BindingSource by dropping from toolbox, and then start to create your own ToolStrip with your own data manipulation buttons. Dropping BindingSource doesn't create new BindingNavigator on your Form. regards, Eriawan :)

    Windows Forms csharp visual-studio question

  • Toolbar or BindingNavigator?
    K kuyak2000

    aharrisreid wrote:

    I am in the process of designing a generic 'record maintenance' toolbar class containing the 'standard' add/edit/delete/save/cancel buttons. I notice that the VS toolbox already has a bindingnavigator control which already has some of the functionality that I require (although I don't require the navigation buttons). Which control should I go for? As far as I can see the bindingnavigator is just a glorified toolbar bound directly to a datasource, but I may be missing something. Can I subclass a toolbar/bindingnavigator visually or does it have to be done in code? I am using C# with VS2005 express.

    You can just use Windows Forms' BindingSource and create a decent ToolStrip (previously known as ToolBar in .NET 1.x), with your own buttons with custom actions. Any data binding applications in Windows Forms can do navigating by just using BindingSource with a valid DataSource such as DataSet or DataTable. Start from this: http://msdn2.microsoft.com/en-us/library/ef2xyb33.aspx[^] Eriawan

    Windows Forms csharp visual-studio question

  • Send mail through ASP Page..........
    K kuyak2000

    Christian Graus wrote:

    ASP.NET has mail classes, but they rely on a pop3 server. ASP has nothing of value. So, if you're using ASP.NET, you can send mail, but not through gmail. If you meant just ASP, then no.

    If it's only for sending email, ASP.NET can use System.Net.Mail classes including SmtpClient class. For classic ASP and hosted on Windows 2000 servers, you can use Microsoft Windows CDO (Collaborative Data Object) to send email. For more information on CDO, visit this link: http://msdn2.microsoft.com/en-us/library/ms527525.aspx[^] regards, Eriawan :)

    Web Development help

  • Safari (Mac) + innerHTML
    K kuyak2000

    Dmitry Khudorozhkov wrote:

    But what to do with the original code? Does it work in the Safari 2?...

    That code does work on Safari for Windows, although it's a little bit different in size and exact location. Eriawan :)

    Web Development html help question learning

  • How to detect if a browser ...
    K kuyak2000

    I'm afraid that there's almost no way to detect it directly. It's by default a version dependent features. For example, IE 6 on Windows XP SP2 and IE 7 now allow you to specify 128-bit strong encryption for use outside US. Previous versions of IE such as IE 5.0 and IE 5.5, can't use strong encryption outside US. They're only allowed to use weaker encryption than 128-bit. This is the link to MS KB about 128bit encryption on IE: http://support.microsoft.com/kb/195833[^] best regards, Eriawan

    Web Development csharp database security business help

  • Windows Forms Development Architecture
    K kuyak2000

    Have you tried one of Microsoft's own best practices such as Enterprise Library 3.1 that combined with Composite UI Application Block (CAB)? This will provide you the best practices, application blocks and hence, good architecture (which is already used and tested by others) to start. This is the link: http://msdn2.microsoft.com/en-us/practices/default.aspx[^] best regards, Eriawan K. :)

    Windows Forms csharp winforms architecture help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups