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

Software Development Network >> Noah Nadeau's Q&A profile

Noah Nadeau

Member List

Thomas.Goddard
Automate
Eduardo D
Ron Draganowski
Sune Henriksen
Toseef
Catalin Zima
Saurabh Kulkarni
Oliver 123
Robert Wishlaw
a.d.m
Priyank Gajera
Guardian-ND
Kevin Dente
sowjanya
Rothariger
Merlin the Wizard
Jener Garcia Menezes
Pad
Jon Braganza
Only Title

Noah Nadeau's Q&A profile

  • Visual FoxPro VFP menu bar problem

    i have problem with VFP menu when i call my menu to work in VFP IDE and i write set sysmenu to rtljustify i have the required result but when i call the menu to work in top level form do mymenu.mpr with thisform, .t. and i write , set sysmenu to rtljustify i don't have the required result any soultion for this problem Greetings, ...Show All

  • Visual Studio Express Editions cookies from websites

    Hi, I have built my own web browser but some websites dont work as they use cookies how can i enable this on my browser so it accepts all websites what is the code to make it work TJ2007, Are you familiar with the Cookie Class It provides a set of properties and methods that are used to manage cookies. Here I have an example on sending a request to a RUL and display the cookies returned in the response: Imports System.Net Imports System Public Class CookieExample Public Shared Sub Main( ByVal args() As String ) If args Is Nothing OrElse args.Length <> 1 Then Console.WriteLine( "Specify the URL to receive the request" ) Environment.Exit(1) ...Show All

  • .NET Development Neither XmlReader nor XmlTextReader are able to process my XML file

    Hi, I am not able to use the XmlTextReader class in C#, as it is not able to read DTD entity codes, and I can't use the XmlReader because it returns bogus AttributeCount/HasAttributes values. In other words, I'm stuck. I started by using the XmlTextReader, which works nicely until I get to XML that uses DTD entity codes. I needed to use the XmlReader.Create() method and pass an XmlReaderSettings object into the constructor - with ProhibitDtd set to false. This worked, but now I get plainly incorrect results for the HasAttributes and AttributeCount method/properties. AttributeCount is returning 1 when reading the following element: "<gloss>readability</gloss>". Not only that, but the 'HasAttributes ' property returns true while ...Show All

  • Visual Studio Tools for Office DateTime Picker

    the DateTime Picker control is behaving strange. I set the showcheckbox property to true but it doesnt show when opening the sheet and also the dropdown property too. My crystal ball tells me you're working in an Excel VSTO 2005 project. you drag the DateTimePicker from the toolbox onto a sheet. You change the one property from false to true. When you press F5 to run the project in debug mode... What doesn't show the DateTimePicker control Or the checkbox And what "dropdown property" do you mean There is no such property in the Properties window Do you mean arrow at the right to display the full calendar FWIW, when I follow the steps above, the DateTimePicker control is visible, as well as ...Show All

  • Software Development for Windows Vista Special treatment of ActiveX controls in Vista high DPI mode?

    I have a wierd problem. Our application, written in MFC, uses an ActiveX control, also written in MFC (VS2005SP1). If I change the DPI to 144 on WinXP our app handles this fine and everything is scaled as expected. If I change the DPI on Vista and also check the "Use Windows XP style DPI scaling" it also works fine. If I change the DPI on Vista and do not check the "Use Windows XP style DPI scaling" our application was initially scaled by Vista and worked as expected. So far so good. Now we would like our application to look nicer and use the real DPI. To accomplish this we call SetProcessDPIAware() when the process starts (first in InitInstance). Then Vista no longer use the automatic scaling for our ...Show All

  • SQL Server Relative date ---'Rolling 3 months' --help please

    Hi, I need to add special relative date categories in SSAS that similar to the functionality offered by Cognos/Powerplay. With Cognos, you can create relative time categories very easily-- like ‘Rolling 3 months’, ‘Prior Rolling 12 Months’ etc. I created Time Dimension with SSAS BI Studio, added a new named calculation ‘Rolling 3 Months’ to the Time Dimension. Below is calculation code: CREATE MEMBER CURRENTCUBE .[Time].[Rolling 3 Months].[Rolling 3] AS null , VISIBLE = 1 ; Scope ( { [Measures].[ORDERS] } ); // Rolling 3 Months ( [Time].[Rolling 3 Months].[Rolling 3], [Time].[M ...Show All

  • Visual Studio using crystal reports

    i have paths of a jpg files in a database field.... how can i display an image on the crystal report using that path field. i tnk formula fields of crystal report 10.0 might solve the problem because if u give the location of image in formula field that image would display automatically in crystal report ...Show All

  • Software Development for Windows Vista Display an image

    I am re-hosting the workflow designer, and i want to change the look and feel on the activities in the workflow. To make them look like blue rectangles I have added this code: (I am overriding the OnPaint method.) protected override void OnPaint( ActivityDesignerPaintEventArgs e) { base .OnPaint(e); Rectangle frame = new Rectangle ( this .Location.X, this .Location.Y, this .Size.Width, this .Size.Height); Brush frameBrush = new LinearGradientBrush (frame, Color .DarkBlue, Color .LightBlue, 45); e.Graphics.FillPath(frameBrush, RoundedRect(frame)); } Instead of showing a blue box I want to show an image. Is this possible Can anyone show me what code I need to add ...Show All

  • .NET Development XSL transformation omit cdata if the element is empty

    I have a style sheet in which I am putting my data in the cdata section by declaring the nodes name for the cdta section in the style sheet declaration. Now I want's to remove cdta if the element is empty My Stylesheet looks like following < xsl:stylesheet xmlns:xsl = " http://www.w3.org/1999/XSL/Transform " version = " 1.0 " > < xsl:output encoding = " UTF-8 " method = " xml " indent = " yes " cdata-section-elements = " publisher publisherURL lastBuildDate url title referencenumber company postal city state country description date " /> < xsl:template match = " / " > < source > < publisher > Jobs, Inc. < ...Show All

  • Software Development for Windows Vista Adding missing claims when creating Response

    Hi, in the STS example how can I add missing claims to the response token once I validated username and password for example I overridden the UserNamePasswordValidator class with my validator that checks for credentials and retrieves missing claims, but how can I insert these claims in the response token Should I do it when the response is created RSTR rstr = new RTSR(rst); Thanks, Claudio you can add claims that get returned in GetTokenAttributes() you can call AuthorizationContext .CreateDefaultAuthorizationContext().Id to get the username, to help pick which claim values to use. ...Show All

  • .NET Development Shared ownership of an IDisposable object.

    Hello, Recently while writing a Managed DirectX project, I was in the situation where I wanted to share textures between several objects. Textures (like many other MDX classes) implement the IDisposable interface, so I need to call Dispose() on them when I'm done with them. Obviously one object can't call Dispose() on a texture if it's still being used by another object, which leads me to the situation where Dispose() can only be called when no other objects need the texture. I'm from a C++ background, so to me this suggests that I use a reference count, e.g., like boost::shared_ptr , but I was wondering if there's an accepted .NET design pattern for this situation that I should use instead Thanks for your advice, Peter Hi Salvador, ...Show All

  • Windows Forms How to call a web page as Post method from Windows Form Application?

    I have a form application with some TextBox controls in it.I want to send the values of these controls as Post variables to the web page. I can call a web page using System.Diagnostics.Process.Start("Http://...") but how to make a call like it was called from form element with method post I used WebClient instead.It seems to be just for those kinds of tasks. Now the problem is the page is giving me response "Not signed in...".And page is using cookies for authentication. Thats the reason I tried to call Browser so I would already be authenticated. I discovered CookieContainer class but WebClient doesnt seem to have that.So do I need to switch to HttpWebRequest instead ...Show All

  • SQL Server Receive error "Unable to get the window handle for the 'ActionsAwarePivotTable' control." when trying to Browse Cube

    I'm working through the SQL Server 2005 Analysis Services tutorial. Having just built my first cube, I'm instructed to open the cube in the Visual Studio cube designer and click browse to browse through my new cube. But when I do this I get the following error: =================================== Unable to get the window handle for the 'ActionsAwarePivotTable' control. Windowless ActiveX controls are not supported. (Microsoft Visual Studio) ------------------------------ Program Location: at System.Windows.Forms.AxHost.EnsureWindowPresent() at System.Windows.Forms.AxHost.InPlaceActivate() at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state) at System.Windows.Forms.AxHost.CreateHandle() at System.Windows.Forms.Control ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Problems with the mouse cursor!!!???

    Hello.I have tried to change mouse cursor in my directx application.I used the following code: this.Cursor = new Cursor(GetType(), "Cursor1.Cur"); // after I added cursor1 to my project of course. I receive the following error: An unhandled exception of type 'System.NullReferenceException' occurred in System.Windows.Forms.dll Managed Debugging Assistant 'LoaderLock' has detected a problem in 'F:\Visual Studio 2005\Projects\The City\The City\bin\Debug\The City.vshost.exe'. Additional Information: DLL 'F:\WINDOWS\assembly\GAC\Microsoft.DirectX.Direct3D\1.0.2902.0__31bf3856ad364e35\Microsoft.DirectX.Direct3D.dll' is attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image init ...Show All

  • Visual Studio 2008 (Pre-release) Determine the tcp ports the client use

    Hi How can I determine the outgoing / incoming ports of the client when using NetTcp binding The client is behind a firewall. How can I make sure the ports used will be consistent with the firewall policy Thanks manu Hi, I try to establish a duplex connection programatically, and it works one time. After that I get the error: 'Port 8008 is used by anozher program, ... http.sys ....' Whats goint on How can I reclaim used ports Here my code: Dim baseAddress As New EndpointAddress( "http://localhost:8998/PublisherSubscriberPattern/PubSubServiceBase" ) Dim httpDuplexTransport As New WSDualHttpBinding httpDuplexTransport.ClientBaseAddres ...Show All

©2008 Software Development Network