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

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

gotstu

Member List

LouArnold
Mystagogue
DQM
matman13
Caliendo
bat313
soujanya
mbosfo
CBuilder
François PIETTE
JerberSoft
IamHuM
tmichals
Eric Brinkerink
kalprin
John Hennesey
Musa_Tariq_Raza
Docpro777
_target_
tasleemarif
Only Title

gotstu's Q&A profile

  • SQL Server ADOX and vista

    We’re calling ADOX::Table::Keys::Append to make a primary key for a table using the SQLOLEDB provider. We’re passing an ADOX::Key with Name set to a custom name, Type set to ADOX::adKeyPrimary, and a single column added. For the Append call, the 2 nd parameter is ADOX::adKeyPrimary, the third is a vtMissing (VT_ERROR with DISP_E_PARAMNOTFOUND), the last two are empty BSTR’s. On XP, this works well (msadox.dll file version 2.81.1117.0). On Vista, this fails with an invalid parameter error (msadox.dll version 6.0.6000.16386). Has the interface changed in some way, is this functionality not supported, or is it broken ...Show All

  • SharePoint Products and Technologies Error with TreeView in Web Part

    I'm attempting to create a custom web part that will display information using a TreeView.  I'm able to retrieve the required information without any problems as I can render it in raw text.  When I attempt to use a TreeView I can render the control, but I'm not able to expand any of the nodes (or collapse them if I make them expanded by default) instead I get an error message stating that "Problem with this Web page might prevent t from being displayed properly or functioning properly."  The details of the error are as follows: Line: 1 Char: 1 Error: Object Expected Code: 0 Url: The url of the page I'm viewing I've reduced the Web Part to just creating a simple TreeView and rendering it, my code is as follows: ...Show All

  • Visual Studio 2008 (Pre-release) Binding Converter crashing VS and causing weird issues

    Hi, I have a weird problem. I have this converter class, which just converts between an enumeration value and a URL for an associated image: [ ValueConversion ( typeof ( SiteCompany ), typeof ( string ))] public sealed class SiteCompanyConverter : IValueConverter { public object Convert( object value, Type targetType, object parameter, CultureInfo culture) { SiteCompany siteCompany = ( SiteCompany ) value; return string .Format( "/Skins/Images/{0}_Logo.jpg" , siteCompany); } public object ConvertBack( object value, Type targetType, object parameter, CultureInfo culture) { string url = value as string ; int startIndex = url.LastIndexOf( "/" ) ...Show All

  • Visual C++ Problem with managed interface containing native types

    Problem with managed interface containing native types Hi everybody :) I am having some troubles trying to implement an interface class that contains native types in the methods signature. I have this: ...... ClassLibrary.dll : namespace Native { struct NativeStruct; } public interface class IClassInterface { virtual NativeStruct* WhatEver (); }; #pragma make_public(NativeStruct) ....... ClassApplication.exe: (references to ClassLibrary.dll) namespace Native { struct NativeStruct; } public ref class IClassImplementation : public IClassInterface { public: virtual NativeStruct* WhatEver (); }; I get a compiler error that says that the signatures for the WhatEver return type differs between the interface and the class in th ...Show All

  • Visual C++ VS2005 C++ compiler bug?

    I do not know if this is the best forum to report a MS VC++ compiler bug (please advise if I should post this to another forum). In the process of migrating code from VC6 to VC8 (i.e. Visual Studio 2005 Professional Edition) I have stumbled across what I believe is a C++ compiler bug in the handling of template functions invoking the function call operator. Details and other ramblings below (after the example code that exposes the problem). #include <algorithm> #include <list> #include <stdio.h> #include <tchar.h> class A { public : // explicit initialising constructor (made explicit to avoid implicit conversions or casts) explicit A ...Show All

  • Visual Studio Express Editions Changing installation drive (on VB)

    Hello! I'm trying to install Visual Basic 2005 Express Edition on another drive, other than C. Thing is, the installation wizard has a will of itself and still wants 1gb of my drive C and only 80mb of the destination drive i want it to install to. How can i fix this problem without involving manual file moving Thank you If you already have another version of Visual Studio installed, you CANNOT change the destination drive. There are dependencies on components that are installed the the Microsoft Visual Studio 8.0 directory that VB Express needs to function. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Done :)

    Hello, I just wrote a little puzzle game (Windos Game Project) and now I want to build the 360 version of it, but I have a little problem (probably PEBKAC *g*) I wrote a content-processor for instanced rendering (overriding ModelProcessor) and implemented a new ContentItem called 'Font'. It reads the *.fnt files from AngelCode Bitmapfont Converter. Because I want to reuse this, I put it into a "Windows Game Library" and everything works fine.. Now, if I try to put my custom content stuff into a XBox 360 Game Lib, the build process told me, that there exists no "TargetPlatform" enum - which is needed for the serialization methods. After thinking about it, I realize, that I wouldn't make sense that th ...Show All

  • SQL Server How do I Create a Temp Table as the Beginning of a Process Flow?

    Hi Folx, I am new to SQL Server and I am struggling. Versions: Microsoft SQL Server Integration Services Designer Version 9.00.1399.00 Microsoft SQL Server Management Studio 9.00.1399.00 I would like to 01. create a temp table 02. load the temp table from a flat file 03. insert into a destination table the rows from the temp table where NOT EXIST the primary key of the destination table. ISSUES: Flat File Source will not accept that a resource will be available that does not yet exist (the temp table) I set the Flat File Source to “Ignore Failure” and ran the package. It ran with warnings but did not insert the new rows. The “Ignore ...Show All

  • Visual Basic String Functions

    Through playing I have noticed that whenever I type the name of a string, for example str, with a . after it a list appears with common and all functions availible. Commom: Contains EndsWith IndexOf ..... etc. I am trying to find which functin would accomodate me the best. I am currently using the .Contains to find if a specific "key" word appears in the string I just read in. But what I don't know how to do is extract data that appears after the "key" words. Can someone please help me.....!!!! Example: Itinerary for Doe,John on 01-01-1001 The informaion in yellow is the data that I need. The red ar the "key" words. Yes, I actually have more data than ...Show All

  • Visual Studio 2008 (Pre-release) Image Source property cannot be set from a binding

    If I create a binding in code for an Image Source property like so Binding tmpBinding=new Binding("ImagePath"); tmpBinding.Source=ImagePathSource; image.SetBinding(Image.SourceProperty, tmpBinding); The image will not show. ImagePath is a property on ImagePathSource that points to a string containing the path to the image. I think the problem lies in the fact that in code the Path has to be escaped like so " RelativePath\\Image.gif " Within XAML if I create the image like so <Image Source="RelativePath\Image.gif"/> The Image will be displayed. Is there a workaround aside from creating the image in code it works for me < Grid Width = " 200 " Height = " 200 ...Show All

  • Internet Explorer Development IE 7 opening to Run Once page with error on it.

    I downloaded updates last week. I have been using IE7 for a while with no problem. I dwnloaded the updates. Now when I open my browser the page tries to go to http://runonce.msn.com/runonce2.aspx . There is an error reported for this page and it will not open up I get a blue screen. How do I eliminate this I have my home page set in the tools section but when opening it won't go to my home page until I hit the home button on the tool bar. I tried the solution I typed in gpedit.msc and the run box and windows error appeared that said that windows could not fine the file. I searched for the file and it was not located either. ...Show All

  • .NET Development xsl tranformation file problem

    i have an xsl file like this; < xml version = " 1.0 " > < xsl:stylesheet version = " 1.0 " xmlns:xsl = " http://www.w3.org/1999/XSL/Transform " xmlns:xsi = " http://www.w3.org/2001/XMLSchema-instance " xmlns:xsd = " http://www.w3.org/2001/XMLSchema " xmlns:msxsl = " urn:schemas-microsoft-com:xslt " > < xsl:strip-space elements = " * " /> < xsl:output method = " xml " omit-xml-declaration = " yes " indent = " yes " standalone = " yes " /> < xsl:template match = " / " > < xsl:for-each select = " annPanel " > < xsl: ...Show All

  • Visual Studio VS 2005 and Microsoft.Office.Interop

    Hello. I am new to VS. I try to make my custom Ribbon. I fallow MS instroction how to do it but my VS is Missing all Microsoft.Office.Interop references. I installed Office 2007 PIA but still VS cant finde Microsoft.Office.Interop Could you give me Tips how to configure VS to use Microsoft.Office.Interop Thanks in advance. ive actually added the com reference, ive mentioned that in my post. my particular problem is that i cant import the Microsoft.Office.Interop namespace...the only thing thats available is Microsoft.Office.Core in VS2005 even after adding the com reference. ...Show All

  • Visual C++ differences win32 console & win32 project app templates

    Hi I have VS2005 In win32 menu, there are 2 templates 1-)Win32 Console Application and 2-)Win32 Project. For Win32 Console Application it says: A project for creating a Win32 console application Win32 Project it says: A project for creating a Win32 application, console application, DLL, or static library But they have the same menu win console,static and DLL.In Win32 Console Application dll or windows app. i can create windows or dll app. too. So why are there 2 templates What are the diffferences creating win or console or dll app.in Win32 Console Application template and Win32 Project template (Maybe in compiler level or something else) Both templates share the same wizard ...Show All

  • Visual C# debugger steps through commentlines

    Hi, I'm trying to debug my application, so I put a breakpoint in the area I suspect to be buggy and I run my application. When I hit the breakpoint I step through the code. To my surprise I see myself stepping through lines of comment (and skipping several lines of code as if they were comment). I tried deleting the build files, rebuilding, etc, but nothing seems to work. Any suggestions It is just looks like it goes through commented lines. The problem is that your app use diferent dll assembly that the current code is, so in that lines previously when you build that assembly that your application is using, there were some execution lines. To solve this problem you need to remove your reference and instead of adding assembly as ...Show All

©2008 Software Development Network