Sapna's Q&A profile
Visual C# How To iterate Through array 2 dimension
how to eterate through array which have 2 dimensions from 0 to 255 and the result of looping must be array also 2 dimension the the first number is to represented number and the column the number represented how this number repeated in the array .... for example [ 0 0 0 1 1 8 8 5 ] [1 2 1 5 5 5 6 6 ] the target array from this array must be as follow : [0 3] [1 2] [8 2] [5 1] and [1 2] [2 1] [5 3] [6 2] Please help me for this problem just for i'm still fresh graduates Sooooooo thanx the sample is very very good but in the first solution if i want to count the time for each element in each rank in the array in separated each with other i mean every rank number of repeated element i want the ...Show All
Visual C# Debug doesn't launch programs
My VS suddenly stopped onening WindowApplication projects when I debug them. When I type F5 the screen flashes but no window with my program appears. If I try to doubleclick on the file in the Debug directory of my project the windows just flashes and disappears. There is nothing wrong with the program and I tried many other programs as well. Is it a preference or something, has anyone experienced the same thing I had the same problem. It turned out to be a problem with my keyboard. Somehow I managed to turn off the "function lock" mechanism, so hitting F5 had no effect. If you're using a Microsoft Natural keyboard, you may want to check for this. ...Show All
Architecture Hosting Long Running Batch Processes In IIS 6
I am currently architecting a framework that will depend on IIS to host batch oriented code. The design will use a disconnected model with a controller (that lives remotely) and checks back periodically via an ASMX layer. When invoking the actual batch execution code the ASMX call will spawn as many threads as it is configured to run and immediately respond (hence avoiding any long running HTTP connection). I like the idea for a number of reasons, obviously I get to use a standard communication protocol to invoke the batch code across tiers and I can even incorporate standard load balancing routines. I'm also able to use the same communication end points to check back in on the threads as they are executing. There are also a number of o ...Show All
Visual Studio Team System Email notification per folder per user
Hello! Is there anyway we can restrain the email notifications for only certain folders in the Team Project Also, not the every member of the development team checkin but just a particular developer checkin should instigate these email notifications. Thanks! Hi sunny: It seems that we have tried everything we thought of so if possible can you contact tech support and see if they can help you. Mention or reference this thread so they can contact us and we can then work to troubleshoot your setup. thanks, mario ...Show All
Microsoft ISV Community Center Forums what OS are included in MSDN OS subscription?
Can I find all the flavors of Windows XP, original, SP1, SP2, ... Pre XP if I subscribe to MSDN OS I am trying to build several machines for webapp compatibility testing, and it would be nice if I could download any OS snapshot from MSDN, but it's not clear from the MSDN OS product index that anything previous to latest SP2 is available on disk or download. Any help would be appreciated. http://msdn.microsoft.com/vstudio/products/subscriptions/chart/ This page shows a chart comparison of all of the various MSDN subscriptions. Per the "b" footnote below the chart, the following OS versions are available: Microsoft Operating Systems, including Windows Server 2003 R2, Windows XP Profes ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Right forum? Where to obtain the source code for the XFest 06 Exploiting D3D 10 - Adv Tech talk by Shanon Drone
Is the source code available I tried searching the forums and the web to no avail. If you mean GameFest instead of XFest (which, as I understand it, is now dead) then I'm not aware of a public download for any source code. You could always email directx@microsoft.com to see if they're prepared to let you have it. But, based on them stripping some videos out of the GameFest slides, I'd imagine you'd had to of been there to get any additional material... hth Jack ...Show All
Visual Studio Express Editions Playing a WAV file once modem dials a number?
I am writing some code to dial a phone number to notify a user when some sensor data falls out of range. I would like to play a prerecorded WAV file when the phone is answered. Can this be done I make the call using: ' Dial a number via an attached modem on COM1. Using com3 As IO.Ports.SerialPort = _ My .Computer.Ports.OpenSerialPort( "COM3" , 9600) com3.DtrEnable = True com3.Write( "ATM2" & vbCrLf) com3.Write( "ATDT XXXXXXXXXXXXX" & vbCrLf) ' This is where I would like to play a WAV file once the phone is answered End Using Thnx for any help you can give me. It will be difficult to play a wav over the ...Show All
Windows Forms Can not fire ItemCommand event of in datagrid
Can not fire ItemCommand event of in datagrid I have datagrid with four itemtemplate coulmn. out of four in first two TemplateColumns(Add Workouts & Workout Count) Imagebuttons are created dynamically thru C# code. and in other two TemplateColumns imagebuttons are created in html view only. <asp:TemplateColumn HeaderText="Add Workouts"> <ItemTemplate> </ItemTemplate> </asp:TemplateColumn> <asp:TemplateColumn HeaderText="Workout Count"> <ItemTemplate> </ItemTemplate> </asp:TemplateColumn> <asp:TemplateColumn HeaderText="Edit Member"> <ItemTemplate> <asp:ImageButton ID="btnEdit" Runat="server" CommandName="EditM ...Show All
Visual Studio Team System Compiler Warnings - Can I indicate I want the build to fail?
Is there a way to indicate that I wish the team build to fail if any compiler warnings are encountered I don't know of a way of doing it in Team Build, but you could set higher warning levels on your projects and have warnings treated as errors. Swaha ...Show All
SQL Server Install SQL Server Express in 400Mhz CPU
I am installing SQL Server Express into Siemens Simatic Microbox PC .I know that minimun speed processor is 450MhzThe processor is a Mobile Intel Celeron 400Mhz, with 256MB RAM, so I have got the next error in Log file:Processing article ProcessorOpenning namespace \\root\cimv2GetNamespace \\root\cimv2 returned 0 (0x0)Scc Error: 50022 (0xc366)Error code: 70009 (0x11179)Calling callback function for reason: 0x2Callback function returned TRUEProcessing article PhysicalMemoryOpenning namespace \\root\cimv2GetNamespace \\root\cimv2 returned 0 (0x0)Scc Error: 50022 (0xc366)Error code: 70009 (0x11179)Calling callback function for reason: 0x2Callback function returned TRUECan I jump this hardware check and errors How can I continue the installati ...Show All
SQL Server Print Preview Button is click on Defaul
i am viewing the report on report viewer, i want that report preview button is clicked when report is opened in report viewer which property of viewer should be true, or you can tell me the which code is required ...Show All
.NET Development Using a dataset without a connection to a DB
Dear Sirs, I am creating an application in which I added a dataset containing 4 tables using the VS2005, include new dataset. I am only keeping this dataset to have a nice structure of the tables, and will be filling them out on the fly. However, when I try to create a new row... DataRow r2 = patternLabDataset . DataTableRankDataTable . I cant find the new row option. But if I create the entire table manually within my object, then the create new row method appears Please give me some light on this matter. Cheers, Paulo Carvalho I generated 2 datasets, one using the Dataset designer, and the other one I coded, following an example in the internet. The one I coded works out fine, but t ...Show All
Windows Forms Scrollbar class
Hello, I'm working on an app that uses 160 custom controls and more on a form with autoscrollbars enabled. When I call up another form or take other actions, the scroll bars take the form back to the origin, loosing the desired focus. I've done a "work-around" by using the application_idle event to adjust the scrollbars back to proper focus. There must be a way to simply hault their auto movement. Please advise me. Thank you very much. Steve I am not able to reproduce what you are seeing... is there any chance that within an event handler that you are setting resetting AutoScrollPosition property of your form or another one that would cause this Maybe a call to ScrollControlIntoView() ...Show All
.NET Development Security/permission problem
The J# group asked me to post this here. I have a J# class BeanResult which inherits from Object (ie no declared parent class) and it does not have a ToString method so that inherits from Object. Note, this is from java.lang.Object, not System.Object. PermCalc gives the following listing which shows a permission request from ToString which means that every class will then require UnmanagedCode as every class eventually inherits from Object. What is going on here <Type Name="BeanResult"> <Method Sig="instance void .ctor(string )" /> <Method Sig="instance void setColor(class Color )" /> <Method Sig="instance object MemberwiseClone()" /> < ...Show All
Visual Studio 2008 (Pre-release) Type Cannot Be Serialized
Hi, I'm trying to send over a System.Web.SessionState.SessionStateItemCollection as a parameter in a WCF method. Just starting the service gives the following error: Type 'System.Web.SessionState.SessionStateItemCollection' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. Now, since SessionStateItemCollection is a System.Collections.Specialized.NameObjectCollectionBase, it already implements the System.Runtime.Serialization.ISerializable interface. According to the article in http://msdn2.microsoft.com/en-gb/library/ms731923.aspx , sixth bullet item, included in the types that can be serialized with the ...Show All
