Stem_penguin's Q&A profile
SQL Server Triggers calling WebServices
Yes, I know there is at least one other thread about this type of thing, but my error is a bit different............ I have been trying to call a webservice from within a trigger and i keep receiving the following error: Msg 6522, Level 16, State 1, Procedure wepTestTrigger, Line 1 A .NET Framework error occurred during execution of user defined routine or aggregate 'wepTestTrigger': System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.EnvironmentPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. System.Security.SecurityException: at ...Show All
Software Development for Windows Vista Administrator security issues
Maybe it's me... then there are only 7 posts before me on here, so now I am worried there will not be an answer.... Trying to install a simple antivirus program before I really start to test. I am the administrator account, but I do not have sufficient rights to write....hence install fails. Anyone else seen this... Did they enable the upgrade route for install yet or is it only a full install still... ...Show All
Visual Studio Express Editions Looking for guidgen.exe
I have started using C# as my new language and I am using Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 Installed Edition: C# Express Microsoft Visual C# 2005 76544-000-0000011-00126 Microsoft Visual C# 2005 I need to use guidgen.exe and can't find it. Please help. Thanks Shannon I'm guessing that tool has been exluded from the Express editions to reduce the download size. But guidgen is also included in the Platform SDK which is available for free download from Microsoft. Or you can write your own tool ...Show All
.NET Development about dot net framework organisation
hello ,can any one tel me if there is an dotnet framework for developing information systemes whith database like in J2EE: repertori -hebernate - AOD exactly if l can organise a group of classes specialy tables,others classes specialy controls this tables,others specialy swaping betwin database and calsses table with eventuelly the mapping for connecting table with classes thanks ADO.NET typed data sets http://www.hibernate.org/343.html ...Show All
Visual Studio Tools for Office Setting the style of the current XMmlNode during ContextEnter
Hi I have a XML document in Word 2003 and I would like to set the style of the current XmlNode during ContextEnter event. private void ChapterTitleNodes_ContextEnter( object sender, Microsoft.Office.Tools.Word. ContextChangeEventArgs e) { SetXmlNodeStyle(e.NewXMLNode.Range, "Heading 1" ); } private static void SetXmlNodeStyle( Range range, string style) { object styleobject = style; range.set_Style( ref styleobject); } My xml document is like this: <article> <chapter><title>Title 1</title><para>Paragraph 1</para></chapter> ...Show All
Visual C++ c language connect to access
How to connect in c language with microsoft access database.For example and give me some source code for this query. Please use the newsgroups at http://msdn.microsoft.com/newsgroups/ for such issues. Thanks, Ayman Shoukry VC++ Team ...Show All
SQL Server Help with roles in SQL Server Reporting Services 2005
I know how to create roles but how do you add users to them, and then roles to different levels This section of MSDN doesn't tell much http: / / msdn2. microsoft. com/ en- us/ library/ ms157397 (en-US,SQL.90).aspx You add users to the roles by navigating to the item you wish to secure. You then click on the property tab, then the security sub-tab. From here you can click on 'New Role Assignment'. Now you can add a user or group and assign the role you wish for them to have on this item. You can also do this at the site level for the site level permissions. Click on 'Site Settings' in the upper right ha ...Show All
Visual Basic system.InvalidOperationException
Visual Studio 2005 Professional Edition: My app runs fine on my development computer, but, bombs out on the 3 other computers that I installed it on. It installs OK, but, upon execution, it immediately aborts with a System.InvalidOperationException. And these all have version 2.0 of the .NET Framework installed on them ...Show All
Visual Studio Exception "miracles" in IDE
Hi.. Somehow I feel that I'll still have to struggle a lot before fully understanding exception mechanisms in .NET For now I just have one appeal to help me understand the following: When this app is run from the IDE and FIRST button is clicked, why IDE jumps to completely irrelevant line number (case clause for the SECOND button!) the code: www.david13.com/temp/exceptions_demo.zip This code is actually from here: http://msdn.microsoft.com/msdnmag/issues/04/06/NET/ but since this one from page doesn't compile in VS2005, I copy pasted in a new solution.. I think it can be very educational for you to actually try this example.. when code is r ...Show All
Visual Studio Exec task with no waiting
I have a batch file that starts an external tool using the Start command. When I run the batch file from the command line, it immediately returns to the command line after launching the tool, as expected. When I call the batch file from an <Exec> task, the task does not complete until the external tool exits. How can I change this behaviour so that the <Exec> task will not wait for the external tool to exit Thanks Mike The Exec task does not have an option today to return immediately. This is something that customers (including yourself) have asked for, and we will try to add ...Show All
Smart Device Development WebReference Change Static to Dynamic Setting not working
I have a Web Reference in my code in which I want to change the URL Behavior from static to dynmaic. When I do so nothing happens. I look in the app.config file hoping to see the url reference and nothing has changed. I also have checked the reference.vb file and it still is hard coded and not referencing the app.config file. Anyone know what is going on Hasn't anyone else run into this problem I am sure others have used this option before. ...Show All
Windows Forms Font height and width
Can anybody provide an example of creating a font with a specific height and width I used to do this with LOGFONT but in .NET I couldn't figure out a way to do this, either than P/Invoking CreateFontIndirect. Thanks, Kostas You can use Font.Font(FontFamily, Single, GraphicsUnit) Constructor. Set GraphicsUnit.Pixel as GraphicsUnit. And AFAIK you cannot set the width of a char, only it's height. ...Show All
Visual Basic Trying to Export a DataGridView that has no DataSet or DataSource(really)
I have an unbound datagridview called DGV1 I simply want to dump the entire contents to excel (or a csv file and open it with excel) I would prefer not to use XML and definately not a dodgy clipboard method. I can only find ASP.Net samples or samples that require a dataset or datasource. Is it possible to create a dataset based on teh contents of the datagridview on the fly Or is there a really simple method to export the contents direct to excel Im not fussed if i have to manually build the export format based on the datagridview columns\rows at a given time. I just need to be able to export it and format it. the dat ...Show All
.NET Development HttpWebRequest and SSL
I need to communicate with a web server using https just as a browser would. What steps are necessary to achieve this using HttpWebRequest, is it as simple as the URI beginning with 'https://' or do I need to supply some credentials of some kind I dont have a certificate myself (the server does) so I wont be using client authentication but I assume this is how browsers operate. Will data be encrypted in both directions using https Also, is there a simple way to check that information is being sent encrypted I'd like to double check that the encryption is happening OK before I start sending credit card details over ...Show All
SQL Server How automatically process a Cube periodically
Good morning, I have create a solution with two cubes, but I want that these cubes process automatically, with a batch or a windows task. But I don't find how to do this. Do I need to create a script or something like that. I'm totally lost. Thanks for your help, You can use SQL Server Integration Services (search for Processing Objects Using Integration Services in BOL), or you could also Analysis Managment Objects (AMO). ...Show All
