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

Software Development Network >> Douglas Stockwell's Q&A profile

Douglas Stockwell

Member List

Kevin McGarvey
Henny
Mathew1972
mr4100
Andrew Stanford
Jeremy Schneider
Gordopolis
SoulSolutions
Greenies
grnr_r
Satish33
jhurliman
Sai A
feroz_ahmed
fscarpa58
Robert S P
Per Salmi
Michael Vanhoutte
Cobolman
Ceds
Only Title

Douglas Stockwell's Q&A profile

  • Visual C# Accessing files/directories with different permission

    I try to access the files in a certain folder using Directory.GetFiles() and a bunch of permission denials are thrown back at me. How can I let the program access the folder using a certain user/permission set Thanks. Hi, Only if you are in administrator role of the windows, it allow you to modify others' role (even to admin). So, just set the security setting of the file or folder to the specific user or group. Thank you ...Show All

  • Visual Studio Team System debug custom code-analysis rules

    Is there a way to debug custom rules in vs2005 without using the stand-alone fxcop Thanks a lot, Mahendra. Hi David, Let me explain you the way I have my projects set up - 1. A Custom rules project which has references to the following dll's under 'C:\Program Files\Microsoft Visual Studio 8\Team Tools\Static Analysis Tools\FxCop' folder - FxCopSdk.dll, Microsoft.Cci.dll. 2. A test project on which I want to run code analysis on. 3. Copy the custom rules assembly to the 'C:\Program Files\Microsoft Visual Studio 8\Team Tools\Static Analysis Tools\FxCop\Rules' folder. 4. I check the project properties of the test project and I see the new rule in the code analysis section. 5. I ru ...Show All

  • Windows Forms paint above other controls

    Hi, I want to draw something on my form. However what I draw in "OnPaint" appears below other controls in my form. What should I do to draw above other controls in the form But... I've read some threads here about transparent control, and from what I understood u can't create a really transparent control (in transparent pixels of the "transparent control" you'd see the control's parent (the form in this case) and not any controls between them), so I can't see how this could help here... Actually my starting point was trying to create a transparent control, but I got stuck there... ...Show All

  • .NET Development return a sql database wif a web service

    im suppose to return a sql database called CustName tru a web service Here's what i wrote im my web service Imports System.Web Imports System.Web.Services Imports System.Data.SqlClient Imports System.Data Imports System.Web.Services.Protocols <WebService(Namespace:= "http://tempuri.org/" )> _ <WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)> _ < Global .Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _ Public Class Service Inherits System.Web.Services.WebService <WebMethod()> _ Public Function CustName() As String Dim r As SqlCommand Dim con As SqlConnection = New SqlConnection( _ "Data Source=.\SQ ...Show All

  • Visual Basic VS2005 with VB 6.0 Installed

    Hi, I installed VS2005 in a PC that already had VB 6.0 installed. Now whenever I open VB 6.0 a message "Please wait while Windows configures Microsoft Visual Studio 2005 Professional Edition - ENU" appears and then it will ask for the cd. What is it trying to do Will there be any conflict between the 2 IDEs Not sure what it is trying to do or why you are having this issue. VB6, VB.NET 03. and VB.NET 05 are all capable of side by side installations. Try putting in the cd as suggested and see if it will take care of the issue ...Show All

  • Smart Device Development How to use own dll in C#

    Hi Guys I am new bie in Windows mobile platform. I am building a smartphone application using c#. It uses our own NetwrkAction.lib. Can you guys help me how can i use this lib in the project. I have follwoing functions that has to be used in the application. EXPORT CNetwrkAction* CALLBACK CreateNetwrkAction(); EXPORT void CALLBACK DeleteNetwrkAction(CNetwrkAction* obj); EXPORT int CALLBACK Configure(CNetwrkAction* obj,LPVOID aErrorNotifier,LPVOID aEventNotifier, const char *aPrimaryGateway); EXPORT int CALLBACK ConnectToServer(CNetwrkAction* obj); EXPORT int CALLBACK RequestToServer(CNetwrkAction* obj,const char *aPrimaryGateway); Can anybody tell me how to use this DLL with my program. Here's a classic example of call back if ...Show All

  • SQL Server Frequently update and select Table Locking Problem

    Hi guys, I faced problem related to Locking and Isolation Level on Table(s). My problems is there r some tables which r frequently updated, and I also want to fire select query over those tables every 1 seconds and want to get only committed records. In current scenario we start transactions with Read Committed Lock for updating records. But in this scenario I can’t get select query result because of some of recourses r used by transactions so after some time it gives Deadlock error . So I want solution like both operation run simultaneously and get only committed records at a time of transaction running. Please help me for solving my problem. ...Show All

  • Visual Studio 2008 (Pre-release) How to debug and run the XBAP applications?

    hi guys, I have created one XBAP application. The application build successfully. But when i run the application it comes out from the debug mode. So i m not able to debug and run my application. Is there any installation problem Or what are steps to follow for debug and run the XBAP applications XBAP applications can only executed in IE or in other browsers also If i have created a XBAP application, is it possible to run the application from other machines connected through LAN I m new to WPF, so anyone please help me out Thankfully, cssjm Fyi, here's a post on Debugging Windows Presentation Foundation applications: http://nerddawg.blogspot.com/2006/08/debugging-windows-presentation_16.html ...Show All

  • SQL Server How to change the color of a bar in a bar chart?

    I am having a problem setting the colors of the bars in a bar chart. It seems like it would be the simplest thing, but apparently it's not. The "series" is grouped on whether or not the value is positive -- if so, the bars are blue (by default) and if not, green (by default). I want to change it so the positive color is blue and the negative color is red. I found that I can change ALL the bars to one color by going to chart properties, Data tab, Values Edit, Appearance tab, Series Style, Fill. There I set the color to red and ALL the bars became red. But this is not what I want. I tried using a conditional statement like IIf(Fields!IsPositive.Value=True,Blue,Red) for the color, but (not surprisingly), it told me I hadn't ...Show All

  • .NET Development Newsletter

    Attempting to develop a Newsletter application using ASP.NET (VB). Would like to have the user develop newsletter using Word, etc, then move it into a web page(cut and paste ) Without any programming skills or need to know the inns and outs of VS/ASP/SQL Server, ... Any ideas Has anyone done a newsletter using ASP Thanks You create a web application(ASP.NET) and provide templates. The user should be able to select any available template. Now after selection of template, user can provide the contents(which could be from word etc.) and finally the newsletter will be ready with the user content and your template look and feel. This is my idea, hope it helps you. Do let me know if you need more info ...Show All

  • Visual C++ GDI+ v1.1

    This may sound odd but, where do I acquire GDI+ v1.1 I tried downloading the latest platform SDK but it only includes version 1.0 of GDI+. Am I the only one with this problem Kindly F.Ahlman On this page: http://msdn.microsoft.com/library/default.asp url=/library/en-us/gdicpp/GDIPlus/GDIPlusreference/classes/effect.asp Surely it should state that it requires GDI+ V1.1, not GDI+ V1.0, as GDI+ V1.0 doesn't support Effects ...Show All

  • .NET Development Convert string to int

    Is there anyway to convert a String to Int say if I have String width ="640"; I want it to assign to int dimension=width I don't want some conversion like String char="A" to integer which become 10. Just a straight conversion Is it possible Leo Liu wrote: I try both convert and int.Parse but I kept getting this error Error 1 Cannot implicitly convert type 'string' to 'int' Can you post the code ...Show All

  • Smart Device Development Compact Framework infrared capability

    Hi, After researching infrared capabilities I can't locate how to accept incoming infrared signals from stnadard tv/dvd remotes to be able to play them back. I have seen and read plenty of articles eg. godotnet but can't seem to find what servicename or endpoint is required to be set in vb.net or c# to work with standard tv/dvd remotes eg. to associate with the client/listener classes. I'm starting to think that the .Net Compact Framework doesn;t support this capability and only embedded c++ will work I would be grateful for any leads.... Thanking you Hi, After researching infrared capabilities I can't locate how to accept incoming infrared signals from standard tv/dvd remotes to be ...Show All

  • SQL Server Performance difference

    Hello, i'm running 7 same HW&SW configured servers with the same load with SQL Ex 2005 SP1 installed. I'm executing SP over 200.000 times a day. And here comes the problem, every server got different average response time, the quickest executes the SP in 1 ms, the slowlest in 50 ms, that's 50x slower! Have you any performance hint, please Thank you. ParameterCompiled value is the value that was passed to the statement when it was compiled and cached. In your case one plan was cached with the value of 1, the other with the value of 0. The times are also in microseconds (1 millionth of a second), not milliseconds (1 thousandth of a second). At 122 microseconds this is still blister ...Show All

  • Windows Forms problem in axwebbrowser.navigate()

    Hi , I am using VS .NET 2003 on XP SP2 when I am using the axwebbrowser.navigate() in my code, its actually locking the file which I supply to it as URL. I am pasting the code below: ################################################################################### public string Xml { set { StreamWriter writer; object missing = System.Reflection.Missing.Value; missing = null; _fileName="C:\\XMLFiles\\"+Guid.NewGuid() + ".xml"; using (writer = new StreamWriter(_fileName, false)) { writer.Write(value); } _ctrlWeb.Navigate( _fileName, ref missing, ref missing, ref missing, ref missing ); if (_previousFileName.Length > 0) { File.Delete(_ ...Show All

©2008 Software Development Network