PAF7's Q&A profile
SQL Server System.Windows.Form assembly is needed on script component task?
That affects only interface design... so that it doesn't exists at all in a SSIS. What is it for Let me know your view on this or any clarification. I'd say it is compulsory, since you cannot remove it. Why that is I am not sure, probably a limitation of VSA, the slightly quirky host environment used. It is usefull for MessageBox calls through :) ...Show All
Visual Studio customizing crystal report
Guys, I the last mail, i've mentioned that header and footer details are not appearing per page. But I can. Sorry ! Please tell me how to limit the records per page. Thank u! ...Show All
Visual Basic DataGridView Vertical Scroll programaticaly
How can I programatically control the position of the vertical scroll of a DataGridView I need to keep visible the last row added to a table and showing as the last row at the bottom in the DataGridView control so the user doesn't have to be scrolling down every time to see a new row that has been added. I can see the use of the Offset for the Horizontal Scroll Bar but for the Vertical Scroll bar of the DataGridView it can only be "Get" but not "Set". Thanks for your help. DataGridView1.FirstDisplayedScrollingRowIndex = DataGridView1.Rows.Count -1 ...Show All
Windows Forms Cursor
I'm working on a form where some graphics are draw. After drawing, it's possible to select some part of the drawing. When in selection mode, I wish I can change the mouse cursor for something else than a simple arrow. Did someone know how to get a cursor like the one found in MS Paint when the selection tool is use Thank you SL ...Show All
SQL Server No compatibility view for sysproperties
Is there a reason that there isn't a compatiblity view for sysproperties. Try searching for sysproperties in SQL Server 2000 Books Online and you'll see why. There is a reason why we don't recommend to use undocumented features... :-) -- Tibor Karaszi, SQL Server MVP http://www.karaszi.com/sqlserver/default.asp http://www.solidqualitylearning.com/ Blog: http://solidqualitylearning.com/blogs/tibor/ wrote in message news:de2325cd-c357-4bf7-8f97-79553d33a82b@discussions.microsoft.com... > Is there a reason that there isn't a compatiblity view for > sysproperties. > ...Show All
Visual C++ Windows services in VC Express
Hello can you create Windows Services in VC Express. Also, is there a template for these kinds of apps not sure why they keep using that acronym, but a definition of SKU can be found here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=179925&SiteID=1 ...Show All
Windows Forms Rectangles with different Pen widths
I've noticed some issues with the Graphics class in the way it draws rectangles and I'm wondering if there's any advice around dealing with these issues (my searches came up with nothing so far). For example, when I draw a rectangle with two different pen widths the rectangles are not contained in the same dimensions. Pen pen2 = new Pen(Color.FromKnownColor(KnownColor.Highlight), 2.0f); Pen pen1 = new Pen(Color.FromKnownColor(KnownColor.Red)); pen2.Alignment = System.Drawing.Drawing2D.PenAlignment.Inset; pen1.Alignment = System.Drawing.Drawing2D.PenAlignment.Inset; g.DrawRectangle(pen1, new Rectangle(10, 10, 10, 10)); g.DrawRec ...Show All
Visual Studio Express Editions Properties.Settings gives error :"0, 0 is not a valid value for Int32"
Happens everytime, don't know why... Take a form... In properties: ApplicationSettings...Location...new...opens up a standard window to pick a New Application Setting...Take the default value 0;0 or make that anything you want and then somehow that 0;0 turns into 0,0. Now when I edit it in the Settings.settings and type in 0;0 instead of 0,0 ...pop-up says cann't convert 300;00 to an instance of System.Drawing.Size... Am I missing something ps: this is the place where the error occurs. Tx JMW [global::System.Configuration.UserScopedSettingAttribute()] [global::System.Diagnostics.DebuggerN ...Show All
Software Development for Windows Vista Obscure Error: EventDeliveryFailedException
I am new to wwf and in working with callExternalMethod I am continuously getting a EventDeliveryFailedException error, which I am unable to solve. I have seen several messages about this error in this forum, but none of them matches my situation and has pointed me to the proper solution. My code is based on the examples in lab5, but it is slightly different. Here is a description of my case and problem: I use a sequential workflow with a callExternalMethod as the last activity. This callExternalMethod is used to pass back data to the process invoking the workflow, which happens to be a console application. After calling the method o ...Show All
Visual C++ Please suggest how in VC++ 6.0 to save/store dynamically created images from objects of CBitmap
Please suggest how in VC++ 6.0 to save/store dynamically created images from objects of CBitmap, and/or to create video from it. Thanks. E-mail: ls233@mail.biu.ac.il German_n wrote: Please suggest how in VC++ 6.0 to save/store dynamically created images from objects of CBitmap, and/or to create video from it. Thanks. E-mail: ls233@mail.biu.ac.il Perhaps this article might help : http://www.codeproject.com/bitmap/createmovie.asp ...Show All
Windows Forms Failed to load resources from resource file. Please check your setup.
I am attempting to run a .net windows form application on a Windows 2000 machine. But when I load the application it does nothign for 20 second then returns the error message: "Failed to load resources from resource file Please check your setup." At first, I just realised that the .net framework was not installed. So I installed it. Still, the problem ...Show All
Visual Studio 2008 (Pre-release) Filter data between two comboBox(Master and Detail data) in Feb CTP Avalon!
Dear Keith Boyd, I'm working with comboBox control. In that there are two comboBox, a comboBox contain master table(include Name, ID columns) and a comboBox contain detail of the master comboBox(include Name, PersonName, ID, Description...). My axml code: < Window x:Class = " WindowsApplication2.Window1 " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " Title = " WindowsApplication2 " Height = " 300 " Width = " 300 " Loaded = " OnLoad " > ...Show All
Windows Forms unload me
in vb6 we have this function unload me however in .net i can't seem to find it so how do we unload a form here in .net not close but unload NOT THIS ONE (e.g.) me.close me.dispose application.exit i'm looking for the convertion of that unload me code here in .net thanks in advance You may wish to build a parent form to Form1, so&nbs ...Show All
Visual C++ Change Menu item text at Runtime
Hi How do i change menu item text at Runtime in MFC Dialog based application. ///my code CMenu m_Menu,*p_subMenu; CString strMenuString; CString strTMP; m_Menu.LoadMenu(IDR_MY_MENU); p_subMenu = m_Menu.GetSubMenu(0); p_subMenu->GetMenuString(ID_ENABLE,strMenuString,MF_BYCOMMAND); strTMP.LoadString(IDS_MENU_DISABLE); if (strMenuString.CompareNoCase(strTMP)==0) { strMenuString.LoadString(IDS_MENU_ENABLE); } else { strMenuString.LoadString(IDS_MENU_DISABLE); } BOOL bChanged = p_subMenu->ModifyMenu(ID_MENU_ENABLE,MF_BYCOMMAND| MF_STRING,ID_MENU_ENABLE,(LPCTSTR)strMenuString); ASSERT(bChanged); ///////////////// ...Show All
Software Development for Windows Vista The process cannot access the file because it is being used by another process.
Hi, I am trying to compile a workflow at run time, i made a windows form includes a generated workflow at runtime, for the first compile everything is fine , if i am trying to compile it again without leaving the screen i got the following error : "Could not write to output file 'c:\\mydll.dll' -- 'The process cannot access the file because it is being used by another process. '" I used the following code : WorkflowCompiler compiler = new WorkflowCompiler(); WorkflowCompilerParameters parameters = new WorkflowCompilerParameters(assemblyNames); parameters.LibraryPaths.Add(Path.GetDirectoryName(typeof(SendEmail). ...Show All
