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

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

NickNotYet

Member List

JosepMola
Mr_White
Yitzhak
Joannes Vermorel - MSP
Dan Rough
CootCraig
akuhad
AlexBB
Kevinmac
Pareshbsel
Shinny
Enix591
Toshipenguin
crazy_kebab
Jeremy Schneider
RajaGanapathy
PedroSimao
hlj16
Steve Wenck
Bijay Mandal
Only Title

NickNotYet's Q&A profile

  • SQL Server including fields that are not measurement in the fact table

    Hi, I built a cube from a flat file. All of my dimension key fields and measurements fields are from that flat file. The problem that the flat file still have othe fields that were not used as dimension key or measurement and the cube user want to see these other fields as part of the cube. If these other fields are not dimension or measurement how I should bring them to the cube to be seen by the cube user Please help! Aref Maybe what your looking for is a junk dimension. Look at: http://rkimball.com/html/designtipsPDF/DesignTips2003/KimballDT48DeClutter.pdf I think gives you a more clean solution for your problem. ...Show All

  • Visual Studio 2008 (Pre-release) OpenXML vs XPS

    I just read an article which mentioned that the OpenXML standard was adopted by the standards committee ( http://www.infoworld.com/article/06/12/07/HNopenxmlastandard_1.html ) This is an XML standard for expressing documents. Does this have anything to do with the XPS standard used by documents in WPF If so, what's the relationship If not, why does WPF not support the standard which MS has pushed into being a new standard for expressing documents Thanks for any insights. AFAIK, OpenXML competes more with Office's XML formats. XPS is a print ready format that competes more with PDF than anything else. HTH, Drew ...Show All

  • .NET Development Working with XSD.EXE generated classes and CDATA sections

    I've generated a class hierarchy using xsd.exe against a 3rd-party provided .xsd schema file. I can create the objects and get the appropriate elements, attributes, etc. as desired. After I create the object hierarchy and specify all the appropriate elements, attributes, etc., I serialize the objects to a .xml file using XmlSerializer. I'm having one challenge writing a .xml file in the way that it's supposed to be written (per some example output that the 3rd party has supplied to me). One of the elements will have its "inner text" set to a CDATA block. The XSD.EXE tool exposed a "Value" property on that element to allow setting that inner text. If I simply specify the "element.Value" property to the string d ...Show All

  • Visual Studio Express Editions Why doesn't my textbox work ?

    I've used the following code in the TextChanged event of a textbox, which I except to take only letters and control keys as an input, but it not taking any input at all! Here is my code: If Not Char.IsLetter(e.KeyChar) Or Not Char.IsControl(e.KeyChar) Then e.Handled = True End If Regards! Hi, Try using the keydown event as follows to test for the keyCode, keyData or keyValue Private Sub TextBox1_KeyDown( ByVal sender As Object , ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyDown Select Case e.KeyCode Case Keys.ControlKey TextBox3.AppendText( "A CONTROL key pressed!" & NewLine & NewLine) Case Keys.CapsLock Tex ...Show All

  • Windows Forms displaying enum's to a user

    hi there, //example enum: public enum Status { New=0, Modified=1, VeryOld } //using enum: myobject.Status=Status.VeryOld //example of displaying it to the user: myobject.Status.ToString(); The user will see the "VeryOld". How can I actually store the spaced value in the enum i.e. "Very Old" or do I have to manually check the enum and then add the space This is not possible. You can use a translation class, that translates a enum value to a localized string for het user, like: public String GetString( Status value ) { switch ( value ) { case Status.New: return "New"; } } ...Show All

  • Microsoft ISV Community Center Forums Avoid Temp File Creation by Excel

    Hi All I open a couple of Excel Workbooks through VB Code, save and close them. At times, not this has become often, temporary files (like 09fe45fsf) are getting created and the Workbook, which I intend to save is not getting saved. How to avoid Excel creating Temp Files My workbooks are not shared, but have links to other workbooks Many thanks in advance Shasur Hi Shasur I have experienced the problem you describe, the problem was not Excel but the stability of our network. If you lose the connection to a mapped drive / network folder and it re-establishes while you are working, you cannot save the file , but excel saves it using a combination of letters and numbers. ...Show All

  • Visual C# How to add design information to classes?

    When I type in a class from .NET Framework a small yellow-ish textbox pops underneath it and gives me a little information about that class/ variable. My question is, how can I add that kind of information to my own classes 10x in advance Asked and answered, see http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=461398&SiteID=1 ...Show All

  • Smart Device Development Access Windows Mobile 2003SE phones contacts and Calendar

    Hi, I am quite newbie to windows mobile developing, and I was wondering if you could help me with this question. I'd like to create some sort of sync app, so it needs to access the phones calendar and contact database. I searched on MSDN about this topic, but I only found solutions for Windows Mobile 5, but I need this for 2003 SE. Could you help me about this thanks, Zoli I googled a bit after this, and I found this: POOM is the Windows Mobile 5.0 Pocket Outlook Object Model But I need to do these on Windows Mobile 2003. Or did I missunderstood something Anyway, I will check it out, once I get home. Thank you ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Bug in BoundingFrustum.Contains()?

    If i write the following code: BoundingFrustum f = new BoundingFrustum(new Matrix(1, 2, 3, 4, 5, 6, 7, 8, 9, 8, 7, 6, 5, 4, 3, 2)); Vector3 vector = new Vector3(1,1,1); BoundingBox box = new BoundingBox(vector, vector); ContainmenType t; t = f.Contains(vector); Console.WriteLine(t); t = f.Contains(box); Console.WriteLine(t); I'd expect both to give the same answer. Either both are contained or both are disjoint. However the Frustum contains the point but the box is disjoint. What's going on That can't be right. Suppose i have two spheres of radius 10 one centered at 0,0,0 the other centered at 0,0,5. They have the same volume, which by your logic means they are Contained. Yet they most definitely are not c ...Show All

  • Visual C# change first line of a file

    Hi, I have a big-sized file and I want to replace the first line of my file with some text then save changes to the same file: for example : abcd efghij klmnopq rst uvw ======>>> some text1 some text2 efghij klmnopq rst uvw What is the most optimized way to do it thanks in advance. one way would be to read the entire file in a string[] array, the modified the first element of the array (or whichever line) and save it back. This can be done like so, for example: string [] theFileContents = System.IO.File.ReadAllLines( fileName.txt ); if (theFileContents.Length > 0) { theFileContents[0] = "New Value"; //sets the new value of the first element in the array (the first line ...Show All

  • Smart Device Development Why the toolbox is empty for smart device project in my VS 2005?

    I just installed VS 2005. I created a new smart device project. But I noticed that the toolbox is empty. Then I created a windows application, everything is OK. I am confused. Did I miss something during my installation Thanks. Toby First, thanks very much for your advise. But I still have some difficulty here. My version is professional edition. The system on my ppc is WM2003. I downloaded the first file you listed. When I tried to install, it showed that it is for embedded c++ 4.0. Not for C#. In addition, when I tried to deploy my project. A message box showed that "no such interface supported". Is that because I did not install proper SDK Thanks. Toby ...Show All

  • Visual Studio Team System Load test - page load time

    After running a load test, I examine the table view of the test result statistics. I have a question regarding the Ave/Min/Max etc shown in "Table: Pages". Are these numbers showing the time for the .aspx page to be fully rendered The load test does not actually render the page, it just downloads all of the data required to render the page. The timings you're looking at do not include rendering. ...Show All

  • Visual Studio 2008 (Pre-release) Performance when using with WCF

    When I use the entities within a WCF muti-tier service, the performance is terrible. I am guessing that it is trying to search for the WCF transaction I have not specified any WCF transactions, and am using basic http binding. The performance is so bad that the WCF service is timeouting even when i set the timeout to about 1 min. Has anyone out there used entities in a WCF service I think what we should see here is some way to take a "live" entity and disconnect it from the underlying model so that there are no traps for property change events and no attempt at remote identity management, etc - that would enable you to pass disconnected entities around across AppDomain barriers. I don't ...Show All

  • Visual Studio tasks I would like to see added to MSBuild

    Hi; Here is my $0.02 worth on what I would like to see added to MSBuild: Better documentation. (The documentation in the VS 2005 doesn't even include the Message task - and the documentation for GenerateBootstrapper is totally insufficient to use it.) rename a file (needed because GenerateBootstrapper always creates setup.exe). move (not copy) a file. sn.exe signcode.exe zip & unzip nunit - with an attribute to set a directory to place output logs for each test file. A clearer way to build projects in a solution file - or at least clear documentation for how to do it now. thanks - dave 4/5: There is a task called Microsoft.Build.Tasks.SignFile. I'm not if it is for 4 or 5. 8. Solution is just a li ...Show All

  • .NET Development Dns.GetHostEntry problem

    I have a Server Named "MyServer" with an IP Address of "10.6.3.79" I'm having a problem with one particular IP Address. If I use Dns.GetHostEntry("MyServer"), I get the IPHostEntry object. If I use Dns.GetHostEntry("10.6.3.79"), I get a SocketException. Finally, if I use the deprecated function Dns.GetHostByName("10.6.3.79"), I get the IPHostEntry object. I only get the error (as far as I can tell) when I use this one particular IP Address. Does anyone have an idea as to what may be going on Here is my code: Example 1: strHostName = "MyServer"; IPHostEntry iph = Dns .GetHostEntry(strHostName); // Works Example 2: strHostName = "10.6.3.79"; I ...Show All

©2008 Software Development Network