hooman.tadbiri's Q&A profile
Visual Studio 2008 (Pre-release) DoDragDrop Question
I've been playing with some of the code from DragDropManager. I've added adorners to a bunch of images before the user starts to drag so the objects will be instantly available. However, once DoDragDrop is called, the MouseMove events on the Window don't fire so I can't move the adorners around. Any ideas on how to get this working I notice that in Pavan's DragDropManager the adorner object isn't created until DoDragDrop() is called. I'm assuming this is just a performance thing, but maybe maybe objects created outside DoDragDrop are frozen Doesn't seem like that would be the case... Any tips would be great. I'm fairly new to .NET so don't assume I'm not overlooking something simple. Brian Lest ...Show All
.NET Development updated web service successfully but i did not see web service proxy was refresh!
hi All, All what i am doing is in Visual .NET 2005 I created a project with ASP.net 2.0 and a Web Service, the first I have only two functions that are func1 va func2 , I had called to this web service from webclient, now i wanted to add func3 to the webservice, I had built successfully, I had updated to get new proxy in webclient, currently I could not find func3 in the webservice proxy. note:1. I am sure that I had updated webservice successfully from webclient. 2. I had checked out before perform updating. You have done this very well with VS 2003. please help me if you know any reason. thanks. Thank you for helpping me, I had removed the web references then recreate the reference .But it st ...Show All
Visual C# keep in memory
Hi, I need to keep in memory a value that the user would have enterred. i don't even know if it is possible Can you help me serialize it in an xml file (though this might be overkill for a simple number) or just write it to a text file. why does it need to stay in memory after the application closes ...Show All
SQL Server Report Parameter viewer
Does anyone have a control that can just view/update values of Report Parameters Basically the microsoft control without the report body. ...Show All
SQL Server ALTER TABLE ALTER COLUMN [access-id] failed because one or more objects access this column
Hi when I'm upgrading table schema with alter statement I'm getting error like this ALTER TABLE ALTER COLUMN [access-id] failed because one or more objects access this column can Anybody tell the solutiuon plz. Thank u . vizai Hi mani Thanks fo the reply. How can I use schemabinding to drop the views / udf / indexed views using SMO. How can I generate the drop script alone for all the views / udf / indexed views / constraints. Can u help me in this ...Show All
Visual Studio Team System Viewing SourceControl files in external applications
Hi! I have a question related to opening files from Source Control. Currently Source Control window supports only internal viewer and opening in external application is only possible from disk. To illustrate this inconveniency add PDF file to the source control and double click on the stored file. Although VisualStudio provides you with the binary viewer it is not the best reader for PDF content. Does anybody know how to change this behavior Maybe changing of file association might help Finally is it possible to add custom Verbs to context menu in Source Control window Another option: Highlight the item you want to open in Source Control Explorer. Then, go to the "Open With..." option in the "View" menu. This shoul ...Show All
Windows Forms Download entire folder via webservices
Hi guys, Anyone know how to download an entire folder via webservices Thanks Hi, eye_v_eye This project teaches you how to download files from server: Cool C# File Downloader And, This project teaches you how to develop a webservices. Hope it helps. Best Regards. Ye ...Show All
SQL Server An error has occurred during report processing. (rsProcessingAborted)
Hullo, I am trying to change a parameter's default valu, when i click on Bikes Sales and Profitability report link with the Report Manager I get the following error. An error has occurred during report processing. (rsProcessingAborted) Cannot create a connection to data source 'rs2005sbsDW'. (rsErrorOpeningConnection) Login failed for user 'ReportExecution' Could someone please help me out. Ronald Hi, in addition to John make sure that the user name exists on the SQL Server system. THe most common problem is that people try the reports on their test machines but forget to create the users and grant the appropiate right to them, because they used to work with an administrative user in their test environ ...Show All
.NET Development Determine Caller name
Hi, is it possible via reflection to determine the calling class/form that called the present method This may help ... http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=566842&SiteID=1 It doesn't use reflection but does access the debugger stack frame. ...Show All
SQL Server Report Server problem
I am using SQL Server 2000 reporting services.I created a report in VS.net 2003.Report is showing in preview pane properly.But when i press start it gives a messege "No Reprot Server was found at http://localhost/ReprotServer". Is reprot server required for the reprot.whats other alternative to show the report on web browser Hi, Wich Service Pack does your SQL Server has In able to run Reporting Services on SQL Server 2000, you must at least have SP3 installed. Also, the reporting server must be installed separately. Although, it is licensed with your existing SQL Server. Greetz, Geert Geert Verhoeven Consultant @ Ausy Belgium My Personal Blog ...Show All
.NET Development which is the better data storage, XML or Excel
Hi, I am developing a windows application that requires constant connection to data store. The data will then be used for calculation. I don't wanna use SQL database as i thought the retrival process could slow down the performance. Hence, I am thinking of using either XML or Excel as data store for retrival and calculation. Is there anyone know where I can find more information about how to choose the approperiate data store. any help is appreciated. Thanks!! Carol It sounds like you need to think about your application requirements clearly. For optimal performance, you need an in-memory data store. This can be implemented using the constructs such as DataSet, DataTable if you need to mimic a database structure and capa ...Show All
Visual Studio Team System Cannot pass a GCHandle across AppDomains using unit testing.
Got a manage C++ class in a class library that uses unmanaged C++ lib. The managed C++ class handles callbacks from the unmanage C++ lib by a delegate "gcroot<MessageDelegate^> m_MessageDelegate". To invoke the delegate I use the call "m_MessageDelegate->Invoke(nMsgId);". This works without any problem when running applications using this class library but when testing the class library using unit testing I got the error "Cannot pass a GCHandle across AppDomains" when I invoke the delegate. When running Unit Tests by default we create an App Domain per test assembly. It seems that MC++ has its own app domain for unmanaged code and gcroot does not allow marshaling across app domains. To walk aro ...Show All
SQL Server Virtual Labs - No Connection message
A couple of us are trying to use the SQL Server 2005 Virtual labs at http://msdn.microsoft.com/sql/ . We complete all the prelim steps successfully but when we click on "Start the Lab" we get a blank page with "No Connection" in the middle. The clock ticks and the system thinks we are doing the lab. How can we get a connection or is the server down or are there no available resources left Great news!! The next ActiveX control is coming out tonight. Please try Virtual Lab again and see if it fixes your problem. NOTE: When you login, it will seem as if you don't have the activeX control installed and will prompt you for a new installation. This is an expected proced ...Show All
Visual C++ VC8 program writing to cout much slower than VC6 program
hi, I have the following piece of code in a program compiled using both VC8 and VC6. the only difference in the code is the deprecated iostream header. it basically just writes out a bunch of numbers to cout. I compiled and ran the programs on the same computer (P4 - 2Ghz, 1GB RAM) the VC6 program takes less than 3 seconds to go through that bit of code whereas the VC8 program takes almost 16 seconds ! can someone tell me why this is so is this common i tried the VC6 program with both single threaded, multi-threaded and multi-threaded dll . i tried the VC8 program with multi-threaded and multi-threaded dll. in all cases, the performance was the same. the VC8 version is MUCH slower. thanks, Julian. VC6 version: #include &q ...Show All
Visual Studio Express Editions How the report viewer is working in Teacher Starter kit?
I am a beginner and I know that Report Viewer is not for VB Express, but I installed for VW Developer and then install the ReportViewer, so I add the reportviewer control for VB Express, but it does not work like it should. P.D. If this is the case, how the "Teacher Starter Kit" report was made http://msdn.microsoft.com/vstudio/express/vb/starterkit/default.aspx Is there a way to use it ...Show All
