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

Software Development Network >> Will Merydith's Q&A profile

Will Merydith

Member List

Sybed
Evan Mulawski
megaman5
E. Palmer
Azaz
Ceres629
Tim Windsor
Endre E
John Hennesey
maliger
guyinkalamazoo2
trai_mv
leclerc9
Stuman99
puddle1derful
mkfl
vijil
karthik.sr
Luis Esteban Valencia Muñoz
Spenceee
Only Title

Will Merydith's Q&A profile

  • Visual Studio 2008 (Pre-release) Unable to run default XAML in Blend or VS2005

    Scenario A: I open VS2005, Under the Visual C# node I select Net Framework 3.0, and then select Windows Application (WPF) from the templates on the right. The following code is generated: <Window x:Class="WindowsApplication8.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="WindowsApplication8" Height="300" Width="300" > <Grid> </Grid> </Window> When I try to compile and run the app, I get the following error: Cannot create instance of 'Window1' defined in assembly 'WindowsApplication8, Version=1.0.2613.23423, Culture=neutral, PublicKeyToken=null'. Exception has been thrown by the target of an invocatio ...Show All

  • .NET Development Efficiency question wrt sequential DB queries on same database...

    Hi, I was wondering if there is a quick answer to the following question: I want to retrieve a series of unique rows in a database, and the scripts I am using are set up in such a way that the request for a single database row entry is to a remote script. Therefore what seems most convenient is to have the remote script open the database connection, perform the query, return the result, and close the connection. But in this case multiple requests of this script will yield multiple, successive database handle open and closes. In general, does a design like this tend to be inefficient, or, if the number of database requests is on the order of ten, is it an acceptable way to approach the problem you should ...Show All

  • Visual Basic Opening png files from VB

    Hi I have 2 problems that I hope someone can help me with. I’m quite new to VB so I’m sorry if I’m asking a stupid question but I’m really stuck. 1) I am trying to open a png file from VB. I am using the following code to open the file but it isn’t working, I’m not getting an error but nothing is happening. Dim FileFolder As String Dim fi As FileInfo FileFolder = txtExportPath.Text Dim di As New DirectoryInfo(FileFolder) Dim FileList As IList = di.GetFiles() For Each fi In FileList If fi.Name.EndsWith( "png" ) Then fi.Open(FileMode.Open) 2) I then need to copy the picture from the file. Once the file is open ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Compile Errors when trying to run Directx sample tutorials

    Hey folks, I've just downloaded VC++ Express edition. Proceeded to install the platform SDK, then installed Directx 9 SDK, October 2006. I've installed the first sample tutorial, CreateDevice, and no matter what I do, I get error LNK2019's. I've added the include and lib paths to the project options as well. Any help would be greatly appreciated. Here's the errors: 1>------ Build started: Project: CreateDevice, Configuration: Debug Win32 ------ 1>Linking... 1>CreateDevice.obj : error LNK2019: unresolved external symbol __imp__DefWindowProcA@16 referenced in function "long __stdcall MsgProc(struct HWND__ *,unsigned int,unsigned int,long)" ( MsgProc@@YGJPAUHWND__@@IIJ@Z) 1>CreateDevice.obj : error LNK2019: unresol ...Show All

  • Visual C++ C2955 Error in Visual Studio 2005 V8 - No Errors in Visual Studio 7

    Any idea why the below stand-alone code has compile errors in 8 but not in 7 Yes, it's strange code pushing the envelope. Never-the-less why does 8 not compile it ------------------------------CUT----------------------------------------------- #pragma once #include <iostream> #include <tchar.h> typedef int TMember; template<typename _Member> class Data { public: typedef _Member _Mbr; int padding; _Member member; }; template<typename _TMember, _TMember *_memberP> class Access { public: _TMember *memberP; Access() { memberP = _memberP; } ~Access() { } }; template<class _Data> class Test : public Access<_Data::_Mbr,&((_Data*)0)->member> { public: }; int _tmain(int argc, ...Show All

  • Visual Studio 2008 (Pre-release) Navigate URL in RSS Feed threw Xaml??

    I was woundering can i get the Links in the RSS Feeds Navigatable threw Xaml or does it require some CodeBehind also Did some looking in the SDK and this one seems to be the one i would need to use:: INavigateUIData I have a ListBox with RSS Feeds that i obtain from within IE7,in the Feeds is a "Link" that Navigates to the Full Article http://www.blahblahblah.com/..../...../ ... Like to make those Links in the Feeds Navigatable to their Corrasponding Webpage... ...Show All

  • SQL Server Dimension cannot have more than one hierarchy.Hierarchy must be specified explicitly.

    Hi I am new to Analysis services 2005.I have a calculated measure.costval which has following: CREATE MEMBER CURRENTCUBE .[Measures].costval AS IIf ([Dim Date_Financial]. CurrentMember . Level . Name = "Date" , [Measures].[Cost Value], IIF ([Dim Date_Financial]. CurrentMember . Level . Name = "(All)" , ([Dim Date_Financial]. CurrentMember . lastChild ), IIf ([Dim Date_Financial]. CurrentMember . Level . Name = "Year" , ([Date].[Financial]. CurrentMember . lastChild ), IIf ([Dim Date_Financial]. CurrentMember . Level . Name = "FQuarter" , ([Dim Date_Financial]. CurrentMember . lastChild ), IIf ([Dim Date_Financial]. CurrentMember . Level . Name = &qu ...Show All

  • Visual Studio VSS6.0c vs VSS2005 different behaviour?!?!?

    Dear forum members, I have a very strange problem. We store a MS Access database in SourceSafe with VSS 6.0c all the time. For a few months we also use VSS 2005. Sofar so good and having no problems. Recently (and I can also reproduce it) I found out that the 'Get Latest Version' will always be okay for both VSS6 as well as VSS2005 but if I get the database with an older label VSS 6.0c always can get it right but VSS 2005 might get a corrupted version !!! Can someone show some light on this matter Also, it would help to know what encoding VSS2005 thinks the old versions are. Doubleclick each entry in the History dialog to get detailed properties for the old versions. ...Show All

  • Visual Studio A Java programmer needs help with right tools for Mobile development

    I am new to .Net as I have been programming in Java for a long time now. However, there is a need to develop a Windows Mobile app for the Windows Mobile 5.0 platform and I need help in determining what I need. Background on project: - Java based server accessible via SOAP Web Services - Supporting Windows Mobile 5.0 - Need a DB on device to store data - DB doesn't need to be synced with server db (aka no Active Sync needed) - I am planning on using NHibernate as I have experience with Hibernate - I am planning on using the Java to C# converted provided by MS to convert all necessary files to get a head start Specifically: - Which Visual Studio version do I need: standard or professional - Besides .Net Compact ...Show All

  • Visual Basic encoding issue in vb.net

    I have vb.net app that requires input which is multilinugal data stored in SQL server in nvarchar field. For most of the time it works fine with forign languagaes. There are only couple of data items for which vb.net cannot understand data and " " is displayed inplace of actual character. When I open use SQL query analyzer I can see the characters in that languages. Since SQL query analyzer can show that data so I am assuming the data was correctly entered in database. The same vb.net code works with other chinese , taiwanese characters so nothing seems to be wrong with code either. Dose anyone know how to debug this problem. For database access I use ado.net... sqldatareader. The code is simple Cmd = ...Show All

  • Visual C# C# 3.0 release date

    I heard elsewhere it'll be released when .NET 3.0 is released, but that doesn't sound right. I can't find anything on Microsoft's website. When is it coming out If unknown, can you give me a range (Q2 2007, etc) Thank you much. Gabriel ...Show All

  • Visual Studio 2008 (Pre-release) Unlimited LifeTime of WCF Services

    My client stops working if I leave it unattended for sometimes. I do not want this to happen. What is the way I can do I create a static field, and then create the field once and the use use for as many as I want. Here is the code: if (iCustomerInvoice == null ) { iCustomerInvoice = new ChannelFactory <Company.Common.Interfaces. ICustomerInvoiceSystem >( Binding, GetEndingAddress( "ICustomerInvoiceSystem" )).CreateChannel(); SetToken(iCustomerInvoice);//to set the token of the login for the customer! Is there a better way } I use iCustomerInvoice for the lifeTime. But this iCustomerInvoice stops working after a while. I am using PerSession. Set the ReceiveTimeout on your Binding to som ...Show All

  • Visual Studio 2008 (Pre-release) Can't Install Interactive Designer: Wrong WPF Version?

    So I've been trying to get started with WPF development, but I've had some trouble getting all the components installed and playing nicely together. In an effort to get all the right stuff installed (dotnet3, winfx, wpf, vs extensions, etc), I've downloaded at least a dozen different installers. So it's likely that I have several non-compatible versions installed right now. As far as I can tell, here's what I've got (most of this info was gathered from the Add/Remove Programs Control Panel): Microsoft .NET Framework 2.0 (already installed, long ago; I'd prefer not to uninstall this) Security Update for Microsoft .NET Framework 2.0 (KB917283) Microsoft .NET Framework 3.0 Microsoft Expression Graphic Designer June 2006 CTP ...Show All

  • Windows Forms INI files

    Hey, I searched MSDN for this but I could not find anything on it... How do you have the program recongnize a .ini file I have called it load.ini and this is what it is inside of it: [firstload] firsttime = 1 I am trying to make it so that in the Private Sub Form_Load it will look for the ini file and read it, is firsttime = 1 then it is going to open up a dialog, otherwise it will do nothing, I can do all of that, I just need to know how to have it find the ini file... I placed the ini file in the project's folder... Thanks :) you are better of storing such configuration in an xml file - xml is pretty much a replacement of ini configuration files, and is much better to navigate/find the n ...Show All

  • Visual Studio Tools for Office Problems referencing an Excel project class from a Word project

    I'm tryng to call a method in an Excel project class, from a Word project, but when I call the call the class constructor, I recieve an Internal Error. // Starup method in the Word Project private void ThisDocument_Startup( object sender, System. EventArgs e) { // Reference to the Excel Project ExcelWorkbook1.Sheet1 sheet = new ExcelWorkbook1.Sheet1(); sheet.ExportarGraf1( "C:\\" ); } It says that Sheet1's constructor recieves another paramether, but I don't know what it means. Thanks a lot For this answer, I am assuming from your code that: You have a customized Workbook (ExcelWorkbook1) that contains a Sheet1 class on which you created the ...Show All

©2008 Software Development Network