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

Software Development Network >> Andy Hough's Q&A profile

Andy Hough

Member List

nato4
jdavidroberts
thomaskremmel
Key_46
Radoslav
mcdonaldn
Joseph Stalin
leo_asp
aashta
johnb01
Nate00
Gurpreet Singh Sawhney
Alon B
Tadwick
Kevinmwhitman69
Cool Screen Name
NoSTaBoNN
UnWiNd
Andreas_
jxl98c
Only Title

Andy Hough's Q&A profile

  • Visual C++ changing colour of a cell in grid

    Hi, i am using grid (dialog box) having 4 rows and 3 columns (total 12 cells) in visual c++ 6.0. i want to change the colour of a particular cell at runtime for a particular value. how can i do it Thanks and Regards Munish Gupta Hello Munish It doesn't look as if the SSDBGrid Control is a standard VC++ control and it seems to be a 3rd party control. You should ask on their support forums or contact their tech support. ...Show All

  • SQL Server Error: 18456, Severity: 14, State: 11.

    i am new to sql server 2005 express. I am trying to set up xp embedded database. I am trying to allow remote access to a central xp embedded database. i have the database on the sql server machine. i am using the component database manager toll on a remote machine so that i can connect to the remote xp embedded database. when i try to connect to the db through sql server i get the following error in the log file. 2006-09-12 17:15:10.18 Logon Error: 18456, Severity: 14, State: 11. 2006-09-12 17:15:10.18 Logon Login failed for user 'HOSTNAME\Guest'. [CLIENT: XX.XX.XX.XX] where HOSTNAME is the hostname of the pc that sql server 2005 is running. XX.XX.XX.XX is the ip address of the client which is running component da ...Show All

  • .NET Development Hiding sensitive server variables in Application-level trace

    [.Net 2.0] When using Basic Authentication is there a way not to display sensitve info like username/pwd in the trace viewer. Ofcourse, SSL doesnt help here as it just protects the data over the wire but the info is still exposed via the Trace viewer. It would be ideal to be able to hide certain server variables in the application trace output. Is that possible No.. it is not possible to set tracing options for variables.... The most fine-grained you can do it is in the @Page directive.... setting trace settings for each page.... What you can do... is to allow application trace in the web.config file, but disable it in the pages that handle sensitive information like Login page; overriding the web.config ...Show All

  • .NET Development TimeSpan data type in DataTable.Select

    Hello, I need to filter a data table based on TimeSpan values in a column Is there any one who could help me on the syntax to use I have tried the following: ColName<='10:00:00'  =>Error : Cannot perform '<=' operation on System.TimeSpan and System.String ColName<=Convert('10:00:00',System.TimeSpan) =>Error : The String '10:00:00' is not a valid TimeSpan value The following works about the syntax but gives wrong results Convert(ColName,System.String)<='10:00:00' So, what is the right expression   Here is the report: https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx FeedbackID=176649 Cheers! ...Show All

  • Visual Studio 2008 (Pre-release) XAML Browser Application

    Hi, I have "traditional" .aspx page. This page has small IFRAME Element of size 20x20. I want this IFRAME element to invoke WPF browser application (.xbap url in src attribute). I assume this should not be a problem. Next, my .xbap in IFRAME at runtime generates a "Canvas" of size 400x400. My question is can I make this "Canvas" to cross boundries of IFRAME and render all over base page elements if not, is there any suggestion/workaround for this Thanks in advance. Ganesh Tonde Hi Chango, Thanks this could be the one solution. However, another question (may not be exactly related to this) is can one xbap application in a IFRAME be able to talk to another xb ...Show All

  • Visual Studio 2008 (Pre-release) How to get HDC of a control?

    Hi! Can anyone help me with this: How can I get HDC of any control in WPF Is it possible at all If not, then can I at least place a control (which does some stuff using hdc of a child control) which was created earlier in .NET 2.0 onto a WPF form and perform all these great manipulations (scaling, rotating) Thanx for any help! You can get the handle of the Window of a WPF app using WindowInteropHandler , but WPF controls themselves are no longer windows so they don't have handles. You also can not rotate legacy/iterop'd controls. For more on the limitations of interop, read this section of the SDK . HTH, Drew ...Show All

  • Visual C# Sound In Form...

    Hi, I was wondering if someone could provide me with some code to simply add a continuous sound playing in the background of a form I have performed a few searches but all examples are really complicated. Isn't there an easier method I guess the easiest solution would be embedding the Windows Media Player control to your application and program against it: 1. From the menu, choose Tools | Choose Menu Items 2. Choose COM Components tab 3. Check Windows Media Player component and click OK - Windows Media Player control gets added to the toolbox 4. Drag the control to your form 5. Set the player's url property to your file location: axWindowsMediaPlayer1.URL = "c:\\mymp3file.mp3" ; An ...Show All

  • Visual Studio Express Editions Alternative to Timers

    Yeah, are there some other things I can use that replaces timers Like a loop or something     Anyone knows that if you call DoEvents in a loop that nullifies what I said. Now then. THis is not a good design. There is Never a good a reason to do this in well designed software.     ...Show All

  • Windows Forms Validating a user with a Login Form

    hi everyone! need a winform that can validate a username and password. I had created a table that has the username and the password in it. the idea is to compare the text that is input onto the textboxes to the data that is stored in the table and if the username and the password are the same the login form will hide and then the principal menu form will me showen. I'm useing a sql server 2000 database and visual basic .net 2003. oh also need the posibility that the user can change his password as many time he wants. really need this!!! What part of all of this do you need help with Here are some general thoughts: 1) You can create a basic login form using the Login Form template in the Add New Items dialog. 2) You wil ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Is my video card too old?

    Hi, I searched the forum before I posted :). When I start the SpaceWar game, and run the retro, it puts double ships on the screen. When I start the evolved version, It looks good for about a second and then just goes white. Only some of the graphics are left. I can see the jet engines on the ship, but the background just flashed once when the game starts and then goes away (with the body of the ship itself gone too). It's got double ships too. Is my video card just too old ATI Radeon 7500 I already had to do the graphics.AllowMultiSampling = false ; to get everything working. I'm just thinking if I upgrade all will go well. Thanks . Mitch, When you say shader Model 2.0. Do you mean Dir ...Show All

  • Windows Forms something broke between 1.1 and 2.0 here

    I have an old control I wrote, that worked in 1.1 but doesnt anymore (actually it does, but marshals some interop stuff wrong). its the SysIpAddress wrapped into .net, and one of the events isnt comming out right. in my WndProc: protected override void WndProc(ref Message m) {     if(m.Msg == (WM_REFLECT + WM_NOTIFY)) {         NmIPAddress ipInfo = (NmIPAddress)Marshal.PtrToStructure(m.LParam, typeof(NmIPAddress));         if(ipInfo.Hdr.Code == -860) {              if(values[ipInfo.Field] != ipInfo.Value) {                 values[ipInfo.Field] = ipI ...Show All

  • Visual C# Exchange data between two applications

    I'm looking for a way to exchange data between two applications running on the same system, one in Delphi and the other in C# ( in the future the one in C# will become dll assembly in SQL Server 2005) What I rejected: - extern files, - shared memory (it needs kernel32.dll to be imported ) - MS Message Queue (default Windows installation has no msmq) I thought about using pipes or sockets, but sockets need separate listening-thread... I'm looking for better idea. Any suggestions Sorry for my english.. Regards KonRi i Think the easiest way is to use the network. there are hundreds of already written class . and its a 5 min implementation. i dont really know the impact in th ...Show All

  • .NET Development Custom Global Assembly Resolution

    My question is with regards to custom assembly resolution. I know that a common mechanism for participating in assembly resolution is to subscribe to the AppDomain.AssemblyResolve event. What I need is a machine wide way of doing, basically, where it is not on a per AppDomain basis, but on a larger scope. I have a need to follow a certain resolution protocol for any code executing on a machine. Is there a way to accomplish this Sinclair Schuller ...Show All

  • Visual Studio VS .Net 2005 package failed to load with domain roaming user profile

    When starting up VS 2005 says package XML editor, and package explorer and designer failed to load. Therefore any "visual" functionalities can not be used: can't display a form, no toolbox gadgets, no visual debugging. And even can't create any new project. The problem has troubled me for a week. Tried everything (reinstallation/cleaning registry/reinstalling .net) but didn't work. So I had the machine reformatted and reinstalled everything starting from windows -- And the problem is still here! Then I realized this has something with my user profile, which is saved on a domain server and reloaded to local machine every time I log on. Did a research and found this article: http://support.microsoft.com/kb/831487 however the solut ...Show All

  • Visual Studio 2008 (Pre-release) How do I get a CommandBinding via XAML in a Control Template to work?

    I have a XAML in whose controltemplate, there is a button for which there is CommandBinding as follows: Command="{Binding Path=Some_Command}" where SomeCommand is a class that inherits from ICommand and an object of which is exposed via a Public Property of another Class. For a button in the XAML that is not in a Control Template, the binding works fine and the command executes as well - however the same does not work for th Control Template case. Any ideas to resolve this would be truly appreciated!!! ...Show All

©2008 Software Development Network