DWood's Q&A profile
Visual Studio Tools for Office Rewriting the My.Blogs in C#
I'm attempting to rewrite the code in My.Blogs that handles the commandbars for multiple open explorer windows. I'm adding some functionality like the ability to store the state of the commandbar and use a custom bitmap. I'm new to C# and I'm stumped. The code works fine for the initial Explorer window opened, but subsequently, when it fires and is picked up by the Explorer.Activate event handler, the Explorer parameter that is passed in doesn't have a CommandBars collection. It generates the following error: '((Microsoft.Office.Interop.Outlook.ExplorerClass)(explorer)).CommandBars' threw an exception of type 'System.Runtime.InteropSer ...Show All
Visual Basic popup window
how do you invoke the hyperlink in a second browser thank you, target="_blank" in the anchor tag. You can add this to an asp.net tag, and it will get passed through to the html that gets rendered. It won't work for a link button though, because it doesn't get rendered as a link, but a postback and the link/event is generated by your code. ...Show All
Windows Forms how do I save a path in access and image in a folder
Hi I'm new to this, I have VS NET 2003. I have made a database and connected to it with the dataform wizard, so far so good. I use the Windows form as a frontend to my database. Now I would like to add the possibility to search the harddrive for images and then save them to a given folder. In the database I have primary k ...Show All
Visual Basic Number of controls in a form?
IS there any way I can count how many controls are in a container or in the entire form You can use the count property to count the controls in and forms present The next example determines the number of controls on a form and a report and assigns the number to a variable. Dim intFormControls As Integer Dim intReportControls As Integer intFormControls = Forms!Employees. Count intReportControls = Reports!FreightCharges. Count ...Show All
Windows Forms How to create a DropDownList/ContextMenu style window?
I need a popup window(no border) to input some text. But it should be something like the drop down list of a combobox which doesn't make the owner form inactive. Making it a child window does that but it will be clipped by the owner form, while drop down list won't be clipped. I've tried changing the CreateParams to use different set of flags, but not successful. And I've been googling the whole afternoon... I saw someone says not to make that popup window active by SW_SHOWNA, but if the window is not active, then it cannot receive keyboard input. Does anybody know how DropDownList/ContextMenu achieve that ...Show All
Microsoft ISV Community Center Forums How can I run sql command with no cofirmation alert through VBA
hi guys i want to delete a record from another table in After-Update event of a text item in ms access form. the problem is the confirmation alert asking whether u want to delete or not. i don't want this alert to be displayed and I want to delete the record anyway. The code i'm using is docmd.runsql "delete from discarded where sr_no=' " & Form_INV.sr_no & "'" plz tell me how can I bypass this alert Thanks Khawar Pasha khawarpasha@hotmail.com ...Show All
Visual Studio Express Editions wildcards
I need to add functionality to my form in this program that for some fields allows negative numbers, some just numbers, some three positive numbers separted by commas, and some just text. Also, I prefill with a text file so I need the error check for this also... Thanks! Newbiana Well, I can allow for only one - but I can't figure out how to check if I'm at the beginning of the textbox. Also, I used this: Private Sub ErrorCheckOutGntName( ByVal Sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles OutGntName.KeyPress Dim EachTextBox As TextBox = ...Show All
Visual Studio Team System Looking for book suggestions
Hello, I am looking for suggestions on books specifically for TS Architects. Are there any good publications out there yet, that are not based upon beta releases of TS Thanks in advance. John Hi John, You've probably already seen the list of books on MSDN, but just in case you haven't it's at : http://msdn.microsoft.com/vstudio/teamsystem/reference/books/ I've read Richard Hundhausen's book which provides a good overview but not too much in-depth hands-on stuff. Which is a good thing as it was the first one to be published. Both the book that I've been involved with, and the Apress o ...Show All
Visual C# How can I : Dont allow change text in combo box
A selected content in combo box can be edit, be I click search , an error occur.Although the content remain old value after lost focus , but I find the way to prohibit change the content when user select an item in combo box Could you please help me thank you in advance Hi In the ComboBox properties you mast select the DropDownStyle to DropDownList. Hope this helps ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Graphics Engine Design
I am looking for material on designing a graphics engine. The main purpose of the engine will be tech demo development and function as shader playground. To start with I have some ideas about decoupling materials and shaders. I would like to have the flexibility that an object can have multiple materials. One part could be a diffuse surface with phong illumination, another part of the same object could be a bump mapped rusty surface with cook-torrance illumination etc. If anyone could point me to some good sources to investigate or have some thought please share. ...Show All
Visual Studio Team System INstall WSS=> MDSE =>INstall VSTF =>UNinstall WSS Do While True
WSS (STSV2.exe) automatically installs MSDE THEN Visual Studio Team Edition install complains about it saying "Uninstall WSS, drop MSDE and reinstall WSS", which automatically Installs MDSE without notice.. Do while True Install WSS Install Visual Studio Team Edition UNinstall WSS UNinstall MSDE EndDo 'Loop til you die.. Maybe STSV2.exe should ask if the user would like to use the existing SQL2005.. If I ever get Visual Studio Team Edition installed it better be good! How do I stop STSv2 from installing MSDE (and why would it ) Any ideas Pat Tormey PTormey@4square.net New Hampshire Dot Net User Group ...Show All
Visual C# 'Couldn't find specified module.', 'FileNotFoundException' when declaring class
When I declare a class from a referenced DLL (TrueVision3D.dll), Visual C# (2005 Express) throws a FileNotFoundException, containing the description: ' Couldn't find specified module. (Exception from HRESULT: 0x8007007E) '. The strange thing is this source code and DLL worked before, but after I reinstalled Windows XP it doesn't work anymore. All required dependencies are there in the right place -already checked that. Also: it only appears when debugging. When I run the Release executable, it just runs. Little sample code: static void Main(string[] args) { TrueVision3D.TVEngine engine; << this line throws the actual error. Sy ...Show All
Windows Forms datagrid related question
Dear all, I have one problem with windows datagrid In general when we want to display parent child relation data, we provide a relation between the parent table and child table. So when we click the parent record first it displays the relation name it displays the child records when we click on the relation name, and at a time only the chil ...Show All
Windows Forms VS.NET 2005 RC1 - ClickOnce Error
I created a simple WinForm application and attempted to publish it using ClickOnce. Whenever I attempt to access the application from a computer other than the workstation it was developed on I get the following: PLATFORM VERSION INFO Windows : 5.0.2195.262144 (Win32NT) Common Language Runtime : 2.0.50215.44 System.Deployment.dll : 2.0.50215.44 (beta2.050215-4400) mscorwks.dll : 2.0.50215.44 (beta2.050215-4400) dfdll.dll : 8.0.50215.44 (beta2.050215-4400) dfshim.dll : 2.0.50215.44 (beta2.050215-4400) SOURCES &n ...Show All
Visual Studio Express Editions Mobile Device Application template
Doesn't seem to available. If you have access to the professional edition, you might be able to zip up the templates from there and copy it to your express edition computer, but Microsoft don't support this scenario. ...Show All
