MortenFraMoss's Q&A profile
.NET Development Problem publishing project with ClikOnce
I had a project written in VS 2003 (framework 1.1). I converted the project to VS 2005 and tryed to publish it. For some reason I get this error: Could not find file 'Microsoft.Windows.Common-Controls, Version=6.0.0.0, Culture=*, PublicKeyToken=6595b64144ccf1df, ProcessorArchitecture=X86, Type=win32' Does anyone know why this happens Miha Here is more detailed description of what I was doing. I created completly new projet, build it in published it to my HTTP server and everything worked fine. I can download and install this test app from any computer. Than I converted my old project from VS 2003 to VS ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Texture0...Texture8?
What are the Texture"N" formats If you define a vertex element you have only one set of texure coordinates...right Why are there 8 more Unless you HLSL.... Thank you. It's for multitexture You can actually Modulate one texture on another one So you can have more then one set of texture and more then one texture coordinate So you can put an Environement texture Modulate with a Material texture To simulate a reflective surface You can do this by selecting the correct COLOROP0 and COLOR_ARG0 If your Color Op of the current level is not DISABLE it will be in the multitexture Make sure your TEXTURECOORD for ...Show All
Visual Studio Express Editions Changing .msg file date and time
I currently save all of my emails as .msg files so that they can be archived in our main office (I work from home rather than in our main office). When I copy each email into the relevant folder, the file date and time is set at when the copy procedure took place. I would like to create a program which will cycle through selected folders and sub-folders, extract the date and time from within each .msg file that each email was sent/received, then set the file date and time to this value. That way they will be in correct chronological order, rather than all having the same date and time. I've written plenty of macros in Word and Excel, but my ...Show All
Windows Forms Default sizes and Windows Forms Guidelines
I am looking for the Windows Forms equivalent of the "Official Guidelines for User Interface Developers and Designers". Specifically information like: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnwue/html/ch14e.asp I'm also perplexed by the fact the heights of the textbox and combox are slightly different - especially because the "Official Guidelines for User Interface Developer ...Show All
Visual Studio MsBuild Doesn't support WebProjects (ASP.NET)?
Does MsBuild supports WebProject to be build -Priyananth. Additionally, if you are looking for the Web Application model that used to be the model used for developing Web Apps in Visual Studio 2003, you will want to look at Web Application Project: http://webproject.scottgu.com/ Faisal Mohamood | Program Manager | Visual Studio - MSBuild ...Show All
Windows Forms Filtering Datagrid in a Master/Detail relationship.
Gurus, I am pretty new to the .NET stuff, so please excuse me if this seems too easy. I have a master/detail relationship in a dataset bound to two datagrids. Works well as it should. Now I need to provide a filter option on the master datagrid. The problem is after setting DefaultView.RowFilter to the filter expression, the master datagrid needs to be ...Show All
.NET Development class design question
I have my class with properties and methods. I create an instance of the class and get some of its properties in my forms. When I go back to the class and try to access that property from inside the class itself, I see that it has a NOTHING value. 1/ How do I keep the value of the property between calls and instantiations of the class when I sometimes instantiate the class from different forms in my application. 2/ What is this technique called in Microsoft Jargon. I mean when I go back to the properties and finding them again not reset to nothing 3/ What s the best way to design my class in order to keep its properties and also ...Show All
Visual FoxPro Database security
Sorry, my english less good . I'm making a program by using Visual FoxPro computer "A". All database, tables, form, menu and report stored in that computer. Which I wish to ask: 1. If someone using computer "B", do he/she can make program with source exist in computer "A” 2. If there are some computer which join by workgroup or domain, then each the computer have front-end and database is store in computer "A", how to be every the computer can only open data pass provided front-end, and cannot open table or delete file though use Visual FoxPro i ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Problems with Sprite.Draw2D & October SDK
Hi, I replaced my Direct3DX reference (1.0.2906.0) with the latest version included in the October SDK (1.0.2908.0). However, when I now compile, my code fails with "Overload resolution failed because no accessible 'Draw2D' can be called with these arguments:" Sprite.Draw2D(Texture, Rectangle, Rectange, Point, Color) The "dxreadme.htm" states that the D3DX dll is unchanged from the August version. So what is this 1.0.2908 I have gone back to the 1.0.2906 dll and all is fine again. Can someone explain what I am doing wrong please. Thanks, Jim There were some changes to the Directx sprite class but I'm no ...Show All
SQL Server Processing SSAS2005 from DTS
Hi, I have a requirement to process SSAS2005 cubes from DTS. Anyone know how to do this or does anyone have any recommendations I've done a search on this forum and came up with teh following which was no help at all unfortunately: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=198374&SiteID=1 -Jamie Hi Jamie, Will the ASCMD command-line utility (available under SQL Server Analysis Services Samples ) serve your purpose (invoked within a DTS "Execute Process" task, of course) http://msdn2.microsoft.com/en-us/ms365187.aspx >> SQL Server 2005 Books Online Readme For Ascmd Co ...Show All
SQL Server Adding SDF data into a Listview - C#
Hello everyone, I finally got the SDF file on my pocket pc, and now am having trouble loading the data into the listview. I am not sure where I am going wrong, but the code is listed below. Any ideas Thanks so much, everyone. private void LoadList( string szSQL) { // Clear out anything that might already be in the list CollectionList.Items.Clear(); // save off the SQL Statement m_szCurrFilter = szSQL; // Throw Data into the list SqlCeCommand sqlLoadEvents = m_cConn.CreateCommand(); sqlLoadEvents.CommandText = szSQL; SqlCeDataReader rReader = sqlLoadEvents.ExecuteReader(); // rol ...Show All
Game Technologies: DirectX, XNA, XACT, etc. D3DXSaveSurfaceToFile PNG format broken in Apr 06 SDK?
I've been using D3DXSaveSurfaceToFile for screenies for a while. Saving to .PNG format produces only solid white images since we've updated to Apr 06 SDK. Full debug output (including compiling with D3D_DEBUG_INFO) gives no errors. Anyone else hear of any problems with this specific format Hi, Can you repro this issue using texconv For instance, say you have texture in a bmp file: imagefile.bmp. Then you can do the following: texconv imagefile.bmp -ft png Does the imagefile.png file contain what it should If not please send both files to directx@microsoft.com . If you have further issues, ...Show All
Windows Forms User time out in Desktop Application
Hi, I want my user of desktop appliaction be logged out, if user do not press any key or click/move mouse for in last say 5minutes and be presented with a messagebox/login screen. basically i want to trap key events and mouse events at form level. I tried one logic having KeyPreview of form set to "true" and Form_KeyDwon can capture key down events on the form and on any control. The same way i want to capture mouse events with like Form_MouseDown or Form_MouseMove, if the mouse cursor is on the form area, it works fine, but if the mouse is on any control, it do not work. Do anybody has any idea, how can I achive the go ...Show All
.NET Development How do I copy a solution and all its files to another computer?
I am new to VB.Net but not to VB. I do part of my development on my laptop and part of it on my desktop computer. I need to be able to keep the code on both machines in sync with each other. What I am used to doing with VB6 is to simply copy the entire code directory from one machine to the other using the file manager and by mapping to the remote drive. I just tried that on some code that I have been working on with my laptop. The files all copied well enough. When I opened the copied solution on my desktop to work on it I found that the forms did not look the same. In comparing the properties of the forms I found that some things were ...Show All
Visual Studio Team System SQL Server collation is not set to one supported by Team Foundation Server.
I get the error: "SQL Server collation is not set to one supported by Team Foundation Server." in the System Health Check. I've reinstalled the sql server three times (I've tried both the developer edition and the enterprise edition). My current collation is set to "Latin1_General_CI_AI" so this shouldn't be a problem! This is the last "red x" in the System Health Check everything else is ok. I'm installing on a Virtual PC (w2003) and using RC1 I'm really sorry, but only allowing certain collations is a real pain. And it would be handy if the 'health check' actually said what collations were allowa ...Show All
