fishandchips's Q&A profile
Windows Forms How can I hide the caret of a RichTextBox control?
Hello, Can you please tell me how can I hide the caret of a RichTextBox control completely while my app is running Thanks. Just pass the handle for your control and the API will hide the caret inside the control ... You can use dllimport to use this api and then pass the appropriate handle to get the desired effect. [DllImport("user32.dll", EntryPoint="ShowCaret")] public static extern long ShowCaret(long hwnd); [DllImport("user32.dll", EntryPoint="HideCaret")] public static extern long HideCaret(long hwnd); Now call these methods and then pass the appropriate handle ...Show All
Visual C++ Microsoft Visual C++ Runtime Library error question
I recieve this error when I launch Internet Explorer - version 6.0 OS Windows XP Home edition 2002 Service Pack 2. Error is as follows: Microsoft Visual C++ Runtime Library Runtime Error! Program C:\Program Files\Internet explorer\iexplore.exe This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. I am not certain where to post this question and problem. Your assistance is greatly appreciated. Currently, I am using Firefox as my back-up web browser. had the problem with runtime error, removed google tool bar, ...Show All
Windows Forms Customize Tabpage
Is there a bind a inherited tabpage to a inherited tabcontrol (the designer uses allways the standart tabpage...) Regards Hansjorg http://www.dotnetrix.co.uk/tabcontrols.html --> TabControl using custom TabPages. ...Show All
Visual Studio Can an Add-in access ICorDebug?
I want to make a debugger Add-in to display application state information when stopped at a breakpoint. When launched from the VC++>> Tools menu my add-in needs to read the debuggee's symbol values and the symbol's address and read the debuggee's memory. Can an Add-in access ICorDebug Is there a better way to read a symbol's address and read the debuggee's memory from an Add-in thanks marty You can't access ICorDebug from an addin. You can evaluate expressions, which provides indirect access to symbol information, and indirect access to memory. As long as you don't mind r ...Show All
Visual Studio Express Editions unknown stream header byte sequence?
Hi, I've just downloaded the MyMovieCollection Starter Kit for Visual Basic Express Beta 2. filename: AmazonMovieCollection_1_0_vb_rtm.vsi When I click on the .vsi filename (above) I get the error message: 'unknown stream header byte sequence' Any idea what the problem is and how to solve it . Thanks I'm having this problem as well. Does anyone have a solution Thanks! ...Show All
Visual Studio Problem about the VSS's Get operation.Need help!
I recently met a problem in my GET operating. When I GET my applications via the Source control of VC6.0, some files of the projects wasn't be get down to my workfolder and it need me to enter the VSS get them manually by myself. Sometimes, there just are several files needed get manually and sometimes it is a hard task to get because of the number of files is so large. Besides, I had to BUILD my application in VC and then GET the non-get file in VSS. It's so troublesome. To work out this problem, I have tried these: 1\ I deleted the non-get files in the VSS database and added them back . 2\ I destroied the database and rebuilt it . ...Show All
Software Development for Windows Vista Problem displaying state machine wf in the workflow monitor
The Activity layout is a mess when diplaying a state machine workflows in the workflow monitor sample (sdk). Is there a solution If you have rehosted the designer then you must have used the WorkflowDesignerLoader class to load/save the contents of the Workflow into the designer. Your loader class can call protected methods LoadDesignerLayout/SaveDesignerLayout to load/save the layout in either file or string. These methods take XmlReader/XmlWriter. ...Show All
Visual C++ Automation server can't create object.
Hey, whenever I try to create a MFC Application (C++) project, I get an error saying "Automation server can't create object". It does not open any type of project workspace, although it saves an empty project. I've just installed it (Full Installation) and this happened the first time I tried to create a project. Any ideas about this Thanks What version & Edition of Visual Studio are you using Thanks, Ayman Shoukry VC++ Team ...Show All
Visual Studio Team System VSTS Architect vs. VSTS Developer
With he proposed changes in MSDN subscriptions and Visual Studio licensing, I now have to make a decision between VSTS Architect and VSTS Developer. As I understand, MSDN Universal subscribers will have a choice - they can either go for VSTS Architect and VSTS Developer. I believe that I need both architecture and development tools. Which out of two should I go for The information was interesting but too high-level to be really useful or answer the questions I feel most developers have. I hope you folks will be releasing something with a bit of meat on it like a feature by feature breakdown of what is included in each edition in t ...Show All
Smart Device Development Getting the base directory using CF2 and storing files
Hi, I have a small PPC 2003 app written using the CF2. I have a few questions: My application will need to store txt files during its execution. In a Windows desktop app I would store these files in the users profile location. On PPC 2003 is there an equivelant folder and should I use GetSpecialFolder() to get its location If there is no special folder can I store text file in the application folder, if so, how do I get the application folder using CF2 Thanks for your help Graham Hi Graham, You can find the directory in which the application is running by referring to the code sample here: http://msdn.micr ...Show All
Visual Studio Using Menustrip on WinForm makes ReportViewer Toolbar disappear
I set a menustrip on my winform in Design mode, but dynamically create a ReportViewer Object in code. I can't get the ReportViewer to show it's toolbar if I do this. As if the ReportViewer Toolbar is under then menustrip or something. But if I drop the menustrip and ReportViewer onto the form in Design mode there is no issue. Seems to be a bug in my opinion. Anyone else notice this Most likely the viewer toolbar is being displayed but is simply hidden underneath your menu. Try reordering the two controls using the document outline. ...Show All
Visual Basic Problem with form and the window designer.
Hi, I have a project who have some forms. The first one is named form1 as usual. But, I do have a problem. In my solution explorer, I don't see the Form1 (Design). I only see it's code, not it's design (in the designer) so I can't modify it's controls. What is weird, when I try to add this form to my existing project, it imports without any error and it compile exactly how it's supposed to be. Here's the structure of my project : Form1.vb (when I click on this, it doesn't start the designer) Form1.designer.vb Form1.resx Form2.vb Form2.designer.vb Form2.resx Can ayone help me asap please Thanks Nuxus ...Show All
Visual FoxPro editbox programmatic change
I am looking for an easy way to determine if I've made interactive change in an editor box. The issue is that there are about 16 controls on a container, they are initialized from a table record thus their values at activate time generally are not trivial default. I have to save the changes with a SAVE button if I made any but I want this button's click method to quickly determine which control values have been changed. I do not want to do REPLACE for the fields with values that haven't been changed. In case of simple controls like a combobox I can store the initial value in Tag property and do the comparison programmatically. Sometimes t ...Show All
Windows Live Developer Forums Graphic and clipart
I the WorldsBestApp contest - can I use pictures and graphic which are copywright of Microsoft (for example from the site http://office.microsoft.com ) Please contact me at toddb@ with specific details on the picture, use of those pictures and i'll follow up with the office team--and later post a follow-up to the thread. ...Show All
Visual Basic What Event do I use- Adding objects to database? - DataGridView bound to Bindinglist<T>
Hi Everyone! I have created a bindinglist derived from objects implementing IEditableObject. This bindinglist is then bound to a datagrid view. I want to update changes to the datagrid back to the database as they occur on the grid. Using events on the IeditableObject which are fired when moving around the datagrid, I have implemented updates to existing data and deleting data. The problem is with adding new data!! The rough code is... Class Product Implements IEditableObject Public Sub BeginEdit() Implements System.ComponentModel.IEditableObject.BeginEdit This is fired when t ...Show All
