Valdair's Q&A profile
Windows Forms rendering xslt for display in winform as html
I want to apply transformations on some result xml document, and display as xml Do I have to create a temporary file to do this Seems like there should be some way to embed a browser in my form that can be loaded programatically. Ju ...Show All
Game Technologies: DirectX, XNA, XACT, etc. vidinimo_PC.cpp line 113
I'm trying to run some games on my old Win98 computer, but I keep getting errors about DDRAW.dll, and that it's not able to start. At the end, there's an error saying vidinimo_PC.cpp line 113 LoadLibrary What can I do to fix this I've tried to install Dx81 on it, it says it's successfully installed, but I still can't find it anywhere, and I still get the errors on my games. Alex htt ...Show All
.NET Development Is this hard to do, or is it just me ;-)
I have an xml document I want to extract information from and I am having a hard time achieving this. I want to extract data from the field elements. I want to know the name and the contents in the CDATA. So in the doc posted below I want to know: name = dossiernr and data = test name = naam and data = test My xml doc: < xml version="1.0" encoding="UTF-8" > - <RESPONSE XMLID="dd8433dd-356a-4cad-9d9d-0dacdd5fcc ...Show All
SQL Server GUID
Hello, I'm working on a smart client app that has an offline sql express store and needs to work with several types of central databases (support for multiple products - ms sql, DB2 etc) While trying to put together some offline functionality that needs the user to create records on the offline sql express data store, we've run into the need of being able to uniquely identify records so replicating the data in the offline store back into t ...Show All
Visual J# 64 bit integer support
Lets say you have a function which accepts a 64 bit unsigned int. In my case this function was written in C++/CLI as a part of a managed wrapper. I am having problems though. It seems the compiler does not do implicit casting for 64 bit values. Here are some examples (in all cases the input is a System.Int64 value): f1(1 ); // This does not work because it think's 1 is an int and therefore thinks I'm trying to reference a wrong function. f1(( ...Show All
Visual Studio 2008 (Pre-release) Generate proxy class
I try to generate a proxy class with the Svcutil tool. I host my service in a windows console program. // Host the service public static void Main() { // Create a ServiceHost. using ( ServiceHost serviseHost = new ServiceHost ( typeof ( helloService ))) { // Add an endpoint. WSHttpBinding binding = new WSHttpBinding (); Uri uri = new Uri ( "http://localhost:8000/hello1/" ...Show All
Smart Device Development Multiple views, forms, Outlook style
Hi all! I am in a project developing a Windows CE .NET Compact Framework application on a hardware using a 800x600 screen. The application will monitor and control a welding process. The application will need to have a GUI where the user can switch between views (one view visible at a time, not MDI). An idea is to have a main Form containing a menu or navigation control (perhaps like the Outlook-field) and display different views in a cont ...Show All
.NET Development Using Cache in a Windows Service
Hi, I need to use a cache in a windows service. Preferably a cache similar to the cache in system.web. What should I do Sincerely Herbjorn > Preferably a cache similar to the cache in system.web. Just add a reference to System.Web in your project. Then you can access the Cache as System.Web.HttpRuntime.Cache Despite the name of the class (HttpRuntime, which seems to imply it's specific to the HTTP protocol), the Cac ...Show All
Software Development for Windows Vista WF beta2 in VS.Net 2k5 Express Edition
how I can install Visual Studio 2005 Extensions for Windows Workflow Foundation Beta 2 in Visual C# 2005 Express Edition it is possible ...Show All
Visual Studio Team System Thanks Rob Caron!
Ok, we all acknowledge that Rob is a stud (go Rob!). Now we just need some real conversations going on here. Has anyone submitted a birds of a feather session for Teched ...Show All
Windows Forms ArgumentException in DrawString
I have some code which worked fine in framework 1.1 but is giving me an ArgumentException in 2.0. The code follows: using ( Font fntDraw = new Font ( "Arial" , 16, FontStyle .Regular)) { Rectangle rcLayout = new Rectangle (0, 0, _cpixCell, _cpixCell); StringFormat sfmt = new StringFormat (); sfmt.Alignment = StringAlignment .Center; sfmt.LineAlignment ...Show All
Windows Forms app.config file and deployment
Hello, I have a windowsform app. I have included the database string connection in the app.config file. It works fine on the developer box, but when I try to deploy, the application cannot find the connection string. Is there something I have to do with this file when deploying. Regards Peter Peter, your suggestion to use <app_name>.exe.config fixed the issue I was having. Thanks. ...Show All
SQL Server influence the length of sub-tokens indexed in fuzzy look-up
can I influence the lenghth of sub-tokens that are indexed in fuzzy lookup Is it just fixed as 4 Thanks At this time the size is fixed. There is a performance trade-off between Error Tolerant Index size and the length and number of sub-tokens indexed per record. Using a fixed length may cause errors in short tokens to be missed if there are no other tokens in common between the input and target reco ...Show All
Visual C++ Cannot run C++ program that was compiled with Beta 2 (Side by Side problem)
Hi! I am trying to rerun using Beta 2 a program that ran fine under Beta 1. After building the whole thing on Beta 2, I get the following error (extracted from the Event log) when trying to run it: Generate Activation Context failed for c:\Documents and Settings\Yuval\My Documents\Visual Studio Projects\Home\cpp\HomeTouch\Debug\HomeTouchWin32.exe.Manifest and Resolve Partial Assembly failed for x86.Microsoft.VC80.DebugCRT. Reference erro ...Show All
Windows Forms Possible to specify SelectionStart/SelectionLength on a TreeView label?
Hello, I have a treeview control, and upon right clicking and selecting an option, one of the nodes becomes editable (I call BeginEdit() on it). Is there a way to selectively highlight a specific portion of the text before the user gets control Textboxes have a SelectionStart/SelectionLength to facilitate this. I can't seem to find a way to do it with a TreeView. Any ideas Thanks. - H ...Show All
