Attila Fogel's Q&A profile
Visual Studio Problems with VSHOST.EXE
Hi all, I've started getting errors when building an application. It stop building with an "This operation could not be completed" error. If I try again, it then says "Visual Studio could not copy a support file to this location <path to VSHOST.EXE>". I can fix the error by renaming VSHOST.EXE to VSHOST.EXE.OLD and rebuilding. The project is on a network share so perhaps this could be the problem I'm getting this problem too. After a bit of experimenting with "hello world" programs I have found the following factors are involved: 1. It does NOT happen with Visual C# Express, but it does happen with C# programs in Visual Studio 2005 (Visual Studio Tools for Offic ...Show All
Visual Studio Tools for Office Question about MS Word
When I type in word, everytime I press space, or a tab, there is a dot or an arrow marking it. I cannot figure out what I turned on or how to get this off. It is very annoying so any help is much appreciated. It doesn't print or anything just shows on the screen. Thanks. Hello I have been using MS Office Word 2003 and now I am upgrading to 2007 Professional. With Word 2003 I was able to use Outlook Express for my address book. Can I still use it when I send a letter in Word 2007 If I can will you help me configure it If you want e-mail me at bldfaith@comcast.net . Frederick Longo ...Show All
Visual Studio Express Editions Project Files
Hi, I have a quick question: Shall I be able to open project files (dsp/dsw/vcproj etc) created in full editions of VS, in express edition of VC You shall. It will depend on what resources the full edition VS project uses whether it will work or not. MFC: no, ATL: no, Windows.h: yes, if you install the Platform SDK. Give it a shot and see what goes wrong... ...Show All
Visual Basic Custom Control as container
Hello All, Is it possible to set up a custom control to act as a container for other controls All ther best. Hi Peter, Many thanks for the suggestion. I've tried it but (being new to vb2005) I think I've entered a minefield! It does not appear to work, after having tried suggestions from the Help - so obviously I am doing something wrong. Any suggestions on how this is used or any useful sites All the Best. ...Show All
Visual Basic CD-DVD drives monitoring? need assitance VB.NET
i need to write code wich monitors CD/DVD acitivity. I need to raise and event when disc is inserted in drive. And lets take a machine wich haves several optical drives. Any code samples or clues where to start You can also use a wmi _InstanceModificationEvent to be notified when a cd inserted. Imports System.Management Public Class Form1 Dim WithEvents w As ManagementEventWatcher Dim q As WqlEventQuery Private Sub Form1_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing w.Stop() End Sub Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Try q = New WqlEventQuery q.QueryString ...Show All
Visual J# Two embedded resources, one is multi-language java resources
Hi; I need to have two .NET embedded resources in my dll. One is a resx file created by vjsresgen and includes java resource files for 22 different locales. The problem is that when I run in the locale Spanish Mexico (I have resources_es.properties but not resources_es_mx.properties) I get an exception on calling ResourceBundle .getBundle( "resources" ); I must have both embedded resources. How can I make this work thanks - dave Hi Dave, I am aware of the bug and we had provided a workaround for this issue at that time. The workaround was: Move the xml file to a resx file and then consume it. Hope this helps. Regards, Ritesh. ...Show All
Visual Studio Express Editions Another How to question
Hello to All: I am trying to figure the method for keeping track and setting the limits for inventory. So how do you do this Inside my array I have 5 products (Product-"A45" with an inventory or quantity of "2" for a price of $4.50, product "B24" that has a quantity of 5 and so on (Three more products) )of information in text files. I need to set up some "if statments" to set the limit for the inventory. So in other words if the user selects a quantity of 3- A45 products then the progam will respond with a message box telling that user that there is not enough inventory to order that product. Notice that I have tryed a few methods or statements that do not work. So far , it is just that I am stuc ...Show All
Visual Studio Tools for Office PowerPoint 2007 and CustomXMLParts
Is there any Information about programming PPT 2007 Using the CustomXMLParts Hi Marcel Your best source for information about the individual Office object models are the newsgroups, as listed in the " Please Read First " message at the top of this forum. I gave you the link to the Powerpoint group in my previous message. VSTO only enhances what the Office applications already provide. As far as Add-ins for most applications go, this would be Ribbon and Custom Task Panes. You'll find more documentation on the VSTO site about Word and Excel because there is document-level customization available for these (Office 2003, currently). And for Outlook because Add-ins for Outlook have bee ...Show All
SQL Server Wmi Error 0x80041003 in "SQL Server Configuration Manager"
Hello, When I logon as a non-admin user & start the "SQL Configuration Manager", I get a WMI Error 0x80041003 when I try to add an alias. When I try to delete an alias, no error is shown, but the alias is not deleted. When I logon as an admin user, everything works fine, so this looks like a permissions problem. (AFAIK, 0x80041003 means "permission denied". ) I already ran the WMIDiag tool, this reports that WMI config is fine (but WMIdiag needs admin permissions to run...) Any ideas which WMI permissions are needed to run the SQL Configuration Manager as a non-admin user Thanks in advance for any suggestions.. ...Show All
Visual Studio Express Editions Image save, GDI+ error
Hello small problem in my project. picturebox1 savedialogbox1 this are controls using in my project. picturebox1.image.save("c:\as.jpeg") or picturebox1.image.save(savedialogbox1.filename) compile time no error message will display , but runtime i click saveimage button , that time error message will display GDI+ error Please help me. Its urgents. Thanks. We need to know the *exact* error message to help you. Beware that you can't save an image back from where it came from, GDI+ puts a lock on the file. ...Show All
Visual Studio Toolwindow toolbar buttons enabling issue
Hi, I have created a managed toolwindow with a toolbar having several buttons. I am handling the enable/disable and visible/hide of these buttons in my toolwindow code. All this works well when the focus is inside my toolwindow. As soon as I click outside (say on solution explorer window) all buttons become visible and enabled. Once the focus is outside of my window the status handlers for my buttons don't get called. Please let me know what could be the issue here, I will be happy to provide any further information. Thanks, Sandeep I found the issue here. I have to get the IMenuCommandService service from package instead of my window pane to add my commands. When the focus is not on my window ...Show All
Visual Studio Express Editions Lots of things seem to not work!
I have had a number of problems with VB which nobody has been able to solve. Some examples are listed below: 1) File.Encrypt method does not work and generates an error suggesting that my file system is not NTFS. It's properties box states that it is NTFS. 2) I cannot run any program that I publish to work - get an error when I try to run it (even a test program that consistes of a single button which displays a message box when pressed) 3) When dragging a datatable onto a form, the designer sometimes autogenerates code that contains errors and will not compile. 4) I've had problems with bits of code from videos and books that don't work (yes, I've checked and double checked for typos) 5) Strangely, when I post a question to ...Show All
Internet Explorer Development using a scanner with Ie.
I have a rather complex little problem facing me. The company I work for implements a CRM application that is purely a web application. We have clients that use a Card Scanning Solutions license scanner to gather information about the customer. I need to make the following happen. User logs into an ASP or ASP.NET 2.0 site.(we have two versions of our application) User clicks a button on an IE toolbar and a dialog is displayed that prompts them to insert the license into a scanner. Clicking through this dialog makes a call to the Card Scanning Solutions license scanning SDK which is registered as a COM object on the user's system. The scanner returns information read from the license to IE and IE closes t ...Show All
Visual Studio Express Editions A Puzzle?
Below is the code, and you can press Button1 as fast and as often as you like to get a list of 6 random number from 1 -7 but if you change this intNumber = Int((7 * Rnd()) + 1) to this intNumber = Int((6 * Rnd()) + 1) it still works by giving a list of 6 random number from 1 -6 but it only does it once Public Class Form1 Dim intNumber As Integer Dim arrNumber(0 To 5) As Integer Dim i, x, y As Integer Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ListBox1.Items.Clear() For x = 0 To 5 Start: Randomize() intNumber = Int((7 * Rnd()) + 1) For y = 0 To 5 If intNumber = arrNumber(y) Then G ...Show All
.NET Development How to get notified if finalization is aborted?
During an application shutdown the finalization can be aborted if all finalizer did take longer than 40s to execute or if one finalizer does take longer than 2s to execute. In these cases no exception is thrown and I have a hard time to find out which one was the bad guy. Is there some tracing built into the CLR to find out which finalizer (call stack would be nice) did cause the abortion of a finalizer during application shutdown Yours, Alois Kraus Hi Alois There is currently no such logging in the .NET Framework. As you pointed out above, you cannot assume that filestream objects haven't been finalized so you can't log to disk. Can I ask why you need to know which finalizer is being ab ...Show All
