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

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

jonam

Member List

Albion Simon
gils
Manolis
Spulit
Kyle Anderson
Bluehunter
TheQuietShadow
Maxwellvz
hanumanth
New-Bee
BinFolder
fatquack
imanish11111
mpetanovitch
Koray Samsun
durnurd
Anudeep_Chappa_2dc7df
Ehmer
Madhusudhan
JakeGpb
Only Title

jonam's Q&A profile

  • Visual Studio OnCreated and OnInitialized

    I've been trying to figure out how to get control after a new model has been created, as well as immediately after an existing model has been loaded. I found a post suggesting OnCreated and OnInitialized, but I fear it's outdated. What is the correct way to do it now Also, how can I get control just before the model is Saved. I've been using Validation rules, but they run even when the user elects not to Save. Is there a way to get control only when it's certain the Save will be taking place Thanks very much, John Check out the events in the DocData and DocView classes in your DSLPackage. Events like OnDocumentLoaded and OnDocumentClosed are in there. Hope it helps, Gerben. ...Show All

  • Windows Forms Retrieving a TextBox value as a String

    Hi All I've created a custom control in VC# 2005 but I need to set a property which can be retrieved when I use the control in my applications. The control is basically a series of buttons coded in a way that when one is clicked, the current value inside a text box is cleared and a new value is inserted. I need to be able to declare this value as a propery so that when the control is used in an app, I can access the value in the code somehow. How would I go about doing this Oh, and I have read the section in the MSDN Library on adding properties to Custom Controls, but it seems only to deal with integers and I couldn't figure out how to change the code to suit my needs. Thanks! To further the question, lets say now you wan ...Show All

  • .NET Development Email from system at certain times every day?

    How do I make the system send out an email with a certain content at a specific time every day What I would like to do is take some data from the databaseand use it in a crystal report ( this is done) and then send it in an email. Sune I am interested to know where this code needs to be put, i.e. as a .ASP file in the services window, is it held as .ASP within a Macro which runs on the application start up. I am keen to use this facility in the organisation in which I work, but my knowledge of .ASP and Service Windows is minimal. Your assistance would be greatly appreciated. Many thanks in advance. Mark Jones ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA Game Studio Express + DirectInput + Debug = A mess (LoaderLock)

    For anyone looking to play with DirectInput (and possibly the rest of legacy DirectX - v1.1) to obtain access to features XNA doesn't support, be ready to receive a "LoaderLockException" from the Debugger when you start your app in Debug mode. The solution is covered here: http://www.thezbuffer.com/articles/304.aspx Along with links to pages and pages about why it happens and how it might someday be fixed, or was fixed and keeps coming back. In any case you want Solution #3: Disable the Exception in the Debugger. It's a Debugger-caused and Debugger-only Exception, so disabling it isn't hiding a bug from your users - it's hiding a Microsoft bug from you. ...Show All

  • Software Development for Windows Vista Writing to Global Shared memory from an Application in Vista.

    Hi all, Global shared memory is created by a service which is used by my user mode application to communicate with the service through global mutexes and events. This as of now works well in Vista RC1. 1) Are there any restrictions that an application should not write to global shared memory already created by service This application does not has any elevated privileges. 2) Can application created global named objects like event and mutex Again the application is running under a standard user privilege and not as admin. 3) Can a 32bit application on a 64bit machine get interfaces to a 64bit Local server COM object Is there any special processing required in the 32bit app or in the 64bit local server COM object. Regards, ...Show All

  • .NET Development Trying to compile web service and keep getting error: Could not create type 'Service'

    The complete message is: ------ Build started: Project: http://localhost/LoanCalcService/, Configuration: Debug .NET ------ Validating Web Site Building directory '/LoanCalcService/'. C:\Inetpub\wwwroot\LoanCalcService\LoanInfo.asmx(1): Build (web): Could not create type 'Service'. Validation Complete ========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ========== Based on what I read in other threads I have tried: Making sure that IIS is running ASP.Net 2.0 Making sure that virtual directory (LoanCalcService) is in wwwroot That LoanCalcService is a virtual directory That write permissions have been enabled on this directory Any other ideas Have you ...Show All

  • Visual Studio Team System Code coverage in IIS

    Hi, I have read the previous threads around code coverage and IIS, but could not find a solution to my problem. I am running VS 2005 Team Edition for Developers on win2k3 with IIS6. The web applications project gets published to my local IIS installation and I have some test code which loads IE and automates some of the web site flows. I would like to get code coverage data from running these tests. So far, I tried changing the local test run config to instrument the dll in the /bin directory of my IIS webroot. But VS ends up with empty code coverage information. I also tried manually instrumenting that dll with vsinstr and collecting data with vsperfcmd, with no success. Btw, I have verified that the dll does get loaded by debugging it. B ...Show All

  • Visual C# writing new value in app.config

    I have problems to set a value for a connectionstring, why this error occurs code Configuration .Configuration config = Configuration .ConfigurationManager.OpenExeConfiguration( Configuration .ConfigurationUserLevel.None); config.ConnectionStrings.ConnectionStrings( "Conn1" ).ConnectionString = "testing 123" ; config.Save(); app.config < xml version = " 1.0 " encoding = " utf-8 " > < configuration > < appSettings > < add key = " Setting1 " value = " Very " /> < add key = " Setting2 " value = " Easy " /> </ appSettings > < connectionStrings > < add ...Show All

  • Windows Forms Publish failed with following error: Could not find a part of the path 'c:\development\TestProject\TestProject\bin\Release\T

    Hello, This error happens once in a while, could someone tell me why it is happeneing Publish failed with the following error: Could not find part of the path 'C:\development\TestProject\TestProject\bin\Release\TestProject.Publish\TestProject_1_0_0_9' Thanks in advance. I have this error occasionally as well. seems like the folder isn't always being created. Could this be some folder permissions issue or something ...Show All

  • Visual Studio 2008 (Pre-release) Color Picker

    I'm looking to make a color picker like the one in Microsoft Design and Microsoft Blend. Any methods on how to do that Thanks! Check out Shawn's recent post about a WPF Color Picker . Also, a live.com search may have more interesting things... Thanks, Rob Relyea Program Manager, WPF Team http://rrelyea.spaces.live.com ...Show All

  • .NET Development Inserting into two sql tables at the same time

    Hi, I have two tables in my database, Orders and OrdersId and are laid out as following: Orders OrdersId ------- ---------- OrderId (comp key) OrderId (PK) LineId (comp key) RepId ProductCode CustId ProductPrice ProductQuantity The OrderId field in table OrdersId is the primary key, whereas the Orders table has a composite key (OrderId and LineId). I need to add a row of purchased item data data into both tables but am not sure how. I want the OrdersId table should be filled first as the OrderId field is also required in the other table, but how do I take the OrderId value and fill the the Orders table including this value ...Show All

  • Smart Device Development Nothing comes out of COM1:

    Hi, I'm having a problem with COM1:. I am developing an application running Windows CE5.0 on PCM-9371. I can successfully open COM1: using CreateFile. When I write to COM1: using WriteFile, the function seems to return OK - it reports the exact number of bytes being written to the port as the number of bytes I want to write to the port. But when I look at TD and RD pins on the COM1: under scope, I don't see any signal comes out of it. I even checked the registry keys on the CE system and I found the COM1: under HKLM\Drivers\Active\03\Name COM1:. But I couldn't find COM1: under HKLM\Hardware\DeviceMap\SerialComm. I don't know whether that is the problem. I wish someone could help me out. Thanks. ...Show All

  • Visual Studio Express Editions .SWF in VB 2005 Express Edition

    hey, does ny1 no how i can upload .swf onto visual basic. When i place the object "Shockwave Flash Object" onto the form.. an error comes up saying "Failed to import the ActiveX control. Please ensure it is properly registered" i then re-registered it properly in a way some1 told me to, but still the problem is on!!!! can ny1 help me plz.....as soon as possible!!!! No bother...glad to be of help... the program is still doing what it is suppose to..if the cfgPath setting exist and the file already exist...then the code jumps straight to SaveCfg() and the textwriter is setup to overwrite the existing file...all of this is done without user notification...you can check the the method ...Show All

  • SQL Server Password History with CHECK_POLICY and CHECK_EXPIRATION

    I've tried to find a definitive answer to this but I cannot. If CHECK_POLICY = ON and CHECK_EXPIRATION = ON will password history be checked when a user changes their password By password history I mean the idea that a password once used cannot be used again for another X password resets.... If password history does work, why would executing the following statement multiple times then work ALTER LOGIN Bob WITH Password = '123User321' If I execute this statement four times in a row wouldn't I get a message that I cannot reuse the password on the second call Thanks in advance No, password history won't take effect in your example, because what you are doing is resetting the password. You ha ...Show All

  • Visual Basic Some Questions

    Hi there i wanna make a rich-textbox search for some keywords and when it finds them it formates them and change there style & color i wanna make make a program checks if the internet is connected or disconnected i wanna know how to send an email by my program - i need full code - - who knows any Q's answer just tell me- Thanks in Advance To make a richtextbox search, simply use the .Find() function to find the position the text was located at. I then believe you can use the .Select() function to select the text found at the position returned by the .Find() function. once selected, you can then format it by using the SelectedRtf Property. Hope it helps! ...Show All

©2008 Software Development Network