urw's Q&A profile
Visual C++ dialogs
hello, i just started programming using this software and i was wondering if anyone could help me. given i have 2 dialogs. how do i add the 2nd dialog class as a variable to the first dialog class thanks! First, you need to #include the header for the second class in the cpp file of the second dialog. Then you can just create instances as you would any other variable. That's assuming you only want to create a variable within a function. If you want a member variable, you need to put the #include in the header file for the first dialog. ...Show All
SQL Server How robust is Reporting Services 2005
Hi, I am thinking to suggest Reporting Services 2005 to our client to build several complex/mission critical reports. The only point that is not clear for me is that how robust is the current beta version of SSRS 2005 Can we start report development on SSRS 2005 latest beta version and then continue using the final release in November Is the latest beta version of SSRS 2005 aligning with the Visual Studio 2005 Release Candidate 1 I am asking because there are some report viewer user controls for visual studio 2005 that is included in SSRS 2005. I am not sure those report viewer user controls work in VS2005 release candidate 1. Any help ...Show All
Visual Studio Express Editions Free VB Book
http://msdn.microsoft.com/vstudio/express/register/ is a page on registration benefits that says to get " Microsoft Visual Basic 2005 Express Edition: Build a Program Now!" at the Registration Benefit Portal. How can I get the book How can I find the portal Now I answer my own question about getting the free stuff: after registering VB Studio Express. Login at http://connect.microsoft.com/ where you find the "Registration Benefits Portal". Go to the place to download File Transfer Manager. Unblock ActiveX for that. http://transfers.one.microsoft.com/FTM/TransferSource/grTransferCtrl.c ...Show All
Game Technologies: DirectX, XNA, XACT, etc. MechCommander 2 Fix Guide
For anyone who is interested in the MechCommander 2 stuff I just wanted to let you know I've posted a guide with all the bugs we've found in our Shared Source Release and how to fix them. You can find the guide at: http://blogs.msdn.com/mklucher/articles/629796.aspx If you have any comments please let me know! DS3DSoundChannel::SetPan (in as of yet the unreleased src for GameOS): The safety check if v is below -1 Seems to me there could be a copy'n'paste bug there. It seems to be: if (v < -1) { v = 1; } when it should be if (v < -1) { v = -1; } Can you ACK ...Show All
Visual Basic Macro in VB.NET ?
Hi, I repeat the same code a lot of time and was wondering if there is an equivalent to the C #define in VB.NET. Any idea will be helpful. And I don’t want to go into reflection, this is only for esthetic not for usability. Here is an example: Private Sub SaveFile() Dim active_window As ProjectGroupWindow active_window = GetActiveWindow() If Not active_window Is Nothing Then & ...Show All
Visual Basic MDI Form (Page Up/Page Down) Help Needed
I am working on making a few enhancements to a legacy VB Application and I've run into something I thought was going to be simple but has proven quite the opposite. The application has an MDI Form with MANY child forms, some of which contain user controls that are almost forms unto themselves. The problem is that the forms and controls are causing the MDI Form to display scroll bars. The client wants to be able to use the Page Up and Page Down to go to the top and bottom respectively. As you may or may no know, there is no KeyDown on an MDI Form and I can't even find anything on how to programmatically ...Show All
SQL Server Size specified for a binding was too small, resulting in one or more
I have changed my source data warehouse by increasing some column widths. Now when I try to deploy the cube I get: Warning 1 Errors in the back-end database access module. The size specified for a binding was too small, resulting in one or more column values being truncated. How do I fix this I have tried going into the DSV and making sure things were right. I have gone into the dimensions and can't find anything to change. Any ideas Thanks, Chris When I get that kind of error I go to the DSV and press refresh, accept the changes and that's all. ...Show All
Windows Forms Master Child DataGridView + simultaneous insertion of records
Hi ! i have a master and a child grid on a form. ( vb.net Beta 2 datagridview) if i enter a new record in the master grid and subsequently add child records for it in the child grid, and then click on save: It throws an error for the child table because it does not find a master record in the parent table. This is obvious because at the time of updating child record it does not have the reference key to the newly entered master record. Is there any way to handle it through VB.Net Beta 2 or i'll have to keep track of the new master record inserted, retrieve its primary key and then insert this primary key into the c ...Show All
Windows Forms Trouble drawing theme elements transparently
I'm trying to draw a windows theme element (the window close button, specifically) to an image, and whenever I do, the image has ragged non-transparent bits. I got this code from a sample that didn't do this (it was all owner-drawn, mine draws to an image.) Any idea why it won't draw with full transparency Bitmap output = new Bitmap(closeButton.Width, closeButton.Height, System.Drawing.Imaging.PixelFormat.Format32bppArgb); Graphics fx = Graphics.FromImage(output); IntPtr hTheme = OpenThemeData (Handle, "Window"); Rectangle rClose = new Rectang ...Show All
Software Development for Windows Vista Bug? generic Dictionary as Property
I exposed a Dictionary<string,string> as a property named MI of a custom activity. The code generator messes up the whole workflow afterwards, translating the dictionary to: System.Collections.Generic. Dictionary < string , string > dictionary`21 = new System.Collections.Generic. Dictionary < string , string >(); in the InitializeComponent of the Workflow. The '21 is of course an illegal character combination and the code has to be manually fixed afterwards. Hi John, This is currently fixed and will work properly next release. Generated varialbe should be "dictionary_21&q ...Show All
Windows Forms How to show a picture from sql server( BLOB type )
My table has a blob type field,it's a "*.jpg" picture how can I show it in control picturebox I use System.Drawing.Image.FromStream(stream),but it's error why Pls help me about blob my code is from vs.net sdk,it's good,but it's not showing in picturebox! Nice...never knew there was an ImageConverter. ...Show All
SQL Server lookup to check values in 13 columns with same values
hi, it is my first post on this forum, please be patient if i miss any important bit of information. i am transporting data from a legacy system into mssql 2k5 using SSIS. among those column of a dataset there are 13 columns, all necessary for operational reasons, that i need to ensure data consistance. i believe i could do this check using the lookup data flow item, but surely there must be a way to do it in a more streamlined fashion. since column names contain numbers to distinguish the version, eg; col01, col02, col03 .. col13. i thought i could include the lookup within a loop and use a couple of variables to do this trick, but since i ...Show All
Visual Studio refresh solution explorer
I have created an add-in that, among other things, adds a folder and file to the project currently in the solution explorer. The problem is that this new folder and file do not show up in the solution explorer unless the user presses the refresh icon for the solution (project). How can I refresh the file list in the solution explorer programatically in the add-in I have tried everything I can think of and searched everywhere. This would sure help. Thanks, Nick Hello Nick Is it a VS Language project (VB, C# or J#) that you are adding project items to, or is it a custom project type If you use one of . ...Show All
Visual Studio Showing Interface Implementation
Lets say that I have created an interface in my project and I have 2 classes that implement this interface. Is there a way to display this in the Class Diagram similar to the way it shows classes that inherit from an abstract class I couldn't find it. I found that if I changed my interface to an abstract class the diagram would automagically draw the nice little line to all the classes that inherit it, but if I change it back to an interface all those nice little relationship lines go away. In VS 2005 there won't be a line drawn from the class to the interfaces that it implements. However, you s ...Show All
Smart Device Development GPRS on SmartPhone Device Emulator
Hello everybody! How I use to emulate GPRS signal on WM 5.0 emulator I need test the counter of Call History Menu and other application and I'd like to execute these tests on device Emulator How Can I do that Thanks Mauricio But, when I configure the emulator, exists a option called Network. What's the purpose of this option Thank's Mauricio ...Show All
