Software Development Network Logo
  • Windows Forms
  • Visual FoxPro
  • VS Express Editions
  • Windows Vista
  • Visual C#
  • Architecture
  • Visual Basic
  • VS Team System
  • Visual Studio
  • .NET Development
  • Visual J#
  • SQL Server
  • Microsoft ISV
  • Windows Live
  • Game Technologies

Software Development Network >> Chris Durkin's Q&A profile

Chris Durkin

Member List

Chris Koerner
Nathan Scott
Jason Bice
Atul.Kr
Chung Ho Lee
Doug Mitcham
hrubesh
vizca
mesh
TMB
Volo
gamesplant
Arvind2004
MARUN
gillesgg
BobP1339
yogaboy
mrobey1
Cristian_Carrasco
Yetii
Only Title

Chris Durkin's Q&A profile

  • Smart Device Development Windows Mobile

    Hi everybody, this is the first time i am here, so, i hope not to make many mistakes. the problem i have now is that a customer wants, for any reason, the date/time application of a Windows Mobile Operating System to be locked, so nobody can change the date or time, Do you know a way to do this Oscar   markpre_ms wrote: There is no way to stop the user from changing the date and time on a windows mobile device. Untrue! You need to change a setting in the registry... HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Clock\AppState (binary) Set this to 11 to allow users to change the time, or 30 ...Show All

  • Visual Basic Disabling Special Keys & DB Replication Control

      This may be more of an Access question, but perhaps there is some code that someone might know of that would help. When special keys are disabled in Access's startup options how does one actually bring up the database window   I need to disable the special keys to prevent my users from accessing the database window in my application, but if I do that, and maybe I am just inexperienced, but how do I pull up the DB window as the system administrator If anyone knows, I'd appreciate the help.  My app is scheduled to begin its pilot program on Monday, 1/9/06 and I still have not figured out how to do this. I also need ...Show All

  • SQL Server System Tray Icon Missing?

    Hi all, I apologize if this question has already been asked a dozen times, I ran a search and came up with nothing, soooo... I installed SQL Server 2005 Express Edition SP1 + SQL Management Studio Express. I attached all my old databases, and setup named pips, tcp/ip, etc, but for some reason, I don't see a SQL 2005 Express Icon in the system tray to indicate to me if the Server is running or not. now I undestand Express doesn't come with Agent tools, but where on earth is my tray icon Do I need to download the 'advanced reporting tools' version instead (about 200mb+) TIA, Ray Bolander Triac Engineering Ltd ...Show All

  • Visual Basic Passing a structure with arrays of fixed length strings to a DLL

    Hi, I need to be able to pass a structure to a DLL that has arrays of fields of fixed length in it. In old VB6 this could be done by having types with types type repeatingRecord field1 as string * 2 field2 as string * 5 end type type maintype field1 as string * 7 records(10) as repeatingRecord end type In .NET types become structures and fixed length strings no longer exist. However the attributes 'VBFixedString' and MarshalAs will solve this problem for simple structures. However it still does not solve my problem for arrays. .NET will not allow fixed length arrays ...... How do I pass the equivalent in .NET to un ...Show All

  • Windows Forms getting a control to repaint when designing

    I've created a menuitem that inherits from the menuitem and adds some more functionality.  When I'm designing it, as I set my own new properties in the designer, how do I get the IDE to redraw the control after I've set one of the properties I've added to it   Thanks. That didn't really do anything.  In my inherited menuitem ...Show All

  • Visual Studio Express Editions VBProj conversion

    I attempted to load the sample files included with 2 MSDN articles. The conversion process was not successful with the following messages: The project file C:\Documents\Roger\Projects\Lottery\ExcelObj\ExcelObjectModelVB.vbproj cannot be opened The project type is not supported by this installation. I had actually clicked on the Project: C:\Documents\Roger\Projects\Lottery\ExcelObj\ExcelObjectModelVB.sln The same occurred for the file: C:\Documents\Roger\Projects\Lottery\WindowsForms\ OfficeExcelRelatedRecordInsert.sln The first file is associated with the article: Understanding the Excel Object Mod ...Show All

  • Windows Forms Close App on Shutdown

    I have an app that when first launched has a ui, but after the user clicks the ok button the ui form will disappear and run in the background. Once running, the application performs a task on a timer.   When the computer is shut down, the application is not closing, and a manually closing is required through the app or task manager. How  ...Show All

  • Visual Studio BizTalk Deployment

    Are there any resources for deploying BizTalk with MSBuild Has anyone here done any automated deployment of BizTalk solutions at all Thanks in advance! Ernst Kuschke C# MVP - South Africa There are some BizTalk tasks in the following gotdotnet user sample http://www.gotdotnet.com/Community/UserSamples/Details.aspx SampleGuid=2CB20E79-D706-4706-9EA0-26188257EE7D this may be of some use to you. ...Show All

  • Visual Studio Team System C++ project dependencies

    Hi, i have some problems compiling a c++ project using 4 dll's, 1 static lib and 1 application. I added project dependencies for the build order. When compiling in the ide, it works fine. Using the tfs server there seems to be a problems with the dependency of the static lib. If the dependency with the static lib is not set, the team build succeeds (still using the dll dependencies) I get the following error: Solution: CRE.sln, Project: Test, Compilation errors and warnings LINK(0,0): error LNK1104: cannot open file 'e:\data\team server\build\npl\binaries\win32\debug\CREFramework.lib' while the project runtimes are compiled in: e:\data\team ...Show All

  • SQL Server sample configuration files

    I installed RS2K5 on cluster, modified web.config and rswebapplication.config according to 'Configuring URL settings and View State Validation' in sql2k5 books online. Web browser seems not happy with the change of rswebapplication.config (refer to following error).  Anyone has idea why Thanks. Server Error in '/Reports' Application. The configuration file contains an element that is not valid. The ReportServerUrl element is not a configuration file element. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the e ...Show All

  • .NET Development Formatting Numeric Value as Date

    Here's another dandy one I have been struggling with. All my date fields are stored as numeric values as YYYYMMDD.  Doesn't .Net have a function that can convert this format to a datetime that can be formatted   I have been writing string LEN functions to extract and format the field as MM/DD/YYYY but I am puzzled that I can't find a .net function to do this.  Hrmph. Blair Allen Stark wrote: I struggle with understanding why people do this. It makes no sense and only leads to problems. YYYYMMDD or YYYYMMDD_HHMiSS format is often used in filenames. ...Show All

  • Visual C# controls from another form

    how can i change the text property of a textbox in form1 from form2 i have two forms: form1 and form2 in form2 i have a textbox and a button and in form2 i have a textbox. what i want to do is when i click the button from form2 the textbox.text from form1 will get the textbox.text from the current active form form2. Shakalama's example works if you don't mind closing Form2. But since you said that you didn't want to close Form2, let me present an alternative. In Form1 // in Form1 private void button1_Click( object sender, EventArgs e) { Form2 form = new Form2 (); form.ParentForm = t ...Show All

  • Windows Forms TransparencyKey usage consuming memory

    I can open up to 5 Webbrowser controls on 5 separate forms.  A medium size panel control on each form is transparent.  I can only open up to 3 forms before memory is exhausted.   As a test, when I eliminate the transparency I have opened the same form up to 50 times without any problems.    Has anyone else run into this&nb ...Show All

  • .NET Development Change Application Pool Identity Programmatically

    Security doesn't allow developers to have IIS installed locally on their PCs, nor do they allow developers to be in the administrator group of the development web server. In order for them to debug, we have individual application pools running under the identity of the developer. (Thankfully IIS 6.0 has allowed this feature.) We wrote a small program that allows a user to recycle their application pool: public void RecycleAppPool( string appPoolLocation, string appPoolName) {    //Execute Code to recycle a user's app pool    DirectoryEntry w3svc = new DirectoryEntry(appPoolLocation + appPoolName); &n ...Show All

  • Visual Basic reading text from a document and displaying it

    I have TextBox1 (to enter what you want to search), TextBox2 (to display the results), and Button1 (when you press it, it does the whole process thing). I was given this to go by: ================================================================== Theres a couple of steps in a possible approach here. One is to be able to read the contents of a file. If your using VB Express / 2005 this is possible using dim sContents as string = My.Computer.Filesystem.ReadAllText("c:\foo.txt") the next is to be able to find a match on your textbox entry you can use the instr meth ...Show All

©2008 Software Development Network