Tejal's Q&A profile
Software Development for Windows Vista How to troubleshoot custom designer for sequential workflow
Hello, In the post http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=160891&SiteID=1 , Arjun describes how to define a custom designer for a sequential workflow. As noted in that post, I've tried to imitate Arjun's steps but my custom designer does not appear to be loading. I'm reposting the following to hopefully get some visibility: I've tried overriding the HelpText and ShowSmartTag properties but I don't see any change to the designer. I also put debug statements in the constructor of the MyDesigner code and they don't get displayed. I've attached to the devenv.exe process in another instance and set ...Show All
Visual Basic vb loading -> vb.net
In vb 6 you could easly creating a splash screen that alows the program to load completely before you can do anything. But I've tried so many ways and can't get the right combination of coding to do the same thing as vb 6. One time it made the program run slower! So how do you have a "custom made" splash screen in vb.net There you go :-) Apparently, My.Application.SplashScreen is how you create a splash screen. http://msdn2.microsoft.com/en-us/library/1t310742.aspx ...Show All
Windows Forms How to access textbox on parent form?
I'm trying to access a textbox on a parent form from the child form. Seems pretty simple, but I just can't find how to do it. This is how I'm opening the child form: Form fRoom = new RoomAllocator(); fRoom.ShowDialog(); How do I access the parent form's text box from the child form Somebody please help! Why not try something allong the lines of: Create the following in RoomAllocator: A public refference variable. In VB it would look something like: Public ParentTextBoxRef as object Then change the parent like this: (again VB) dim fRoom as new RoomAllocator fRoom.ParentTextBoxRef = me.<the text box> You should then be able to acc ...Show All
Visual Studio Team System VSTS Methodology Template for Extreme Programming
Hi, **** INITIAL VERSION OF TEMPLATE AVAILABLE NOW ***** I've setup a project to develop a VSTS Methodology Template for Extreme Programming http://workspaces.gotdotnet.com/bsdagile Any offers of help or info about similar projects gratefully received. Will I've already downloaded the MSF for Agile Software Development - Beta 2 PT which is later than the one supplied with Beta II (April 05) as well as the VSTS Extensibility Kit Beta 2. Is there anything more that I should look at The problems I have at present are: 1. Resolving the licence / copyright issues regarding exporting the MSF Agile MethodologyTemplate, adapting ...Show All
Visual Studio Simple (?) remote debugging question
Hi, I need to debug a x64 binary on XP64 from my X86 XP machine. I have the x64 remote debugger installed on the x64 system and can connect and debug any running process by clicking "Attach to process" in vs2005. I do however need to begin debugging my app immediately after start, so I'm looking for a way to have the remote debugger start my program in debug mode while I'm already connected to it. How can I do that Thanks - Balt Simple indeed. Just found it: Project properties -> Debugging -> select remote windows debugger and fill out the rest of the fields. Maybe someone else will find that useful. C ...Show All
Visual Studio Express Editions Std Visual Studio 2005 vs. VS 2005 Express
Quick question or two, I have used v2002 90-day trial in past, currently have 2003... and I'm looking at installing 2005 ASAP. In the past, I installed beta 2 of the Express ver, and I have confirmed it is gone, so that old problem is solved... I have one program created in Express (the Sudoku example code) that I want to compare to my own pseudocode I wrote up and try running it as well in a different language...etc...normal coding. Here's the question(s).... 1) Does the Standard version of MS Visual Studio .net 2005 contain all that is needed to run programs already created in the Express version.... ( y / n ) In other words, is MS V ...Show All
Visual Basic editing DataGridView cell content
I am developing a VB.net Windows app in VS2005. I make extensive use of DataGridView controls. I want the use to be able to edit the data in the DataGridViews. I have EditMode set to EditOnEnter for all DataGridViews. Data retrieved from the SQL db will be fine but I want to make sure that the data entered new or updated by the user is of the right type so I tried to code the CellValidating event to validate certain cells. I want to make sure that, for example, a DataGridViewTextBoxColumn used for dates is actually holding a date before I call a stored proc. to store it in the db. This is what I currently have but it is not working: ...Show All
Visual Studio Team System Adding custom property via automation
Hi, I'm using automation to add WebApps and WebService providers ports, everything is working ok. What I can't find out to do is to add custom setting to the webapps or ports (preferability), by this, I mean doing the same thing you can do by using the UI when you go to: Settings and Constraints -> Custom -> Add Custom Settings. I'm hoping this can actually be done and I'm just missing the right properties/method to use for this, Any help greatly appreciated. Hi, Thanks for the question. Unfortunately the Visual Studio Team Edition for Software Architects designers don't support an automation model ...Show All
Visual Studio Express Editions Thumbnail view ?
Consider a app. User clicks add button and selects multiple images. Now I want the program to show the selected files in thumbnail view. Now how to achieve this objective Can I use listview as container to hold thumbnails Thanks I did this before by using: ' a system.drawing.bitmap can create a thumbnail ' get the file image Dim bm As System.Drawing.Bitmap = DirectCast(Bitmap.FromFile(path), Bitmap) 'turn bm into a thumbnail bm = DirectCast(bm.GetThumbnailImage(desiredWidth, desiredHeight, Nothing, IntPtr.Zero), Bitmap) bm.SetResolution(96, 96) ' set to desktop resolution Return bm ...Show All
Windows Forms List boxes and Combo Boxes don't display contents
Hi all, I've been writing VC++ for several years and also am quite familiar vb. I've recently decided to try to use VC# (2003) for a recent project and am running into an issue I suspect has to do with a control problem (installation issues ) or maybe with the framework version installed on my machine. Anyway, I have a simple window with a combo box with a few values added to it (it doesn't matter if the values were added via the property pages or via Add() method) When I look at the control on screen, I see no text. However, there are the correct number of selectable places in the control itself (it drops down with enough entries to ...Show All
Windows Forms Stupid ?
How do I set the width and height of a control example I have a panel i want to , in code, set the width and height. I have; With pnl_Welcome .Location = New Point(4, 3) .Size.Width = New unit(100) .Visible = True End With The following, unit, gives the error: Unit not defined! What am I miss ...Show All
Windows Forms Increasing the size of some controls
Hi All. How can I increase the size of the drop down arrow of a combo box, or the up/down arrows for a numericUpDown control Increasing the font for that control just increases the control itself, but not the drop down arrow or the up/down arrows. Is there a control panel setting that I have to use Any help would be appreciated. I've tri ...Show All
Windows Forms PropertyGrid dropdown
I've seen plenty of examples on how to display some sort of dropdown list as an item in the propertygrid, but I'm having trouble figuring out how I am supposed to tell one selected value from the next. Is there some way that I can associate an index key to each of the items in the list Is it possible for each item to have both a display string and an object (int, guid, etc) behind it Thanks In a similar sitation in one of my project where I was using a propertygrid and showing only description values of a lookup in the dropdown, I relied on a method in the business object that returned lookup code fro ...Show All
SQL Server Transaction log keeps growing
I have set the dboption 'trunc. log on chkpt.' to true; yet the transaction log keeps on growing. sp_dboption pubs_db does show 'trunc. log on chkpt.' to be set. I tried DBCC SHRINKFILE ( pubs_db_log , 100 ) and for a while, the pubs_db_log.ldf was about 100M and then it grew to 10GB. I have a process running that is inserting more than 15K rows per hour and I would like to keep the transaction log from growing. How do I control the tx log growth Jason - Did you have a chance to analyze the problem and collect the data we asked for Please let us know your answers to the questions aske ...Show All
Visual C++ XML Documentation Comments
In new development I've selected to use .NET 2005 and of its features the one leveraged most in moving old code is the XML Commenting from which I hope to product documentation. I've found a problem on the C++/CLI side that I hope someone can help with -- whenever I have a method with a parameter such as array<char> ^ the documenting for that method does not display in Object Browser. As an example of this problem add the following declarations then compile a .NET Class Library -- add the Class Library as a reference in a C# project and browse in Object Browser. The top method will display correctly while the bottom w ...Show All
