Software Development Network Logo
  • Smart Devicet
  • .NET Development
  • Visual Studio
  • Visual FoxPro
  • SharePoint Products
  • Audio and Video
  • IE Development
  • Windows Forms
  • Windows Vista
  • Game Technologies
  • Visual C++
  • SQL Server
  • Visual Basic
  • Visual C#
  • VS Team System

Software Development Network >> Espen Ruud Schultz's Q&A profile

Espen Ruud Schultz

Member List

AFM
Evgeny Shvets
David S. Anderson
Wildert
wsalomon
howyue
Dave Irvine
frieste
DoS
mikewo
ashk1860
gafferuk
qwv
Ted.
ScottStonehouse
Tamim Sadikali
Dave_L
dbdoc
turkeytickler
Jehan Badshah
Only Title

Espen Ruud Schultz's Q&A profile

  • .NET Development Problem with Message Queuing

    Catch a problem using interface of MessageQueue component : I can't see public queues of domain controller on domain computer. When I try to explore MessageQueuing-labeled node in Server Explorer => catch exception: "Workgroup installation computer does not support the operation." What should I do, to pass this problem Thanks ( and sorry for my English =) )... You need to login to a domain to allow public queues. Workgroups only support private queues. ...Show All

  • Visual Studio 2008 (Pre-release) Commands ignored when FocusManager.IsFocusScope="True"

    The SDK documentation for FocusManager.IsFocusScope says that a focus scope can be set to keep track of logical focus among child elements. However when I set a focus scope on an element it looks like the change of focus is being ignored by the command system. In the example code below I have a toolbar with buttons for cut, copy and paste commands, and two RichTextBoxes. When I select text in the RichTextBox with IsFocusScope="True" the cut and copy buttons are not enabled. If I select some text in the non-focus scope box the the cut and copy buttons are enabled. If I then change focus back to the box with focus scope enabled the cut and copy buttons remain enabled. If I click the paste button, the paste is always performed o ...Show All

  • Visual Studio 2008 (Pre-release) How to bind values to the Grid in WPF?

    I have created a Grid object and added column and row definitions to the Grid. I want to bind the data for the grid columns. Is there any way to bind the data for the Grid as like normal VS .Net 2003 (i.e. DataGrid1.DataSource = ds) If it is not possible in WPF, how can i bind the values to the Grid in WPF. OTHER IMPORTANT Thing is I want to create a DataGrid which is to be good look-and feel (Which should not be like normal WinForms grid, instead it should be good style as with moulded borders, using nice colors, and should also perform event handling.(such as mouse move, mouseover,dragover..) It should also allow us to add any type of controls(such as Calender control, dropdownlist, popup menus, context menus). It also ha ...Show All

  • Visual C++ serialPort.Read

    I have been playing around with the serial port class for about a week and have managed to learn a small number of different ways to read the data in and then act upon it. I have just successfully written code to use the serialPort ->ReadByte() method. My problem with this method is that no matter how large (number of bytes) the data is, it will only read one byte at a time when data is received. I want to read a small data packet which contains three characters. I have attempted to use the serialPort->Read() method, but I keep getting a null error. My code is: private : System::Void serialPort1_DataReceived(System::Object^ sender, System::IO::Ports::SerialDataReceivedEventArgs^ e) { int offset = 0; int count ...Show All

  • Visual Studio Crystal X1 and VS2005

    Hi, I have installed VS Team System for Software testers which comes with Crystal Reports 10 by default.I want to the developers to use Crystal Reports 11 in the VS2005 designer instead of Crystal 10 because in our production environment we have Crystal 11 runtimes installed.What do I do Also on a side note can somebody expalin to me the difference between Business Objects XI and Crystal Reports XI.Are they two different products Thanks. Rafeeq. HI, To do this, install Crystal Reports XI and then Update it to R2 to make it compatible with Visual Studio 2005. Download the patch: http://www.businessobjects.com/products/reporting/crystalreports/compatibility_vs2005.asp Business Objects XI, ...Show All

  • SQL Server automated replication scripting

    We create replication scripts on a regular basis, saving them to a warm standby server as a precaution. Is there a way to automate (i.e. in a job) the scripting of replication Right-clicking in EM is becoming tedious with the number of servers we have (80+ of them SQL Servers). My manager does not want to go through just restoring msdb on the standby; he says there are issues with that. I am new enough to replication to just go with his guidance, which is why we are taking this approach. You can take a look at RMO programming. For example, Publication object has a method Script() that can be used to create a script (see http://msdn2.microsoft.com/en-us/library/microsoft.sqlserver.replication.publication.script.aspx ). Other replicat ...Show All

  • Visual Studio Team System How to record the windows opened in a webapplication

    hi everyone, I am doing automation of a web application. In a scenario, after clicking a button in a webpage, a window will be opened. How to record and test that window opened in this scenario in a webtest and also in a load test in VSTS How to test the functionality of the that window please reply soon.. Thanks Ravindra Reddy Kasireddy In that case, you will need to use fiddler to record the requests and then generate a webtest. You can get it at: www.fiddlertool.com ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Bullet Hell Tactics - Shoot'em'up game created with XNA (video and screensots)

    Hey! For the last couple of months (5 to be exact) I have been working on a shoot'em'up (shmup) game with XNA and have now come to point where I can show what it will look like and how it will play. I have screenshots and a gameplay video that can be found at http://shmup.blogspot.com . (Remember that this is work in progress, and a lot of stuff is missing). Here you can also read about the development and progress of the game. I don't yet have a playable demo for download (sorry). Later on I will have a beta for download for those of you that wish to try it. It has been a WHOLE lot of work to get this thing play (I know maybe it doesnt look like much work when you see it but trust me - it is!) Almost all the gameplay element ...Show All

  • Software Development for Windows Vista How to send SMS to mobile from WorkFlow?

    Dear all, I need to send automatic SMS(any country) to the customers(bank) once each task is completed in the WF.How can i achieve this Which is the best way to do this Invoking the webservice or is there any activity like we using SendEmailActivity(for sending mails) or is there any other way If so..please guide me to do this providing some code snippets too. Waiting for your valuable inputs, Thanks in advance, Sunath One more thing I forgot to say - as a design choice it would be better if you have this code within a custom activity rather than in a code activity. You can then share that activity with other workflows in your application, or create designers for it, and visually model it. A code activity by itself d ...Show All

  • Visual Studio Express Editions How to count the number of CheckBoxes Checked

    Is there a way to count the number checkboxes that have been checked on a form and when a certain number as been reached disable any remaining checkboxes Regards LVB This alteration of Manan's code should work for counting checked boxes: Dim i,count As Integer For i = 0 To Form1.Controls.Count - 1 If TypeOf Form1.Controls(i) Is Checkbox AndAlso Ctype(Form1.Controls(i), Checkbox).Checked Then count++ End If Next If there's a huge number of checkboxes involved, I'd put in the check to see if count exceeded the value you were checking for, but it is not necessary if you're just looking at 20 or so controls. The AndAlso is there to tell the program ...Show All

  • Visual Studio Team System Overwrite Drop Location and keep output from project files!!

    Hi All, Is there anyway that I could by pass drop location and keep the output as I set in the project files Best Regards, Andy, Let's see if I have this straight. I am assuming that you wish to have builds occur but you want the output binaries to be staged in the folders defined in the project build configuration's Output path If this is the case you have to do some significant spelunking and modification in the Microsoft.Common.targets file. I wouldn't recommend doing this. If you can give some insight as to why you need to override the drop location with the location set in the project files, I'm sure we can find a way to help you. ...Show All

  • Windows Forms help with DataGridView

    hi all. i set my DataGridView.DataSource=MyDataTable after i update a field in the DataGidView and Clicked on another field, i wanted to get the changed rows from my MyDataTable . (MyDataTable.GetChanges) but it is NULL. only if i press the TAB or exit the grid(after updateing a filed), it will be updated and i'll get the changed rows from my MyDataTable. why Hi, When you call the Update method or exit the grid, you are basically committing changes to the data table (AcceptChanges is implicitly called). In such a case, the GetChanges method will not return any data. What you can do is: verify if there are any changed rows by calling the HasChanges method of the dataset (create one based on the datatable). Reg ...Show All

  • Visual Basic ListBox.Items.Add() doesn't work for me

    Hey everyone, I'm trying to add data to a listbox, but I get a object reference error. Here is a exmaple of my code: The listbox is already on the form: listbox1.Items.Add("Test") listbox1.Items.add("test1") When I run this code, I get a object reference is set to null(System.NullReferenceException) Can anyone help thanks, Brandon M. Hunter when doing: lstBx = lstBXSC you are making lstBX equal to nothing again, since lstBXSC is nothing anyway. If you dragged another listbox and getting the same error, something is seriously wrong. feel free to email me the project and i will be sure to post back the solution. (email address in my profile) ...Show All

  • SharePoint Products and Technologies Problem using CreateTaskWithContentType

    I recieve an error when try to set the ContentTypeId to other than 0x010801 (0x01080100D09BD90EFB3244a194C27F1CBD6D525C). I'm able to use this contenttype when it is set as defalut in workflow.xml (TaskListContentTypeId) Exception from wss workflow infrastructure: System.Reflection.TargetInvocationException:---> System.ArgumentException: "Value is not from expected range" or System.NullReferenceException ..... Microsoft.SharePoint.SPContentTypeId..ctor(String id) in Microsoft.SharePoint.Workflow.SPWinOETaskService.CreateTaskWithContentType(Guid taskId, SPWorkflowTaskProperties properties, String taskContentTypeId, HybridDictionary specialPermissions). Any idea how to resolve the problem ...Show All

  • SQL Server Always showing the parameter input area.

    Greetings, Is there a way to force the parameter input area to always show even when default values are specified I want to always display the parameter area even when I set initial parameters. Thanks Made progress! When I invoke the report via the url command the parameter area is always visible. When I invoke the report via the navigation functionality of a report item the report is rendered but the parameter area collapsed. Still dont know why.... ...Show All

©2008 Software Development Network