Rama kuppa's Q&A profile
SQL Server RS Data Driven Subscription is out of control...
Hi - I'm hoping someone can help me with a subscription problem (SQL 2000, Reporting SErvice SP2). Created a data driven subscription and made a mistake in the parameter list. It was really long, and now I can't get the subscription to stop. I've bounced the server, but as soon as we restart RS the job starts back up again. I tried to delete the subscription, but it gives me a timeout error. I've already changed the subscription (because I didn't realize the trouble) and I'm wondering if there is a way to get rid of it. Right now, I've left RS service stopped. Thanks, Mary The subscription runs via the SQL ...Show All
Visual Studio 2008 (Pre-release) Viewport3D Mouse.MouseUp
Hi! Using the code below, when I click the model in my viewport it rotates twice. After that clicking the model in the viewport has no effect whatsoever. How do I get the rotation to be played everytime I click BTW: the only values that seem to be allowed for RepeatBehavior are 1x, 2x, 3x, ... and Forever. I can't find any references about valid values in the docs. Thanks. <Viewport3D.Triggers> <EventTrigger RoutedEvent="Mouse.MouseUp"> <EventTrigger.Actions> <BeginStoryboard> <Storyboard Name= ...Show All
Visual Studio 2008 (Pre-release) How to force the UI update in WinForm interop?
I host a UIElement in ElementHost and find the UIElement will not be updated automatically. How can I force it to update This problem does not exist in Jan CTP. Thanks! This does not repro for me using the Feb CTP bits. This was a known issue a while ago. Make sure you are using the correct version of the WindowsFormsIntegration dll. In the Feb CTP we shipped two different versions of the dll in two different places. The place where you normally get the dll from has outdated bits. For this CTP only, you should take the dll from the "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\Cider" directory. ...Show All
Visual Studio Express Editions c++ to vb.net?
Would anyone want to help me out and convert some c++ code into vb.net That's sort of a step removed from a question. If the code is too big to post here, I doubt you'll find any takers. Either way, the easiest way to do this is to write a C++/CLI dll and call it from VB. otherwise, there's a good chance that you'll need to pInvoke a lot of API stuff ( depending on what the as of yet unseen code does, of course ), and you may well find that VB.NET is simply incapable of doing it anyhow ( again, impossible to know without seeing it ). ...Show All
Visual Basic connecting vb6 to ibm mainframe
hi, can we connect vb6 to ibm mainframe using ibm 3270 emulator program or any other emulator program can anyone give an example or a link of an example thanks and regards, vishal gupta Please post this on the Microsoft Newsgroups . This forum is for Visual Basic 2005 posts only. ...Show All
Windows Forms Update on download availability?
Hi, Is there any update on when the fixed version of TaskVision will be available Thanks, P Works for me. Maybe the server was down when you tried (aren't Windows client apps great... don't have to worry about that kind of thing ;) ) ...Show All
Windows Forms Extending ComboBox
Hi all, I have inherited the task of maintaining C# code that was developed on NT. I am currently trying to build and run it on XP. It is building fine but isn't running. The problem is down to a combobox. The developer has extended the standard ComboBox to add some functionality but it appears that this extension has broken the ability to assign a datasource to it. When I try to assign an ArrayList to it the value of DataSource is = null just after the assignment, however, if I assign the same ArrayList to a standard ComboBox's DataSource property the value = the ArrayList. Any tips would be brill. Thanks ...Show All
Visual Studio Team System guidgen in TeamBuild
Hi Is there an easy way to generate a new guid in a Team Build script. I've seen the following in a visual studio project creation tool and thought it might work, but it doesn't: < PatchGuid > {00000000-0000-0000-0000-000000000000} </ PatchGuid > Presumably I could do an exec to uuidgen, but wandered if there was anything neater The GenerateGuid is a task and should be inside a target. Place it in target where you want to use the value. Thanks. ...Show All
Smart Device Development UpdateData before app starts
Hello all, I am writing a native, dialog based, c++ app (MFC) for a Windows Mobile 2003 device (PPC) using vs2005. I have the following things: - a variable - that variable DDX'd to an edit control - the variable set to some initial value - an "OnEnChange" handler for my edit control that calls UpdateData(TRUE) - another method that changes the variable and calls UpdateData(FALSE) to update the control This seems to work fine...the user changes the edit control and the variable is updated, and vice versa. However, the problem is at application startup. I get an error "An unsupported operation was attempted". The dial ...Show All
.NET Development Simple question: Best practice to open and use database
I'm using VB.NET 2005. I would like to know what's the best practice to open and use database First, is there any different in calling the dispose method explicitly and the "using" statement Is the "using" statement better (Cleaner code ) Second, will the GC or .NET runtime know how to clear up the connection, command or datareader objects(all I should say unmanaged object) if I haven't called the dispose method or use the "using" statement Will those objects call the dispose method implicitly when they're out of scope (I don't think so) Third, how about if I open an unmanaged object but haven't called ...Show All
Windows Forms Dataview Sorting problems
Hi, Datagrid.Sort() doesnt seem to sort integers right. My code is something like this, this is a part of datagrid event: dgProductList.DataSource = catalogXml; dgProductList.CurrentPageIndex = e.NewPageIndex; //create a new dataview with xml data DataView dvCatalog= new DataView(catalogXml.Tables[0]); //provide sort expression from datagrid event dvCatalog.Sort= e.SortExpression; //assign data source dgProductList.DataSource= dvCatalog; //bind ...Show All
Software Development for Windows Vista Add Activities in transaction Scope
using Version -beat2 how to throw an error In transaction Scope based on "code If Statement" . like if (!CommitTransaction) { xxxxxxx } I Added throw Activity dynamically in above if statement. is this approach correct and in Compensation i wanted to remove that throw Activity -but i am unable to do it. Hi Ravi, 1. If you want to throw an exception from transactionscope you can add Throw activity inside the scope or in any of its child activities. Alternatively you can throw exception using C# throw statement from a code handler of code activity inside a transaction scop ...Show All
Visual C++ VC8, Adding __event to non-CLR code gives error C2712
In a non-CLR class I have a number of __events defined. When compiling the source code in which the corresponding header file has these __events, I receive the error: error C2712: Cannot use __try in functions that require object unwinding pointing to the last of the __event lines in my header file. When I look at the error message it says: "cannot use __try in functions that require object unwinding". Further it is mentioned that "object unwinding" means "destruction". Needless to say I am not using __try anywhere but perhaps the code being generated by the __event extended keyword is. I have no idea what the function that "requires object ...Show All
.NET Development Return list of Group Roles that a user is a member of
Im trying to get a list of groups that a user is a member of. I have tried the Groups property of WindowsIdentity, but it returns results like this: S-1-5-21-139623.... I was expecting to get a result of "administrator" or some kind of english result, not just numbers. Any idea of what method I should be using. I am using VS 2005 with .NET 2.0... Thanks, Your getting the SecurityIdentifier info. To get the underlying account info, if available, call Translate on the SecurityIdentifier and pass the type of NTAccount. SecurityIdentifier sid = ...; NTAccount act = sid.Translat ...Show All
.NET Development Visual Studio 2005 NEW Data Access Methods!
Hi, I've been using Visual Studio 2003 for a few months (having come from Java). I had just got used to using datasets and data adapters and stuff, then Visual Studio 2005 comes along and changes it all !!! It's supposed to be easier, but I dunno! My question, is this : - I have just created a datasource called PhonebookDS which is my single oracle table. I dragged a single field over to my blank windows form, and it created a TableAdapter and a binding source for me. All OK so far! But, HOW do I access the original SQL string so I can change it from 'SELECT * FROM PHONEBOOK' to 'SELECT * FROM PHONEBOOK WHERE SURNAME = ' ...Show All
