Rob Roberts's Q&A profile
.NET Development Text in XSLTransform
I am transforming one xml file to another using XSLT file. I create XSLTranform and load the stylesheet before calling the transform function. It seems to work fine but there are a few problems with text. When the XML file that I am trying to transform includes special text such as "£" sign the transformation will fail. I assume that I need to set some parameter to support w_char or unicode somewa, but I can't seem to fine the information needed. Can someone please help, or point me to where I can find more information on the matter. Thanks in advance! Thanks for the link. I have had a read, but can I use thi ...Show All
Windows Forms Progress Bar in StatusBar control issue
I am using the code below to create a Progress bar in my status bar on my MDI parent form. The code works well. However, when it is finished I want to reset the progress panel to its original state and cannot figure out how to do it. How do I get the panel's color back to windows gray. Any ideas Thanks, Mike //**************Cod ...Show All
Smart Device Development .NET Compact Framework Database Providers for Oracle
What database providers are available in .NET CF for Oracle Of those, what are free In looking I can't seem to find any, am I to assume that web services are the preferred mechanism to connect to a database with Thanks, Jeff. Thanks very much. Do you happen to know of any ones that are free This application can't tollerate that type of licencing cost. Thanks, Jeff. ...Show All
Smart Device Development Problems running Platform Builder example
I tried to use the example in %_WINCEROOT%\public\servers\sdk\samples\http\asp but after I finished the readme instructions (see below) and go to http://localhost/adminasp there is nothing there. And there are no files in \windows\www\wwwpub\ except default.htm. I start the emulator using target > attach to device. // // Copyright (c) Microsoft Corporation. All rights reserved. // // // Use of this source code is subject to the terms of the Microsoft end-user // license agreement (EULA) under which you licensed this SOFTWARE PRODUCT. // If you did not accept the terms of the EULA, you are not authorized to use // ...Show All
Visual C++ How can I solve below template partial specialization problems?
I want to specialize template when return type is void. ========================================== template <char const*& T, class U, class X> class CSpecialize { public: CSpecialize(X (U::*pfunc)()) : m_pFunc(pfunc) { } X (U::*m_pFunc)(); }; template <char const*&T, class U> class CSpecialize<T, U, void> { public: CSpecialize(void (U::*pfunc)()) : m_pFunc(pfunc) { } private: void (U::*m_pFunc)(); }; compiler error message is error C2755: 'CSpecialize<T,U,void>' : non-type parameter of a partial specialization must be a simple identifier vs 200 ...Show All
Windows Forms IssueVision Issue
The setup wont 'see' my local sql installation and gives me the the only option 2 cacel the setup :( Icheced and sql acceps mixed mode Remco Did you know there is a forum on this site dedication to IssueVision You might have better luck getting a response there. I hope this helps, Steve C. Orr, MCSD, MVP http://SteveOrr.net ...Show All
Windows Forms Designing a WinForms application.
Such an embarrasing question, but i've been working in ASP.NET for so long that i've lost grasp with Forms design architecture. I'm designing an application using WinForms 2.0. The screen for the application will keep the same structure throught the App. For example, a user will create a new customer. Then he might want to create a new employee, so will click the "employee" button. This won't fire up a new employee form, but will display the employee screen on the mainform where the customer screen was just showing....a bit like having a Tab Control in the centre of a form and having an Employee Tab and a Customer Tab. Then buttons to the le ...Show All
.NET Development ADSI
Ok. So which namspace does ADSI reside in I need to tap into the ADSI Object Model to check and see if a user exists in a Windows 2000 Group so that canget into the Application. How do I tap into the ADSI Objects within a .Net Application Ok. I have been dabling with this but I'm getting no where! Does anyone have an example in C#.Net of how to get the UserName of the User logged onto the workstation and check and see if that user belongs to a Windows group This is for the Application I have written. Basically if the user does not exist in this group then they can't get into the Application. We have a Wind ...Show All
Visual C# Handling large dataset
Hi, i have two questions. 1. what is the best method to retrive large table from sql server 2. what is the best method to handling large dataset e.g searching and sorting in c# not in databse level Thanks Wilson 1. I am working for web project. 2. I hold the data during the life of web application. 3. it is around 100k records. ...Show All
Visual FoxPro video control
While waiting for answers to my other post I tried to play with a video control. It gives me an error I cannot understand: cFileName = JUSTSTEM ( JUSTFNAME ( cLine )) THISFORM . O_VIDEOPLAYER1 . cfilename = cLine THISFORM . O_VIDEOPLAYER1 . playvideo ( cFileName , 100 , 100 ) cLine is the complete path to an .AVI file. The error is that "no parameter statement is found" Is anybody familiar with this control Thanks. Alex, While you're reading other:) go to VFP9 tools\task pane. Click more panes (chevron) and check solution samples. There at least 2 samples for playi ...Show All
.NET Development Is there a +/- tree view control wtih more functionality(-Hide+Display controls)
Is there a control similar to Visual Studios programing environment +/- on the left edge When you click + the Code is expanded and when you click - the code is collapsed. The closest I have come so far is the tree view control! Tree view is half way there. Is there anouther control with more flexibility and/or can I expand the code for tree view to include controls. + Design + Calculate + Result - Design - Wood + Diaphram design + Shear Wall design - Concrete &n ...Show All
Visual C++ VS2k5/WinXpx64 - connection strings and other ADO problems
The following code run fine under Windows XP when compiled under VS 2003. But when compiling under VS 2005 on Windows Professional x64, ADO functionality does not work as expected. See comments in code fragment. Google is clueless and a trawl of the forums has come up with nothing. Any help is very much appreciated. Steve Case 1 ------- // Error checking removed for brevity ::CoInitialize(NULL); _ConnectionPtr pConnection; pConnection.CreateInstance( __uuidof (Connection)); _bstr_t strConnectionString = "MyDSN" ; // When compiled under VS2005/WindowsXP Pro x64, this call fails, with error " ...Show All
Visual C# Bug or intentional: aspnet_Membership_GetUserByName does not update LastActivityDate
I've just begun to extend the membership framework for .NET. I've noticed that aspnet_Membership_GetUserByName has the potential to update LastActivityDate in aspnet_Users, but actually will not ever do the update. The "problem" (unless this is intentional) is that @UserId is never set in the select statement before the update statement, i.e. there is no "@UserId = u.UserId" in the Select. So is this a problem with my installation, a "bug", or is it intentional It seems I'm not the only person to notice this ( Membership.GetUser() doens't update lastactivitydate ), but that post didn't receive an answer. A ...Show All
Visual C++ Problems in Release Compilation
My Visual C++ 6.0 MFC project serves as a framework that loads a variable series of MFC extension DLLs that do most of the work of the project. Although the DLLs vary widely in function and complexity, they have many common features and derive from a common base class. All of the DLLs export a configure() function. In most cases, the configuration is accomplished with a standard MFC dialog and associated class derived from CDialog. The framework program and all DLL operations work properly when compiled in debug mode. When compiled in release mode, running under XP, the framework continues to operate properly, but all DLLs cra ...Show All
Visual C++ Resource Compiler Fatal Error in Visual Studio 2005 Beta
It's impossible to launch Resource Editor from IDE. Resource Compiler Fatal Error RC1107 is displayed. Charming! So, I've wasted half an hour downloading this, and around the same again getting the img file burned onto disk, and installed, half an hour pratting around setting up a project, only to find that this VERY basic functionality is deliberately missing - and that's only confirmed after doing a web search. I'm disgusted. What a waste of time! ...Show All
