Tilfried Weissenberger's Q&A profile
Visual Studio Tools for Office AttachmentRead Event
hi This is what I want to do. In outlook 2007 the user can click on an attachment, and outlook moves to a kind of preview mode. I am adding a toolbar to each mail item, I want to the disable the toolbar when the user moves to attacment preview mode and then enable the toolbar when the user moves back to the mail item. Regards Mihir This forum is for answering VSTO related questions. Unfortunately, this one can not be categorized as one. Please seek for support on Outlook-related forums. The links to non VSTO forums are available in this post - http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=174275&SiteID=1 I am closing this thread. ...Show All
Visual Studio Express Editions how to creat a dll in vb.net
hello all i have a project, selected and new class from the add in file menu. i copied a peice of code from my first project and pasted it to my new class . in the new project many items come up with squigglies to say they are not defined kind of, or not recognised. I am doing something wrong for sure, any siuggestions would be appreciated. many thanks this could be due to the fact that from the "old" project, the items needed are not in the new project you have copied your class into, such as custom classes made or perhaps namespaces needed to be imported. Compile it, it should throw some errors and follow the errors, correcting them by doing as what the compiler may suggest, su ...Show All
Visual J# Vj# control not working in IE 6.0.2900.2180.xpsp_sp2_gdr.050301-1519
we are hosting vj# control in IE which is not working in particular version of IE 6.0.2900.2180.xpsp_sp2_gdr.050301-1519 which seems to be the latest and greatest version of IE which we upgraded by isntalling it through the windows updates (both high priority and optional updates ). please advise how to make it work in the latest version of IE. pleas advise, Here is the sample code. homepage.htm <HTML> <BODY> <IFRAME name="leftframe" src=" http://www.google.com " APPLICATION="yes"></IFRAME> <IFRAME name="webwindowsframe" src="Page1.htm" APPLICATION="yes"></IFRAME> </BODY> </HTML> page1.htm <HTML> <BODY&g ...Show All
Smart Device Development battery laptop
hi my laptop is working on mains will not work on batteries even when my laptop shows only 4 per cent of battery power has been used and the orange light which is usually used for battery laptops is showing up on the mains can someone help thankyou This forum is smart device development related. Since your question is not related to smart device development, it's off topic here. If you’re having a hardware issue, please contact hardware manufacturer or reseller. If you having an issue with 3rd party software, please contact respective software manufacturer or reseller. Otherwise please post to relevant forum or news group: http://support.microsoft.com/newsgroups/default.aspx Closing as off topic. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How to use View and Projection matrix?
Hi. I'm trying to draw a vertex buffer (using PositionColored vertex) but I can't see anything. So, reading about it on the web, I've found that I need to set two matrix: Projection and View. I've donet it! Take a look: // Create the vertex buffer private void OnVertexBufferCreate(object sender, EventArgs e) { VertexBuffer buffer = (VertexBuffer)sender; CustomVertex.PositionColored[] verts = new CustomVertex.PositionColored[3]; verts[0] = new CustomVertex.PositionColored(0.0f, 1.0f, 1.0f, Color.Aqua.ToArgb()); verts[1] = new CustomVertex.PositionColored(-1.0f, -1.0f, 1.0f, Color.Black.ToArgb()); verts[2] = new CustomVertex.PositionColored(1.0f, -1.0f, 1.0f, Color.Purple.ToArgb()); buffer.SetD ...Show All
SQL Server Table Partioning with Computed Column
This full version of this reporting table will have about 12 million row for each of three years. Prior years will be in separate partitions and frozen but the current year will be reloaded each night by source_key, probably in parallel. I am trying to do this with a computed column but I can't slide the partition back into the main table due to an apparent problem with the Check constraint. I have tried everything I can think of and still can't get it to work. I hope I am missing something simple. Anyone know why this does not work or how to fix it ALTER TABLE SWITCH statement failed. Check constraints or partition function of source table 'db_template.dbo.foo_year_source_partition_test_stage' allows values that are not allowed ...Show All
Visual Basic My Visual Basic 2005 does not compile the source code in a .exe file only .vshost.exe , why is that and how can I change tha
When I do a project, and click the "Save All" button. It saves it normally. When I try to debug the program whidin the IDE it reports an error that the .exe file does not excist ! Then When I look in the bin/Debug/ directory there is only a vshost.exe file. I really need some help because it really needs to be fixed (for me). By the way, why does ALLMOST every code sample in MSDN's section Coding4Fun has like a TON of errors. Like the Skype VoIP thing. Who can please alert Microsoft for that, because I can't sen E-Mails with a domain microsoft.com (I don't know why). I tried bgates@microsoft.com but it didnt work :) What kind of project have you created Before you debug a project you need to build it. You can use the Bui ...Show All
Visual Studio Tools for Office problems re - opening .xsn with the infopath form control for windows
hi all, im hosting an infopath form in a .NET windows app. and im having trouble re-openning a form once i close it the code is pretty simple: formControl1.NewFromFormTemplate("C:\\MonitorDirectory\\MyTemplate.xsn"); formControl1.XmlForm.Close(); formControl1.NewFromFormTemplate("C:\\MonitorDirectory\\MyTemplate.xsn"); formControl1.XmlForm.Close(); the form open fine the first time, but when i open the same form again it says: infoPath cannot create a blank new form. infoPath cannot open the form because another version of the form template is currently open. if i open "someform.xsn" and close it, and then open "someotherform.xsn" it works. then if i open "someform.xsn" again it' ...Show All
Visual Studio Tools for Office why AppointmentItem.Organizer(meeting) only get the name of organizer, how to get the emailAddress of organizer.
why AppointmentItem.Organizer only get the name of organizer, how to get the emailAddress of organizer. but I can see the emailAddress of organizer on the appointment(meeting) display panel in outlook. You may have better luck with this question on this newsgroup( http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.office.developer.outlook.vba&lang=en&cr=US ) or this site ( http://www.outlookcode.com/forums.aspx ). Mike ...Show All
Visual C# error message: An object reference is required for the nonstatic field ....
I am getting the error 'An object reference is required for the nonstatic field, method, or property ' when I attempt to run my client application. I am not sure what is wrong and the documentation on this error (#CS0120) in the VS.NET IDE is confusing to me. Does anyone know what I am doing wrong MY code is below. People is a collection class and myPeople is obviously an instance of it. Because the error appears to involve the client code and not the class library with the implementation of People, I did not include that code. I could if it would be helpful. Thanks for any help. using System; using PeopleLib; namespace Ch11N01 { /// <summary> /// Summary description for Class1. /// </summa ...Show All
Game Technologies: DirectX, XNA, XACT, etc. MDX1.1, MDX2.0, XNA confusion
I wrote several examples now as some mini prototypes of things I want to use in a visualization. I wrote the first in MDX1.1 before I kind of realized that there is a MDX2.0 library, too, so I continued with that one. Although the differences between the libraries (except of some namespace and method name changes) are not obvious to me, there are some advantages while working with VS 2005 (e.g. the LoaderLock warning in debug mode is gone). Now I read something about XNA and that MDX2.0 will be merged into XNA and never be released alone.... so my confusion, what should I use The program should be finished approx. by the beginning of next year. I do not know much about XNA at all, but if I should stick with MDX2.0, do I have to use ...Show All
SQL Server Execute SQL Task : Input and Output parameters in tsql stataments with ADO.NET connection type
Hi Everyone, I haven't been able to successfully use the ADO.NET connection type to use both input and output parameters in an execute sql task containing just tsql statements (no stored procedure calls). I have successfully used input parameters on their own but when i combine it with output parameters it fails on the simplest of tasks. I would really find it beneficial if you could use the flexibility of an ADO.NET connection type as the parameter marker and parameter name can be referenced anywhere throughout the sql statement in no particular order. The addition of an output parameter would really make it great!! Thanks PK ...Show All
Software Development for Windows Vista oscilloscope over running video
I am trying to display an oscilloscope (aka audio scope) over a running video. The directshow filter i am using to produce the audio scope is in: http://virtualvcr.sourceforge.net/html/virtualvcr/filters/scope.php. This filter creates its own window and produces the scope. What I want to do is, instead of creating its own window, it should display the audioscope over a running video. Please point me in the right direction. The filter does not create its own video window... this is a simple transform filter that replaces the incoming video by its histogram. It is the virtualVCR application that does insert it in the graph, and render the histogram to a videowindow when requested by the user. You ...Show All
Software Development for Windows Vista InsertMenuItem failing
I use this code (in a menu editor) to move an item along a popup menu: MENUITEMINFO mii = {0}; mii.cbSize = sizeof(mii); mii.fMask = MIIM_FTYPE | MIIM_STRING | MIIM_SUBMENU | MIIM_ID | MIIM_STATE; mii.dwTypeData = text; mii.cch = 256; GetMenuItemInfo(hmenu, item, 1, &mii); RemoveMenu(hmenu, item, MF_BYPOSITION); InsertMenuItem(hmenu, item+1, 1, &mii); This work fine on Windows 2000 & XP, but on Vista (RC1) InsertMenuItem fails if mii.fState includes the MFS_DEFAULT bit. GetLastError returns 'The parameter was incorrect'. Can anybody shed some light on this Richard. ...Show All
Visual Studio Express Editions big problem ( access file 8000 items )
hello, i hope you can help me. i must build a small application with visual basic express 2005. i have an access 2003 database file with 8000 items. my application is working fine but when i will work with 8000 item in my database tabell my app. is not fast. what i am doing wrong the application is working but , the database access ist not fast ! realisiert habe ich das wie folgt: Public sql_getallpersons As String = "SELECT * FROM Personen" Public sql_getallwellen As String = "SELECT * FROM wellen" 'SQL zum Oledb zuweisen Public cmd_person As New OleDbCommand(sql_getallpersons, conn) Public cmd_wellen As New OleDbCommand(sql_getallwellen, conn) ' Nun geht es um das Fullen des DataSets mit Hilfe des DataAdapters: ' Test Public cm ...Show All
