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

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

ahmedilyas

Member List

AVVIT
Harkernator
Bart Goltstein
EastShores
Sébastien Nunes
Alan Robbins
Nick Forte
William Lowers
CliffW269333
KoenP
alicia123456
DotNet Programmer
armie
WalasalaW
ETJorg
DeltaOps101
aoky
Carlos Mendonça
ReneeC
Berky13
Only Title

ahmedilyas's Q&A profile

  • Visual Studio 2008 (Pre-release) How to bind to Grid.Row and Grid.Column?

    I have class that has 3 properties: X, Y (both are int) and Type of type string. I'm trying to use ItemsControl in following way: <ItemsControl Margin="10" ItemsSource="{Binding ElementName=thisWindow, Path=<collection-of-cells>}"> <ItemsControl.Template> ... </ItemsControl.Template> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <Grid> ... </Grid> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> <ItemsControl.ItemTemplate> <DataTemplate DataType="local:Cell"> <Button Content="{Binding Path=Type}" Grid.Column="{Binding Path=X}" Grid.Row="{Binding Path=Y}" Width="20" Height=& ...Show All

  • SQL Server MDX Query "paging file too small" problem

    ...but the SSAS 2005 server is running on a machine with a 12 Gig page file. Although it is a big select statement (with "intersect()"s and "hierarchize()"s and multiple cross-joins), I would expect the query to complete successfully. If there is a shortage of memory, I would think the server would simply make use of the paging file (all 12 Gig). The machine is an HP dual-IA64 server with 4 Gig of RAM running W2K3 SP1. The SSAS 2005 instance has been upgraded to SP1 recently. Any ideas Thanks! Hi, Hippunky! Thanks for replying. The machine has both IIS and the full "suite" of SQL Server services installed (Sql Server, SSAS, SSIS, RS, SQL Agent, etc.) The SSAS installation is the full ( ...Show All

  • Gadgets Creating GOOD graphics for gadgets...

    I use Adobe Photoshop to make my images and I was wondering what other people use. I think the images in the MSFT gadgets look cool, but I'm not even close to knowing how to make such good looking images. The code is only part of it right, many of the custom gadgets I see have kind of a crappy look. Ok, this includes mine too.. as I said, I want to learn.. So what's a good site to learn how to make 3d or Vista type images Would someone suggest another tool than Adobe Or, if Adobe is good, then any tips, tricks, links to make cool images Thanks! Thanks for both replies. Sounds like I have the proper tool, but just need to learn it some more. I can do the rounded edges rectangles, which actually took me a while to figure out. I w ...Show All

  • SQL Server Creating tables with SQL Scripts

    In sql server 2003 I would create tables with generated sql scripts. This way I could easily create duplicate dev environments. Now in SQL 2005 Dev edition I try to run my scripts to create tables. I create a db [MSS]. They run successfully but there is no table created. (example script)USE [MSS] GO /****** Object: Table [dbo].[KataNames] Script Date: 08/17/2006 13:28:14 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING ON GO CREATE TABLE [dbo].[KataNames]( [Kata] [char](30) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [SequenceId] [int] IDENTITY(1,1) NOT NULL, [Description] [char](500) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Style] [char](25) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ) ON [PRIMARY] G ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Mystery function in Game.Run using more CPU than Update+Render

    I implemented multi-light shadow maps in my XNA game engine and I am experiencing a pretty significant slowdown. I checked with PIX and I seem to be at a reasonable number of DrawPrim (under 50) and SetRenderTarget (single digit) calls per frame. The shadow map shader is based on the D3D9 sample. I had the Task Manager open and I spotted my game was only using about 60% CPU (I have only a single core processor). My profiler shows this: 48.92 % Game.Run... - 10384* ms - 0 calls 13.82 % function * - 2933 ms - 987 calls - class . function *( parameters ) 7.34 % Draw - 1557 ms - 329 calls - SharpX.Game.Draw(GameTime) 4.94 % Update - 1050 ms - 620 calls - SharpX.Test.TestGame.Update(GameTime) 1.71 % MouseSubClassFunc - 363 ms - 401 ca ...Show All

  • Visual C# How to read data piece-by-piece from a text file?

    Hi, Here is the sample data in my text file: 0x00010x00020x00030x00040x00050x00060x00070x00080x0009 0x00010x00020x00030x00040x00050x00060x00070x00080x0009 0x00010x00010x00030x00040x00050x00060x00070x00080x0009 0x00010x00020x00030x00040x00050x00060x00070x00080x0009 0x00010x00020x00030x00040x00050x00060x00070x00080x0009 0x00010x00020x00030x00040x00050x00060x00070x00080x0009 0x00010x00020x00030x00040x00050x00060x00070x00080x0009 0x00010x00020x00030x00040x00050x00060x00070x00080x0009 0x00090x00010x00020x00030x00040x00050x00060x00070x0008 0x00090x00010x00020x00030x00040x00050x00060x00070x0008 0x00090x00010x00020x00030x00040x00050x00060x00070x0008 0x00090x00010x00020x00030x00040x00050x00060x00070x0008 0x00090x00010x00020x00030x00040 ...Show All

  • Windows Forms How do I filter a BindingSource using the Child token?

    I have to DataTables with a parent-child relation set between them. The BindingSource object is bound to the Parent table. Is there a way of applying the filter with search/filter criteria specified for the child DataTable I've tried: ParentBindingSource.Filter = "child(RelationName).aChildCol='strToFilterOn'" but I get an error "Cannot interpret token 'child' at position 1." Any ideas on how this can be done After some research I've seen comments stating that Child can only be used with aggregate functions. Is there a way to use any aggregates to achieve the above Thanks, Nate This functionality is kind of important. Does anyone out there know an alternative to ach ...Show All

  • Visual C# timing and "scheduling"

    i have to write an application to do some stuff, firstly i need it to be "always on" and i need to be able to   have "schedules" in the application, every 20 minutes, once or twice a day at certain time etc....   i guess that using a windows service and utilising the system.threading.timer class would be the best way to go about this... are there any other, maybe better, ideas about how to tackle this this is the class that will select the schedule and implement the threaded timer.. (note: proof of concept, first draft) using System; using System.Collections.Generic; using System.Text; namespace CM12UInterface { enum ScheduleType { Minute, QuarterHourly, Hourly, ...Show All

  • .NET Development How many CLR Instances is created when multiple windows application is running on single OS ??

    Hi, I have seen many sites for dotnet that say all the AppDomains are created in single OS process and AppDomains hosted in the same Windows process share the same resources such as the CLR,the base .NET types, the addressing space and threads. So my question is how many instances of CLR will be created when multiple windows application is invoke in a single OS. and how many Garbage Collector will work in this case Thnk.. Fey Thank you Michael, I am very much satisfied with your answer now and my query is also solved .. but can you please explain the same scenario for the multiple ASP.net web applications running under single Web Server. Because .. what I know in ASP.net is that all the application ...Show All

  • Visual Studio Express Editions Any way to prevent Visual Basic 2005 IDE from saving my project before I try my program out?

    I'm quite careful to save changes I want to have saved, in case something unexpected happens and my program crashes, taking the whole IDE down in the process. However, sometimes I make changes to my code that might be risky, or just plain experimental "what if" changes that I do not want to save in my project until I have tested them and verified they aren't harmful and are worth keeping. Yet, every time I click on the green "play" icon (or Debug menu, Start Debugging) the IDE saves my project, integrating the changes I wanted to test before deciding if they should be saved. Is there a way to prevent the IDE from saving my projects automatically SJWhiteley wrote: Conver ...Show All

  • .NET Development TimeSpan data type in DataTable.Select

    Hello, I need to filter a data table based on TimeSpan values in a column Is there any one who could help me on the syntax to use I have tried the following: ColName<='10:00:00'  =>Error : Cannot perform '<=' operation on System.TimeSpan and System.String ColName<=Convert('10:00:00',System.TimeSpan) =>Error : The String '10:00:00' is not a valid TimeSpan value The following works about the syntax but gives wrong results Convert(ColName,System.String)<='10:00:00' So, what is the right expression   Thank you for submitting the bug report bhv...I have voted To all other forum participants please take the time to place your vote: https: ...Show All

  • Smart Device Development How to use RegisterRunningDevice

    Hi all !!!!!!!!!!!! I'm on an important project of network device developping. I made a UPNP AV Control Point that works very well. Now I'm building a MediaServer device and I'm facing a problem about register the device. I did my own implementation. Since it doesn't work, I tried the example provided by the microsotf SDK and I get the same error after calling IUPnPRegistrar::RegisterRunningDevice. the return result of the function is 8004a025. I searched the meaning of this value and I didn't obtain anything. If somebody can know the meaning of this or the causes of non-running of this function, I'm waiting your contibutions because without running the function I canont progress. Thank you very much. ...Show All

  • Windows Forms Implementing DirectX in Windows Forms applications

    Recently I installed the DirectX SDK (June 2006). It took me forever to figure out how to reference DirectX so I could use DirectX in my code. What I want to know is are there components/controls I can add into the toolBox that were included in the DirectX SDK for use in my Windows Forms Application ...Show All

  • SQL Server DataReader output column length

    Hello, I have an ODBC connection manager to a Progress database. In that database there is a column declared as a string of 10 characters long. However, some data in this column is actually up to 15 characters long. This makes my DataReader Source fail everytime I try to run my package because it sets the output column like this : Datatype : Unicode string [DT_WSTR] Length : 10 Is there any way to solve this without changing the datatype in the Progress database (that is beyond my control) tanks in advance ... Jamie Thomson wrote: Really OK, I take it back. Sorry. That's just....bizarre....for want of a better word. I think you'll be able to go into the Advanced Editor of the Dat ...Show All

  • Windows Forms Combo Box problem

    Hi There, I have simple form which has 2 combo boxes. Both combo boxed display list of account numbers from the database. Now the problem is......... when I change the account number in one combo box, account number in the othe combo box is changed automatically to same account number which I select in the 1st one. Here is the simple code : -------------------------------------------------------------------------------------------------------------------------------------------- using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using MySql.Data; using System.Threading; using System.Configuration; namespace Ac ...Show All

©2008 Software Development Network