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

Software Development Network >> RMS's Q&A profile

RMS

Member List

danskcarvalho
progames25
sachhha
Rakesh Bhardwaj
AlGu
Teenprogrammer
MichaelMouer
stswordman
Mark Willer
spebby
Legacyofkain
Varix
Rahiman
John Cogan
Vladimir Bougay
Alex72
Heng-yi Liu
B Langston
carda
mr outlander
Only Title

RMS's Q&A profile

  • .NET Development FileIOPermission ACL Question

    Hi, I've got myself very confused about the usage of the FileIOPermission.Demand method. For example; If I supply a path that I do not have "write" permissions to via ACL: FileIOPermission fileIOPermission = new FileIOPermission ( FileIOPermissionAccess .Write, @" \\server\path\path2\path3 " ); fileIOPermission.Demand(); The demand does not fail as I expected. I've search the forum and found the following: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=149239&SiteID=1 I amended my code to no avail. I've obviously got the wrong end of the stick about how this works! I was assuming it worked by looking at the permissions on the folder or file. Does it just evaulate the assembly evidence ...Show All

  • Visual C# root node should not be expanded at page load

    Hi.. I have created a treeview in asp.net using c#. But the problem is all the nodes are expanded when the page loads. In Treeview control, when the page loads, the tree should not be expanded. Only when the user clicks on the root node the child nodes should be seen. There are subchild nodes for the child nodes and they should be expanded only when the user clicks on the child node. How to implement this in asp.net using c#. Please help ...Show All

  • .NET Development Confused on the setup of VS with SQL Server

    Hi, I have a bit of confusion over what exactly is happening here. I have taken over a project that was left over from a company and I have just got out of school and my experience is more so with Java and Sun(as my University was sponsored by Sun). Anyays, I have a project in VS 2003. It is a web server application(that is many people inside the company can access this program by typing in the url://myprogram/ ..." The web application uses a MS SQL Server Database. Fine and dandy... I can open up VS connect to the database, view the tables and such but cant view the stored procedures. So I asked, and was told to use the SQL Query Analyzer to create and edit my Stored procedures in the database. The list of queries is in a file called ...Show All

  • Software Development for Windows Vista Why IVMRMonitorConfig9::SetMonitor can not work

    I have two monitors with a graphic card with two DVI interfaces. In MSDN, it said The VMR-9 supports a maximum of 16 display devices. The interface IVMRMonitorConfig9 determines the display devices on the system. However, its SetMonitor method seems did not work. My code is: CComPtr<IGraphBuilder> pGB; CComPtr<IVMRMonitorConfig9> pMonitorConfig ; CComPtr<IBaseFilter> pVmr; HRESULT hr = CoCreateInstance(CLSID_VideoMixingRenderer9, NULL, CLSCTX_INPROC, IID_IBaseFilter, (void**)&pVmr); hr = pVmr->QueryInterface(IID_IVMRMonitorConfig9,(void **)&pMonitorConfig); hr = pMonitorConfig->SetMonitor(1); hr = pGB->AddFilter(pVmr, L"Video Mixing Renderer 9"); But, the MFC-dialog sti ...Show All

  • Visual Studio 2008 (Pre-release) GridViewColumn.HeaderTemplate

    Hopefully someone can help me with this: In the HeaderTemplate property docco on MSDN it says "After a HeaderTemplate or ColumnHeaderTemplate is specified for a GridViewColumn , it cannot be changed." However, doing ListView/GridView column sorting pretty much as per the Avalon ATC team's post resetting the HeaderTemplate does work and arrows appear in the Header as per the post. What doesn't seem to work is the Header's layout being invalidated. Assuming something like < DataTemplate x:Key = " AscHeaderTemplate " > < StackPanel Orientation = " Horizontal " > < TextBlock HorizontalAlignment = " Center " Text = " {Binding} " /> & ...Show All

  • Software Development for Windows Vista Unit Testing with Team Foundation

    I have written several custom activities. I would like to unit test them in some manner. What is the best approach for this I am using Visual Studio with Team foundation and the workflow addins. Currently, the way I have been testing them is creating a workflow that just holds the activity, running the workflow with the desired inputs to the activity, and then comparing the output from the activity to the expected result. I have been running this through a console app, but this doesn't allow for the test cases to be added to the test suite built in to team foundation. In addition, if I try and make test cases for the functions that start the workflows, visual studio crashes. Thanks, Amanda Amanda, an ...Show All

  • Visual Studio 2008 (Pre-release) VMR9 and MediaElement

    I am trying to use a DirectShow filter in MediaElement, and although it works in WMP it does not work in a MediaElement. The author has suggested that maybe MediaElement requires the VMR9 in renderless mode with a custom allocator-presenter but I didn't know so I am asking :) Also what are my debugging options I have hooked up the relevant error event but nothing fails, it all seems to work, I just see a blank area instead of the expected video. I don't know if it is relevant but this filter is for DVB-T and as I mentioned works (very) well in WMP. Any help appreciated. Thanks Nicholas, but it didn't, I appreciate the reply though - more than I've got from anywhere else ;) I was under the impression that ...Show All

  • Visual C++ Warning C4482 - Enums

    Maybe this isn't the correct forum, perhaps if I ask the question this way. Is there anything wrong with the way I am using the enum below FigureNames is simply an enum {jack, jill, etc..}. When compiling, it get the following warning; Warning 2 warning C4482: nonstandard extension used: enum 'Names' used in qualified name c:\Documents and Settings\Steve Jackson\My Documents\MySchool\C++\Assign1\Assign1\Assign1\Main.cpp 282 switch (name) { case Names::jack: cout << "My name is jack!"; break ; } C++ is certainly harder to master than VB, but its popularity continues due to its flexibility and "to-the-metal" code generation. C# is a great compromise--you get the flex ...Show All

  • SQL Server Problem to connect Access 2003 to SQL Server 2005 Express

    Hello, after successfully connect Access to the Server I want to add a table. I got an error message: With this version of MS Office Access you are not able to make any drafts because this version of SQL server you are connected to does not support this. Check the MS Office update website for the newest downloads. You habe connected to a version of SQL server which is newer than SQL server 2000. Versions: SQL Server runs on a MS Server 2003 SP1 Access 2003 (11.6566.6568 SP2) on an MS XP Pro SP1 all on actual patch level. Any ideas what's wrong :-) Klaus     Are you connecting using an Access ADP or MDB file I suspect you are working with an ADP - so y ...Show All

  • SQL Server DTS to VB

    Can someone help me please. I am having issues with the following code. This is the first time I am doing this, so it is Brand new to me. Sorry if I look and sound like an idiot. I am having issues with 'DTS.OleDBProperties' cannot be indexed because it has no default property at the following line :oConnection.ConnectionProperties I used DTS wizard to create my vb code and I am following this page: http://msdn2.microsoft.com/en-us/library/aa176248(SQL.80).aspx Can someone please guide me in the right direction. Option Explicit Public goPackageOld As New DTS.Package Public goPackage As DTS.Package2 Private Sub Main() set goPackage = goPackageOld goPackage.Name = "Test" goPackage.Description = "Casier" ...Show All

  • Gadgets Possiable to have text with no background or transparent background

    I'd like to have text just floating with no background at all how would I do that. Here's the white dot's <body style="width:130px; height:67px; margin;0px;"> <g:background id="bodyBackground" src="blank.png"/> <script language="JavaScript"> text = "Some text"; bodyText = bodyBackground.addTextObject(text, "Segoe UI", 10, "White", 1, 1); </script> </body> dots at 8pt you don't see them but at 10+ they just get worse. I put in this code: <body style="width:100%; height:100%"> <g:background id="bodyBackground" src="background-style.png" /> <script language="JavaScript"> text = "Some text"; bodyText = bodyBackground.addTextObject(text, "Sego ...Show All

  • Visual Studio 2008 (Pre-release) Where can I find the events list of every control

    Hi everybody, I know one of the limitations of cider is that we have to write all events by ourselves. But where can I find the list of events and arguments of every control. I couldnt fin the description of the API on MSDN. Thanks Lester for the answer, but when using intellisense : 1) I dont get what every event do, it shows only the name of the event. 2) It dosent also show the event arguments For example the button_click event, How can I know what are the handler arguments when using xaml for defining my button. <Button Click="OnSubmitClick">Submit</Button> Did I miss Somehting ...Show All

  • SQL Server Create Instance of Notification Service

    Hi, I am getting the following error. Event ID: XmlValidationError Source: NSEventStrings while creating Instance of Notification Service. Hi, This is probably becuase your instance definition file or application definition file is not compatible with SQL NS schemas. Following link contains complete template of instance and application definition file. Make sure your xml adheres to it. http://msdn2.microsoft.com/en-us/library/ms145917.aspx http://msdn2.microsoft.com/en-US/library/ms145313.aspx Shamir ...Show All

  • .NET Development Circular reference

    Hi, I have a webmethod returning a "tree" but each node has a reference to its parent. But the XMLSerializer doesn't support circular references. Is it possible to return such circular reference types from webmerthods Thanks, Kostadin XML, with its parent-child structure format, doesn't support circular references. What you can do is use the <XMLIgnore> attribute to prevent the XMlSerializer from the serializing that field, then on the client re-build the circular reference. http://msdn2.microsoft.com/en-us/library/system.xml.serialization.xmlignoreattribute.aspx You could also use a dataset as it supports circular references, not through pointers (ByRef), but through PK/FK (int ...Show All

  • .NET Development how to open excel file (on server), write some value to it and save it in ASP.Net

    hi guys, Hello, I’m having a excel problem need your guys advice.   The feature is: (open-write value-save) 1)         ASP.Net to open the excel file on server directory 2)        ASP.Net will automatically insert values (username and current date time) into cell E1 3)        ASP.Net will automatically save the file  example: i have a yield.xls on server directory, i would like to open it and automatically insert some value like username in certain field (say E1) then save it. thank you.   Here are some samples how o work with ...Show All

©2008 Software Development Network