Rajith's Q&A profile
Visual Studio Express Editions Save My.Settings on shutdown?
I currently have this ticked as it was ticked by default, what exactly does this do It is possible to define application settings that classes within the .NET Framework are responsible for saving and loading for you and when in use (along with the check box you mentioned), you can have any settings automatically saved to disk without you explicitly having to gather the values and save them yourself. For more info, take a look at this article . ...Show All
.NET Development ERROR: The path is not of a legal form.
I started getting this occasional error. Usually it goes away when I rebuild. Any idea why this is happening --------------------------- Error Detail --------------------------- The path is not of a legal form. System.ArgumentException: The path is not of a legal form. at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck) at System.IO.Path.GetFullPathInternal(String path) at System.Reflection.AssemblyName.GetAssemblyName(String assemblyFile) at Microsoft.VisualStudio.Design.VSTypeResolutionService.AddProjectDependencies(Project project) at Microsoft.VisualStudio.Design.VSTypeResolutionService.AssemblyEntry.get_Assembly() at Microsoft.VisualStudio.Design.VSTypeResolutionService.AssemblyEnt ...Show All
Windows Forms OnClick preceding OnEnter
VS 2005 / XP Pro -- both with all service packs It is my understanding that the OnEnter event should precede most (all ) other events for a control but... Our application has a form on which is a Tab-control. We load a number of controls dynamically onto this Tab-control -- ComboBoxes, CheckListBoxes, and TextBoxes. We haven't checked all the Tabs, but on at least one of the Tabs the OnClick/OnMouseClick event precedes the OnEnter event for the ComboBoxes and CheckListBoxes (but not the TextBoxes). Controls that are added at design-time on other Forms' Tab-controls have the events fire in the expected order -- OnEnter and then OnClick/OnMouseClick. Is my understand of the sequence of events erroneous or can someone g ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Warm Up Contest Is Up
Just letting everyone know that DreamBuildPlay's first warmup contest is live. Thanks for putting this up ZMan. Not participating in the warm up does not ding you for the next stage. This is an additional round to the precede the main event. There originally was going to be 2 but the way things are looking, we're going to just jump into the main event sooner. As the contest rules state - you have to base your entry on Spacewars in some way. It is meant to be a lighter weight warm up than creating something entirely from scratch. Those of you that wish to, I'm sure you'll find ways of tieing it into Spacewar should you wish to enter it into this round. --dave ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 2d Platforms
I understand it'd be pretty difficult to help me with a problem with me just describing it, without seeing code so... http://skynes.tripod.com/TheWizard.zip There's a link to a zip file containing my XNA project and all images. The Project so far is a mix of a couple of tutorials I found online (2d wizard and a tile engine) along with sprites I found online. I haven't made any of my own sprites yet cause I don't see the point until I have everything working, but I will be using all my own original sprites when it works. Anyway. So far it's a wizard who can jump and shoot fireballs. An enemy (movement currently commented out) walks across the screen, firballs dont do anything yet, but touching the enemy costs you a life. M ...Show All
Visual Studio Express Editions Is it possible to compile .CP?
I am converting about some old CodeWarrior projects to Visual Express. For whatever reason, using a .cp extension for c++ files was the custom with Codewarror way back when. Is there any way to get Visual Express to recognize them as a .cpp file I don't want to have to rename everything and reorganize on the Mac side too. Thanks in Advance, Mark Yes it should be entirely possible, assuming that the files do not use code warrior specific extensions. Just add the files manually to a project and you should be set to go. ...Show All
Smart Device Development "GetThumbnailImage" In Pocket PC Developement ?!!
hello .. i want to use the method getthumbnailimage , but the problems is , it is not available in pocket pc developement , so what is the solution for this problem i really need an answer for that .. and for information , i am using VB .. with my best regard ,, Some cameras and/or applications create separate file with ready to use thumbnails, it might be what Resco is using instead of opening actual files. ...Show All
Visual Studio Team System Project/TFS Integration issue - please help
Ok, this is my last effort before opening a ticket with Microsoft and spending the rest of my life on the phone with them. I have Project Server setup, and I have it receiving its data from TFS. The data is replicating between the 2, etc. Here is the problem. When I click "Refresh" on the Team plugin for project a couple times, the data will change. Here is an example: I have a work item with Actual (Completed) Work set to 8 hours. This shows in TFS. Refreshing it in project shows the 8 hours fine. However, if I refresh again it changes it bakc to 0. Clicking refresh 2 more times sets it back to 8, hitting it again makes it go back. This happens with most of the work items, and I cant for the life of me figure out what it is. ...Show All
Visual C++ Debug Assertion Failure
File: c:\program files\microsoft visual studio .net 2003\vc7\atlmfc\include\cstringt.h Line: 1808 Expression: strFormat.LoadStringA( nFormatID ) Any information as to what this could mean would be great. All I know is that my program compiles, and it works fine on every run except the first. This is probably because the first run requires creating and writing to a text file while the subsequent runs are simply appending the text file. Debug the application through Visual Studio. When it asserts, you should see the offending source code, and be able to step back on the call stack. When you hit a point in the "history" which is part of your source code, make sure that the surround ...Show All
Visual Basic Treeview with checkbox, check with color gray
Hello, I use the treeview control with VB .net 2005. I would like to check an element and if the child element are not all check, the parent is check in color gray (not the name of node but the checkbox only). have you an idee Thanks, Ben Being unable to alter the checkbox itself I now just display an image over the checkbox. The images are 16 x 16 px. It works but slows down the program significantly so I'm still curious if it could be done via the checkbox. Private Sub myTreeView_DrawNode( ByVal sender As Object , ByVal e As DrawTreeNodeEventArgs) Handles treeComputer.DrawNode If e.Node.Checked Then Dim tmpNode As BackupNode = e.Node ...Show All
Game Technologies: DirectX, XNA, XACT, etc. got all my scenes drawn up.. how to program them?
ok sense i got 16 years of drawing experienced i decided to draw my scenes and color them with art pencils.. its suppose to have aliens invading the city and you have to get rid of them with your gun, i dont no if i made the sketches for nothing but someone said i can put these sketches in the game, my brother helped with the art. Here is an example of how to display a bitmap in XNA http://geeklit.blogspot.com/2006/12/showing-bitmap-in-xna.html ...Show All
.NET Development path of exe
How can i get the path of my exe application from the application ...Show All
.NET Development Problem installing Microsoft .NET Framework 1.1
Hi i need to install Microsoft .NET Framework 1.1 on my PC for a game i want to play(Lord of the Rings Online), i downloaded the dotnetfx.exe setup file(file version: 1.1.4322.573) and ran it then during the copying new file prosess i got the following error: "Error 1304 error writing to file: C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\shfusres.dll Verify that you have access to that directory." So yea im kinda stuck as to what to do, any help with this would be really great. Much thanks. And if even the shufres.dll file os not getting extracted on to the desktop too, tell me your email address ,i will mail you the dll file, so that you can do the other things ...Show All
Visual C++ extern "C" not working in 2005
Hi, I try to create a simple dll, native, standard libraries, no MFC, no ATL. No .def file. The following code build in VC++ 2003 created the dll with an exported function with name SetPowerUser . The same code in VC++ 2005 creates the dll and the exported function name is: _ SetPowerUser@4 . Can you figure out what is wrong with the code below cpp file: #include "stdafx.h" #include <shellapi.h> #include <msi.h> #include <msiquery.h> #pragma comment ( lib , "Msi.lib" ) extern "C" __declspec ( dllexport ) int __stdcall SetPowerUser(MSIHANDLE hInstall) { .... return ERROR_SUCCESS; } // SetPowerUser StdAfx.h: #pragma once #ifndef ...Show All
.NET Development The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine.
I just installed Visual Studio 2005 today and I'm already getting an error. This code worked fine on 2003. I am running Windows XP 64 so I definitely have the latest MDAC. Anyone know why I would get this error Dim strConnect As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & GetWorkingPath() & "db.mdb;Persist Security Info=False;" conn = New OleDbConnection(strConnect) conn.Open() I found this information after a lengthy search: http://support.microsoft.com/kb/278604 I used regsvr32 with the five dll's under the Jet 4.0 OLD DB provider and it worked for me. Larry WWW ...Show All
