Golden Strands's Q&A profile
Windows Forms PrintPreviewControl Margins ignored ?
Hi, Im using the printDialog control to print out images from a graphics application I am writing. I allow the user to set the margins and image size, which print out correctly. The problem is that when I view the printPreviewControl the image is located at the top-left of the page. It is sized correctly but appears to be just ignoring the margin settings. Is this a bug or am I doing something wrong I am setting the defaultPa ...Show All
.NET Development Drawing Font Vertically
I'm trying to draw font vertically, using the System.Drawing.Graphics object: StringFormat format = new StringFormat(); format.Alignment = StringAlignment.Center; format.FormatFlags |= StringFormatFlags.DirectionVertical; The problem is, it draws the wrong way! It draws the text so that you have to tilt your head to the rig ...Show All
Smart Device Development Upgrade path for CF 1.1 design time capable custom controls to CF 2.0
Does anybody know of one I read in this post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=129715&SiteID=1 of the genasm.exe tool, but searching on http://msdn.microsoft.com/ for it produces no results at all. There also does not seem to be an automatic way of creating the necessary *.xmta file outside of VS2005. Can anybody give me a heads up on this one please It does seem a bit ridiculous that none of the work I put in to create ...Show All
Visual C# abstract/virtual events
If you have an abstract base class which has an event that children may implement, and none of the base class methods connect or raise the event, then what's the difference between declaring that event as either abstract or virtual I can't find much of anything in the docs about abstract or virtual events. An abstract method declaration provides no actual implementation, there is no method body; the me ...Show All
Windows Forms testing a where clause
I can fill a single record into a datagrid from a database by pulling the textbox value into the where clause. The problem I am having is if I input a value that doesn't exist in the database. It loads a blank datagrid. How do yo ...Show All
Microsoft ISV Community Center Forums Uniscribe
What are the current plans with Uniscribe Other than MSDN documentation and only one sample app (please correct me if there are more), it makes me worry about future support. Comment I need to upgrade(fix) my TrueType font code. The old code simply retrieves the curves (bsplines/polylines) and plots them on a graph (xy locations). I used "fixed" spacing and the results are very random. I looked int ...Show All
Visual Studio Team System Removing a source control project from a Team System project.
Is there an easy way to remove a source control project from a Team System project I cannot find a way to do this in the documentation and in the source control explorer, Delete or Remove is greyed out. HELP! Open the solution from VS2005 Go to File->Source Control->Change Source Control From this screen you can unbind the solution from the source control Other that that, I was able to delete a pr ...Show All
Windows Forms bug in Forms Designer when using tab pages - controls dissapear
I would like to know if anyone else experienced this. Under VS.NET 2003 I started a simple crash test project, Windows Application type. On the main form I put a tabbed control, then add a tab page, and then put some controls in there.&nbs ...Show All
Visual C# custom appdomain, crossing .net versions, "Type is not resolved for member <member I'm loading>"
I'm stumped! I have an app which loads assemblies into a seperate app domain. it is written in 2.0. I have the assemblies I'm loading which were built in 1.1. I have a custom interface library which was written in 1.1 signed and installed in the GAC. I have a custom appdomain loader (marshal by ref object) which was written in 2.0, and uses the interface library which was done in 1.1 to pass a type back to the default appdomain. It ...Show All
Software Development for Windows Vista Beta2 - Breakpoints in designer
Hi to all, When I set breakpoints on activities on design surface, they don't get hit (and display circle with exclamation mark during debugging session). However breakpoints in code behind of workflow break just fine. Thanks in advance. Hi, I tried this scenario on the latest version of the WF (not yet released to the users) but could not reproduce the null reference exception. Please try this scenari ...Show All
Visual Studio Express Editions Hourglass flickering in Visual Web Developer
I get this problem constantly while writing ASP.NET pages in VWD 2005 Express. When I first start the program and open some aspx pages up, the hourglass stays off as it should. After a while, though, while the mouse pointer is held over the source code view of any open aspx page, the hourglass starts flickering on-off in roughly half second intervals, as if VWD is doing some syntax checking or something in the background. The only way ...Show All
Windows Forms How to pass parameters from one form to another?
Hi All, I use the follwing statement frmDetail.Show() to bring up another form on existing form but I want to pass One parameter in this form. How can I pass parameters in windows form I know in asp.net web forms we can use response.redirect ...Show All
Visual Basic Question on VBA, Excel, and a copying to a separate program
I worked at a company before where an employee with a little bit of a programming background created a program that would copy information from Excel, cell by cell, and paste it into another program's window running beside Excel. I 'think' he used VBA to do the prgramming, but I'm unsure and want to see if anyone agrees that VBA is capable of doing this. Basically the program would copy a cell in Excel, alt-tab over to the other wind ...Show All
Windows Live Developer Forums Consuming MSN Search Web Service from PHP
Good news about Microsoft allowing access to their MSN Search service through SOAP ! It was definitely about time. I've been trying to build a MSN Search API client with PHP. I'm using nuSOAP to interface with the SOAP server. However, I'm having a little trouble getting it to work. Just for the record, I've had developed several SOAP clients succesfuly (for example, using Google API). This is the code that I'm using (of course, where it says ...Show All
Visual Studio VS 2005 RC1 - Fails to install
I'm Getting the following error message On the Microsoft Document Explorer 2005 installation point "An unhandled win32 exception occured in DExplore.exe[3196] Just-in-time debugging this exception failed with the following error: No installed debugger has Just-In-time debugging enabled. In Visual studio, Just-In-Time debugging can be enabled from Tools/options/Dubugging/Just-In_time" I have used the vs_unist.exe tool, rebooted and still ...Show All
