viswa's Q&A profile
SQL Server Creating RS 2005 with Visual Studio 2003
Hi All, My company is condidering upgrading to SQL Server 2005 and/or Visual Studio 2005. We may decide we want to upgrade one without upgrading the other. My concern is the Reporting Services compatibility. My understanding is that if we decide to upgrade to Visual Studio 2005, we would have to upgrade to Reporting Services 2005 because VS 2005 cannot create reports that are compatible with RS 2000. But if we decide we want to upgrade to RS 2005, we can continue to create the reports in VS 2003 because RS 2005 supports RS 2000 rdl files. Is this correct Thanks! Yes, you are wright. Bu ...Show All
Windows Forms SizeGripStyle.Auto behaviour
Can someone explain the behaviour of SizeGripStyle.Auto which is a value for the Form.SizeGripStyle property [Note: SizeGrip is the triangular section shown in lower right hand corner of forms to indicate it can be resized] According to the MSDN doc it just says "The sizing grip is automatically displayed when needed." What are those "When needed " situations. In the doc for Form.SizeGripStyle it says "You can set this property to display the sizing grip or have it automatically displayed based on the setting of the FormBorderStyle property" But setting the FormBorderStyle property to either Sizable or SizableToolWindow does ...Show All
Visual Basic Does VB allow assignment of data with Row Column
In a Table, where multiple rows and columns have been defined, CounterTable.ColumnCount, is there a way to supply data (letters and numbers) to that location An apparent solution SetColumn(CounterTable, c1) only refers to controls - is this a case of vocabulary .text never seems to show up as an option. This extreme wordiness is one of the things that bugs me about VB, seems like interior decorating with military vocabulary. Public Sub SetCellPosition (ByVal control As System . Windows . Forms . Control , ByVal position As System . Windows . Forms . TableLayoutPanelCellPosition ) Looking at definitions finds ...Show All
Software Development for Windows Vista How to use the cancel handler?
I have two workflows A and B. In workflow A I have the instance Id of workflow B. How do I gracefully cancel workflow B from workflow A Is this where the cancel handler should be invoked How When the cancel handler completes does the workflow exit Thanks. Can we trap the cancel event raised by using ' Terminate this workflow now. ' link on WrkStat.aspx page I was trying to capture but was not successful. Please advice. ...Show All
Visual Studio 2008 (Pre-release) Usercontrol Nightmare
I do not know what I am doing wrong but I am starting to pull my hair out. I am using VS and EID to create a quite complex UI, and I am trying to use usercontrols to encapsulate as much as I can. However... Any user control I create and put on a window or page either never renders and just shows up with the classname of the usercontrol in the top left corner, OR when you place it on the page in EID it says "Cannot instantiate <ClassName>" which takes up the whole of the page/window and means you can't position it properly (but will render when you run it). I must be missing something here, should a newly created UserControl ...Show All
Visual Basic Assembly.LoadFrom error
Assembly.LoadFrom error In a book I'm reading the current chapter is on reflection. The example in question gives the commented out assembly.loadfrom. If I try that I get an error that objects.dll cannot be found. But if I use the full path it works fine. Am I doing something wrong or is the author's code in error 'dll = Assembly.LoadFrom("..\..\Objects\bin\Debug\Objects.dll") dll = Assembly.LoadFrom("C:\vs2005Projects\WroxVB2005Pro\575386ch07\Objects\bin\Debug\Objects.dll") dennist685 For many if not most applications you are indeed correct that you should be able to add a refere ...Show All
Windows Forms How to display sub-menu items from a Toolbar dropdown button DYNAMICALLY?
Hi All, I am trying to write a toolbar to show up on IE using .NET and C#. So I have this toolbar control with a couple of dropdown button (Fruits & Add). -------------------- Add | Fruits --------------------- The dropdown buttons have a contextmenu to display some menu items when clicked (Apple under Fruits and Add Apple Type under Add – please see figures below). ------------------------------------------ Add & ...Show All
Visual C++ specstrings.h / sal.h
XPSP2 PSDK specstrings.h appears to conflict with VC sal.h Numerous warnings of type; c:\program files\microsoft platform sdk for windows xp sp2\include\specstrings.h(334) : warning C4005: '__reserved' : macro redefinition c:\program files\microsoft visual studio 8\vc\include\sal.h(672) : see previous definition of '__reserved' c:\program files\microsoft platform sdk for windows xp sp2\include\specstrings.h(341) : warning C4005: '__checkReturn' : macro redefinition c:\program files\microsoft visual studio 8\vc\include\sal.h(673) : see previous definition of '__checkReturn' c:\program files\microsoft platform sdk for windows xp sp2\inclu ...Show All
SQL Server Auto Create trigger after re-initialization completed
Hi all, Is it possible to create a trigger after creation of table during reinitialization if so, how can I do that Thanks in advance! Hi, Stephanie, If I understand your question correctly, you wan to create a trigger on subscriber db right after replication agent created replicating table on subscriber database. If so, you can use post snapshot script. To specify a post snapshot script in Management Studio, right click a publication under replication node, choose Properties context menu to bring up Publication Properties dialog, on the left pane treeview, click snapshot, you should see the input fiel ...Show All
Visual Basic VB6 installation error
when installing vb6 it give error message as Setup was not completed successfully. This message comes while trying to update the system settings. Hi, These are forums that deal with issues related to .NET based languages. Please post questions related to Visual Basic 6.0 in the Microsoft Newsgroups here . Regards, Vikram ...Show All
Windows Forms Global Variable in Windows Application
I have created an MDI based application using C#. How and where can I create a global variable that can be used anywhere in the application Static variables are global. Alternatively you can add a property to your MDIParent class to retrieve your "global" variable. You can access the MDIParent from a child, but you'll need to cast the property to your type to get your custom property. -mark Program Manager Microsoft This post is provided "as-is" ...Show All
Smart Device Development Trouble using native DLLs
We are having difficulty using native DLLs with VS2005 in C# on a PocketPC 2003 device, or the emulator. I would be extremely pleased to hear any suggestions on this matter. I have tried creating a simple DLL with both eMbedded Visual C++ 4.0, and as a C++ smart device DLL in VS2005. In both cases I get the " Can't find PInvoke DLL Whatever.dll" The DUMPBIN looks perfectly fine in both cases, no name mangling, etc. The DLL is compiled for the correct processor. The DLL code is extremely simple: extern "C" _declspec(dllexport) WORD WINAPI TestMe(WORD InVal) { return InVal + 1; } The function above is a ...Show All
Windows Search Technologies IFilter Preview
What interface and registry settings do I use to supply the picture for the Preview box in the Windows Desktop Search window I tried adding an IViewObject2 to my IFilter DLL but it never gets called. Joe, Thanks for answering, however a statement in a 3rd party blog hardly constitutes an answer. I have no way of knowing from whence Tom comes. I have have opened an MSDN support incident through my Certified Partner account, so I suppose I will have to pay the answer, if it ever comes. Making someone wait months for an answer could hardly be taken any other way than "blowing off your questions". Ha ...Show All
Smart Device Development CArchive
Is that true that CArchive is not support under MFC 8 It's supported. After Beta2, we decided to take it back per customer requests and also because that the size of the MFC dlls was no longer the biggest concern on devices. ...Show All
Windows Forms Why was OCX support removed from .NET?
(I'm not sure if this is the correct forum for this. I apologize if not.) I never really understood why this was done. Currently I have a VB.NET single form application which is implemented as a class library with a VB6 wrapper so that it can be used as an ActiveX control in a Powerbuilder app. The reason it's an ActiveX control is that that's how two way communication can happen between Powerbuilder and an ActiveX. VB (6) can raise event to Powerbuilder and Powerbuilder can call methods and properties on VB. Powerbuilder calling methods and properties works fine without the VB6 wrapper; but there's no WithEvents in ...Show All
