Software Development Network Logo
  • VS Team System
  • Game Technologies
  • SharePoint Products
  • SQL Server
  • IE Development
  • .NET Development
  • Visual FoxPro
  • Windows Vista
  • Microsoft ISV
  • Visual Studio
  • Smart Devicet
  • Windows Forms
  • Visual C++
  • Visual C#
  • Visual Basic

Software Development Network >> subhanet's Q&A profile

subhanet

Member List

Will C.404367
ongle
Douglas Stockwell
zeeshan hirani
Helen999888
Kent Boogaart
salafa
julien talois
NickGetz
raq
JCJCJC
davros51
petersoftware
mosslake
AjayB
Jim Dunn
spshah
the-rpd
Kea
Fekih Mehdi
Only Title

subhanet's Q&A profile

  • Visual Basic DST bug 2007

    I use "daylight.start" and "daylight.end" to get the start and end dates for DST. I just patched my XP system with KB928388 which contains the fixes for the new DST. Now the dates are correct for 2007 and greater, but wrong for years < 2007. If you use year = 2006 you get 3/12/2006 and 11/5/2006. hey shold be 4/2/2006 and 10/29/2006. Has anyone else run into this Thanks, ttfo You can see similar issues in IsDaylightSavingsTime. All of the below return based on the 2007 rules rather than the way the various years actually implemented Daylight Savings Time. using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication1 ...Show All

  • .NET Development Advice on "DAL" design (O/R mapping) sought

    Beeing quite new to the .NET world I'm looking for some advice on choosing the "right" way to implement data access or O/R mapping in .NET applications (both ASP.NET or Forms). In the Java world, I would choose Hibernate to access databases and probably Jaxb2 for XML serializations. This is an easy choice, because there, both of these are mainstream or standard and quite satisfactory. I know of NHibernate, but if I understand it right, the next major release of .Net will include language level O/R mapping (is this so ). This would make my code obsolete if I introduced Hibernate to my company, which in itself would not be easy ;-). On the other hand, what is available right now with current ADO.NET is not very satisfactor ...Show All

  • SharePoint Products and Technologies Problems with Back up and restore

    Hi: I have created a test web application and I've backup it, then I deleted it to make a restore and I restarted the IIS to make sure it doesn't exist anymore. But when the restore finishes I have this errors: Error: Object pruebas.keptos.net failed in event OnRestore. For more information, see the error log located in the backup directory. ArgumentException: The IIS Web Site you have selected is in use by SharePoint. You must select another port or hostname. and Error: Object pruebas_db failed in event OnPostRestore. For more information, see the error log located in the backup directory. SPException: Cannot attach database to Web application. Use the command line tool or Central Administration pages to at ...Show All

  • SQL Server Errors using the uninstall tool - 'vs_uninst_betas'

    Hi Folks getting the following error message when using the tool and can get past it. i can email the error dialog to you if required, i just cant post it. the setup has encountered an unexpected error in data store. The action is RestoreSetupParams. The error is: Failed to read property installl ds sorry for the delay Nick, this one fell off the radar. If the manual uninstall trick doesn't work, it could be that the product is actually already uninstalled and only the Add/Remove Programs entry still exists, which is messing things up. As a last resort, you can try the Windows Installer Cleanup Utility , which removes entries from the ARP list. If that doesn't resolve the issue, I'm not sure what is ...Show All

  • Internet Explorer Development IE7 Breaks IE6 Javascript/OWC Client Display

    I have a very large application that uses a Javascript menu with many items and grids created using Office Web Components (OWC 11). In IE 6 everything worked fine, but in IE7 some of items in the longer menus appear behind the grids, making those items unavailable to my users. At first I thought it might be the "windowed" vs. "non-windowed" controls issue (see MS KB article ID# 177378), but then I realized that if that was so then the problem would have occured in IE6 as well. Can anyone shed any light on what is causing this problem and what I might do to fix it This is an app running at a very large and famous corporation (I guarantee you all have heard of it) with over 2500+ users, and this problem needs to be ...Show All

  • Windows Forms During installation how to show dialoge form conditionaly for dotNet Windows Application Setup

    Hi, For dotnet windows application setup project, I have two dialogue forms in user interface editor section. First dialoge form has checkbox. During installation wizard on first dialoge form if checked the checkbox then second dialoge form shows otherwise not. Means i want to show second dialoge conditionaly during installation of application. Looking forward for good solution. Regards, Jawad Naeem Hi, I am still looking for the solution. I want solution not by using click once installation. If this feature is not availble in dotNet then microsoft should add this new feature in setup projects because it is very helpful Regards, Jawad Naeem ...Show All

  • Visual C++ How to convert from LPCWSTR to std::string??

    How to convert from LPCWSTR to std::string Thannk you! ...Show All

  • SQL Server 2005 transactional replication statement delivery

    Hi There WHen creating publciations under 2005 i saw a very interesting option under stament delivery, for inserts , updates , deletes there is an option that simply says insert/update/delete statement. I could find very little in BOL about this under " Article Properties ", is this what it soudns like FOr example if you say : update Table set Cloumn = 'whatever', this will not trigger the update sp for each row at the subscriber , will it actually deliver the update statements and literally do the update/insert/delete statement at the subscriber Thanx just an FYI, using SQL instead of the custom stored procedures has a negative perf impact, it's primarily used for non-SQL server ...Show All

  • Smart Device Development PPC / Windows Mobile 5 App doesn't auto-connect

    Hello, I have an Embedded Visual C++ 4.0 application developed already that talks to a servlet we have written and new users on Windows Mobile devices are having problems. PROBLEM : Windows mobile phones the application does not auto connect to the internet TEMPORARY WORK AROUND : Users can connect with IE or any other internet-ready application and then our application works fine. So I have concluded I need to add some code that auto connect. I have looked at ConnectionManager to no avail (nothing works for me). Can someone show me a code snippet or a URL with example code on how to auto-connect a PPC / WM application running on a windows mobile 5 phone Thanks in advance! ...Show All

  • .NET Development Cannot find configuration tool for .netframework 2.0

    Hi, I just install .netframework 2.0 redistribution package on a Windows 2000 server. The installation went successfully but I could not find any configuration tool. It is not under control panel--administration tools and I could not find any SDK Command Prompt. Did I miss another step..Please help as we need to configure its security. Thanks. It is no longer included as part of the .NET Framework 2.0 installation. You need to install the SDK. See this similar thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1052492&SiteID=1 ...Show All

  • Windows Forms Tabs like VS2005

    I wanted to ask if anybody knows any control I can use in order to have the same "tabs" as VS2005. I mean the tabs which appears when we are opening a form or a class on the top of the window which is displaying the code or the form. If you didn't understand about what i am talking, i will try to draw them here :) They look like:  _________ _________ /  Form1.cs |/ Form2.cs  |_________________ And we are using them to navigate between the classes / forms which are open.   Thank you. I'm unsure but you could probably use the tabcontrol to do this. http://msdn2.microsoft.com/en-us/library/system.windows.forms.tabcontrol.aspx ...Show All

  • Silverlight (formerly WPF/E) Viewing Albums with WPF/E and ASP.NET AJAX - Unhandled Exception...

    Hopefully this is OK to post here.  If not feel free to delete it. I've been working on a WPF/E and ASP.NET AJAX demo over the holidays so I could learn WPF/E stuff better (the source of all my questions lately ).  The app turned out pretty good although there's still more I'd like to add.  I'd love to hear better ways I should be doing things, etc. if anyone has time to play with it at all.  The application ties into Amazon.com's Web Services to look-up albums and display them in a 3D type style. Anyone interested can download the code and view a quick video I made about it here.  Feedback and references to more appropriate ways to do things (especially in cases where there was an easier ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. VertexBuffer.SetData cost

    Which is faster -Add vertices a few at a time to an array, then call VertexBuffer.SetData for all of them at once -Call VertexBuffer.SetData on a few vertices several times The array can be statically allocated, but the data is only relevant for one frame, so there's no benefit to keeping it around. Thanks, Max "it depends" (tm) Generally, doing a smaller number of calls with more data in each will be faster than many small calls. If this is on Xbox, though, you'd be better off using the DrawUserPrimitive API and not going through a vertex buffer at all. That may be slightly slower on Windows, but on Xbox it's by far the best way to draw dynamic geometry. ...Show All

  • Windows Forms On-screen keyboard control

    Hi, I'm looking for a control to display a keyboard to be used on a tochscreen. It would also be nice if i have control over the keys possible, to disable/enable keys (like you see in eg. navigation systems). Does anyone know such a control Kind Regards, Edwin Stoffels There is this one http://www.codeproject.com/useritems/XKeyboard.asp Its not exactly pretty, but it could it seems to have all the basics there ...Show All

  • Visual Basic Regular expression gor parsing the html

    can any one help me to get generic regular expression for my html file .... My html is.... < tr class = "evenline" >< td width = "40%" align = "right" > ModelPerReq </ td >< td width = "60%" align = "left" >< b > Mand M2CU 10 </ b ></ td ></ tr > < tr class = "evenline" >< td width = "40%" align = "right" > Serial_1 num </ td >< td width = "60%" align = "left" >< b > GFRTF%65*jh </ b ></ td ></ tr > < tr class = "evenline" >< td width = "40%" align = "right" > Host name </ td > ...Show All

©2008 Software Development Network