arogan's Q&A profile
Internet Explorer Development IE7 - File Not Found ieframe.dll\1
Hello, After upgrading to IE7, all of my programs with the "Microsoft Internet Controls" (i.e. Webbrowser) are breaking when I load them in code (compiled still works though). I get the following error: "File Not found 'C:\Windows\system32\ieframe.dll\1' However, if i look in my references, all I can find that is there is the reference to shdocvw.dll, no ieframe dll. If I open a new project and add the controls, then I get the same error. To me there is something broken between the two. The strange thing is, it worked fine yesterday. I don't have my computer set to do automatic updates and I didn't do any updates last night. Anyone else having this issue Regards, Ryan I ha ...Show All
Visual Studio 2008 (Pre-release) BitmapImage holding onto File??
Anyone know what the behavior of BitmapImages created with a uri is suppose to be as far as holding onto the file handle In our application, we need to update images, but get file in use exceptions. This happens even when the parent windows of elements that are bound to the Uri are closed... Is there some standard way of updating images that are used for binding (it would be great if you could save the images to the same location) We have the same problem with deleting files (we work around this by deleting files when our application restarts). As a simple example of this problem (note there is no binding), we made two windows (the xaml is below). Window1 has a single button that has an image background. The application starts with Wind ...Show All
Visual Studio 2008 (Pre-release) Dock Panel System
I've a question for you. How to approach the design of a docking panel system in WPF I've you have any ideeas just fill in here. You mean the dockable window layout system used in visual studio and sharpdevelop, I've had some thought to create it myself, but I think it's something which involves a lot of effort, and I am also glad to hear how other people approach this:) Sheva ...Show All
Visual Studio 2008 (Pre-release) Change the source of an Image control in a Template
Hello! I have this <ControlTemplate .../> for a Tabltem < ControlTemplate TargetType = " {x:Type TabItem} " > < Border > < Grid > < Grid.ColumnDefinitions > < ColumnDefinition Width = " 60 " /> < ColumnDefinition Width = " * " /> </ Grid.ColumnDefinitions > < Image x:Name = " Icon " Width = " 18 " Height = " 18 " Grid.Column = " 0 " /> < ContentPresenter ContentSource = " Header " HorizontalAlignment = " Left " VerticalAlignment = " Center " Grid.Column = " 1 " /> </ Grid > </ Border > ...Show All
Smart Device Development cameraCaptureDialog.ShowDialog() == DialogResult.OK
Whenever I click the "ok" button on the cameraCaptureDialog.ShowDialog() DialogResult always returns none..why is that using - ipaq hp 6940 I am debugging using the actual device. I am creating a camera dialog using this code: CameraCaptureDialog cameraCaptureDialog = new CameraCaptureDialog(); cameraCaptureDialog.Owner = this; cameraCaptureDialog.Title = "Title"; cameraCaptureDialog.Mode = CameraCaptureMode.Still; cameraCaptureDialog.Resolution = new Size(1280, 1024); cameraCaptureDialog.InitialDirectory = @"My Documents"; cameraCaptureDialog.DefaultFileName = "test.jpeg"; Using VS 2005, I set a break point on this statement: ...Show All
.NET Development Custom object serialization
Hello, I am building a web service to query for information from a database and am having some difficulty making the serialization work as I want it to. The data is stored in a somewhat complex structure where I have a "data object" which can be of several types and has different data depending on the type. The data objects I have can be simplified into something like this: class DataObject { string type; HashTable data; } If, for example, dataObject.type is set to "Client", I want to have the web method return a SOAP body as follows: <GetClientResult> <Client> <id>int</id> <name>string</name> </Client> </GetClientResult> And similar structures for oth ...Show All
Visual Basic VB and Sage MMS
Can anyone enlighten me or suggest any reading for this A understand you can integrate through sage interfaces. Are there any examples of how to do this on the web anywhere or an SDK to download I would start by taking a look at the SAGE MMS Web Site: http://www.sage.co.uk/productsandservices/home.aspx tid=131865&stid=131941 ...Show All
Visual Basic Application hanging on Serialport .Close method
This one has me stumped. I've created a class to interface with a device on a comm port. I've decalred the serial port: Private WithEvents moPort as System.IO.Ports.SerialPort In the New event, I create the port and open it, works great. I communicate just fine, handle everthing going in, coming out no problem. When I go to close the port, by just a .Close command in a "Disconnect" method I've defined or in the IDisposeable implementation, the entire program hangs up. I can hit Pause in the IDE and it highlights the "moPort.Close" line, the call stack always shows something like: [In a sleep, wait, or join] [External Code] Executablename!ProgramName.ClassName.Dispose(boolean Disposing = True) Executablename!ProgramNa ...Show All
Visual Basic Access 2000 Macro
How can I connect to an Access database using ADO and execute a stored access macro ADO or ADO.NET are you using VB6 if so, VB6 is not supported and is the wrong place to post and the best place would be to post at the appropriate communities: www.microsoft.com/communities ...Show All
Visual Basic Constants and the usage of them
Hi there I'm trying to solve a simple task. I nead to create a library of constants that I will be using in all my Visual Basic 2005 projects. This constants wil contain all my default return values etc. etc. Her's one example of the usage: Select case MyObject.SomeFunction() CASE LEVEL_Benign ' Everything is OK CASE LEVEL_Cancel ' Nead to execute something for Cancel CASE LEVEL_Fatal ' Something terrible has happend! Shot down the application So, How do I create this constant library and how do I use them in my projects Regards, Ole Hi there Well, Its allmost what I ask for, I guess this is something that takes memory space. It looks to mee tha ...Show All
Visual C# Shutdown.exe problems
Process shutdown = new Process(); shutdown.StartInfo.FileName = "C:/WINDOWS/System32/Shutdown.exe"; shutdown.StartInfo.Arguments = "-s -f -t 20 -m \\deruu"; shutdown.Start(); I can get it to log me out using argument -l only, but with that I only get a "Frozen" cmd window titled "Shutdown.exe" and nothing happens. its command driven so you need to open up an instance of command prompt (start > run > cmd) then type in shutdown + arguments. Example: start > run > cmd then in the command window that will pop up, type: shutdown /s /f /t 20 /m \\deruu ...Show All
Visual C# Capturing the up/down arrow key in a child form
Hi, Recently, I was trying to capture the UP arrow key from my window forms application. I was able to capture the key in the parent form but once i open a child form, I would not be able to capture all the arrow keys but the rest of the keys like 'a', 'b','+' and etc are ok. I have searched the web but did not find any solution. Does anyone know how to overcome this problem Thank you. Soh Hmmm, Strange... I try to create 2 form, Form1 and Form2. Form1: IsMdiParent = true; private void Form1_Load( object sender, EventArgs e) { Form2 frm = new Form2 (); frm.MdiParent = this ; frm.Show(); } Form2: KeyPreview = true; private void Form ...Show All
SQL Server Property DefaultSchema is not available for Database [DatabaseName]
We're using Windows Authentication with our SQL Server. We've added a domain group to the SQL Server groups and would like to give it a default schema. The properties window is the same for users and groups but the default schema field is enable only for user entities. We cannot add a default schema to a group. Is this by design, a bug or a problem with our SQL Server installation Updated on 2005/08/29 My first try was done at through Database\Security\Users. I tried going through Server\Security\Logins and I got this error message Alter failed for User 'Domain\Group'. (Microsoft.SqlServer.SMO) Additional Information: --> An exception occured while ...Show All
Visual Studio Team System Creating new reports for defects
Hi. I'm having some trouble getting the reports in Project Portal to work. I need to provide a periodic status report showing defect counts by state for a couple of team projects. I'm thinking to myself "Hmmmm Visual Studio 2005 & TFS is so incredibly powerful, these reports are very likely built in". Am I high Question: Can a report of this type be easily created, and if so, how If the solution to create these reports is to go to the project portal, then click on Reports, then I've got anotner problem. When I do this I'm getting the following error: The report server is not responding. Verify that the report server is running and can be accessed from this computer. So there are a couple of pr ...Show All
Visual Studio Express Editions Start Page Updates
When I start VB Express, I have a dial-up internet connection active. The Start Page never says "Wait while I update the news" (or something close -- it never says it, so I'm not exactly sure of the message). The right-hand box contains slightly old news, the most recent dating from 14 June. The contents never change from session to session. Is there any way to ask the system to go to the net and update this part of the Start Page By the way, when I use Help's search feature, it does search through the online Help resources. And I did get into this forum, although I have no idea exactly how this happened. It started when I clicked Community/Ask A Question, but there were lots of intermediate steps that seemed irrelevant, but ...Show All
