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

Software Development Network >> Paula M's Q&A profile

Paula M

Member List

Chimme
errolian
Kiran P Patel
Shobha69358
George Clingerman
mkamoski
D Evil Oper
Whoisit
DavidCeder
fusi0n
Ajay B
CJW99
codequest
hamdyzaki
TimurKA
R0nda
mexy
GTrz
The Samster
ijrr
Only Title

Paula M's Q&A profile

  • .NET Development Required field in a Web Service

    Hi, I have created a web service with a webMethod like this : ... public Test InsertTest ( Param param ) ... ... public class Param { [ XmlElement ( "PartNumber" )] public String PartNumber; This field should be mandatory when I generated my WSDL file. But I don't know how to do that. Thank you You do not need to delete the minOccurs and maxOccurs attributes from the element declaration to make sure that the element is required, you only need to make sure that minOccurs is > 0. XmlSerializer framework does not provide full explicit control over the minOccurs and maxOccurs attributes, so you cannot use Xml serializer attributes to set them t ...Show All

  • Visual Studio Express Editions Random Integers for Game

    Hey, I've made a game and I wanted to add more chance to it by making the damage you do random, so for instance, I want it so that instead of your guys attack to be set at just 15, it'd be set to randomly select a number 13 - 17. Thanks, hope you guys can help. Yep! That seems about it! It's going to basically just pick a random number from your attack points and inflict it to the opponent... So it'd probably look like this, right Dim DmgRng As New Random() Dim DmgDone As Integer = DmgRng.Next (DmgRngLow, DmgRngHi) I heard you've answered alot of questions! Thanks for answering one more ;)!!! Don't know about the Enthusiast for MS but I can respect you helping me ;)! ...Show All

  • .NET Development MySQL Parameters Odbc SqlDataSource

    Hello, I am using a MySQL 4.1 and ODBC 3.51 driver and ASP.NET 2.0 GridView with the SqlDataSource object. As you know the MySql does not allow parameters of thi type (@param) but only the question mark parameter. Here is my SqlDataSource: <asp:SqlDataSource runat="server" id="SqlDataSource1" ProviderName="System.Data.Odbc" ConnectionString="<%$ ConnectionStrings:DB %>" SelectCommand="select * from tbl_name" UpdateCommand="update tbl_name SET name= where Id= "> <UpdateParameters> <asp:Parameter Name="Name" /> <asp:Parameter Name="Id" /> </UpdateParameters> </asp:SqlDataSource> I use a GridView of th ...Show All

  • Visual Studio 2008 (Pre-release) UserControl cannot be created using Assembly.CreateInstance

    If you create a UserControl in a CustomControlLibrary and an application loads the assembly that owns the UserControl using Assembly.Load the UserControl cannot be instantiated Note that I just used VS to create the UserControl, did not add or remove anything..... // both of these will fail ConstructorInfo construct = Type.GetConstructor( new Type [0]); Object = construct.Invoke( new object [0]); Object = Type.Assembly.CreateInstance(Type.FullName); The Error: InnerException = {"The component 'CustomControlLibrary1.UserControl1' does not have a resource identified by the URI '/CustomControlLibrary1;component/usercontrol1.xaml'."} How does one work around this Note that the assembly ...Show All

  • Visual Studio Team System TFS Build - next version?

    Hello, does anyone know when a next version of the TFS will be released and which extentions will be made to the Build Automation/Reports - Chris Proper CI support would be useful, so we didn't have to resort to third party "hacks". Specifically what I'd love to see is: - Nightly build (build every night at a specific time) - Continous Build (build project on every check-in) Much of this is possible via third party tools/Windows tools, but it would be great if it was included in the "Create new build" wizard! ...Show All

  • Visual Studio Express Editions autoScroll Text

    Hello. Can some one tell me please how ya get text to automaticaly scroll up in a textbox Thank you. Hello Spiderman. am fairly new to programing, only been learing about 9 weeks or so. Am not sure how to explain this so al do the best I can. Av seen it done a a few times in about box's were the text scrolls up automaticaly, no scrollbars, or if there is scrollbars they were not visible. I want have the same thing on my form as a scolling welcome type thing. Al try what ya told me. thank you. ...Show All

  • Windows Forms DatagridView Combobox column displaying question

    I have a datagridview with a combobox column that containts a list of problem areas. It will display a list of all the problem areas from a lookup table when the combobox is dropped down. My question is, if the value that is in the Database does not exist in the lookup table, it does not display anything. How do I make it go ahead and display what is in the database An alternative way: private void dataGridView1_CellFormatting( object sender, DataGridViewCellFormattingEventArgs e) { if (e.ColumnIndex == 3) // your combo column index { e.Value = dt2.Rows[0][1].ToString(); //dt2 is a datatable bound to combo column; } } ...Show All

  • Software Development for Windows Vista EventDeliveryFailedException

    Hello. I already asked something similar to this in at least one other thread. And many other Threads ask about this problem This time I'll post real code, so there are no doubts. In the highlighted line the execution stops saying there is an EventDeliveryFailedException. I know for sure the service is registered in an ExternalDataExchangeService. And I'm sure the HandleExternalEventActivity is listening to the right event form the right interface. And I know through Tracking that the HEEA is in execution. I don't know what to do... public class StandardEventEmitter : EventManagementService.EventEmitter, IEvento { public override void RaiseEvent(System.Workflow.Activities.ExternalDataEventArgs externalEventArgs) { if (ev ...Show All

  • Commerce Server Configuration Wizard fails on configuring pipeline

    This is the first time that I install CS 2007. I installed the application. But it fails everytime when configuring server pipelines. The OS is windows 2003 sp 1 wirh SQL server 2000 sp 4. I even reinstall windows 2003 just to make sure it starts from a clean platform. But all ended at the same error. Anyone knows the problem --- [16:16:57 INFO] Logging has been initialized. [16:16:56 INFO] GetProductLanguageId returning '1033'. [16:16:57 INFO] Not changing the thread's CurrentUICulture from LCID '1033'. [16:16:59 INFO] Loading installed features. [16:16:59 INFO] Feature 'Feature.MS.CS.Catalog' is installed. [16:17:01 INFO] Feature 'Feature.MS.CS.CsStaging' is installed. [16:17:01 INFO] Feature 'Feature.MS.CS.DWA' is installed. [16:1 ...Show All

  • SQL Server EXEC permission on a SCHEMA COLLECTION???

    I have a permissions problem with a table/procedure that I hope someone can help me with. To set the scene ....... All my procs/tables/functions etc are owned by dbo. I have a windows security group that is granted permissions to EXEC all procs. No one has permissions to tables. I have a table that has an XML column and the column has a schema collection bound to it. The table has a computed column that relies on a function to extract a datetime element from the XML in the XML column and I have an index on this computed column. I have a proc that selects from this table and uses the computed date column for filtering. However, the select statement is build dynamically and uses sp_execute to perform the SELECT. This of ...Show All

  • Visual Studio Tools for Office Problems creating the install package

    Hi, i've managed to create the add-in that i want and i can test it on my development machine and it works fine and integrates with other projects well and all is good with the world on that front. however, when i try to build the setup project that visual studio creates for me the compiler tells me that the build has failed and gives me no errors descriptions for some reason. just says failed and gives no reasons! so i had no idea in which direction to look about solving the problem and i've searched the net up and down trying to find something but i just can't get it. i'm sure i'm doing something silly but i can't for the life of me see it. i saw an article about the whole trust and security thing and i've implemented that into my ...Show All

  • Visual Studio Express Editions Can't view my project

    Hi, I've been working on a project for the past 2 weeks in Visual Basic 2005 Express Edition. For some reason now when I open my project I can't view any of it. It only has one form but I can't get it to display. When I open the project all that comes up is the Start Page tab, nothing else. I'm not sure I've explained that very well but I hope someone understands what I mean and can help. SlickRed Slickred, i have had some similar problems with my projects. The fix i have had to use before was to Create a new project and then import my files into the new project. That has seemed to work for any major problems i have had. My problems mainly have been forms and code not working. I ho ...Show All

  • Windows Forms How can I get consistent anchoring behavior across different DPI settings?

    Hello, Our windows forms app is normally run at 96 DPI, but we have one use who uses 120. I can't get text fields to anchor consistently between DPI settings. Once everything is anchored and set up at 96 DPI, when I switch to 120 the fields are all way too short. If I change them at 120 DPI in VS2005 and set them up correctly (by resizing them, checking the anchor settings) then it works at 120 DPI, but is wrong at 96 DPI. The fields I'm having trouble with are text fields inside a group box. The groupbox has its Dock property set to either Top or Fill, depending on the situation. The text fields have their anchoring set to left, top, right. The controls in question are DevXpress controls, but they are based on regular WinForms ...Show All

  • Visual Studio Team System Getting a new work item field to display in the OLAP cube

    I've created a new field named stage in our scenario template and updated VSTS. It looks like: < FIELD name = " Stage " refname = " Microsoft.VSTS.Common.Stage " type = " String " reportable = " dimension " > < HELPTEXT > Stage of the scenario in the development process </ HELPTEXT > < REQUIRED /> It's showing up correctly in VSTS and in the TFSWorkItemTracking DB in Team. The issue I'm having is that it's not showing up in the TFSWarheous OLAP cube. How can I get this in to the cube Thanks in advance for any help on this. Greg Once you set a field's reportable attribute to dimension, the next time ...Show All

  • Windows Forms Troubleshooting errors after a background worker operation

    I have a simple Windows form with two buttons: - the first button calls a method that throws an exception - the second button runs a background worker whose RunWorkerCompleted event calls the same method that throws an exception My question is why the "Exception was unhandled" window displays in different places depending on whether the method was called via the background worker or not. Without the background worker, the error is displayed where the exception actually happens. When using the background worker, however, Visual Studio displays the error in Program.cs, pointing to the line: Application .Run( new TestApp ()); The latter behavior is not very helpful when debugging. It seems to me that both error wi ...Show All

©2008 Software Development Network