Software Development Network Logo
  • Visual C#
  • Game Technologies
  • Microsoft ISV
  • Windows Live
  • Visual J#
  • VS Team System
  • Visual FoxPro
  • .NET Development
  • Windows Vista
  • Visual C++
  • Windows Forms
  • SQL Server
  • Visual Studio
  • Visual Basic
  • Architecture

Software Development Network >> Emily0724's Q&A profile

Emily0724

Member List

ShriShri
RoobyDoo
Pete Newman
K.Rohit
ski99
7racer
JonTec
Jayson Furr
Rahul.Net
AidyC
Yachtsman
Lenitcha
iping
WM8S
Morna
Juliano.net
groovieblonde
M_Laz
ProgramLeaner
SMN
Only Title

Emily0724's Q&A profile

  • .NET Development msxml6, xslt and preserving newlines

    Hello, after the upgrade from MSXML4 SP2 to MSXML6 a simple XSLT (performed in C++) does not preserve newlines anymore... I just changed the document instance creation (DOMDocument40 to DOMDocument60) and the #import (msxml4.dll to msxml6.dll). with MSXML4 SP2 my simple XSLT generated the output: alpha bravo charlie now the same code (with just the changes described above) generates: alphabravocharlie what has changed many thanks andrea Thanks Anton and Sergey, now it is easier to explain the observed behaviour using MSXML6 and using the method put_resolve ...Show All

  • Visual Basic Root Namespace

    Hi, My questions is: how do I get the root namespace of an assembly (loaded by Reflection) I hope this is a simple enough question... I do need it for accessing types within the assembly. Thanks in advance, Alex Yes, it is the latter. For example, if you have specified the root namespace as 'MyCompany' in your project and had the following class and namespace declarations: Namespace Foo     Public Class Bar     End Class    End Namespace Public Class Zoo End Class   the compiled assembly would contain the two public classes MyCompany.Fo ...Show All

  • SQL Server Triggers

    Hi, i an new here. I just started with Sql Server 2005 Express. But my problem is not in technical issues, but programming. Now, to problem. I have few tables, Meas, Analog, Discrete, Acc and Terminal. Meas is main, have some field of it's own, one primary index key, and on foreign key. Foreign key is coming from Terminal table. Terminal table is stand alone, cause it has no other connections to any other table in this model. Analog, Discrete and Acc have almoust same columns. This tables have no primary index, but foreign keys from Meas table. They exclude each other. Example, meas data with key 1 is in analog table, but not in discrete ...Show All

  • Windows Forms TextBox with wordwrap=false still wraps at a certain point

    Hello, I have a TextBox that I need to display some data in. I need each bit of data to be on its on line. My lines are somewhat long, so much so that even with wordwrap set to false, the TextBox wraps even though a scroll bar is showing. Is there a way to override this width so that it doesn't wordwrap Thank you for your help, You're Welcome. I see the richtextbox has one field textbox doesn't (RightMargin) I think it was. Zep-- ...Show All

  • .NET Development Windows Registries: C# :Need Help Urgent

    Hy, Can any body tell me how to remove or repair invalid registries in windows using C# , what is the logic behind all this (means scanning the registries, APIs and others). if any body knows please tell me i'll be very thankful. Bye I have to admit that I didn't get your question, but in case you want to work with the Windows Registry, check Microsoft.Win32 namespace, you can find Registry class in there where you can get yourself started in working with the registry. For more information, see here: http://msdn2.microsoft.com/en-us/8bf3xkta.aspx Regards, -chri ...Show All

  • Visual C# Count the number of characters in a string

    Hi all Using Visual Studio C# Have a string string st = "Hi, these pretzels are making me thirsty; drink this tea. Run like heck. It's a good day." ****** How would I go about counting the number of characters in this string, without including the commas, semicolons, spaces, and periods. Would like to display the number result in a label. Any suggestions would be appreciated. bebop   Paul Domag wrote: Hi, Since all words are separated by spaces, commas or period... Then why not just make use of the String.Split() function eg. String s = "Hi, these pretzels are making me thirsty; drink ...Show All

  • Visual Studio Express Editions Menu Item Access Key (underline) won't display

    Just installed VB Express 2005 and tried a simple application. I cannot get a menu item (using designer) to display the underline when I run the project. I am creating a menu item of  "File", and I want an access key for ALT-F I entered text of:  &File In the forms designer, the "F" in "File" WAS underlined. When I run the project, the underline is NOT displayed, although the ALT-F access key DOES work. Anyone else able to reproduce this Any thoughts on what I need to do to get this to work     Ed Tenholder Office paints the menus itself, while .NET applications will use the sy ...Show All

  • Visual Studio How to change the legend text of a chart object

    Hello. I have a chart on my report. The legend text says: Sum of StoredProcedureName.FieldName Is there a way to change this value in a more readable text Goos van Beek. Hey,  I've been having the same problem .... I can't change the legend names from Summonthlystatus to a more readable text.  How can I do this if I have the full version of crystal   Thanks ...Show All

  • Smart Device Development How do I disable the word wrapping in DrawString

    I'm using VS2003 with CF1. I've made a custom control to view text files with alternating background color. Therefore I use for each line: graphics.DrawString(lineText, this.Font, textBrush, textRect); Unfortunately the DrawString seems to wrapping text wordwise. So if a word would be clipped, the whole word does not not appear in the output. Any suggestions how to turn off this behavior Thanks in advance. Try using the DrawString overload that expects two float values representing the location at which to draw the text. http://msdn2.microsoft.com/en-us/library/349afwez(VS.80).aspx ...Show All

  • Visual Basic Validation - but from a class or function

    I have numerous textboxes which I wish to validate and I am using If IsNumeric(txtBossAnnualSalary.Text) = False Then ErrorProvider1.SetError(txtBossAnnualSalary, _ "Please enter a numeric value") Else ErrorProvider1.Dispose() End If Rather than typing this code multiple times in each validating event of each field I want to put it in a class or function then just call - ValidateMyTextBox(). I have tried this numerous times but can not quite get the validating error message to show in the field that called it. Is this possible to do . Thanks in advance MJ ...Show All

  • Visual Studio DDEX and schema information

    I am trying to write a DDEX provider and am having trouble figuring out an error condition.  The connection shows up in the Server Explorer along with the appropriate nodes (tables, views, etc.).  The tables expand and show their columns, column type information shows up in the properties window.  But when I drop a table onto a dataset, it gives the following error: Could not retrieve schema information for table or view test. I get the same error if I go through the menu Data\Add New Data Source...  The error seems to be the generic top level "something failed" error because it appears in response to any number of thing ...Show All

  • SQL Server insert, delete, update data in database

    hi. i'm trying to create a c# application which would insert, update and delete data from a database. could anyone pls point me to the right direction in which i should take thanks in advance. You are talking about a Compact Framework application that leverages SQL Mobile for on-device data persistence. To get started with these technologies, start here: http://msdn.microsoft.com/mobility/gettingstarted/default.aspx You can also download the IBuySpyStore sample application from GotDotNet, which is a complete example of a CF2 application working with SQL Mobile. Darren ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Mesh Intersect Confusion

    EDIT: Let me make my question simpler: How do I shoot a ray (using the Intersect function) from one mesh to another mesh Original Post: I recently found out that the Mesh.Intersect function requires you to transform the ray by the inverse of the Mesh's matrix.  I can kinda understand how this works with picking, but, I am trying to shoot a ray from one mesh to another with an arbitrary direction.  Now I'm dealing with TWO matrices, not just one. Right now I am taking a point from the "source" mesh, transforming it by the inverse of the "destination" mesh's matrix minus the "source" mesh, then calling the "destination" mesh ...Show All

  • Visual Basic Can VisualBasic send an SMS message?

    Can VisualBasic v8 (.NET 2005) send an SMS text message to a mobile phone# Mine's running on Windows server 2003. This would be ever so cool !!! Well, yes, Visual Basic can certainly be used to create a program that sends SMS text messages.... BUT... You need to talk to something that knows how to send SMS messages. This something can either be a mobile phone that is connected to your computer (exactly how you talk to the phone depends on the model and how it is connected), a publicly available server that lets you send SMS messages (the only ones that I've personally used were located in Sweden, and did not allow ...Show All

  • Windows Forms Need help with positioning forms and transparency

    I have a MDI application. On the child I have a Tabcontrol with several TapPages. On each tabpage I have a bitmap used to plot data on (using GDI+ etc). Now i want to place a transparent form over the bitmap (call this the DrawingLayer) and allow the user to draw on this, but I have several problems. If I set the startposition to manual and adjust the size and location programmatically the location changes on its own accord. I cant position it correctly over the bitmap. Docking does not work in this instance since it has no parent. If I make the Parent of the DrawingLayer the active Tabpage (or Tabcontrol) then the DrawingLayer can ...Show All

©2008 Software Development Network