RajeevP5's Q&A profile
Windows Live Developer Forums VEMap Constructor Problems
throw new VEException("VEMap:cstr","err_invalidelement",L_invalidelement_text); I keep getting an error which appears to reference the above statement in one of the map control files and would appreciate some help. A JavaScript file is being referenced from an ASPX page as follows: < script language ="javascript" type ="text/javascript" src ="http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js"></ script > < script language ="javascript" type = "text/javascript" src ="VE2f.js"></ script > A JavaScript method is then being called from the ASPX page. I can debug up to this statement, which seems straig ...Show All
Visual Studio Team System How do I get the state (edit - xavito) of an item programatically?
Hi, I need to find the state of a specific item programatically. For example I need to know that file 312.cs is checked out by Xavito. Any ideas on how to do it Not a problem DQM. It's the intention that counts! And thanks for the help from the others ...Show All
Software Development for Windows Vista Utter lack of Icon documentation
I'm trying to update an application to be nice and Vista-y; the current problem is with icons. What icon sizes should my application have to be Vista+XP compatible. How can I tell In particular, why doesn't Microsoft actually documentation the icon file format As near as I can tell, there are single-byte 'height' and 'width' values in the list-of-icons in the icon header. This means that icons can only be 0 to 255 pixels. However, it seems that icons in Vista can in fact be 256 pixels, so clearly there isn't a simple mathematical relationship between the value in the file and the value used. My question is: what is the mathematical relationship between the height and width fields and the actual icon height Are they just set to zero, bu ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Create tex2D with msaa and mipmap error reported by runtime
When I create a tex2D as render target view with SampleDesc.count=4 and MipLevels=4 at the same time, directx reports Directx runtime error"an invalid parameter was passed into the returning function" . What is the problem Thank you. Even with the new more unified memory model there are still limitations. One of them is that a multi sampled 2D texture can’t have mip maps. You can see this limitation on the view creation too. For a multi sampled 2D texture you have to use D3D10_RTV_DIMENSION_TEXTURE2DMS as ViewDimension. This get’s you to the Texture2DMS element which is a D3D10_TEX2DMS_RTV structure. In comparison to the D3D10_TEX2D_RTV structure you can’t select a mip slice there. ...Show All
Smart Device Development how to modify tittle bar pop up
when we right click the tittle-bar of any window a pop-up comes consisting of option like maximise , minimise , move , saize , restore...now i want to remove some of them from right click pop-up..... How to do that This is the wrong forum for this question. This behavior only occurs on non-Windows CE platforms. I recommend you ask this question in the "Windows Forms General" forum. David Wrighton .NET Compact Framework ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Confused About XNA and DX10
I am confused about the differences between XNA and DX10; is that correct: 1- XNA will have both fixed function and shader programming and effects also 2- DX10 will have only shader programming with no assembly, no fixed function and no effects. 3- DX10 will be on Vista only, since it is shader programming will Shader 3.0 (DX9.0 C and L) is compatible with Vista shader 4.0, so a program written on Windows XP DX9.0 C will run on Vista DX9.0 L but will not run on Vista DX10 shader 4.0 But why it will not run on DX10 Vista runtime if the program is only shader with no effects is that because shader 4.0 will not be compatible with shader 3.0 or it will run regarding windows controls with DX: 1- can we build application ...Show All
.NET Development Returning controlled SQL data
I have a small problem with returning SQL data in a set order back to my C# program. I'm using Visual Studio 2005 and SQL server 2005 Express Edition (also the SQL Server Management Studio Express tool for testing my SQL commands). I have opened a Reader from my C# program to my database (works OK) and I now need to read back some data sorted in a specific way. My database has a table of depart times (stored as text, not strictly time formatted) which I need to sort in a specific way. I want all times (24 hour clock) that are >=0300 and in time sorted order. Afterwards, I want all times that are <0300 also in time sorted order. For example: SELECT * FROM MyData WHERE Depart BETWEEN 0300 AND 2359 ORDER BY Depart ASC, Arrival ...Show All
SQL Server Sharing remotely
Can you use SQL Express remotely instead of locally. I have been told that I might be able to use SQL Express as my network server for sharing files. Is this possible, or do I need a different version of SQL to do this I have been reading the VBE forums and from what I gathered was that SQL Express is only for a local table only, is this true If not, what is the work around, and how do I go to another pc to find out if it is sharable I would hate to get several months in my app design and learn that I was headed in the wrong direction. Thanks David Mike, Is it possible to run a T-SQL script during deployment to enable the remote connection functionality I read the link and it mention ...Show All
Visual C# how can i acces a control from another form
hey i, how can i acces a control (that its in Form1) from Form2... ex. in form1 i have a textbox, and i want to change text from form2. Hi You can do like this: ( Application .OpenForms[ "frmMain" ] as frmMain ).CurBrowser.Navigate(MyTextBox.Text); and you must change your CurBrowser property ' Modifiers ' to public . Yours Markku ...Show All
SQL Server RAISEERROR from CLR stored procedures
I'm writing: SqlContext .Pipe.ExecuteAndSend( new SqlCommand ( "RAISERROR ( '" + e.Message + "', 11, 1)" )); to execute a RAISEERROR from a CLR stored procedure. It works, but in the SqlError list I get in the client, there are two more errors that say something like '{System.Data.SqlClient.SqlError: A .NET Framework error occurred during execution of user defined routine or aggregate 'Customer__Update': System.Data.SqlClient.SqlException: noupdate ...' ... Is there any way to just get the message I'm sending Thanks The issue here is that by ExecuteAndSend a command which executes a RAISERROR, your RAISERROR will be called in the SQL layer, and an error will be raised to the client (which is good an ...Show All
.NET Development C++ Web Service
Hi Folks, I'm writing a small web service in C++ (apparently a foolhardy endeavor). Basic operation looks OK. However, I'm having the darndest time getting FindWindow() to work. Possibly making matters worse, I'm using multibyte strings, not Unicode. #define CLASS_NAME "Game Player" ... f_hPlayerWnd = FindWindowA(CLASS_NAME, NULL); Everything compiles and runs, but FindWindow keeps returning 0, even passing NULL for lpWindowName. When I call FindWindow from within the app I'm looking for, it works fine, so I'm thinking it's not a typo in lpClassName. Any help appreciated. Chuck Bueche Craniac, Inc. That's sounding the most likely culprit yet. I've been running in C# now, and I thought everyt ...Show All
Smart Device Development MSMQ PPC win ce 4.2(Reader thread terminated)
Have observed a strange behavoiur in MSMQ . Senario : Have two applications one on Pc and one on the PPC (WM5). which interact using MSMQ. sending and receiving of messages works fine when the ppc is online(or in network uses a wifi connection). One case where in ppc being online , i send a mesasge from the host(PC) and it is recieved on the client(ppc). Now i go offline or out of network coverage then send a mesage from the Host(PC). The message queuing admin on the pc shows a status "wating to connect", with the sent message in the outbound queue. Now i get online or come into network after 10 - 15 mins time gap (ie after the message is sent from the PC.) ,On the PC the message showing up on the outbound queue dissapears and ...Show All
Visual Studio Team System Version control API - basic recipes
I'm working on writing a simple client using the version control API and I'm having trouble with a couple of basic concepts related to server names, local paths and server paths. I'm hoping someone can fill in the gaps with a few recipes - I've looked at some of the samples on various blogs, but haven't found solutions to these basic issues: 1. Given a local path, determine the name of a TFS server that has a mapping for that path (if such a server exists). The code from the example on Buck's blog ( http://blogs.msdn.com/buckh/archive/2005/10/26/485458.aspx ) doesn't seem to work - it never finds a server name. 2. Given a local path, determine the exact name of the server path that maps to it. 3. Given a server path, determine the ...Show All
Visual Studio Express Editions how can we analyze the contents of datagrid view into excel?
how can we analyze the contents of datagridview into excel like in ms access...after query we we can analyze it in excel how can we do that Hi. Reportviewer dosen't work on the Visual Basic 2005 Express. Sorry. Out of ideas. Best regards. dp ( www.webhostservices.biz ) ...Show All
Visual C# How can I quit the execution from the recursive function?
Here is the code I had used. It doesn’t quit from the loop. Please let me know where I made the things wrong. private bool LocalWindowsTest( string path) { bool Flag = false ; DirectoryInfo dir = new DirectoryInfo (path); foreach ( DirectoryInfo d in dir.GetDirectories()) { foreach ( string fileExt in new string [] { "*.csproj" , "*.vbproj" }) { foreach ( FileInfo file in d.GetFiles(fileExt)) { Flag = true ; break ; } if (Flag) break ; } if (!Flag) LocalWindowsTest(d.Full ...Show All
