Olejka's Q&A profile
Visual Studio Class Designer in Visual Studio 2005 Beta 2
Hi, I would like to know if there is a possibility in Visual Studio 2005 Beta 2 to design classes using Class Designer without updating the code The purpose is to have the tool create a XML schema, kind of XMI, that will at the end generate with a custom tool my Data Access Layer. Thanks Best Regards, --- Laurent Kempe - laurent.kempe@techheadbrothers.com Tech Head Brothers - http://www.TechHeadBrothers.com Blog - http://weblogs.asp.net/lkempe [Microsoft ASP.NET MVP] Ramesh, It was what I thought Best Regards, --- Laurent Kempe - laurent.kempe@techheadbrothers.com Tech Head Brothers - http://www.TechHeadBrothers.com Blog - ...Show All
Windows Forms DataGridViewComboBoxColumn - Display vs. Actual (data) value
Hi All, Is there a way to specify display value and actual (data) value for a DataGridViewComboBoxColumn For example, my database table has a column account_type of type NCHAR(1), which is used to store either 'C' for Credit or 'D' for debit. When the data records are retrieved from the table and displayed on a DataGridViewComboBoxColumn cell, I want it to be displayed as "Credit" or "Debit" respectively. Vise-versa, when users add a new record, they should be able to select Credit or Debit from the combo box, but the actual data to be saved should be 'C' or 'D' respectively. Thanks in advance Yes - the DataGridViewComboBo ...Show All
Visual C++ Linker Error in MFC App ported to VC++ 2005
When I try to build an MFC project that has been ported to the VC++ 2005 compiler I get the following linker error: ProgramName error LNK2019: unresolved external symbol __imp__FtpCommandA@24 referenced in function "public: class CInternetFile * __thiscall CFtpConnection::Command(char const *,enum CFtpConnection::CmdResponseType,unsigned long,unsigned long)" ( Command@CFtpConnection@@QAEPAVCInternetFile@@PBDW4CmdResponseType@1@KK@Z ) Oh hell. Somehow the library file needed to use afxinet classes was missed when porting the project. I put in the reference and it works fine now. Thanks anyway. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How to Determine Dual Head Resolutions
I have a dual head system with one monitor landscape and the other in portrait mode. It rotates on its base. The driver accomodates this just fine and most applications work without a hitch. The monitors run in independent mode and show up as 2 separate devices in Display Properties. A DX9 program I use now has "dual monitor support." It implemented this support by mirroring the first monitor onto the second monitor full screen. In my case, this makes everything sideways on my second monitor. The program makes no allowance to rotate the image. What would be the correct way to determine the resolutions and orientations of the ...Show All
Software Development for Windows Vista Enabling aero glass?
Is there something in particular that has to be done to enable this I've installed Avalon and the other pieces with it, updated my gfx driver the the latest version from nvidia, but I'm still getting the plain aero, and I don't see anywhere to enable aero glass. My system is far above the requirements needed for it: Athlon64x2 4400, GF7800GTX, 2GB RAM... Hello i have sony fs315e laptop with 915 express chipset but cant get aero, what driver do you use regards bob ...Show All
Visual Studio Team System Team project creation failure. Initialization for plugin "Microsoft.Pcw.wss" failed with error:
Hi MS Staff, We're getting an error 'Event Description: Initialization for plugin "Microsoft.Pcw.wss" failed with error: "Client found response content type of 'text/html', but expected 'text/xml'. The request failed with the error message:' when attempting to create a new team project. I've inserted the error log below. Any ideas Thanks, Tony Bierman HNI Corporation 05/04/2005 04:09:19.616 | Module: ELeadServiceMediator | URL for eLead web service retrieved as " http://srv-it-devnet:8080/bisserver/EleadWebService.asmx " from the registration service | Completion time: 0.0469107 seconds 05/04/2005 04:09:20.554 | Module: ELeadService ...Show All
SQL Server How do I add a .DLL to my SSIS script task?
Hi, I have some code written in .NET sitting in a .DLL. I would like to call this code from a script task block of code... but how do I add the .DLL to my project If I go to References->Add References, there is no "Browse" button like there is in "normal" VS.NET. How can I add this .DLL So far I have had to copy and paste the code from the .DLL into my project, but this is ugly!! Thanks for any help. Hi, Refer this link: http://sqljunkies.com/WebLog/knight_reign/archive/2005/07/07/16018.aspx ...Show All
Windows Forms pass param to start a new form
Hello, all. This one is a beginner question. But I want to do it the right way, so your help is appreciated! I have this code from one form to start another one. Private Sub Button2_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim myfrmSearch As New frmSearch myfrmSearch .Show() End Sub Now I want to pass a parameter to the second form, so it will starts in certain way based on the parameter. Hi, I think that if you want to pass parameters specifically to Show method you should overload that method by adding sub with the same name and d ...Show All
Visual Studio Help Formatting my PC
I'm trying to use the html help integration wizard, but get a dialog box telling me Microsoft Visual Studio (as title) The operation could not be completed [OK] when I try to create a new project using the wizard. First try I got it to work but canceled it somewhere in the middle, after that I get the error message mentioned, I've tried doing a repair from add/remove programs, I've removed and re-installed it, but still the same problem.. How can I get the wizard back to a working state again /Simon I installed Visual Studio 2005 SDK – April 2006 v2 RTM and then the Wizard started working again! Bengt ...Show All
.NET Development How to retrieve the SELECT statement from a dataset?
I trying to get the SELECT statement used to fill a typed DataTable at run time. Like in vb6 you used objAdodc.recordSet.Source or objAdodc.recordSource to get the SQL Statement The information is in the TableAdapter as design time but I can't access the SelectCommand at run Time. Any help would appreciated Thanks in advance Ger . you should be able to acccess the the selectcommand of the dataadapter and then the text with MySQLString=DataAdapter.SelectCommand.CommandText ...Show All
Visual C# Can anyone help me to make a shadow for forms
Hi, As you know, I all menus in XP have a nice transparent shadow in behind, Window Live Messenger BETA has one. Does anyone know how it apears and how to make it My manager always focuses on beauty of program's GUI. It would be nice if i can use it in my forms Hi, Check the article at http://davidkean.net/archive/2004/09/13/151.aspx I have checked and it works, additional it seems that you do not need SecurityPermission attribute mentioned in the article, at least works for me. Max ...Show All
Visual Studio Team System Team Project name in Work Item type
Is it possible to get the name of the Team Project within a Work Item type The System.AreaPath has the name name of the project as one of the areas, but it doesnt appear you can get the value from this field. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=70067&SiteID=1 I would like to create one work item type that is universal to all of my team projects, and populate a drop down box with values based on the which team project. Thanks in advance --MikeH I actually just found the System.TeamProject control which does exactly what I am looking for. Thanks the reponse. --MikeH ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX AppWizard for Visual Studio 2005
There is no AppWizard for Visual Studio 2005 in DirectX 9 SDK installation (only for earler version of Visual Studio). Can I download wizard for VS 2005 separately (without all DirectX SDK) or edit avialable wizard for using this in VS 2005 There has not been a DirectApp wizard in the DirectX SDK for at least 1 year now. Instead go to the sample browser application that comes with the SDK, find the EmptyProject sample on the language of your choice (C# or C++ - sorry VB programmers) and it will create you a new project in a directory of your choice. ...Show All
Visual C++ FTP Resume
Has anyone successfully implemented an ftp client which supports resuming I am using the wininet api which makes calls in the following order: InternetOpen InternetConnect FtpCommand (with REST command and offset) FtpOpenFile while loop { InternetReadFile } The problem is that if the connection is lost during the download, the REST command does not work. The ftp server does support the REST command Any help would be great. Thanks in advance. DH This forum is for C++ language issues. There is a Win32 newsgroup dedicated to network programming issues. Try here: http://msdn.microsoft.com/newsgro ...Show All
Windows Forms update db from textbox
I have a textbox connected to a dataset and appropriate oleDBDataAdapter and oleDBConnection in C#. The textbox (databindings) text is connected to the dataset. The textbox gets filled with the data correctly. But when I want to save doing Update nothing get saved in the db. The right value is in the dataset I have checked. I've tried to debug and step into ...Show All
