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

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

Danalynn

Member List

bhoopathi
Lee Brimelow
eslam nader
bitbonk
hennessey
Athan
NEW KID ON THE BLOCK
tovvenki
Igor_MR
Adminanup
JennyG
paso
barkingdog
sugrhigh
modtran
mfareezaw
John.Doe
IGiberson
dakota367
ThePatrickP
Only Title

Danalynn's Q&A profile

  • Visual C# System.Collections.Generic.Dictionary(T(string), T(int)) throws Index was outside the bounds of the array !!????

    Hi, Anyone have any clue as to why the hell System.Collections.Generic.Dictionary could possibly throw an exception of type IndexOutOfRangeException This is what my event logger has recorded. this is the exact section in the code. 151: if (bNr) { 152: lock (sendlock) 153: Sent.Add(tt, 0); 154: } tt being a string of value 4103-1 At that point there was 1 other element in the dictionary 4103 is a sequential number that increments via this code prior the code above. int seq = Interlocked .Add( ref _seq, 1); string tt = seq.ToString() + "-" + EndPointId; Below is the exception ! Index was outside the bounds of the array. ----------------- Stack: at System.Collections.Generic.Dictionary`2.Insert(TKey key, ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. AI Resources

    I'm reaching out to the XNA Community for some good (and free) information on Artificial Intelligence and/or pathfinding Anyone know any ...or if not free, some book recommendations I'm more referring to the rest of the Game Programming Gems book (non-AI stuff). I'm sure the AI stuff hasn't been plutoed, but I don't know about the rest of the book. Does anyone that have the book want to comment ...Show All

  • Visual C# How do I change the default language in Visual Studio 2005?

    How do I change default language in Visual Studio 2005     When Visual Studio starts it display information about C++, but I would like to change this to C# Use the Import and Export Setting Wizard: 1. Choose Tools -> Import and Export Settings ... 2. Select Reset All Settings and click Next 3. Select whether you would like to save the current settings and click Next 4. Select the settings you want to use and click Finish HTH David Kean ...Show All

  • SQL Server Analysis server cube Performance through Excel 2007

    Hello Everybody I am accessing Analysis server cube -2005 through Excel 2007 for building reports. When ever i select a row or column right click and select Filter > Hide Selected Items, it will show "running query on the OLAP server" at bottom and will not respond after that. Ran the MDX generated by Excel 2007 directly on analysis server, even then also it takes lot of time and finally it doesnt respond. I read in the forum that the sql generated by Excel 2007 is different. how can i tweak in so that cube performance improves Thanks Kiran Hi Kiran, Do you have old AS 2000 to compare performance The reason I am asking this because you can check if you have same aggregation setu ...Show All

  • Visual C# Standard output as binary

    Hi: I have a C# program that generates a PCL file. This C# will read the generated PCL file and send it to standard output because it will be called from another procedure and needs to read the standard output. The problem I have is that the Standard Output is corrupted, some characters are not the same as the originated PCL file, for example I have the a character in the PCL file but in the stdout is missing... Any ideas I just tried everything but something must be missing... hi, i guess you creat the file in c# and read it from program writen in C++ since you talk about std::out, c# use utf8 as default encoding for strings if you want to change it to ASCII which is C++ default encoding you will need to use byte ...Show All

  • Visual Studio Express Editions How to save as HTML and more

    I have a couple of questions I hope someone can help me with. First, I made a program that generates a complete HTML page. That page is displayed in a text box and I just tell the user to copy and paste the contents into Notepad and save as .html Obviously this isn't the best way to do that. I want to upgrade that by simply having a button on the program that they click to automatically save and save it as an .html file so all they have to do is find the location they are to save it at. How do I do this What code do I put in the sub class for that "save" button Also, I have another program that generates some text in a textbox. Right now I just have the text box's visibility false until the user hits submit in wh ...Show All

  • Visual Studio Express Editions basic commands help

    Hi,  I'm making a program like Wordpad but I need the code of it. I need the code for: Open, Print,  Save, Save as, Cut, Copy, Paste, and select all. That was for the Menu strip here is what I need for the Tool Strip: Open, Save, Print, Cut, Copy, and Paste. The info I want it to save is in a RichTextBox (all controls have their default name) On the save file box the formats to save in are: Text Document (*txt), Rich Text Format (*rtf). Put the same on the open file. When the program opens a file I want it posted in the RichTextBox.  Thanks!   ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Get BasicEffect to draw wireframe

    Is it possible to get a BasicEffect to draw wireframe I'm wanting a nice wireframe box around my models to show the bounding box. My code to draw a box around the object currently looks like this... BasicEffect basicEffect = new BasicEffect(game.Graphics.GraphicsDevice, null); basicEffect.EnableDefaultLighting(); //basicEffect.Texture = texture; //basicEffect.TextureEnabled = true; basicEffect.DiffuseColor = new Vector3(1.0f, 1.0f, 1.0f); Matrix viewMatrix = game.Camera.View; Matrix projectionMatrix = game.Camera.Projection; Matrix worldMatrix = Matrix.CreateRotationX(0); basicEffect.World = worldMatrix; basicEffect.View = viewMatrix; basicEffect.Projection = projectionMatr ...Show All

  • SQL Server Help with Sending file to server using ftp task

    Doe anyone know how to do this. I keep getting an error remote path missing "/" but it doesn't contain a "/". Mike I'm trying to connect to a FTP server running on z/OS and has MvS operating system. The remoter parameters In the FTP task editor in ssis calls for a "/" at the beginning of the remote path but the remote path I am uploading to starts out with a single quote and not a forward slash. Is there a way around this thanks, Mike ...Show All

  • .NET Development Are static DLL's faster?

    I have a large number of pages and shared dll's and my shared dll's are static. What i've been trying out is having a small code behind which calls a static function on my shared dll's and passes the page.request to it. Now i'm wondering since i can't pass the page.request by ref is it costing me more to pass it by value to a static dll or would it be less costly to have everything in my code behind which wouldn't be static These pages will have millions of requests and i need all the resources i can get my hands on so i need the least resource heavy method. Thank you, Kam Hi Greg, Well what i'm referring to is if you have a non-static page then each page load causes your DLL to be loade ...Show All

  • Visual Studio MSCTF.dll exception

    Hello, Im trying to debug this application which works but gives some exceptions in the complete beginning. Why would a program try to call MSCTF.dll (which has something to do with office..) 'video1.exe': Loaded 'C:\WINDOWS\system32\MSCTF.dll', No symbols loaded. First-chance exception at 0x7c918fea in video1.exe: 0xC0000005: Access violation writing location 0x00000010. 'video1.exe': Unloaded 'C:\WINDOWS\system32\MSCTF.dll' 'video1.exe': Loaded 'C:\WINDOWS\system32\MSCTF.dll', No symbols loaded. First-chance exception at 0x7c918fea in video1.exe: 0xC0000005: Access violation writing location 0x00000010. 'video1.exe': Unloaded 'C:\WINDOWS\system32\MSCTF.dll' IT WORKS ...... Perform these steps leaving the svchos ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Sun effect

    Hello, this is my first post. I'm working on my first project in XNA. Is it possible to create with this beta relase an effect that looks like sun screenshot of my project: link Sorry for my english. There are typically several different parts of doing a convincing sun in a 3D game: You need to render your objects with lighting, so they are brighter on the side that faces the sun. You probably also want to draw some kind of glow and/or lensflare to represent the sun itself. And of course you need shadows on the side of objects that face away from the sun. BasicEffect gives you three directional lights, which are plenty for rendering your objects, in fact you only really need one for an outdoor scene lit by ...Show All

  • Visual Studio Express Editions How do you do bitwise & of 2 enums?

    Extreme noobie alert! :d How can I get the fallowing code to compile. I am trying to check if a enum contains a value using an & operator like this "this.mintAnchor & AnchorStyles.Right" but I keep getting compile errors regarding cannot convert to bool. Thanks ... // width if ((this.mintAnchor & AnchorStyles.Right) & (this.mintAnchor & AnchorStyles.Left)) { this.Width += WidthDiff; } else if (!(this.mintAnchor & AnchorStyles.Left) & !(this.mintAnchor & AnchorStyles.Right)) { this.Left += WidthDiff; } else if (this.mintAnchor & AnchorStyles.Right) { this.Left += WidthDiff; } // height if ((this.mint ...Show All

  • Windows Forms How to launch the application on StartUp

    hello i have completed my applicaion but i want it to work automatically as soon as i turn on my PC.  how will i do that and also how can i add an icon of it to start up menu on taskbar in order to be able to stop it whenever i want You can install and run your program as a windows service. Here explains how to do it in a simple way. http://www.codeproject.com/dotnet/simplewindowsservice.asp As the services are started as soon as windows is loaded your application will be started too. ...Show All

  • Software Development for Windows Vista data execution prevention

    hi, data excution prevention is not allowing me to use windows live messenger, i have tried to disable it for windows messenger but it wont allow me to, anyone know how i can disable data excution prevention on windows vista thanks for any help. Lorettablonde wrote: I just bought an HP Pavilion PC, it came with Vista Prem, I have never encountered this error before in my old XP, and I am a newbie so please be kind and no too technical, I am just learning . My IE will not open at all, when I try it says it is closed and I will be "notified" (lol) when a fix is found, it says DEP closed it down. So, why is that Is there something already bad on here I did every scan available and nothing came ...Show All

©2008 Software Development Network