MadJax's Q&A profile
.NET Development Carriage returns when adding element value in XML / XSLT
Hi I have done an XSLT which works but for some reason it is adding a carriage return when I am adding an element value, the xslt is: < xml version='1.0' > < xsl:stylesheet version= "1.0" xmlns:xsl= "http://www.w3.org/1999/XSL/Transform" xmlns:a= "http://www.w3.org/2000/svg" > < xsl:template match= "/" > < textdata > < xsl:for-each ...Show All
Visual Basic Assigning to variables in a structure dynamically by using the field name in a string
Hi, I have an issue where I need to be able to take value pairs i.e. fieldname and value - and assign them to the correct fields in a structure. e.g. structure X Field1 Field2 Field3 Field4 end structure Values "Field2", "xyx" "Field4","pqr1" So I need some method of assigning to the correct field in the structure - much like you can with recordsets i.e. rs.fields("< ...Show All
SQL Server Do SQL Server 2005/CLR Triggers support .config Files?
Does anyone know if it's possible to use the standard .config file within a CLR Trigger to read properties via the System.Configuration namespace I guess it's not possible because the CLR Trigger needs to be compiled as an assembly which is hosted by SQL Server Thanks Jason Hi, http://groups.google.de/group/microsoft.public.sqlserver.programming/browse_frm/thread/6d635c2cd23fed7 CLR stuff in SQL Serve ...Show All
Visual Studio Embedding Relationships and Inheritence
I have an embedding relationship within my domain model. I would like the contained class to be able to inherit from another class. However, this doesn't appear to be not supported in the DSL. Is there anyway that I can setup this inheritance relationship Cheers Susan Entwisle From an offline peek at Susan's model. The proposed inheritance relationship would make the contained element reachable in two different ways ...Show All
Software Development for Windows Vista Error in setting up graph
when I capture the video it works for first time...without closing app if i stop capturing and start, it gives me error of not able to setup graph..I found that RenderStream is throwing the exception. Checked up for if the interfaces are closed and for memory leaks dont know why it appears.... Also it works for Audio when for video it gives error. Guid cat = PinCategory.Capture; Guid med = MediaType.Audio; hr = capGraph.RenderStream ...Show All
.NET Development Problem with custom Toolstrip
Hallo everybody, I have made a CustomToolstrip Class, to add a blue gradient look, like this you see above ( when you are writing a message ). And it works. But when I try to add Buttons, they are not visible. The problem might be, that they are overwritten or something like this, but how can make the buttons visible again. My onPaint Methode: Protected Overrides Sub OnPaint(ByVal e As System.Windows.Forms.PaintEventArgs) ...Show All
Windows Forms Multiple Users and Roaming Profiles
I probably know the answer to this but want to make absolutely sure. My app is aimed at schools and colleges. Typically, staff and students will use any available computer so each computer could have hundreds of different users in the course of a term. Am I right in thinking ClickOnce would reinstall for each new user with no shared disc storage If the users have roaming profiles, does the installation get moved across the network at each login ...Show All
Software Development for Windows Vista Workflow Serialization Problem
Hi to all, I have been using beta 2 bits for a couple of days and trying to upgrade my project with the new stuff. I've change a lot of things ( as you guys did in beta 2 :), but one problem still cannot be solved. I'm using the workflow designer control to change workflow definition. I have also a state machine workflow. If I load the workflow from file (xoml) no problem. But if I want to get a workflow definition from running workflow the seri ...Show All
.NET Development Create new Object from unregistered DLL
Hi Guys(.and Girls..) ! I want to create a reference to a DLL (which is just copied into same Directory) as for example do_it.exe; No i want to call this dll from do_it.exe; I know the API(Public Class inside of the DLL with methods and properties..); How can i call this dll fromout of the executable without having this dll registered; If using createObject("<my_class>") ... is .net able to locate the dll ..or has it ...Show All
Visual C# How to get instance ID of object
In VB6 I can use ObjPtr to get object pointer. In .Net how to get it The advice is to use a custom override for the GetHashCode() function in ur own classes to ensure that it is unique: MSDN Content : This method can be overridden by a derived class. Value classes must override this method to provide a hash function that is appropriate for the class and that ensures a better distribution in the hash table. Classes that might be used ...Show All
Visual Basic early binding vs. late binding
why visual basic .net recommends early binding rather than late binding Hi, Quoting from http://msdn2.microsoft.com/en-us/library/0tcf61s1.aspx . Advantages of Early Binding You should use early-bound objects whenever possible, because they allow the compiler to make important optimizations that yield more efficient applications. Early-bound objects are significantly faster than late-bound objects ...Show All
Windows Forms Drag and Drop Button with Outline on Windows Form
I've seen numerous examples of how to dynamically position a control on a Windows form using Visual Basic 6's .Drag and .Move methods, such as the code below: Private XOffset As Integer Private YOffset As Integer Private Sub Command1_MouseDown(Button As Integer,& ...Show All
Smart Device Development M2003SE SQL Data Collection Application
I'm adding records to an SLQ Mobile database. Thus far I can view the data in a Grid Control and add new entries using the code below (without the 'Clear the fields section). My problem is that when I insert the handlers to clear the TextBox.Text fields and put the cursor back to the first data TextBox (ID) it does not save the record. Ideas, suggestions, clues, pontifications Private Sub btnAddRecord_Click( ByVal sender ...Show All
Visual Studio Is there an issue with Int64 in Crystal Reports?
I am currently designing a Demographic Information Report that is grouped by Market, Branch, Location, and Control where the only fields in the Details section for now are: Control.Name(System.String), Control.ControlId(System.Int64), Control.MachineSn(System.String), and Control.MachineModel(System.String). When the other details for each control in a location are displayed, the information maps correctly to each control's record. ...Show All
Visual Studio Breaking VS.NET 2003 and ClearCase Integration
Our site uses both ClearCase and VS.NET, however for various reasons we do not want ClearCase integration turned on in VS.NET. We seem to get this integration automatically when we install VS.NET on a server with ClearCase already installed. Are there steps to gracefully break the ClearCase integration Thanks. Hi Tom, You can delete the ProviderRegKey registry value under HKEY_LOCAL_MACHINE\SOFTW ...Show All
