lthomasny's Q&A profile
Visual Studio Tools for Office How can I add a CommandBarButton to "ALL" Inspectors in Outlook 2003?
New to the subject, I need to add a single command bar with one button to "All" instances of an Inspector class object, (New Message, Folder Items, etc...) Any help or code snippet would be appreciated. Thanks in advance, Ron |<:^) You can add the commandbar with the button in the newinspector event. For Example.... public partial class ThisApplication { private Office. CommandBar newBar; private Office. CommandBarButton newButton; private Outlook. Inspectors inspectors; private void ThisApplication_Startup( object sender, System. EventArgs e) { i ...Show All
Windows Forms Multiple Forms
Hello, I have 2 forms (form1 & form2) each with a textbox and a button. What I would like to do is when I click on form1's button, the contents of textbox1 show on form2's textbox. And vice-versa. There is something similar in FAQ's http://www.syncfusion.com/FAQ/WinForms/default.asp#95 but it goes only from form1 to form2. I needed to work both ways. Any ...Show All
SQL Server hard query
hello i have a proplem in query i have 2 tables in my sql db one named stuednt include fields(id,name) and one table named stu_cources include fields(id,course_name) ok i want to query the student that have courses EX. mcse the result that i want from 2 tables ID | NAME | Coures_NAME in MSHFLEXGRID1 any one help me plz ... I am assuming that the ID column in Student is an Identity and that the ID in Stu_Courses is a ForeignKey that relates back to the Student in the Students table. Select S.ID, S.Name, SC.Course_Name FROM Student S INNER JOIN Stu_Courses SC ON S.ID = SC.ID WHERE SC.Course_Na ...Show All
Windows Forms Thread::Sleep question
Hello, I've got a question about the Thread::Sleep command. I have a code which goes like so: private: System::Void button2_Click(System::Object^ sender, System::EventArgs^ e) { System::ComponentModel::ComponentResourceManager^ resources = gcnew System::ComponentModel::ComponentResourceManager(Form1::typeid); this->pictureBox5->BackgroundImage = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"Spin2"))); & ...Show All
Visual FoxPro Index on Deleted() VS .NOT. Deleted()
Which is best for performance index on deleted() tag del or index on not deleted() tag notdel Thanks Hi If you're using VFP8 or earlier you have to use the former. From VFP8 help: "Rushmore cannot use an index created with a NOT condition . For example, the following expression can be optimized: INDEX ON DELETED() TAG DEL But this one cannot: INDEX ON NOT DELETED() TAG NOTDEL" If you're using VFP9 " INDEX ON NOT( DELETED ()) optimizes NOT( DELETED ()) and DELETED () query conditions" and you can use a Binary index - see h ...Show All
Visual C++ Pass value through VB Scripting in VC++
Hi , How to get the pass the value from VB scripting to VC++ i got my scripting done completely in VC++.. it works cool.. now i need to pass a value to VC++ through scripting. how to do it Implement IActiveScriptSite::GetItemInfo. Look at a sample like this: http://support.microsoft.com/default.aspx/kb/168214/EN-US/ or this http://support.microsoft.com/kb/223139/en-us ...Show All
Visual Studio VS2005 installer hangs on Remove TempHxDs
Hello, My laptop has WinXP pro SP2, and during the installation of VS 2005 it hangs (which seems to be right after installing "Microsoft Visual Studio 2005" component), the progress says "Executing action: Remove TempHxDs" It has been there for the past 20 minutes, no progress bar/CPU/CD activity. I've turned off Anti-virus software and unplugged the network cable. Any ideas thanks Are you running Norton or Kaspersky anti-virus. Some of them require completely turning off the virus checker and not just disabling it. ...Show All
Smart Device Development Install application fail on Pocket PC emulator
Hi, On Pocket PC emulator , When I run a cab file to install a application , it always display a dialog "xxxxx was not installed successfully. Please run Setup again." But I can install the same cab file on my pocket PC device. Who can give me a explain Thanks. So, can Visual Studio 2005 generate CAB-files for the old format It doesn't really matter for my old problem because i solved it with cabwizard, but for future matters. The strange thing is that all other types of values work just fine, it's only strings that doesnt work for me. ...Show All
Visual Basic Import dBase into MSAcces
Hi, I want to open the dBASE file (.dbf) with VB, and when I try to manipulate (through SQL) the table, I receive a lot of error msg. -it's better for me to use Data Control or ADODC In Data I find reference to dBase, but in ADODC I didn't find... If you have experience in this type of work (dBase through MSACCES), could you give me a solution or some steps in solve my problem May be it's imposible to do this kind of work... Thanks in advance and best regards zane The oledb name space is capable of working with dbase files...and it is better to use current technology Data control Vs ADODC! ...Show All
Windows Live Developer Forums Problems with Messenger Beta 8.0
I received an invite to messenger beta and I’ve intalled in my computer. When I connected I realize that all my contact were gone !!! And appear a message saying that I have do add more contacts !!! This problem is related to my passport My email is from gmail. Can be that Anyone knows Thanks. Rodrigo, It sounds like you experienced server problem with the beta server network. You should log in again and you contact list should appear. Moving to the beta from MSN Messenger 7.5 should not cause your contains to disappear. -Scott ...Show All
Visual Studio Tools for Office Overriding the methods of the Document class in the Word Object Model
I am using VSTO 2005. I want to override certain methods of the Document class (Word Document). The methods I am looking at for now are: Save Open New According to the docs, these are virtual methods and should be able to be overriden. I am not having any success with the following approach: public override void Save() { MessageBox .Show( "Testing intervention of Save event" ); } The method just doesn't get called. Is it possible to do this in managed code If not, what other ways can it be done Thanks Fourge Hi Fourge, The methods you refer ...Show All
Visual FoxPro Cancel Button Does not work--A known bug?
I have no idea if it is a known bug. The important fact for me is that it is a bug. It occurs in _VFP.StartMode = 4 as well as in interactive session (_VFP.StartMode = 0). It caused me to lose numerous error records before I realized what was going on. In exe environment when one error follows another there is no way to quit because the Cancel button does not do what it is supposed to be doing. You crush the system and no records are saved of course. Anyway, this is a stamp of one of the session errors: An error has occured "feature is not available" (1001) ADDPROPTOFORM 2998 .... Record details in error log files Two opt ...Show All
Visual C++ VC++ vs V# vs VB
I am developing software with extensive database access (SQL Server) and complex data analysis on what I would consider a massive amount of data. Is C++ the best option for going thru large database files and performing data analysis How do C# and VB compare with regard to speed and capabilities Is C++ on the verge of being replaced by C# and/or VB .NET Thanks for taking the time to tell me your thoughts. I have been leaning towards C++ but I guess I wanted confirmation. Also felt a bit nervous noticing that VC++ doesn't have starter kits or as much info available and was beginning to wonder if i ...Show All
Windows Forms Persisting settings
What is the best place to persist settings such as windows sizes, the previously selected values in combo boxes, etc I haven't done much winforms development but my understanding was that before .NET this kind of information was stored in the registry. I'd rather not do that. Is there some kind of configuration file (besides the app.config or ...Show All
Visual C# winform datagrid column sort ascending or descending
Hi all Is there a way to figure out if a datagrid column has been sorted ascending or descending by an user. In other words - I need to know if the arrow head in the column heading is pointing upwards or downwards. Thanks A bunch Abhijit ...Show All
