dhaval_shah's Q&A profile
Visual C++ Property Sheets - A problem
Compiler: Visual Studio.NET 2002 Hi everyone, I am having trouble teaching myself Property Sheets. I thought I grasped the ideas but I get a 'First-chance exception' in the Output window when debugging. I do not think I am doing anything special, my code is: CPropertySheet propsheet(_T("Property Sheet")); MyPage pageFirst; // derived from CPropertyPage MyPage2 pageSecond; // derived from CPropertyPage propsheet.AddPage(&pageFirst); propsheet.AddPage(&pageSecond); if (propsheet.DoModal() == IDOK) { } MyPage and MyPage2 are created in the normal way in the resource editor and the classes are created using ...Show All
Visual Studio 2008 (Pre-release) FlowDocument rendering questions
If I want to render a FlowDocument to an irregular area what are the best approaches I would like to be able to render a flow document to a series of rectangles that are not arranged in Y linear order. Basically, allow free-form page layout with content flowing from one place on the page to the next. Can this be done with any existing control While FlowDocument supports columns and floaters and such to do simple page layout, is that all there is in this version Is there a way to at least have different page orientations within the same document For example if I have a large table and want to use landscape in the middle of a document that ...Show All
SQL Server Communicating between 3 Service Broker instances
I have a problem. I am trying to set up Service Broker communication between 3 machines, all running the September CTP release. I have included the scrip (edited) that I used to setup the 3 machines. This scrip refers mainly to what was done to server1, with comments to indicate which parts were done on the other servers (commented out the connectionstring property to indicate a change of server) I also added comments to indicate the copying/deleting of certificates; this script is intended to recreate the three setups if necessary so there is script that checks for the existence of objects before trying to create said objects. Certificates ...Show All
Visual Basic accessing form controls from other forms
I have one win form1 and i want to access another windows form2 from my first win form, I was told that accessing other controls in other forms like this Dim fm As New Form2 fm.textbox1.Text = "hello there" is not a good programming practice...is there another way of doing this.... I'm not sure why that is not considered *good practice* but other than using an instance variable to access the form and then its properties and controls you have the option of using events...one form would fire the event and the other form would respond to the event. HTH ...Show All
Visual Studio Express Editions Corbis images and the icons
I heard they come with the regisration. But where can i find them after registering it. ...Show All
Visual C++ How to regenerate Intellisense database?
I am using Visual C++ Express Edition Beta 2 How can I regenerate the Intellisense database for a project It's always showing old, not up-to-date, suggestions. ...Show All
Visual Studio VS2005 June CTP install problem
Hi, VS2005 June CTP installation is giving me a lot of problem. It is not installing with SQL Server 2005 (April CTP). If I install SQL 2005(April) first then VS2005 June CTP (without SQL Express) doesn't install. And if I install first VS2005 June (without SQL Express), then SQL server doesn't install. And also VS2005 june ctp is not installing SQL Express as well even in the absense of SQL 2005 April. Any help will be grately appreciated. Thanks I stand corrected. This thread should probably be moved to Microsoft Technical Forums Visual Studio Team System Visual Studio Team Foundation Serve ...Show All
SQL Server Data Access very slow in .net as compared to VB
Hi, I have migrated my app from VB to VB.Net. A 3-tier app with remoting and COM+. I am experiencing a long wait time of about 3 times higher than what it would take in the VB App. I am using DataAdapter.FiLL method to fill the datatable. I have tried. Using DataReader ( Made the things worse ) Using BeginLoadData and EndLoadData Creating a Dataset and calling fill with the dataset so that the round trip to the middletier is saved to bring the SQL. But i feel now that whatever is done. the problem is with the fill method only Is there any alternative Please suggest. It is one of the most important thing ...Show All
.NET Development XmlTextReader
Been trying to read a simply xml file. Looked at and tried a few samples with no luck. Funny thing is, I do this all the time in actionscript. But, here is the xml file.... < xml version ="1.0" > < Parms > < Name > test1 </ Name > < Uname > test2 </ Uname > < PW > test3 </ PW > < Server > smtp.isp.com </ Server > < Pop > smtp.isp.com </ Pop > < Email > email@isp.net </ Email > </ Parms > And here is a sample I have been trying to get to work. XmlTextReader myReader = null ; myR ...Show All
Visual Studio Team System Bug: DropDown FieldControl (Team Explorer client)
The first time I click on a DropDown control in Team Explorer client (Beta 3 Refresh) it doesn't keep itself opened. I need to click again to show the available options. Regards, Max Andrade I'm sorry but I thnk you're going to have to wait for this one. The cost for us to go back and release a patch is pretty high. We are planning to have a Release Candidate out within a couple of months and it will be fixed in that release. We'll be supporting data upgrades to the release candidate so I think that's your best bet for getting this fix. Brian ...Show All
SQL Server Running under 64-bit OS
In configuration manager, the parameter "running under 64-bit os" is grayed out on my sql services. How can you change this Where does it get set At install This can't be changed...it is set depending on the OS version and SQL Server bits you've installed. In order for it to be set, you'd need to be running a 64bit OS (IA64 or x64) and have the appropriate SQL server bits installed (IA64 SQL version or x64 SQL version)... ...Show All
Visual Studio Express Editions Putting a 12 hour clock in a group box
Hi VB Pros, I was able to put a simple 24 hour clock in a group box as a label. Is it possible to put a 12 hour clock in there Thanks, Is there a book/s that detail this kinda stuff Elgee How did you do the 24 hour clock With DateTime.Now and a timer If so, the 12 hour clock is just a rendering detail - if the hour > 12, subtract 12 and put PM after it. ...Show All
Visual Studio Express Editions Finding row in gridview
How to finding row in gridview with value typing in textbox. I have moved your post to the VB Express forum judging from your previous post. Keep in mind that your post is quite vague and you might want to beef it up with more information what you are trying to achieve and how you are doing it. Read this post for more help how to help others help you http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=227937&SiteID=1 ...Show All
Windows Forms Making a UserControl behave like a Timer control at design time
I have a UserControl in C# that I want to behave like the Timer control, and other controls behave. That is, at design time, when the user places the control on a form, it drops down to the window below the form instead, and just shows its name. Also, at runtime, it doesn't display anything. Does anyone know how to do this ...Show All
Visual Studio 2008 (Pre-release) How can I write custom error handler for a proxy?
I'm trying to write exception handler for the proxy that would get rid of FaultException and throw wrapped Exception - e.g. DivideByZeroException . On server side I've found IErrorHandler that can be used to customize error handling, but I cann't find similar handler for client side. I think proxy message inspector could fit here, but I find no way to get OperationDescription.Faults of the current operation from IProxyMessageInspector. AfterReceiveReply method implementation. Am I missing something Are there any plans to add to client side something similar to server side IErrorHandler ...Show All
