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

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

ElliotHC

Member List

Joymon
QuantumMischief
newyuppie
Ayooya
Ljhopkins
Mystret
Hila123
luca morelli
Novak
MarcNelson
LamptonWorm
xLogicTalentedx
James Randle
arogan
sgiannone
Paul Shmakov
TFCNE
bk13
FannwongCindy
spanky4_3
Only Title

ElliotHC's Q&A profile

  • Windows Forms locking child form to parent

    Hello! This might be a silly question but anyway... I have this main form from which other (child) forms are initiated and displayed by clicking buttons. I want to limit the user so that while a child form is in use he/she will not be allowed to use the main form. I suspect this is achievable through the use of handles but can't figure out how to set the child form's handle to the main form. Any help will be much appreciated. george Hi, try opening your child forms with the ShowDialog() method, which will them application modal: using ( Form2 form = new Form2 ()) { form.ShowDialog(); } Andrej ...Show All

  • Gadgets Can someone test my gadget please?

    I posted my gadget a couple weeks ago and it has gotten a good number of downloads (~1500 atm) but mostly negative response. I suspect the problem is that I developed and tested this gadget on Vista RTM, but the Gallery only lets you choose "RC1" as the newest compatibility level (stupid ). I have not had any problems loading into the Sidebar on any RTM machine. What would really help me is to get a few people try to load it up and make sure it is working properly under a variety of environments (RC1, RC2, Beta, RTM, whatever), so I can figure out what the issue is that people are having. You won't be able to test the full functionality of the gadget because it requires you to have a particular type of webcam to stream video. ...Show All

  • Visual C# Validation of Phone, Mobile and Fax numbers

    Hello, i have been trying to validate the phone, mobile and fax numbers (International as well as domestic level). Till now, i could not find the exact formats for them. so, plz if anyone has the validation code formats for Phone, Mobile and Fax numbers, plz help me with the code. till now for the phone number the validation type i could find using the regular expression is \( \s*\d{3}\s*[\)\.\-] \s*\d{3}\s*[\-\.] \s*\d{4} above regular expression is valid for following phone number formats: (555) 555-5555 555.555.5555 555 555-555 So plz, send me some code or web site links for the validaton of phone, mobile and fax number Anur RS It might be a good idea to fully spe ...Show All

  • SQL Server Sql server install problem

    I am planning to work with replication topic and i have a problem with it. I have installed a SQL server 2005 standard edition.When i try creating a new publication it comes out with this error "Microsoft SQL Server Management Studio is unable to access replication components because replication is not installed on this instance of sql server. for information about installing replication,see installing replication in sql server books online Additional information: Execute permission denied on object 'sp_MS_replication_installed",database'master',owner'dbo'. (Microsoft SQL server ,Error:229) I have tried inserting the CD and reinstalling it.but didnt work. When i tried to Remove sql server from control panel ...Show All

  • Visual C++ Implementing a countdown timer

    Hello guys, I need to put up a countdown timer in my application. I gather input from the user about the number of hours he wants my application to wait (for a particular task). I need to show a timer counting down (in the format HH:MM) and going down. Such as Application will wake up in 10 hrs 10 mins Application will wake up in 10 hrs 09 mins .... I'm totally buried in math right now trying to figure out a logic. Can anybody help me with a better idea maybe there is a built in function or something. Thanks in advance for your help. you could use the modolus operator something like this. h -= (1 + m % 60 != 0) 0 : 1 this code is in a thread separate from ui and is updated every second a ...Show All

  • Visual Studio x64 native deugger corrupts target

    I'm having strange problems with the native x64 debugger. It seems to be corrupting memory, registers, etc while single stepping through code. For instance, stepping over a "push rbp" wipes out the rax register. Other times, the stack frame is destroyed and I can see stack variables being overwritten for the same instruction. If I attach to and debug the target with WinDbg, there is no corruption of the target and things progress as I expect them to. I'm running XP x64, VS2005+SP1. ...Show All

  • Windows Forms MFC71u.dll - MSVCR71.dll - MSVCP71.dll

    I am wrtiting a .Net Setup and Deployment project. This project packages up an application that was written in .Net and then deploys it on fresh systems. I was under the impression that the .Net redistibutable package supplies all the necessary dll's for runtime linking of applications built in .Net. I am getting errors complaining that MFC71u.dll, msvcr71.dll, and msvcp71.dll are not being found. I was wondering what is the correct way to distribute these to customers. Should they be in the redistibutable package What are these being called for Thanks - Arra Check out this link....not sure if it will solve your problem but it solved my problem that sounds similar to yours.   http://www.thescr ...Show All

  • Windows Forms 2way communication from html code to a application code class file

    I am using a webbrowser control as a menu for my application i can get the buttons on this page to call subs on the same window form but i want to be able to communicate with a class that i have in my application. What i have bin trying is MenuForm.webMenu1.DocumentText = "<html><head><title>This is a test</title></head><body bgcolor=""black""><a href=""#"" onclick=""window.external.Bob.Test('hello')>test</a></body></html>" Above this i have MenuForm.webMenu1.ObjectForScripting = Me <-- I am guessing this should be somethink else i also think i need to make somethink a comvisibleattribute If i chang ...Show All

  • Smart Device Development drop down loses value

    I have ported an app from vb.net03 to vb.net 05 for windows mobile 5. 1 issue that I haven't figured out is when you choose a value in a drop down the Text stays highlighted. The problem is if you go to the next form after choosing the value, that value is lost. I have tried changing the focus on the page to another control in the selectindexchanged function but the value goes back to null in the drop down control. Anybody else have this problem Do you mean to say that a) You select a value from drop-down list box b) you now goto a new form c) Are you accessing this value in the new form or d) You're going back to the 1st form and seeing null value - If this is the case than you're probably reinitializing ...Show All

  • SQL Server Call a stored procedure from an SSAS action

    Hello, I'm just wondering if anyone has every created an action that called a stored procedure. I've been looking into Proprietary actions of statement actions but I cannot find any documentation of examples. Is this possible One option was to create a dummy ssrs report and then call some custom .Net code. But I want to avoid using a technology just as a work around. Any ideas thanks. Hi, Hi after some further reading I figure out what was going on. When right clicking on the cell the server would resolve all actions and return the resulting string to the client, therefore the result was that the ssas stored procedure was getting executed before the action was returned to the client. Solution: I ch ...Show All

  • SQL Server deploying reports database to multiple servers

    Hi, i have some 35 customers, all of whom need a copy of the reports i have designed how do i quickly and simply roll out my reports. the databases are generally , but not always given the same name, and the user credentials will be different but the reports need to be the same. is this possible Regards, Russ You have two basic options: 1.) Script out creating the reports in the database and provide the scripts to your users. 2.) Detach your database, and give it to your users. They can then attach the database, and configure RS to use that database via the config tool. If they do this, they have to be sure to leave the name of the databases that same. ...Show All

  • Visual Studio Tools for Office VS2005, office projects do NOT appear, even after installing VSTO

    hiya, I installed the VSTO on a fully up to date win XP pro machine. The install was successfull (well, I received a message saying so) I re-booted my machine. The office projects do not appear in the project templates list. Any idea why cheers, yogi hiya, No I don not see theVSTO option listed. All I see is: Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 Installed Edition: Professional Microsoft Visual Basic 2005 77626-009-0000007-41315 Microsoft Visual Basic 2005 Microsoft Visual C# 2005 77626-009-0000007-41315 Microsoft Visual C# 2005 Microsoft Visual Web Developer 2005 77626-009-0000007-41315 M ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. UI Development with XNA?

    I'm interested in building a "windows" user interface into my XNA game, however, I'm not finding a whole lot of tutorials or code samples on how best to do this. I want to draw a sprite on the screen, say one that mimics a window, and allow the user to drag it around the screen and resize it when they are on the borders. I've got the dragging feature working by simply polling the mouse coordinates inside the Update method and checking if it's within the bounds of my sprite's rectangle, but I'm not sure if this is a good method or not I figure this is something that has been done many times before so there is probably a "best practice", but I can't seem to find anything on it for XNA. I'm really just looking for confirm ...Show All

  • Visual C++ sending visual c++ programs via e-mail

    i cannot send my visual c++ program via e-mail.how is it done Please be more specific than " visual c++ program ". Do you mean: source code the project the executable Or something else The problem (" cannot send ") is probably dependent on the software that you are using and therefore might not be relevant to this forum. If it is the executable you are having problems with, then it is probably your anti-virus software and would be a problem (with the same solutions) for all executables regardlous of how they were built. Note that I would not have to write as much in this reply if the question had been more specific. It helps to be more careful about the question. ...Show All

  • SQL Server Ideal SQL Counters to track while load tesing a webservice

    Hi, My apologies if I'm writing to the wrong forum. Please redirect me to the correct forum. My questions is about the SQL Counters to be tracked while load testing using VSTS and hence posting in this Forum. I've a web service which is being load tested using VSTS Load Test. I want a suggestion on what counters are to be tracked to see that the SQL Server is performing as expected. It would be great if someone help me in gathering the right set of counters related to the database. Also, I've researched over the net and found out the following counters which could help in tracking the behavior of SQL Server: Avg. Transactions/sec Deadlocks Page Splits/sec Batch Req/sec SQL Compilations/Sec User Connections Average Wait Time ...Show All

©2008 Software Development Network