Software Development Network Logo
  • Windows Forms
  • Architecture
  • Visual Basic
  • Windows Vista
  • Game Technologies
  • Windows Live
  • Visual FoxPro
  • .NET Development
  • SQL Server
  • VS Team System
  • Visual Studio
  • Visual J#
  • Visual C++
  • Microsoft ISV
  • Visual C#

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

xaos5

Member List

Dave Irovic
MUSIC56522
DSONG
Attu
jacco2
James_Lin
eDevMachine
Vasily Bicow
camelo
CWinKY
Robert Blake
Matt Hollingsworth
pmpmpm
ai2003bc
Ruud Baars
Matthew Owens
VB Newbie
Gurn
jccsharp
Derek Comingore - RSC
Only Title

xaos5's Q&A profile

  • Smart Device Development Can't find the IBrowser interface. Was it removed?

    I'm migrating an eVC project to Visual Studio 2005. My error is occurs on the line when I try to create an IBrowser3 interface pointer: CComQIPtr<IBrowser3, &IID_IBrowser3> m_spWebBrowser; error C2065: 'IBrowser3' : undeclared identifier error C2065: 'IID_IBrowser3' : undeclared identifier I also get undeclared identifier errors on the following preprocessor definitions: DISPID_DOCUMENTCOMPLETE, DISPID_DOWNLOADCOMPLETE, DISPID_ONQUIT, DISPID_NEWWINDOW2, DISPID_BEFORENAVIGATE, DISPID_NAVIGATECOMPLETE. Were the IBrowser, IBrowser2, and IBrowser3 interfaces removed/deprecated from the Windows Mobile 5.0 Pocket PC SDK And the ...Show All

  • Visual Studio Team System Error 29109

    Hi, I'm trying to install Microsoft Visual Studio 2005 Team Foundation Server and I've gone through the checklist but when I try to install the product I get the following message: Error 29109: Team Foundation Report Server Configuration: Report Server Configuration encountered an unknown problem. Verify that you have sufficient permissions to configure Report Server, and try again. Any ideas Thanks, Reza Shams Here is the problem: The account is an administrator on the box, but since it's inside the corporate domain there might be some local or group policies causing the problems. So, my ...Show All

  • Visual Studio 2008 (Pre-release) What's a good way to Render to a bitmap that is a different size to the Visual?

    I've got a fancy looking chart control I've written, and people will use it to generate plots for Powerpoint presentations, so I need to be able to copy the plots to some fixed size like say 1024x768. Say I have a button "Copy Plot To Bitmap". Ok my code will look like this: private BitmapSource RenderToBitmap( double width, double height) { double baseHeight = this .ActualHeight; double baseWidth = this .ActualWidth; this .LayoutTransform = new ScaleTransform (baseWidth/width, baseHeight/height); RenderTargetBitmap rtb = new RenderTargetBitmap (width, height, 96d*width/baseWidth, 96d*heig ...Show All

  • Visual Studio 2008 (Pre-release) Unable to update ListView at Runtime in WinFX February CTP

    Hi, I have the following example. <Window x:Class="MortgageQuotes.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="MortgageQuotes"> <DockPanel> <DockPanel DockPanel.Dock="Top"> <Label Content="Quote Id" DockPanel.Dock="Left"/> <TextBox Name="txtQuoteId"/> <Button Content="Create Quote" Name="btnCreateQuote" Click="btnCreateQuote_Click" DockPanel.Dock="Right"/> </DockPanel> ...Show All

  • Visual Basic using code written in C#

    Hi. I'm trying to use a code library written in C# in visual basic, but i cant figure out how to do it. Here's the library: i want to be able to use the functions in it in VB. I've tried compile it into a class library and then add it as a reference in visual basic, but it still doesn't work. mattias Where is the library There is no reason why you shouldn't be able to import and call a C# library from VB.NET, in fact to VB it will look the same as if it was also written in VB, as it's been compiled to the same IL. You need to define 'doesn't work'. Can you import it Can you call it Do yo ...Show All

  • SQL Server Is copy of database and log file enough for backup?

    Hello, i would like to copy the SQL Server Express database .mdf and .ldf files for backup. Is this ok Autoclose = true and recovery model = simple. Must i detach the database before copy the 2 files or can i copy the 2 files without detach at any time When connections are open (also remote connections). Can i copy at any time even when transactions are active I would like to write a copy programm which copies the 2 files every 30 minuutes. Only 30 minutes of work could be lost. This would be enough for me and i don't have to care for the the BACKUP and RESTORE stuff. In the past i used BACKUP and when i needed th ...Show All

  • Windows Forms Deployment Issues (Major Headache)

    Can someone please help me to fix this issue I'm having in launching a setup package for my application.  When I attempt to build my setup files I get the following error message: "An Error Occurred While Validating HRESULT = '80040155'" Has anyone run across this kind of problem   If so please help. Thanks,          David Watson ...Show All

  • Visual Studio COR_E_INVALIDOLEVARIANTTYPE

    I am working on developing a VS.NET addin. In that context, I'm hosting the MS web browser control to provide some of the user interface for the addin. In order to respond to user events from inside the HTML document, I'm hosting the control as described in the second example here: http://www.codeproject.com/books/0764549146_8.asp I'm implementing various OLE interfaces on the site that is hosting the control(through IOleObject.SetClientSite), including IDocHostUIHandler. In the IDocHostUIHandler.GetExternal method I'm providing an IDispatch object that looks something like this: public interface IFunkyStuff : IDispatch {   voi ...Show All

  • Visual C# MCE Remote Control

    Hi! I'm new the forums, so please excuse me if this has been brought up before. Anyway, my question is if anyone knows how to directly receive codes from a eHome Media Center remote that comes with many new Media Center PCs. The reason why I ask is that I'm attempting to write a WinLIRC server for the remote. While some commands on the remote already output as "normal" keystrokes, some however do not; for example the Play button. The only thing I've been able to find online is a link to MSDN ( http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnwmt/html/remote_control.asp ) that shows me what some of the Win32 messages a ...Show All

  • Software Development for Windows Vista Installing Windows Workflow Foundation Beta 1

    There have been several threads with questions about installing Windows Workflow Foundation Beta 1.  I'm hoping to summarize the installation instructions for anyone else that might be having trouble.   These instructions are also available on the WindowsWorkflow.net community site here .  James Conard Architect Evangelist - Windows Workflow Foundation http://www.WindowsWorkflow.net http://blogs.msdn.com/jamescon -------------- Windows Workflow Foundation Beta 1 is compatible with the .NET Framework and Visual Studio 2005 Beta 2 (builds 50215.44 & 50215.45). Windows Workflow Foundation Beta 1 is not co ...Show All

  • Visual Studio Tools for Office Button is not getting removed after uninstalling the Word add-in

    Hi All, I'm creating and installing a Word Add-in. The add-in creates a button on standard toolbar. When I uninstall the add-in the button is not getting removed. The add-in is the basic add-in from the link http://support.microsoft.com/default.aspx scid=kb;en-us;Q302901 as it is. The code in OnBeginShutdown is as follows: public void OnBeginShutdown(ref System.Array custom) { object omissing = System.Reflection.Missing.Value ; System.Windows.Forms.MessageBox.Show("MyCOMAddin Add-in is unloading."); MyButton.Delete(omissing); MyButton = null; } Can anyone let me know what am I missing I've even tried using oCommand ...Show All

  • Visual Studio 2008 (Pre-release) Aligning an ItemsPresenter inside a Grid

    I am playing with the TreeViewItem control template, trying to align a tree node header and node children along the left side. The template is a 2x3 grid with the header taking up last two cells on the top and the children taking up the last two cells on the bottom (as an ItemsPresenter). The problem is the ItemsPresenter has some indentation that I can't seem to remove. I have set Margin="0,0,0,0", HorizontalAlignment="Left", and Padding="0,0,0,0" on every element involved where it is legal and still there is some indentation. A possible solution to align the two is to move the header right, but this give ...Show All

  • Visual C# Help me : Recognise a word by press Ctrl+ right mouse click

    I make an dictionary application , i want to make a function : user can Ctrl + right click on the word ( Inside my own application , not other application ) and i show the meaning of word. How can I recognise a word by press Ctrl+ right mouse click Can you help me with some demo or can you give me an advice. Thank you very much. Hi! All depends on how you show words in your app. If you use TextBox or RichTextBox - use GetCharIndexFromPosition() to find the right character in right mouse down event. When you have index inside text - it's easy to find word by scanning forward and backward. If you render words by yourself ...Show All

  • Visual C# Getting what is after the Decimal place, in any number

    hello people I am trying to get what is after the decimal place in any number for example 3.99939204820498, i want to get 99939204820498 i am aware of the % (mod) when i divide, but what about when i multiply 1458/365.25 = 3.9995646 (what ever the result is) i wan tto then get the 0.9995646 lets say i multiply the 0.9995646 by 12 = 11.90545654 (some number) now i want to get the 0.90545654 how do i do this in C# 2.0 i can use strings to split it using the . but is there a better way I Try to use Math.IEEERemainder - it should do what you want, and % is only for integer values, if I'm not mistaken (I'm a VB-guy, and I don't kno ...Show All

  • .NET Development Add datacolumn to the datatable at a specified index

    Hello, I have a dataset that gets its data from an olap server database. the columns I get is Description, 2002, 2003. however I have my criteria for selection as 2001, thru 2003. the database restricts the columns that have all 0's in it. hence i have the missing 2001. This is for faster processing time. Now I am trying to add the columns 2001(in between description and 2002) with all 0's in its rows. I see that there is Table.columns.Add, but none for AddAt. How do i Achieve this. I need to add a new column at a specified index. in this case i need to add column at index 1. I do not want to add it to the end of the collection, as my next l ...Show All

©2008 Software Development Network