Richard Hogan's Q&A profile
Visual Studio 2008 (Pre-release) Hyperlink in a RichTextBox - no ToolTip?
Quick question: When I set the ToolTip property on a Hyperlink that is then embedded into a RichTextBox, hovering the mouse over the hyperlink doesn't display the tooltip*. Why is this, and how can I make the tooltip appear properly * For that matter, clicks are not correctly interpreted by the Hyperlink either, I have to programmatically attach a MouseDown handler to deal with launching the link's NavigateUri Hyperlink is not enabled in the RichTextBox. Also tooltips of inline level elements are not supported. You could get the ToolTip if a FlowDocumentReader is used HTH ...Show All
Windows Forms Deployment: Installation Project
I can create an intallation program using the wizard but that is about all I know. The installation program created from running the wizard requires that you uninstall the existing program first using Add/Remove Programs in the Control Panel. How can I change this to allow the install program to remove the program I have found it to insist on& ...Show All
Visual Studio Express Editions here is what i am tyring to do..........
i would like to create an application that runs in the background (doesnt have to but that is preferred) that causes my x and y axis on my mose to drift down and to the left while pressinf the left mouse button Check out the API routine SetCursorPos Private Declare Function SetCursorPos Lib "user32.dll" (ByVal x As Integer, ByVal y As integer As Integer Also if this is to work off form, check out getasynchkeystate Private Declare Function GetAsyncKeyState Lib "user32.dll" (ByVal vKey As integer) As Integer The last integer may need to be a short. I'm not sure. These ...Show All
Windows Forms find out in MDI-Form which Control has the focus
hi, i have a MDI-Form. I want to find out, which control (Textbox, Textfield) currently has got the focus. these controls may be in a TabControl. bye Note if the ActiveControl is a ContainerControl you may have to dig down a level to find out the actual "Focused" control. ...Show All
Visual C# adding in a console window
I want to add in a console window to track network packets in my windows form project can that be done You can take a look at some articles. I point to the Packet Capture and Analayzer article written by fkocak and the Network Sniffer and Connection Analyze r writen by Syanar on codeproject. These articles explane how to write a packet sniffer and you can use the code from it. Now you only need to filter your own project packets. But, for debugging i should use a existing program with all of these futeres. There are a lot out there, just use you favorite search page to find them. Here is a example. ...Show All
Windows Forms How to hide/unhide a column in a listview?
HI.. I have a list view and it contains some columns - Column1,Column2,Column3,Column4. Now i want to hide any of the columns if it is visible or unhide the columns if it is already hidden.How can I do this Any help is highly appreciated ~nhd This link will help you- http://www.codeproject.com/cs/miscctrl/listview.asp ...Show All
Visual C# Positioning control on a form
Hello. Your help is very much appreciated. I write Win app using .NET 1.0. I have a form which only has datagrid on it. I want that the datagarid will fill all the space on the form. The dg is always stuck at the top left hand corner. I used the docking property - but it didn't change a thing. this .dg.Dock = DockStyle.Fill; Any suggestions THanks a lot Roy Hi Arjuna! Dock property is right answer when you need to fill whole form. Anchor can be used, but it's intended for other layout purposes. ...Show All
Visual Studio 2008 (Pre-release) Vertical text
Is there an easy way to display text vertically. I am not thinking about rotating text 90' but rather about having characters on top of each other as shown below. Of course, one could create a document with line breaks. Is there a better way e x a m p l e ...Show All
Visual Studio Team System Using Javascript in test cases
Hello- I've watched a web cast on web and load testing with Visual Studio Team System and found it quite interesting. I'm trying to use it for my product for automating test cases but seem to run into problems getting the recording to work properly. When I play back the recorded steps, the application seem to fail and not work properly. My application makes heavy use of Javascript and I heard in the web cast that the team system does not actually run any JS - is there a way to modify this behavior or make some other change in order to have this product work with my application Thanks. The following article ...Show All
SQL Server Doing a SELECT on a different field than the field in the GROUP BY
I'm using SQL Server 2005. I've got table tblSaleAddresses which looks something like this: AddressID SaleID Address1 Address2 ..... DateEffective ------------ ------- ------------------- --------------------- --------------- 1 100 Unit 20 100 Easy St &n ...Show All
Windows Forms Is this possible?
Is is possible to have a C# app update text boxes in a webpage that I don't own For example if there was a webpage that had a couple of textarea input fields would it be possible to write a C# app that could put text into those textarea's Thanks. Indian Ocean wrote: Yes, its possible but you have to use some WIN32 apis for that. Its a inter-application communication in fact. If you want to do that using WIN32 apis then tell me so i will send you the exact stuff with code snippet Yes, that is exactly what I would like to do and I've no problem using WIN32 API's for it so if you could se ...Show All
Windows Forms highlight text in textbox
i wish to highlight the text inside my textbox programatically, how can i do that can anyone help me thank you i try with TextBox1.SelectAll() but it seem does not work hi ken, i have try out, and it really works, thanks a lot... ...Show All
Smart Device Development Activesync 4.0,win mobile 5, XP Home edition SP2
Hello, I have a strange problem. My activesync connection was working fine but now when I re-installed activesync 4.0 I get the "critical communications services have failed to start. Try resetting the mobile device" message. Please help. Thank you. I had the same problem myself and found an earlier posting with the solution. Check out... http://forums.microsoft.com/msdn/ShowPost.aspx PostID=66038 Seems to be down to a dll version (or in my case it didn't exist in the program directory at all). Click the link and all should become clear - hope it works for you. D ...Show All
SQL Server Report builder & designer end-user's functionality
Where can I find a comparison between the report builder and designer I would like to implement an end-user solution and as part of the exploration process I failed to completely understand the capabilities and disadvantages in each of the modules (I’m talking about the end-users functionality for the given reports – not for the designer’s usability of any sort) Thanks Ron Take a look at slide 13 of http://download.microsoft.com/download/e/2/6/e2631eea-9a8d-484c-ba43-ac2e5be86396/BIN316.ppt . This is a version of a slide that I built to explain the differences. ...Show All
Visual C# redirect input (c# and network)
hello how i can set server input device to input on clinet computer (i.e when server's mouse move , client's mouse implements it ). and how i can redirect server output to client display If you want to redirect the Input, you can use existing software like Remote Desktop: Windows XP: Get Started Using Remote Desktop . If you want to use a VNC implementation, you can use: VncSharp: A .NET VNC Client Library or you can take a look at VNC-Client for .NET using the RFB Protocol . The protocol is really easy, the server sends the framebuffer content to the client, the client informs the server about events ...Show All
