Erik B's Q&A profile
Smart Device Development Visual Studio 2005 Beta 2 - Emulator problem
Hi! I've got a problem and wonder if anyone else has it (and has resolved it ) My problem is as follows .. I create a new device application and try to run in in emulator.. the emulator starts just fine, but it won't connect to it! At all! The error is "Connection failed. The system cannot find the path specified." Thanks in advance, Tadej I had the same problem so from a previous tip for vs.net 2005 beta 1 I added the service Virtual Machine Network Services to my network connection. I still got the same error so then I saw this tip and deleted the CoreCon directory and it worked fine. (I tried removing ...Show All
SQL Server How to audit all SQL Queries in a database?
How can you audit all queries within a database Hi Joshua, there is builtin functionality for this. Youcan either implement your own logic at your frontend for doing so, using an additional layer between the database on the data components or only use stored procedure to retrieve the data with logging the actions inside the stored procedure. If you want to use a third party logreader like lumigent you can explore the transaction logs for statements. -Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual Studio 13 tries & still no luck.
wow, ive been trying to install vb express beta 2 now for over a month, with no luck. i have read every post related to installation problems, and still havent found any usefull information. heres my problem, I uninstalled beta1 according to the guidlines. I installed beta2 , and now when ever i try to start the program, it errors out. I have uninstalled, and re-installed beta about 13 times now, still with the same result. i have a sony viao, with a total of 240 gigs. vb6 ran fine, beta 1 ran fine ( with the exception of a few bugs) but beta 2 just wont run. any help would be greatly appreceated. ...Show All
Windows Forms Debugger doesn´t stop on breakpoint
HI! I´m developing a C# application using windows forms. I made a copy of my solution and saved it on another computer. Now when I try to debug my project on this computer I can set a breakpoint and the debugger stops at this certain point. If I set a breakpoint on a later part of the code the debugger won´t stop. If I try&nbs ...Show All
Visual Studio Tools for Office "PInvokeStackImbalance was detected" with C#.NET 2005 Excel Addin
Hi, I have just created a C# Shared-Addin for Excel 2003 only with Visual Studio 2005 using the New Project Wizard from the VS File Menu. I have VSTO 2005 Runtime installed. As soon as the skeleton project is created and before I have added any code to the project at all, if I build and execute it within the IDE, Excel starts-up and I immediately get the following error: PInvokeStackImbalance was detected Message: A call to PInvoke function 'WRDomainSetup!WRDomainSetup.EverettPolicy::GetRequestedRuntimeInfo' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signatur ...Show All
Visual Studio 2008 (Pre-release) DLINQ Equivalent In Java
hi all, Is dlinq equivalent in java is the Entity Bean (resides on the application server) , if not then what is equivalent to that, can anyone explain me in little detail. Hi, not exactly, the DLinq closest equivalent for the Java world is the Hibernate framework, not the EJB 2 Session beans. However, the new EJB 3 specifications (particularly for the entity beans) makes it a real equivalent with its attributes oriented approach like DLinq. In the future, Hibernate 3 or greater will be EJB 3 compliant, but I suggest you to use Hibernate if your request concern a current projet ... EJB are use only for ...Show All
Visual Studio Tools for Office Updating Outlook Add-Ins Using Application Manifests
I am confused about how to handle updates for outlook add-ins created with VSTO 2005. The functionality we need is that the add-in can also function when disconnected from the network and that new versions are downloaded from a web server when they are available. According to the various pieces of documentation i can find, the VSTO runtime uses the application manifest on the client to locate the deployment manifest (which can be on a web server) When there is a newer version on the server, the new application manifest and assemblies are downloaded. Using the manifest files generated by the publish wizzard does not seem to do the job for me. ...Show All
.NET Development Set SSOCANARY in Webservice
Dear friends, i can't set the SSOCanaryChecker for SSO set User's credentials method in the webservice, because im not able to get the OnInit() or OnLoad() method in webservice page and even in webservice im not getting Page object to set CanaryChecker. Anyone Can help me Please.. How to use SSO Canary in Webservice. Thanks in Advance. Regards, Vasanth. Hi Vasanth, I don't understand the issue you are trying to describe. What is SSO Canary What problem are you running into exactly Could you please clarify Thanks. Daniel Roth ...Show All
Visual C# DataGridView - Data entry validating
As some guy said: The ColumnIndex and RowIndex of the event argument when your handle the DataError event of the DataGridView is not always belongs to the cell which caused the error. Is there any other way to detect the cell which caused the error I though I could parse the Exception's Message for the column name but I don't think it will work with Windows that use other language than English. ...Show All
Visual Studio Express Editions More ports
Can you add the support for pipes and LPT ports. The robotics community could benifit from having the support to parallel port. I know that the RS232 Serial can be adapted but i dont think many people want to spend the money buying a UART. hi, Actualy i don't know but i saw some tutorials talk about how to use parallel ports , did you try to google for that all what i know about this issue is this link http://msdn.microsoft.com/vstudio/express/visualcsharp/starterKit/#lego hope this helps ...Show All
.NET Development security code groups and subgroups at the enterprise level
I hope I'm asking this question in the right place. If not, please point me in the right direction. I'm trying to create a security template to distribute within my organization. The organization demands that I set the "All_Code" code group to the "Nothing" permission set, and then we will publish a new exception for each and every .Net application we distribute to our end users. Basically, this will mean that no .Net applications will run unless we provide explicit permissions for it to run. The problem I'm having is that I can't seem to make it work. I have an example app I downloaded from a code example site (all it is is a button that ...Show All
Visual C# Uploading image and then overwriting it?
I'm making a windows app that allows a user to save an image to their profile. If the user uploads a file and clicks save it works. But if they do it again without restarting the program, I get an IO Exception: "The process cannot access the file 'C:\Program Files\karl\Bosch\dealer_logo.jpg' because it is being used by another process." Here is some of my code: public editDealer() { //load the image if (File.Exists(@"C:\Program Files\karl\Bosch\dealer_logo.jpg")) { pbxImg.ImageLocation = @"C:\Program Files\karl\Bosch\dealer_logo.jpg"; } else if (File.Exists(@&qu ...Show All
Windows Forms problems updating database with ADO.net
Hello, I am trying to update a database with parametrized commmands, even though the record exists but when i run the update command, 0 records are affected and nothing happens to my data, i have no idea what is wrong i insert data similar to this but update doesn't happen. any help is appreciated. Many Thanks ------------------------------------------ 'update the database&n ...Show All
Visual C++ How Do I? Compile VS6 C++ projects from the command line.
Can anyone point me to documention or information on how to extract the command line arguements from VS6 projects How do determine the post build steps the IDE is configured to take (that copy files to a common directory and register COM objects) Once I have the command line arguements what command would I use to compile the VS6 projects exactly like the IDE would compile (and register) them I am working for a very small startup and have inherited code that was written by engineers no longer with the company. The code works and perhaps "if it isn't broken, don't fix it." should be applied here. I am trying to automat ...Show All
.NET Development Calculate absolute path
Hi all! I have file wich contains a bunch of relative paths to other files, I am looking for a way to calculate the absolute path for these realtive paths with the absolute path of the file itself as a base. Exampel: I have this file: c:\somedirectory\projects\project\MyFile.xml Wich contains paths like this: ..\otherdirectory\testfil1.txt ..\..\yeatanother\otherfile.txt The calculation should result in: c:\somedirctory\projects\otherdirectory\testfil1.txt c:\somedirctory\yeatanother\otherfile.txt Is there any direct support for this in the bcl or does anyone know a way to do this Regards! Pelle http://ww ...Show All
