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

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

aaziz

Member List

jacobsologub
John.Doe
SoniaJulka
Aleniko29139
Jordan Carroll
Gabriel Méndez
JeZteRicp
Bruce VB111480
kemal
Jassim Rahma
Todd A Herman
Vassilux
TechedRonan
BarataMota
Vale Surfer
canadian_coder
cynthia sheridan
Mike Greiner
giorgos_gs
Pascal Frey
Only Title

aaziz's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Crazy Hiccups

    Any general guidelines for looking into and dealing with crazy hiccups on X360 Every minute or so there'll be a good 0.5 - 1.0 second lockup followed by business as normal. Garbage collection runs a lot faster than that, like several times per second, right Thanks. Ok--glad to report that the friendly name was the issue (I read about the "friendly name" on the MSDN page on running RPM, but they had no explanation on what a friendly name was--maybe they should put up some explanation). I got the right friendly name working, and am pleased to say that I can monitor performance now, and actually improved on the state of things (albeit slightly). I got the latency from 13000ms to 7000ms (still to high). But it's a start! Than ...Show All

  • Visual FoxPro using amouseobj to determine current position.

    I'm trying to open up a form and position it right where the user clicked the mouse. I'm trying to use amouseobj to get the current position of the mouse but for some reason I'm having problems doing so. Can someone please give me an example of how to use amouseobj() Also, if there is a better way to do this, please let me know. Thanks. Alex; I do know the syntax. But I'm not sure how would one find out what is the absolute coordinates of the object under the mouse. If I have an object in a grid, within a pageframe on a form, do I need to traverse the objects all the way to the form and add up their tops and lefts, or is there a better way to achieve that I'm tring to open a form a ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Possible that Update() is multi-threaded?

    I'm getting a REALLY strange exception. It only occurs when I run my game via Ctrl-F5 (rather than F5) and even then I can't always reproduce it. It's in a bit of code that is simply a foreach-loop on a List<> of Particles and calling Update(elapsed) on each of them. The error occurs on the first line of Particle.Update() which is "base.Update(elapsed)" which calls the Sprite class' Update()... which has no indexes in it. At the end of the loop I look for any particles that need to be removed from the list and do so. Based on what little debug information I can get, it looks like it's an internal error in System.Collections.ListDictionaryInternal... Count is zero, which pretty much should never be the case... there's alw ...Show All

  • Software Development for Windows Vista Certified for Vista - TEST CASE 15

    I have a question, regarding Certified for Vista, TEST CASE 15. Verify application installs to the correct folders by default (Req:2.3) and which one it says: 6. Default install directories are: a. Native x86 and x64 applications i. Program Files - %ProgramFiles% ii. User’s AppData - %APPDATA% iii. ProgramData – ALLUSERSPROFILE% Our application has 2 kind of shared user data: 1.) Sample data that is the same for all users, that is copied at the install time, at may be modified by users at application run-time 2.) License data (serial number) that is the same for all users, that is taken from user input at the install time, and also sholud be written at install time to a shared folder. In witch directory should I put this kind of ...Show All

  • Visual Studio Tools for Office Quicker way to write items to worksheet?

    Hi, I have a collection of objects that contain data items within them. I use the following code to write them to a table on an Excel spreadsheet using VSTO. However it seems incredibly slow. Is there a better/quicker way to do this. foreach(MyItem item in myItems) { for(int itemIndex = 0; itemIndex < item.Length; itemIndex++) { currentRow.get_Offset(0, dateColumnIndex).Value2 = item.getValue(itemIndex); } currentRow = currentRow.get_Offset(1, 0); } Thanks in advance. Ben. Hi Ben The fastest way in Excel is to create an ADO (not .NET) recordset with the items, then use the CopyFromRecordset method to drop then into a range. Barring that, I'd try putting the data into a text delimited ...Show All

  • Visual C# Difference between 'string' and 'String'

    Hi I would like to know the difference between 'string' and 'String' in CSharp 2.0. I had thought that 'string' mapped onto the Framework Type 'System.String' but I got a code compile error that I cannot explain. I am using Visual Studio 2005 (but I have also installed SP1 Beta). Consider the following two lines of code. private static String _uid1 = new String(Guid.NewGuid().ToString()); private static String _uid2 = new string(Guid.NewGuid().ToString()); The code for uid1 generates an error but not for uid2. The code for uid11 states the error is because 'System.String' does not have a constructor that takes a parameter of type 'String'. So what is happening so that uid2 does not generate an error Is there some implicit conversion ...Show All

  • .NET Development Best method to insert the content of an XmlWriter into another XmlDocument?

    I have an XmlWriter stored as a MemoryStream. I would like to insert it into an existing XmlDocument. So far I have loaded the XmlWriter into its own XmlDocument and then imported the nodes into the existing XmlDocument. Is there a better way using XmlDocument of doing this Thanks, Tad p.s. I have used the CreateDocumentType (see below) in my code but it appears incredibly slow. Is there a faster method of creating the Document Type element When I tried it on my XmlWriter it raised an error. xmldoc.AppendChild(xmldoc.CreateDocumentType("svg","-//W3C//DTD SVG 1.1//EN","http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd",null)); Sergey, My goal is to generate an SVG ...Show All

  • Microsoft ISV Community Center Forums Can't make ISEVEN() work

    Problem solved! See code further down But I am still interested to now why ISEVEN() wouldn't work! Hi all, I having trouble with the ISEVEN() function. I wrote the following code without succsess. Error 'Sub or function not defined' appers when compiling the code.. I tried the command directly in a workbook with out success. It returns #Value for =ISEVEN(1) I have checked Analysis Tool-Pak VBA in Add-ins.         i = 1         For i = 1 To myLegends.Count         .ApplyDataLabels Type:=xlDataLabelsShowLabel, _                &nbs ...Show All

  • Visual Basic How do I load a picture from resource file into a picturebox?

    -Visual Basic Express 2005- I have a resource file and have included all my images into. I need to load hundred.jpg into a picurebox when a certain event occurs. I hope to get the simplest line of code possible to do this Can anyone please help Thanks in advance :) This should work. PictureBox1 .Image = My .Resources.<Name_of_res_file>.<Name_of_image_resource> ...Show All

  • Visual Studio Team System what is the main difference between stepload and constantload

    if we are using stepload,it will simulate the realtime scenario. vusers will be logged on different intervals. if we are using constantload, it will simulate vusers at a time. Apart from this,any other differences are there............. 2)How the ocracoke will load the users: a)if i am using 100users(constant load) ,100 users will be hitting the page at the same time. b) when using stepload, : intial user:20 max:100 stepounct:10 step duration:10 how the users will be hitting if i want to do loadtest for a homepage. Thank's for ur reply. 1.when running the loadtest for 5000 users, can i get the avgpage time for 1000.1500.2000...... during the loadtest. 2. How to make the cpu target/utilization as 75 ...Show All

  • Visual C++ Redistributing with SP1?

    This has already problem been asked and answered, but I couldn't find another post or article to this effect. I installed SP1 for Visual C++ Express Edition yesterday. Installation went smoothly, and my apps compiled and ran fine. However, when I moved my apps to another computer I got the error "This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem." I checked to see if the VC 2005 runtime( availble here ) was present and installed, and it was. I finally concluded that SP1 requires a different redistributable. I have everywhere on MSDN but haven't yet found it. I also searched on my computer, but I couldn't find it there either. Please, coul ...Show All

  • SharePoint Products and Technologies Task assignement

    Hello: I want to assign a task to a person, but I dont have his name in the 'Assigned to' box. He has permission to access the site where I want to assign the task. How do I add this person to the list Can I have all the persons who have access to my portal in that menu Regards the drop down with people names is populated from the user list for that site (accessible from site settings). note that this list does not list all users with permissions to the site - just users who you added one by one (not part of a group) and users who visited the site. I hope that makes sense. ...Show All

  • Visual Basic Access 2003 after update event not triggered

    A main form consists of a series of dates when various procedures are completed and a report is filed. Code is executed for the After Update event for each of these date fields to determine when that Last Report was filed and this date is stored in a field for that purpose. A few of the procedures could occur more than once during the whole process so a secondary form is opened with a button to enter the last occurance of this procdure. This secondary form updates the field on the main form for this procedure with the last update date. However, the after update event on the main form is not triggered by this programatic update and therefore the Last Report Date is not computed and stored. Its as if the field has not even been changed and ...Show All

  • SQL Server where can i put my stored procedure

    hello friends i am doing databases shrinking.i take connection as as admin of sql. every thing is write i need to shrink all my databases. i written one stored procedure ALTER PROCEDURE [dbo] . [SHRINK_SP] ( @TABLE varchar ( 15 )) AS SET NOCOUNT ON ; EXEC ( 'DBCC SHRINKFILE (' + @TABLE + ', 0)' ) EXEC ( 'DBCC SHRINKTABLE (' + @TABLE + ', 0)' ) but i dont know where to execute this stored procedure if i execute this stored procedure in one datbases its working remaing thigs its not working how to solve my problem anybody help me.. thanx if tlogs is not important 1.  Rightclik the database clik properties goto to  option tab in the model dropdown selec ...Show All

  • Visual Studio Express Editions How to use DllImport and Fix the error ?

    Dear everyone, I have written a managed C++, and then used it to C#. I have written the code like this ======================================= [DllImport("ManagedFour.dll", EntryPoint = "Test")] public static extern void Testing(); ======================================= in order to call the Test in the dll. However, there is an error like this: ========================================================= Unhandled Exception: System.EntryPointNotFoundException: Unable to find an entry point named Test in DLL ManagedFour.dll. at CSharp.TempObj.Testing() at CSharp.TempObj.func() in c:\vsprojects\managedc++\csharp\class1.cs:line 17 at CSharp.Class1.Main(String[] args) in c:\vsprojects\managedc++\csharp\class ...Show All

©2008 Software Development Network