laboremus's Q&A profile
Visual Studio Help with Drillthrough and Back Button Error Please
I am using ReportViewer control in remote mode and am getting an error after I drill through reports 3 levels. The 3rd time I drill through it will say The path of the item "(null)" is not valid. The path must be less than 260 characters long and must start with slash. Other restrictions apply. (rsInvalidItemPath) At that point if I hit F5 to refresh the page then it will load the drillthrough report correctly. We have tried everything to fix this and cannot figure it out. Also whenever you hit the back button in the reportviewer you get the error : Back call without drillthrough report Please help if you have any suggestions on what could be causing these errors. Are you using Visual ...Show All
Visual Studio Express Editions SHUTTING DOWN WINDOWS
Hello, how can I shutdown windows safely using visual c++ 2005 express edition I'm considering stopping some processes. What helping namespaces and also raising events available Hello, Well, no choice but 2 show d code. Written in MS Visual C++ 2005 Edition. It starts and stops Windows Calculator ( by clicking b_startp button). Intended 2 shutdown my pc also, but fails 2 do so. It does not report any exception on clicking b_shutd(button) (like the security-privilege exception and invalid parameter exception) at this stage though it did b4 but only had 2 change some code. Talking about d SE_SHUTDOWN_NAME or SeShutdownPrivilege issue, just figured out dat .Net now like implements privileges as Perm ...Show All
Visual Basic Question about VB2005 connect to SQL2000(2)
I want use a variable to grab a string from a text box, then pass the variable into data base to check if any record is matched and then display result in a data grid. How can i actually do that do i need to create a specific adapter and dataset for that well you can, dataAdapters are really used for when you are wanting to fill a set of records into a dataset or update records in the given dataset to the database. So to me, looks like you want to show the records that match the variable correct if so, you could use a dataset/dataadapter but if its just 1 record you are after then it may well be inefficient. There are many examples on the forums on how to use a SqlDataAdapter if you are wanting to go t ...Show All
Smart Device Development To find which key has been pressed in Pocket pc
I have a treeview which has some nodes and those nodes have child nodes. If a child node is selected(by tapping), it goes to the next form. But the trouble is when user uses up down keys(as in cell phones). Even then it goes to the next form. That time I want that those keys work only as up and down keys. Next form should come only if select has been pressed. Any way of checking that ...Show All
SQL Server Create HTTP request in Stored Procedure
Hi, I want to know if it is possible to create and execute a http request in SQL Server. I want to run the request in the database as alot of the data in the url would be retrieved from the database. I want to create a stored procedure that runs the request. The stored procedure must be called from a trigger on a table. The reason I want to go this way is because it would be alot faster that to get the data from the database and then execute the http request in the application. Another reason that I want it done on the database side is because the internet connection of my client is not as fast as the one I am using for development so I don't want the pages to load to many times and get the data between the server and the client c ...Show All
Smart Device Development .SDF file be converted to .CSV
Hello I'm new to this forum my question is Can a .SDF file be converted to .CSV using VB thank you Tim thank you, but I coudn't find anything .. do you know any url of link where i can find documentation maybe thanks again Carlos ...Show All
Visual Studio Installing Visual Studio 2005 Service Pack 1 (XP edition) breaks GAT
I've just installed Visual Studio 2005 Service Pack 1 (XP edition) and now when I try to register or unregister a GAT package (for example ASMX Guidance Package) I get the following error: System.TypeLoadException: EnvDTE.Project, EnvDTE ---> System.IO.FileNotFoundException: Couldn't find assembly EnvDTE. I guess because the service pack has installed a new version of EnvDTE. Any advice anyone Here's the full stack trace: System.TypeLoadException: EnvDTE.Project, EnvDTE ---> System.IO.FileNotFoundException: Couldn't find assembly EnvDTE. at Microsoft.Practices.Common.Services.TypeResolutionService.GetAssembly(AssemblyName assemblyName, Boolean throwOnError) at Microsoft.Practices.Common.Services.TypeResolutionService ...Show All
.NET Development GMT-8 to GMT+0 (UK) with consideration for british summer time?
I'm using a server where it's time is GMT-8. Im using DateTime so how do i convert it to GMT+0 taking into consideration British summer time as im based inthe UK. Thanks for your time. Paul. ahmedilyas wrote: Thanks Peter. But I cannot see the Convert method in the TimeZone, one reason why I mentioned perhaps using the ToLocalTime() Am I missing something Sorry, my quoted "convert" wasn't meant to suggest using a method named "Convert". Yes, gernally ToLocalTime() is what you use tp convert to a local time. ...Show All
SQL Server Cluster Failovers and activation
So is there something I'm supposed to configure to allow activation to fire after a cluster failover. We have had three where I have noticed that activation does not automatically fire back up. i have to alter the queue to get it going. None of the values on sys.service_queues imply that is disabled, but messages just keep stacking up into the queue and are not being dealt with. Once I alter the queue to turn activation on; everything takes off and starts working normaly. Obviously, this is less than desireable for an environment that requires High availability. Regards After failover when the queue is not being activated: 1. Do you see any Broker:Activation events in the profiler when messages ...Show All
SQL Server Backing Up and Restoring Transactional Replication
From Help Transactional replication includes the sync with backup option, which can be set on the distribution database and the publication database: It is recommended to set this option on the distribution database in all cases. Setting this option on the distribution database ensures that transactions in the log of the publication database will not be truncated until they have been backed up at the distribution database. The distribution database can be restored to the last backup, and any missing transactions are delivered from the publication database to the distribution database; replication continues unaffected. Does database will not be truncated until they have been backed up at the distribution database mean that the d ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA Vehice Physics
Hi, I've been trying to learn vehicle physics for a car game that I'm making. I took some physics from the SpaceWar starter kit but it doesn't have the right physics for my kind of game. In SpaceWar, when you move the ship and then turn it in another direction, it keeps going in the initial direction. That wouldn't work with a car, which needs to change direction when the wheel does no matter if acceleration is being applied or not. Does anyone know of some real easy and good car physics tutorials and examples out there Thanks, Dan Castellon There is a book, while not XNA specific, that focuses on developing racing games. You may want to give it a look through. There's some pretty handy stuff in there. ht ...Show All
.NET Development Managed application startup time too long
I'm going nuts - I've been developing numerous WinForms applications (managed) on VS2005/.Net Framework 2.0 now for almost one year without any problems. Now suddenly the startup time for these applications have been extended by 10-15 times - and I cannot understand why. Where the JIT previously presented the application within one second it now takes 10-15 seconds before the Main form appears on screen on the same computer. This effect takes place disregarding programmed overhead, even a simple form without any programmed body or database dependency takes this long time to start. Moved to any other computer the applications start nice and fast. I have reviewed Registry settings and all other conceivable parameters, but without posit ...Show All
SQL Server Stored Proc - Calling a Remote Stored Proc
I am having trouble executing a stored procedure on a remote server. On my local server, I have a linked server setup as follows: Server1.abcd.myserver.com\SQLServer2005,1563 This works fine on my local server: Select * From [Server1.abcd.myserver.com\SQLServer2005,1563].DatabaseName.dbo.TableName This does not work (Attempting to execute a remote stored proc named 'Data_Add': Exec [Server1.abcd.myserver.com\SQLServer2005,1563].DatabaseName.Data_Add 1,'Hello Moto' When I attempt to run the above, I get the following error: Could not locate entry in sysdatabases for database 'Server1.abcd.myserver.com\SQLServer2005,1563'. No entry found with that name. Make sure that the name is entered correctly. Could anyone shed some light o ...Show All
Visual Basic Need advice on database
The way im doing untill now my databases, if we can call them that way, in my visual .net applications is by plain text files separated by characters, separating the fields by $ or ; for example. Now i see i am too limited because i need to execute some sql sentences to sort by some field or to delete, edit or whatever but i dont have any idea on how to do such kind of things,. My apps are small ones that usually are compound by the exe and a database file, if needed, so that they can be ported to anywhere i need. I would be really happy if anyone can feed me some resources on how to solve this problem i have now. Thanks Hi, Watch or / and download some of these tutorial videos.>> http://msdn. ...Show All
Visual C# Time format problem
Hello I've got a start time and duration and want to calculate the end time: string startStr = " 00:00:20.3 "; string durationStr = " 00:00:51.7 "; DateTime startTime; DateTime endTime; TimeSpan duration; startTime = DateTime .Parse(startStr); duration = TimeSpan .Parse(durationStr); endTime = startTime.Add(duration); //Console.WriteLine(endTime.TimeOfDay.ToString()); I want to display the end time in this format: 00:00:00.0 - how do I do this How would you round up/down Thank you! Try this: Console.WriteLine(endTime.ToString( "T" )); Best Regards, Rizwan ...Show All
