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

Software Development Network >> Bern McCarty's Q&A profile

Bern McCarty

Member List

Ken Camann
LiveGadgets
Bertrand Caillet
fulish1
TBeadle
c_shah
jmodares.com
Madhusudhan
Beuhla
chxfryer
s schwarz
PsyCadelik
Selectis
ku19832001
shyamkumar
Jygoman
Chris Via
Alpehans
VBAddict
Tuk
Only Title

Bern McCarty's Q&A profile

  • Visual Studio Team System Can not find TFS Beta 3 download

    When I look in the MSDN Subscriber download center under vs2005, I find both the Trial and Workgroup download with March posted dates. Any suggestions I guess I am confused. So the lastest version is the one from March that is on the MSDN Subscriber download center I do have that one. I am re-installing because I got to a dead end on a project creation problem. I just wanted to make sure I have the latest. Thanks, Robert ...Show All

  • .NET Development Can any one explain me more about Regular expressions in C#

    Hi all, Could any one explain me about Regular expressions in C#. I went through the Orielly book of C# programming, but I was totally confused. Can you qoute some examples and explain where the RegExp are used..... Thanks, suresh. I recommend downloading a utility to let you play with various regular expressions and search strings. There's a good one called Regex Builder 2.01 which you can download here . ...Show All

  • .NET Development WebService visual studio 2005 (orcas) error while calling a webmethod using CallContext (ILogicalThreadAffinative)

    Hi, I have developed a web service that exposes a set of my library methods.I am using RMCallContext class which implements ILogicalThreadAffinative to store the login user credentials, which i set through SetCallContext webmethod.  when i call the method it works fine till my code like it goes to my library code sets the CallContext but after all my code execution is completed in the SetCallContext WebMethod as it trys to exit the function it gives xmlserialization error unable to serialize CallContext, although callContext is marked serializable. I checked the stack trace and i found that it is the Visual studio 2005(orcas) that is throwing the error and not my code. I am using the same library for .net remoting and ...Show All

  • Microsoft ISV Community Center Forums Trying to write a VERY VERY simple routine BUT GOT STUCK !! ::) = Brain Ache !!

    Hi, I'm affraid I bit off more than I can chew and It's a while since I programmed. 1/ The routine is set in an open Excel worksheet which has 5 fields/columns per row 2/ The routine reads 1 row at a time, splits 1 field, does some ifs and appends 6 new fields per row 3/ I'm stuck with the Loop 4/ I'm stuck with the IFs especially bracketing 5/ I'm stuck with the output writes I'd really appreciate if you could just wiiiizzz through it and ellimate the mistakes. For you 5 mins for me 5 days. Here it is .... Sub TeamPerformance01() ' TeamPerformance01 ' Name Fields in open worksheet ActiveWorkbook.Names.Add Name:="Date", RefersToR1C1:="=Sheet1!C1" Columns("A:A").Select ActiveWorkbook.Names.Add Name:="T ...Show All

  • .NET Development XSLT compile error when using XslCompiledTransform.Load indirectly called from unmanaged code.

    I have a component I wrote in C#. Among other things it performs a XSLT transform on XML data it collects. When I test this feature using another C# project that uses the component it works just fine. However when I export the component as a COM component and try to use this feature from a unmanaged application it fails on the XslCompiledTransform.Load command with an XSLT compile error. If I take out the template tags then it loads just fine, of course it will not actually do anything then either. Thanks for any help you can provide, Rich Inner exception: {"Overflow or underflow in the arithmetic operation."} Stack Trace: at System.Xml.Xsl.Xslt.QilGenerator.Compile(Compiler ...Show All

  • .NET Development Help needed with XslCompiledTransform

    I had an issue to the XslCompiledTransform.Transform method, i am using the following code to transform xml to html public string transform(string source, string xslPath) { string rtnXml = ""; XmlDocument xmlDoc = new XmlDocument(); xmlDoc.InnerXml = source; XPathNavigator xpNav = xmlDoc.CreateNavigator(); XsltSettings settings = new XsltSettings(true, true); XslCompiledTransform xsl = new XslCompiledTransform(); xsl.Load(xslPath, settings, new XmlUrlResolver()); StringBuilder sb = new StringBuilder(); StringWriter sw = new StringWriter(sb); XmlTextWriter writer = new XmlTextWriter(sw); xsl.Transform(xpNav, null, writer); sw.Close(); writer.Close(); ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. I got Animation working but tiny.x has some weird data

    I've been working on a modelprocessor that grabs animation data using the default importer. I've managed to get my own fbx files and tiny.x to animate correctly but I noticed the default importer actually gives me animation keyframes for the body node. They're keyframes at time 0 and time 1.0333333s and they have the same transform. If I use the inverse of the body node's keyframe transform I can transform tiny so that the model is walking upright (otherwise the body is facing down more like swimming). But doing this transform also make tiny float 3 bodylengths or so above the origin. I'm wishing I had tiny's source file so I can see why there's 2 animations of the same transform and where they're supposed to be putting the mod ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA framework for non C#

    One of the great advantages of the .NET framework is that developers can work on the same project in different programming languages. As I'm reading about XNA, it seems that this will not be possible with the XNA framework. Will the only programming language that has access to the XNA framework be C# aka_Big_Wurm wrote: The performance hit is from C++ to C# or C++ to VB. VB runs CRL just like C# so the performance is the same. Well, since C++ isn't even an option, this is pretty much a non-issue. C++/CLI is managed as well, and will run at exactly the same speed (compiler optimization differences notwithstanding). ...Show All

  • .NET Development 80070005 Error from ASP.NET Application

    I'm trying to start MS Word from a ASPX page. In web.config file I was wrote: <identity impersonate="true" userName="myUid" password="myPWD" /> so, the application doesn't run with ASP.NET user, but myUid user. This user is Administrator member group. When I run the application from a WIN XP Professional client I have the error: Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005. Please, help me. Thanks Alberto I'm not sure if this will help but it was what was giving me the error you have reported. I had configured (using DCOMCNFG) the permissi ...Show All

  • Visual C++ How do I save a project with a new name?

    Hello and thanks in advance to anyone who answers this question which has been bugging me for a while. Once I have created a project, how can I access the 'save as' function which is available in many windows programs in the file drop down menu Is the 'save as' function unavailable for entire projects It seems like it would be useful so you could have access to different versions of complicated projects. I know you can 'save as' each source file, etc., but I can't figure out how to do it for the whole project. Thanks again, Jackson ...Show All

  • Visual C++ DirectX Symbol Not Found, Can anyone help?

    Hi this is some sample code i have been trying to run in Visual Studio Express: #define STRICT #define WIN32_LEAN_AND_MEAN #include "stdafx.h" #include <windows.h> #include <d3d9.h> #include <d3dx9.h> #include "resource.h" //----------------------------------------------------------------------------- // GLOBALS //----------------------------------------------------------------------------- HWND g_hWnd = NULL; LPDIRECT3D9 g_pD3D = NULL; LPDIRECT3DDEVICE9 g_pd3dDevice = NULL; //----------------------------------------------------------------------------- // PROTOTYPES //------------------------------------------------------------ ...Show All

  • Visual Studio 2008 (Pre-release) Forcing Update of UI before my function exits

    I know this question has been asked before, but none of the answers given work for me. I have a function that performs a long operation. Before that function does all its work, I want to set a Status message in my Status bar. The problem is that UI updates don't seem to occur until the function has exited, by which time the Status Message is no longer relevant. What can I do to force the UI to update I've tried calling UpdateLayout(). I've tried calling InvalidateRender(); I've tried setting the Status Bar properties within a delegate passed to Dispatcher.Invoke with DispatcherPriority.Render. None of these work. I have, elsewhere in my App succesfully used Background worker to perform longer running operations asynchronusly. I ju ...Show All

  • Visual Studio Express Editions Networks & Service Pack 2

    When I tried to install VB Express on a computer in my lab, it asked me to install Service Pack 2. Now I'm getting an error and the internet is really slow. After talking with the tech guy, he told me that Service Pack 2 is not good for networks. Is there anyway around this hkcmd is an intel hotkey command manager type application. If you can terminate this before running the setup, hopefully you should be able to install the product better. Don't know why it would cause any interference with the Express edition setup. ...Show All

  • Windows Forms Combobox Format Event

    Is there any way to ascertain the list position of the list item being formatted in the format event I need to query the bindingsource at the corresponding row. The "SelectedIndex" and "SelectedValue" are no use as the items are not actually selected.   Please can you give me example syntax.  I cannot search for a string in the listbox as there are duplicates and I can't use the .SelectedValue property which contains a unique ID as the item is not selected. ...Show All

  • Visual Basic How to find the number of VbCrLf's in a string?

    I have some code that adds line numbers to a richtextbox control. The code requires that there is at least 2 lines of text in the richtextbox for it to work. How do I detect if there are less than 2 VbCrLf's in a string if you are interested in just the line count...then If Me . RichTextBox1 . Lines . Length > 2 Then MessageBox . Show ( "More Than 2 lines" ) End If ...Show All

©2008 Software Development Network