Abdel1's Q&A profile
SQL Server SqlBackUp() vs Volume Shadow Copy Service
Does the SMO SqlBackup() internally use the Windows Volume Shadow Copy Service or are the two different If they are not connected, which one is advisable for use in programming a backup application Good suggestion! Yes, I can do that, but I want to know how it compares with the SMO.SqlBackUp() method for taking the backup. As Glenn has mentioned, does it cause a data-loss What are the benefits/minuses of each method When SQL Server 2005 is expected to run on systems with Windows operating systems, which will have the Volume Shadow Copy Service, why has Microsoft taken the trouble to equip SQL Server 2005 with its own backup measure Surely, the two methods must stand out in some way; that's the point ...Show All
.NET Development Trying to pass parameters to my Windows Service but how?
hi everyone, From my Service Manager built-in in MMC no problem at all because I can perfectly allocate both parameters in "start parameters" box but how do the same from NET START command Or even better, how from another VB application I've tried to do this: NET START "MyService", "sql1","Bd1" but it did not work. Let me know if possible do (at least) from DOS session. Thanks in advance for your time. I've seen sc utility but it doesn't support parameters either What are you getting at I have a ProjectInstaller and Installer classes defined there. A new class which inherits from ServiceController If so, I don't know how to allocate that method. Before or after Onstart( ...Show All
.NET Development Creating document having xpath values
Hi, is there any simple way to write to /d:root/d:group_thing[1]/d:thing without having these elements created or I have to parse the string myself and create the structure node by node Thanks, Jan I believe this question has been already answered here: SelectNode - create if does not exist Thanks, Anton ...Show All
.NET Development Security exception with a .NET control embedded in IE
Hi I have a .NET dll Control (WinFormsControl) which has to be hosted in a HTML page for Internet Explorer. But I have found a problem when I try to view it with another computer. It throws a security exception when tries to call an extern function from OpenGL library, for example: glMatrixMode The methods I am using from OpenGL are declared with: [DllImport("opengl32.dll", EntryPoint = "glMatrixMode"), SuppressUnmanagedCodeSecurity, CLSCompliantAttribute(true)] public static extern void glMatrixMode(int mode); It's strange because when I run it from my computer it works (trusting the assembly with caspol), even if I upload the assembly to an external place in internet it also works (adding the p ...Show All
Visual Studio Team System branching files twice to the same branch
Hello, We are moving our source code control system from pvcs to tfs. During this process I encountered the following strange behaviour during a branch operation. I'll list the actions I performed. 1. create a directory with a file under source control : $repository/main/A/file0.txt 2. branch the 'main' folder to branch 'test', using the branch UI. This generates $repository/test/A/file0.txt 3. I then found out that I forget to add file1.txt to directory A and to branch that too. So I created $repository/main/A/file1.txt 4. I did exactly the same branch operation as in 2., i.e. branching main to test 5. The result is not that $repository/test/A/file1.txt is created as pending branch checkin, but that the entire main ...Show All
Visual C# IHTMLDOMNode doesn't have onClick event :(
Hi, everybody! I have inserted a dom node(representing an image) in a web page by c #, but how could I manage the click event of the node(i.e.the image) IHTMLDOMNode doesn't have th onClick event :(, some ideas thank yuou all in advance. Lulaleila Try adding it by using the attributes element. Set a new attribute with the name onclick and the value to the function to run. Michael Taylor - 12/7/06 ...Show All
SharePoint Products and Technologies Effectively use targeting audience with the Announcements Webpart
Dear Reader, The last 2 days i've been busy exploring and setting up Sharepoint 2007 for a corporate intranet. I'd like to have all the employees to come in at the same page and see an announcementlist with announcements targetted to them. After some research i've managed to do this with a content query webpart. But it only shows the title of the announcement and i'd like to have the users to see the whole announcement and not only the title. At this moment it shows: - Announcement 1 - Announcement 2 But i'd like to have: Announcement 1 text text text text text text text texttext text text texttext texttext texttext texttext texttext texttext text Announcement 2 text text text text text text text texttext text text texttext texttext t ...Show All
Visual Studio Express Editions syntax code
to those of you who are familiar with the coding, could you write a simple code example so we can understand,give us simple syntax examples please of; deleete command accept changes command that way those of us who are beginners can read the syntax and get a better view of how it works. dear ahmed you say you have given me info before which you have, but being a beginner, and one that sits for hours at the coding trying to slove the issue on my own, you answers didnt really help in as much as they are not simplistic enough for us beginners to grasp. i have viewed scores of your answers to others and i have to say just the answer confuses me. what we beginners need is for you skilled peop ...Show All
Windows Forms keeping mouse img over all winfroms
am trying to make a project to change the mouse onclick img i sussfully hooked the mouse click event system-wide (so i get notified when the user clicks the mouse on whatever form) but i can't change the mouse img if the user isn't using my program is there a way to do that 1) thank u veryu very much , that did it. 2) anybody know how i can load colored mouse cur files (crusor images) everytime i try i get a black & white one (even thow am using colores) ...Show All
SQL Server Could not find stored procedure 'msdb.dbo.xp_sqlagent_notify'
I have started getting this new error after installing SQL 2005 service pack 1 whenever I start the SQL agent : Log SQL Agent (Current - 6/5/2006 12:28:00 AM) Message [298] SQLServer Error: 2812, Could not find stored procedure 'msdb.dbo.xp_sqlagent_notify'. [SQLSTATE 42000] (DisableAgentXPs) I don;t see any problems because of it but would like to fix it because it is an error and might be affecting something I don't know about. Thank you. I am also having a problem with this: 2006-10-26 08:52:42 - ! [298] SQLServer Error: 2812, Could not find stored procedure 'msdb.dbo.xp_sqlagent_notify'. The againt will not even start. Anyone have any luck with this please let me know. ...Show All
Visual Studio 2008 (Pre-release) XamlWriter with Xaml and Codebehind
I'm stuck on something with trying to create classes using Xaml and Codebehind C#. I'd like to create a class that looks like this: <UserControl x:Class="DesignElements.MyTest" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <Grid Name="grid1"> <Rectangle Name="rectangle1"></Rectangle> </Grid> </UserControl> and the codebehind looks like this: public partial class MyTest : System.Windows.Controls.UserControl { public MyTest() { InitializeComponent(); } public Brush Color { get { return this.rectangle1.Fill; } set { this.rectangle1.F ...Show All
Software Development for Windows Vista How can I get the type at design time of the value represented by an ActivityBind?
I would like to retrieve at design time (more precisely in a specific activity designer I am coding), the type of the value that is represented/bound by an ActivityBind instance. I have found no direct API for this. Is there an easy way to get this information Thanks, Rachel Hello , I have the same problem. The ActivityBind object represents the entity. I would like to obtain all the methods on that entity to put the names of these methods into a combo box. Like the CallExternalMethod activity. 10x ...Show All
Visual Studio Express Editions Random Access File
I am converting VB code to VB Express, and I need to open a file for random access, and read one character at a time from it. Thanks, Richard I have seen StreamReader, but it did not look like it was something I could use. I need to read and write (Get and Put) characters at specific record locations. ...Show All
Windows Live Developer Forums Due to a connection problem, changes you make might not be applied to other computers you use
Hi, Due to a connection problem, changes you make might not be applied to other computers you use I am getting this error in Live Messenger for last few days... As a result, my contact list is not appearing correctly and all the contacts are missing. Anyone having same issue Thanks Fahad Fahad Habib wrote: anyone with any answer or solution it seems we need to switch back to version 7.5 for the time being.... The same thing is happening to me too. How do I switch back to version 7.5 while it all gets sorted ...Show All
.NET Development Copy Directory ??
Is there anything built-into .Net to allow me to easily copy a directory (and all it's subdirectories and files) from one path to another. I see there is an easy way to move it (System.IO.Directory.Move), but I don't see anything similar for copying. I know I could always write my own recursive function to loop through everything and copy it one by one, but I'm assuming (hoping) that something like this already exists. Yep, there is. In VB.NET, you'd use My.Computer.FileSystem.CopyDirectory() to recursively copy a folder. You can use that in C# too. Don't be shy, that's what the framework is all about. Here's what you do: Project + Add reference, select Microsoft.VisualBasic; add this statement in your ...Show All
