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

Software Development Network >> Grace SQL's Q&A profile

Grace SQL

Member List

Matrixchyah
ivods
Will Merydith
hacker_eg
Learning VB
hwiz
AndyL
mehran farshadmehr
SolveIt
jwagner20
bslim
Gene R S
Zooz
VitCon
David Regan
Can-Ann
Steffanp
MajorDad
swapna_n
GJVH
Only Title

Grace SQL's Q&A profile

  • Visual C++ Strange 'new' behavior

    Consider the following code: int** a = (int**)new int[][2]; // compiles ok int** b = (int**)new int[]; // compiles ok int** c = (int**)new int[2][]; // generates C2087 If I'm interpreting CPP2003 correctly, none of these are valid, as the expression inside the []'s is supposed to be a constant integral expression, which I doubt the empty expression is. In any case, why do the first 2 compile but not the 3rd First we need to know how C++ implements multidimensional arrays. Multidimensional arrays are just a block of memory containing the array values, they are NOT array of pointers to other arrays as you seem to think by casting the result of new int[][2] to (int **). int **a = (int **)new int[][2] ...Show All

  • Visual Studio Team System Searching Work item history

    Was it intended to allows for a text search in the history field using the query builder If I do a query on history using the 'contains' for a common word, nothing is returned Being able to search on the history would be very usefull to find items quickly instead of searching on fields individually Thanks B. Huard InCycle Software OK that is what I though (other posts lead me to believing the contrary). It would have been nice to search for any text in one field (currently you have to search each field individually with a series of OR statements). I have read other posts where a quicker search mechanism is being considered for future releases. Thanks ...Show All

  • Windows Live Developer Forums VEColor alpha 0.0 is as opaque as 1.0

    My observation, working a little bit with polylines, is that the A property of a VEColor does not work exactly as advertised in the SDK. While transparency 0.0 is meant to be transparent, 0.0 seems to be identical to 1.0. I am using IE6. Anybody else see this An obvious workaround is to use an alpha of 0.001, which looks pretty invisible to me. Yes, it DOES seem silly to be drawing invisible lines, but that's a separate issue. Can the polyline be fixed to behave as the documentation says it ought to It's nice to see the rollout of an improved SDK. Keep up the nice work! Any idea when MSFT will be giving us classes to support working with collections (creating, renaming, adding & deleting pins, etc) Thanks! Yeah i ...Show All

  • SQL Server OPENROWSET T-SQL function

    Hi everyone, I have some doubts about OPENROWSET T-SQL function . According to my knowledges about this, openrowset function provide us to use a data from a different Server only that time that we use this function. After we use this function, there is no any linked server trace on the local server. So is this true I see that everyone use different parameter for this function. For instance, everyone firstly use OLE DB name and then the second srvprovider name changes programmer to programmer, so why And lastly, I wonder about the relationship between ad hoc method and openrowSet function. Thanks The table shows the ways that a linked server can be set up for data sources accessible through OLE DB. A linked server can be set up us ...Show All

  • SQL Server Could not start the ASP.NET service on local computer.

    Error 1069. The service did not start due to login failure. I can't get a domain login account with domain admin rights to start the service. The only way I can start the service is with the LocalSystem account, which isn't a good solution because it's not networkable. Thank you for any advice you have. The configuration tool should pick up ASP.NET account from machine.config file. It will not let you type in if you are on IIS5. Are you seeing blank "ASP.NET service account" box I am still confused when you talk about "starting the service". Which service is this (What is the name of the service in service controller manager ) RS has a windows service that is named "S ...Show All

  • Windows Forms Numeric DataGridView column

    Hi, I have some columns on my DataGridView instance in a C# application, for columns which contains Numeric type (like double and decimal) I want prevent user from entering alphabetical characters in these columns( currently I check it in cellValidating and if there is alphabetical characters I set the error text in DataRow ) but I want let user just enter integers. I’d be thankful if anybody can help me. Thanks in advance, Saeideh There are two ways I can think of to do this. Use the DataGridView NumericUpDown column sample . Use the MaskedEdit example in the datagridview samples . ...Show All

  • Visual Studio Express Editions Breaking a long code line?

    How can I break a long code line Yes, I do need the space first. Didn't notice it in the first answer. Trying to make it work with a string in quotes but can't. eg Me.Text = "........................................................ _ ................................" ...Show All

  • Visual Studio 2008 (Pre-release) Button Sub-class - "IsPressed" not being set?

    Hi all, Can i just firstly say what a great place this is for WPF help - one of the few on the net! Ive sub-classed "Button" (TaskButton) and given it a couple more d.p's and a custom control template. Im trying to set the colour of one of my borders gradient stops inside my control template by using "Button.IsPressed" inside my triggers section. This never gets set though, hence the colour never changes, i was wondering if sub-classing "button" is somehow causing the issue See below for the code: < ControlTemplate x:Key = " TaskButtonTemplate " TargetType = " {x:Type local:TaskButton} " > < ControlTemplate.Resources > < Storyboard x:Key = " Time ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. [c#] Mesh.ComputeTangentFrame throws InvalidDataException

    Hi there! the subject is my great problem... i doublechecked everything, but cant seem to find any solution... i consulted samples and tutorials, no luck. what is wrong here what am i missing the code : velements = new VertexElement[] { new VertexElement(0, 0, DeclarationType.Float3, DeclarationMethod.Default, DeclarationUsage.Position, 0), new VertexElement(0, 12, DeclarationType.Float3, DeclarationMethod.Default, DeclarationUsage.Normal, 0), new VertexElement(0, 24, DeclarationType.Float3, DeclarationMethod.Default, DeclarationUsage.Tangent, 0), new VertexElement(0, 36, DeclarationType.Float3, DeclarationMethod.Default, DeclarationUsage.BiNormal, 0), new VertexElement(0, 48, Declarat ...Show All

  • Visual Studio Cannot open En_vs_2005_Pro_90_Trial.img file. This is microsoft visual 2995 trail version. Pleae Help?

    I am NEW, know nothing about programming. I wanted to download the trial version and learn something about programming in the hopes of automating my work. I cannot open the trial version..... .img file. Help, please I cannot burn it to DVD because it says there is not enough space on the disk. When double-clicking the file, I get the message "Cannot read file header!" "Unknown file format or file not found!" Again, know nothing about programming. This is my first stab at learning. I don't know the lingo. Just need help opening the file so I can learn the visual studio program. I bought a book from barnes and nobles to teach me the language and such. Thank you in advance for your help.   &nbs ...Show All

  • SQL Server Date contol issue.

    Hello, In the date control parameter while user open the calendar he can change the year at the top of the control by click in the year and he get up and down arrow. When user go to old year ther is a problem with the calendar. Any idea The user not select a date. While you open the date control, at the top click on the year (e.g 2006) when you click on the year you can down or up to get 2005 or 2007. If you start to down to 2005,2004... you see that the calander miss dates ...Show All

  • Smart Device Development Hiding the taskbar...?

    Hello, I want my program to run as a fullscreen program.I mean the user shouldn't be able to access the task bar.I have a sample to hide it,but it uses user32.dll but CF.NET complaint about this .dll. so what's the way to do this I want the user to only use my application.he/she mustn't be able to switch another application.I thought hiding the taskbar is the solution for this.is there another way Thanks in advance hi, there is no more details that this, it is pretty simple. you can hide the bar at the bottom, which contains the "new" button, by removing the mainmenu1 control found by default in any new form. you can hide the bar at the top, which contains the start menu button, by changing the Wi ...Show All

  • Visual C# using array lists

    I need an array like variable type that will automatically resize based on how many numbers are in it. After consulting my c# book, it seemed like an arraylist would be my best bet. After creating my array list, and adding some numbers to it, I realized that I had no idea how to read numbers from it. I thought it would be like reading numbers from a normal array, but this gave an error saying that I was trying to convert an object into an integer. heres what I tried (sorry the code is pretty crazy) for (int counter = 0; counter < gcGalaxSetup.gInSystem.Count ; counter++) { Matrix kartMatrix = Matrix.Translation(gcGalaxSetup.gShip[gcGalaxSetup.gInSystem[counter]].Position); ... gInSystem is my arraylist (or rather it re ...Show All

  • Visual Studio Tools for Office Outlook Add-in Not Loaded :runtime error HELP HELP

    Deall ALL, I installed the following in the client machine Office 2003 SP2 framework 2.0 office tools runtime MS PIA the Patch KB908002 lockbackRegKey.msi extensibilityMSM.msi office2003-kb907417sfxcab-ENU.exe all did all of the above and no luck to get my Outlook- add in working in the destination machine BUT IT WORKING PEFECTLY in my DEVELOPMENT MACHINE plzzzzzzzzzzz help HELP Hussain, Are you seeing any errors when starting Outlook from the command line with the environment variable set (as I mentioned above) What is the error Also, make sure the add-in is not disabled as in the previous post. Cheers, ~Joe ...Show All

  • Visual C# Passing properties as delegates

    Let's say I have the following: class Foo { private int myInt; public void SetInt(int i){myInt = i;} } And then somewhere else, I have this: delegate void MyDelegate(int); // Define a delegate that matches the signature of the Foo.SetInt function class Bar{ void DoStuff(MyDelegate someDelegate){ .... } // A function taking the delegate as an argument } Now I can easily pass SetInt as a delegate to the DoStuff function, no problem there. But what if I'd used a set property instead of the SetInt function, like so class Foo { private int myInt; public int MyInt{ set {myInt = value;} } } Is there any way I can then pass the MyInt property as a delegate to another function I suppose I could do it by wrapping it in an ...Show All

©2008 Software Development Network