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

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

KeithGWilliams

Member List

.net sukbir
Maeglin
MrJP
MuscleHead
Ceres629
Demokratizator
MSP.Saami
Jeff_LIU
rskorski
Xancholy
Rachad
PublicError
Teymur Hajiyev
Andreas Johansson
glooey
cunyalen
Renan Souza
JerryMcR
ozhonetech
Zac Boyles
Only Title

KeithGWilliams's Q&A profile

  • Internet Explorer Development get_Document returns NULL in IE7

    Has anyone seen this behavior In IE7, when get_Document is called on IWEBBrowser2, it returns NULL. Basically, I am doing the following in the OnCreate of the explorer bar (my explorer bar is based on an HTML control): CAxWindow wnd(m_hWnd); HRESULT hr = wnd.CreateControl(IDH_HTML_SPLASH1); CComPtr<IDispatch> pHtmlDispatch; CComPtr<IHTMLDocument2> pHtmlDocument; hr = wnd.QueryControl(IID_IWebBrowser2, (void**)&m_spBrowser); if (m_spBrowser) m_spBrowser->get_Document(&pHtmlDispatch); After the above last line, pHtmlDispatch is NULL. This seems to happen only in IE7. What could be the reason And if pHtmlDispatch is NULL how else can I get hold of the document Thanks Reza, Please igno ...Show All

  • Visual Basic Two Decimal Point For Double Value

    How to get two decimal point value for a double value For example 231.321312321312132 = 231.32 and 231 = 231.00. Thank you. Hi It depends on what type of rounding you want (eg Bankers rounding). Take a look at these methods, you'll probably find what you need. Math.Round ... as described already Math.Ceiling ... rounds up to the nearest integer value Math.Floor ... rounds down to the nearest integer value Hope this helps Richard Your zero counting question ..... doesn't seem to make much sense .... how would you want to interpret a number such as 334002877400001 ... would you expect the answer 6 ...Show All

  • Software Development for Windows Vista Error while running the Sharepoint Products and Technologies Configuration Wizard

    I tried to install MOSS 2007 Beta. I installed all the pre-requisites also. The WSS is getting installed successfully. But when I am trying to run the "Sharepoint Products and Technologies Configuration Wizard", it throws an FileNotFoundException. Can anyone help me in this regard Hiya Syed You are in the wrong forum - this one's for WF not Sharepoint. Your best bet for getting answers to SharePoint 2007 beta installation issues are the Office beta newsgroups. You can also try one of the main SharePoint newgroups on http://www.microsoft.com/sharepoint/community.mspx . Members of the SharePoint team do spend time on those newsgroups and should be able to help you work through this issue. ...Show All

  • Visual Studio Help installing visual studio 2005 please

    Hi I just downloaded the 90 day trial for the product for a class before I decide if im going to actually buy it for long term use, what I was wondering though was how I can get it to install...I downloaded it and now I have 2 different files, ones a image file and the other is a PART file...but there isn't anything to click and install it =/ Sorry im kinda a starter on all of this but any help would be appreciated :) I haven't tried the mounting idea yet just because the last time I attempted it with a computer game I completely failed :) I will go try it right now and get back to ya. ...Show All

  • SQL Server Connection String Options ...Urgent .. plz reply

    Hi In my project , we are using Dsn and DSN less connection, for certain functionality we are providing users to select tables and views . we don't want that all system tables and views are listed for selecting , how can we achieve this functionality Is there any options in the connection string for restricting system tables and views Any help is much appriciated Thanks Saurabh Book mark the following site; http://www.connectionstrings.com/ ...Show All

  • SQL Server Semi-Additive Measures not supported in MS SQL Standard Edition SKU

    The Semi-Additive Measures feature of MS SQL Server 2005 is not supported in its Standard Edition SKU. How do solve this issue What editions support the feature You need to purchase Enterprise Edition SKU. This is documented here: http://www.microsoft.com/sql/editions/enterprise/comparison.mspx ...Show All

  • .NET Development What is the best way to compare columns of 2 DataRow objects?

    Hi, I need to compare values of 2 DataRows. They have the same columns. When I tried to do this: drA[k] = drB[k] // k is an int holding the column number it did not work even though both columns had the same content because I did not explicitly specify the data type. When I used string.Compare, with ToString it worked fine. In my situation, the data row column could have any data type, so string.Compare and ToString may not be the correct way for all type of columns. So what is the general way of comparing 2 columns so that one covers all possible data types like float, boolean,...etc. without worries Thanks for your help in advance. I think the code above looks like this in C# (it ...Show All

  • Windows Forms Setup and Deployment Project FAQ

    Deployment FAQ   Q: I am now getting the following error when I build: " Unable to update the dependencies of the project. The dependencies for the object ' name.dll ' cannot be determined" A: Workaround :  Try to adjust the order of the Projects in the Solution and leave the Database project to the end. We can either edit the Solution (*.sln) file with notepad OR remove and add the Database Project back in the solution. (This also isn’t a great work-around as the addition of a project later in the development cycle will cause the corruption to re-appear). HotFix :Contact PSS and ask for the Hotfix for KBB917036: http://support.microsoft.com/default.aspx scid=kb%3Ben-us%3B917036   Q: Is it p ...Show All

  • Software Development for Windows Vista WF surface designer - loading definition ok from SqlTrackingWorkflowInstance ok, but not via WorkflowInstance!?

    Dear Workflow Designer Re-hosting experts, I have been wrestling with this problem for some time and can't make sense of it. I have a deployed and working workflow that I wanted to provide readonly visualization for.  I had already successfully built a workflow monitor in a windows console app that admin users can use to visualize running workflows and get information about pending tasks, completed tasks etc.  I used the sample WorkflowMonitor code that came with the June CTP SDK. I then wanted to provide a similar visualization for the web users of the workflow application so they can see where their current task they are working on fits into the overall workflow that is running.  So, I used a combination ...Show All

  • Visual Basic Me.MouseButtons = mousebuttons.left Error( Read Only), But Is it????

      Is there anyway to get around the example I used On the heading Me.MouseButtons = mousebuttons.left  means, Left Click Nick Cammarata 14 yr. Old Programmer Mousebuttons is intended to be used by your program to determine which mouse button is being held down by the user. As such there is no need for your program to be able to set the value so it is read only. What you appear to be wanting to do is have the left mouse button clicked whenever you move the mouse. Why would you want to do that. There is almost certainly a better way to achieve what you want. ...Show All

  • Visual Studio 2008 (Pre-release) BAML stream has version number '0.96' but parser can read only version '0.94'

    After installing .NetFx 3.0 RC1 and subsequent SDK, I cannot open XamlPad and I am getting the following error, infact other dlls are also throwing exceptions: System.InvalidOperationException was unhandled Message="Version mismatch. BAML stream has version number '0.96' but parser can read only version '0.94'." Source="PresentationFramework" StackTrace: at System.Windows.Markup.BamlVersionHeader.LoadVersion(BinaryReader bamlBinaryReader) at System.Windows.Markup.TreeBuilderBamlTranslator.ParseFragment() at System.Windows.Markup.TreeBuilder.Parse() at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream) at System.Windows.Ap ...Show All

  • Visual Studio 2008 (Pre-release) ClickOnce Installation

    How to create a Click-Once Installation for a WPF Project and Including all the application folders and Dependencies like dlls of other projects If you have a WPF browser app, this is done for you by the project system in VS. So those apps are ClickOnce-deployed apps out of the box. If you have a standalone app, you need to set <GenerateManifests>true</GenerateManifests> in the project file, or alternately, do this via the VS project properties UI. When you include files into your project and declare them as Content or Resource, you don't need to worry about handling the deployment aspect for these files. That's taken care of for you by the WPF build system. ...Show All

  • Visual Basic Mask: optional but no spaces. Number or numbers only textbox entry.

    How do i create a mask that accepts numbers 0-9, no spaces, and at least 1 (length > 0) currently i am using If - else for the at least 1 char condition If MaskedTextBox.length = 0 Then ... End If but for the 0-9 and no spaces , optional(but at least 1 character) i tried using 099 but spaces can still be entered ResetOnSpace property set to true didn't work i thought of using a KeyDown event: Private Sub txt_IPinput2_KeyPress(ByVal ...) Handles txt_IPinput2.KeyPress, txt_mask4.KeyPress, txt_mask3.KeyPress, txt_mask2.KeyPress, txt_mask1.KeyPress, txt_mask.KeyPress, txt_IPinput4.KeyPress, txt_IPinput3.KeyPress, txt_IPinput1.KeyPress Dim control As MaskedTextBox = CType(sender, MaskedTextBox) If Char.IsWhiteSpace(e.KeyCh ...Show All

  • Smart Device Development About SDIO Card Driver

    Hai, I am studying about the SDIO Card driver. From my understanding the client driver is loaded after inseting the SD Card by the Bus driver. When the Host controller Driver is loaded Actually i want to diagnosis the SD Card port before inserting the SD Card .Is there any means to find this.I am using the PXA270 processor You should probably post what SDIO chipset you are using on the hardware end of the SDIO device. There are several. If you have a custom SDIO chipset (made with and 8051 or ARM) then you should contact the manufacturers for their software. As I mentioned before each client driver is different. That's because each SDIO device has different hardware. ...Show All

  • SQL Server Custom Property Question

    I have a custom transform, with a custom property of value 1. My question is, can I change that value during runtime with the value from a variable Thanks Yes, you would use a property expression. When you define the property in the transform itself, you need to enable it for expressions through. Set the IDTSCustomProperty90 ExpressionType property to DTSCustomPropertyExpressionType.CPET_NOTIFY. ...Show All

©2008 Software Development Network