kypdash01's Q&A profile
Windows Forms DGV, combobox, ContextmenuStrip, KeyStrokes
I have a combobox derivative that operates in conjunction with my own generic data adapter and a contextMenuStrip derivative, they all work fine together in a non datagridview context, and they nearly work just as well in a datagridview context, although I've had to do some not very pretty adjustments to make that happen. There is just one item that has me stumped - the context menu "pops up" a textbox for a couple of the choices on its menu, the popping up works fine in a DGV, but the TextBox uses the Escape and Enter keys to terminate user input (which it does via the keyDown event), but it doesn't get ANY keyDown events in a DGV environment - consequently the textBox never gets to it's validated event, where amongst things lik ...Show All
Visual C++ UNSIGNED CHAR data block and STRING format!!
hi i am working in vc.net 2003 i want to convert u_char array to string format which can be used in a textbox or any other control.. and the u_char block is actually filled in from the system. which will contain non-ascii characters(beyond 0x7f) ,, actually i want to print u_char array on textbox like ff f4 01 2f as it is in a byte array.. i am sorry for my poor english .. i am not very good at it.. anyways thanks in advance.. Note that this forum doesn't cover VC 2003. This would be one way to do it: size_t len = 5; u_char* arr = new u_char[len]; // ... fill array std::ostringstream os; os << std::hex; for(size_t iter = 0; iter < len; ++iter) { if(iter > 0) os <&l ...Show All
Visual Studio CR's MOST WANTED/HIDDEN/ARCHIVE/READONLY FILE: CrystalImageHandler.aspx in VS 2005 RC1
I wish to thank anybody who is successful or made daring attempts in finding this file in VS 2005 RC1. Images are not working. I create a Viewers vdir in IIS to point Crystalwebformviewer3 and understandably the aspx has gone missing from the vdir. Did anybody come across the aspx file Thank you CR for VS 2005 no longer needs a *.aspx file to be installed. Instead, we use an HttpHandler mapping in the web.config file: <httpHandlers> <add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/> </httpHandl ...Show All
SQL Server MCTS Documents
Hi, Anyone please do tell me where i can find documents to prepare for MCTS ( SQL SERVER 2005 ) Thanks in advance. It's probably too later but I just joined here and acquired this cert last month this is what I did: Read through cover to cover o'reilly's "Learning SQL on SQL Server 2005" Took MS official course 2780 and then went back cover to cover with the issued book. Read through cover to cover MCTS 70-431 self-paced training kit. Went through practice exams questions (from above book, included with purchase) until scored above 80% consistently. Reread weak sections in book Transcender exam questions until scored 90% consistently. Made flash cards to go through a few ti ...Show All
Visual Studio Tools for Office CLR has been unable to transition from COM context
Context: Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 Installed Edition: Professional Microsoft Visual Basic 2005 77617-168-7076001-41239 Microsoft Visual Studio Tools for Office 77617-168-7076001-41239 Visual Studio 2005 Tools for Office Second Edition 77617-168-7076001-41239 Security Update for Microsoft Visual Studio 2005 Professional Edition - ENU (KB925674) Problem: While stepping through my Excel VSTO application in the debugger, I keep getting this error after about 1 minute. It doesn't seem to matter where I am in the code. I think it's related to Excel sitting there with a blank screen while I am futzing around in the debugger. Error M ...Show All
.NET Development CREATING DATABASE PROBLEMS
hi! i am new and heres what i try to do: I want to do an internal database where user create accounts, log in and view the information of the account! if some knows what i mean please HELP! Leo I don't know what you mean :). Ok, seriously, I do know what you mean in general, but you need to provide more information. I'm not sure what "internal" means in your description. In general terms you're talking about either a 2-tier client-server application on a SQL Server (or other relational) database, or a 3-tier web application on IIS + SQL Server (or other relational) database. If you can provide more context on what your application will do, perhaps we can help. ...Show All
Visual Basic Problems Retrieving Clipboard From a DLL Assembly, Anybody ?
Hi, I have a problem trying to retrieve the clipboard from a dll even when the CopyToClipboard returns 1 (the data was succesfully copied to clipboard) anybody : Call pdfPage.CopyToClipboard(pdfRect, 0, 0, 100) Dim clipboardData As IDataObject = Clipboard.GetDataObject() If (clipboardData.GetDataPresent(DataFormats.Bitmap)) Then <<<----- Here's the problem because clipboard is empty Dim pdfBitmap As Bitmap = clipboardData.GetData(DataFormats.Bitmap) ....... The funny thing is that running this code in a windows.form works perfectly, can data be copied to the clipboard from a dll Thanks in advance for your help. George Mike Mike !!!, this is the weirdest thing, the ...Show All
.NET Development controls
i m using asp.net 1.1, i want to know how to handle users e.g. there are few controls that a user can see and few are only visible bye administrator , few pages are for administrative tasks so the user cant see the entire page, watz the easiest way to do this, i want a refference code , thnx The forums at http://forums.asp.net are better able to answer UI questions. Thanks. ...Show All
Visual C++ No events, virtual functions, etc. for derived class in properties window
Hallo! I'm trying to build a C++/CLI Windows Forms aplication. I added beside the main project a class library poject and added there a custom control class. After that I change the class code to inherit from System::Windows::Forms::Button so I can build a custom button control to be used in my main projects forms. My problem is now that I don't get any assistance from the IDE to override the Button's virtual functions or events like I was used to in MFC by clicking on the class in the class view and then selecting the needed event in the properites view. All the three tabs (events, messages and virtual functions) are all empty. Am I doing something wrong here Is this not the way you should subclass a control in .net Thanks for an ...Show All
Visual Studio 2008 (Pre-release) How do you change SelectedItem in a ListBox?
I'm trying to accomplish what I thought was a simple task. I would like items in my ListBox to select automatically when I hover over them. I tried to set up a Style and use a Trigger on the IsMouseOver property of my ListBoxItem and change the IsSelected property, but that doesn't appear to update the SelectedItem property of my ListBox. What is the best way to select an item just by hovering over it Thanks! can you try < Style TargetType = " {x:Type ListBoxItem} " > < Style.Triggers > < Trigger Property = " IsMouseOver " Value = " True " > < Setter Property = " IsSelected " Value = " True " ></ Setter &g ...Show All
Windows Forms how to minimize a form
What function should I use to minimize a form in C# or VB.Net Many applications have a option - "Minimize to System Tray". How can I add this feature to my application Please Help me. take a look at this: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=643672&SiteID=1 ...Show All
Visual Studio Modifying fonts in the code view
Hello, I am currently about to start a study of fisheye view visualization of source code. For this, in a developed add-in for VS2005, I need to be able to change the fonts of individual lines in the code view of VS2005 - is there any way to achieve this I.e. I need to be able to set font size individually for each line. As far as I can see from the documentation this is not possible - only changing the colors and styles can be done - is this correct If so - is it possible to take advantage of VS2005's code model (i.e. the TextSelections, points, CodeElements, etc.) in a custom build code view Best regards, Thomas Rene Sidor University of Copenhagen, Denmark Hello Ed, Thanks for your reply. Plan B is ...Show All
SQL Server Filtering In Merg replication
Dear ... This is one of sql server 2005 's users. I put filter for one of my merge replicate articles .But it dosent work correctly .plaese help me to set my article correctly. Best regards R.Marandi I need to know how you setup the filter for your publication, what the publication looks like, etc. Technical details. I understand what you are trying to do, but if you have a switch set incorrectly somewhere, then we'll only be able to find it with complete technical details on your publications. ...Show All
.NET Development Modify System.Exception in SetILFunctionBody
I am wondering if I can get some help on this. We have working "Proxy" that is invoked via insertion into methods and gathers all the calling arguments, etc. and passes to a handler. We are using the SetILFunctionBody during JIT compilation. It works fine for 1.1, but in 2.0 ONLY works when using LoaderOptimization other than SingleHost when hooking corlib methods such as the System.Exception .ctor. We are hooking many methods - all NON core methods work well. I have come to the conclusion that it has to do with Domain Neutrality of mscorlib (only) being in the shared domain. So, my questions are this: Other than the LoaderOptimizationAttribute OR the args to the CorRuntimeBindEx to load the CLR - how can one override the Loade ...Show All
Visual Studio Express Editions Project Designer missing in Visual C++ Express
I have installed Visual C++ 2005 Express Edition but the Project Designer is missing. The Projects - Properties option opens the property pages, just like View - Properties, whatever is selected or not in the solution explorer, and none of the other routes in the documentation seem to work. Help, please!!! ...Show All
