Rajesh batchu's Q&A profile
Smart Device Development about WM_DBNOTIFICATION
Hello! Has faced the following problem, at debugging the application, the message WM_DBNOTIFICATION, about change of base fldr31000021, regularly comes. If to start the appendix in a usual mode the message does not come. In what business Hi , This forum is primarily monitored by Visual Studio for devices group. Please check this link for more appropriate forums for this type of queries. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=286724&SiteID=1 Thanks Srikanth Bogadapati .,- ...Show All
SQL Server bcp connection problems
Well this one is puzzling me, and there is probably a very simple answer to this but coming from a linux/MySQL background to a windows/MSSQL system I can't figure it out. Anyways I run bcp with my queryout string which is bcp "SELECT * FROM edrdata.dbo.tblcomments WHERE siteid=-1" queryout "C:\DKD\" -c -U <username> -P <password> -S WELLDAQ\DBINFO but I get an ODBC connection error, see below : SQLState = 08001, NativeError = 17 Error = [Microsoft][ODBC SQL Server Driver][Shared Memory] SQL Server does not exist or access denied. SQLState = 01000, NativeError = 2 Warning = [Microsoft][ODBC SQL Server Driver][Shared memory]ConnectionOpen (Connect()). oh and SQL Server Service Manager shows the Server as WELL ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA professional
Is there any info on the pro version published on XBox 360 Central If not, when roughly do you expect to be making info available to registered developers Andy. Announcements about XNA Game Studio Professional will most-likely be made first on the XNA Developer Center . We will work with the Xbox 360 Central team to get announcements posted there as well. As this time, there is nothing to announce. ...Show All
SQL Server Capturing Previous Value
When updating the value of a field in a table, is it possible to capture -- either for insertion in another table or as a variable -- the previous value of the field Thus, if a field value is 'Value1' and a user updates it to 'Value2' is there some way to hold 'Value1' as a variable Lynn Trapp Have you considered using replication to do this It will do exactly what you're talking about and you don't have to do it all yourself. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Help on some shader issues
Well the real thing here is that I'm new to the programming pipeline so I kinda need some help on this. The thing is that I want to render primitives but with a custom texture format (CLUT, as in Color Look-Up Table, from the PSx anyone ). This textures instead of having a color have an index that goes to another 1D texture containing the actual color. Imagine this, you have a regular texture that has 4-bytes per color RGBA32, and each component instead of being the brightness level of that color is an index to a 256x1 texture containing the actual color. The problem relies in the fact that you have 4 colors in a "color" or fragment for that matter. But once you get to the pixel shader rendering part you can't 'spawn' new fragm ...Show All
SQL Server High availability for Database Mirroring
Hello, I would like implementing a database mirroring architecture with SQL server 2005 but i have questions. If i don't use a cluster architecture, i would like knowing if there's any solution to move the alias SQL server from the primary to the secondary by script. Anyone got a pb like me or any solution ... Thanks for your help... Hi We are currently developing an application that is having SQLServer 2005 as its backend. We want to make this application available at all times. How can i achieve this infact what are the exact parameters that i can use in my connection string to mention the mirrored instances in it. Thanks and regards Salil ...Show All
Visual Studio reusing reportviewer control with a second report causes "data source instance has not been supplied error"
I have a web page in which a user can pick a report from a list. When the user clicks the "run report" button, I set the LocalReport property using the LoadReportDefinition() method, and the report runs correctly. If the user then selects a different report, the report appears to load fine (stepping through the code), but the error "A data source instance has not been supplied for the data source "..." is displayed. The data source its complaining about is actually the data source that was required by the first report. I have tried calling Refresh() on the LocalReport, and also clearing the data sources collection, but to no avail. Can you explain this in a litt ...Show All
Gadgets Flash SetVariable
Howdy. I've been working on a gadget that allows the users to interact with a flash player by clicking on urls in the gadget. I'm having problems, though, when I try to use the "setVariable" command in javascript. Also, it seems that flash cannot access any javascript commands either! Has anyone else encountered this, or solved the problem This is a similar question. Has anyone been able to call javascript from flash in these gadgets It appears that each gadget is acting as a "code island" to keep javascript functions and variables from colliding. Yet flash is acting as if it is outside of the gadget it's residing in. So when a javascript command is called, it is thrown an error that t ...Show All
SQL Server how to connect to SQL server express 2005 database at the same time from both SSMSE and VB2005 application ?
Here is the situation: I have SQL server express 2005 installed on my pc as instance SQLEXPRESS. I have created a Visual Basic applicaion with the following as connection to the SQL server express 2005 running on the same PC: **************************************************************************************************** Dim lconnectionString As String Dim builder As New SqlConnectionStringBuilder Dim cmd As New SqlCommand Dim reader As SqlDataReader Dim parameter As SqlParameter builder("Data Source") = ".\SQLEXPRESS" builder("Initial Catalog") = "" builder("AttachDbFilename") = "C:\My Documents\Visual Studio 2005\Projects\abc\abc\abc.mdf" builder("Integrated Security") = True builder("User Instance") = Tr ...Show All
Visual Studio 2008 (Pre-release) Does vNext support nested typed queries?
I was playing with vNext trying to figure out how does it handle object identity and found out that following construction always throws exception ("invalid command format" on the second foreach) var query1 = <select> var query2 = <select> (exactly the same as query1) foreach (QueryObject object1 in query1) foreach (QueryObject object2 in query2) { if (object1 == object2) Console.WriteLine( "tada" ); } Are you still having this problem Please let me know. I'm going to mark this thread as answered, but feel free to reactive it if needed. Erick ...Show All
Windows Forms Apply blue background color to Toolstrip control
I would like to add a toolstrip control to our existing app with the blue background color. If I create a new test win app and add a toolstrip control the background color is blue. If I set the background color to the toolstrip to SystemColor.Control the toolstrip I get the grey background color. This is OK. But if I just add en empty form to our existing application and add a new toolstrip control, it always get the same background color as the form. And I would like the toolbar to have the blue background in Windows XP Style, and the silver background in XP Classic style, just my test app is showing. The only difference I can see is that in our existing application I'm starting the form from a Infragistics tabcontrol. The toolstip' ...Show All
Smart Device Development a socket was attempted to an unreachable host?
Hi, I have opened my middle tier application with VS2005,CF2.0 (which is developed with VS2003(CF1.1)). When I run on VS2003 and pocket pc emulator 2002 , it is connected to server with out any error. but when I open on VS2005 (pocket pc emulator 2003) It is giving the following error. A socket was attempted to an unreachable host. can u plz give me the solution fot this if u know. Thank you for responding. yes it is reachable outside the code. I am able to connect to my server through VS2003 (simulator 2002). but not with VS2005 (simulator 2003). If you know any solution please let me know. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. What one has to do if he has a great game and would like to sell it on X360 Live Aarcade?
I think that GSE is a great idea. But i'm also pretty sure that there is someone out there already who has so magnificent game idea that it would be worth selling on x360 LA. What is needed in order to achieve this Does the one have to compete with big companies Does he/she/they have to buy a devkit Is that even possible for an individual What are the fees What else has to be met Pavel Burianek wrote: So let's just suppose that the game is finished, it looks very professional and is successful on other platform. (BTW I am professional game developer working for large company). What the individual would have to do in order to have even the slightest chance to get the g ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Conecting my computer to Xbox 360
What are the steps to do that because I typed in my conection key and everything but still it cant connect to my computer The only issue I had when trying to connect was distinguishing between a 0 and O in the connection key, especially when there wasn't a O and 0 in the same key as that makes it more difficult when you can't compare them. ...Show All
SQL Server Probem in calling reports from ASP.Net page
Hi, I am integrating RS2005 reports with asp.net page(VS 2005).the scenario is that i have created a home page with a button.when i clicked on button it redirect to another page which contain report viewer control.This control is linked with report server report.Although report is showing when i directly execute the page but when i execute the home page and clicked on button it gives messege " The permissions granted to user 'GGNHTEL866\ASPNET' are insufficient for performing this operation. (rsAccessDenied) " although i have given full control to ASPNET on app folder and report server. Pls suggest me. My answer for similar question http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1246011& ...Show All
