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

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

JZINK123

Member List

JRickW
_Ben_
ganesh.p
DeTraut
Joachim Juell
Alvin_D
MikeDelaney
Zeeshan
gendis
davidb64il
David77
Phenom
schapel
Shanavas
Shawn-Peter
DonBaechtel
Kazdal
JasonSacks
Ian Smith
Whatisid
Only Title

JZINK123's Q&A profile

  • Visual Basic Button State "Hanging"

    I'm a newbie to VB 2005 converting from VB6 and I've run into a problem I don't understand! (I'm using VS2005). I'm using a "While" loop to detect when a Button has been clicked before the user can progress in the flow of the program. But when I call the code, the button whose event calls it seems to hang in the down state. To reproduce (slightly different but demonstrates the problem), set up a new project and add a button and a timer. Set the button FlatAppearance to be Flat and give it a MouseOverBackColor and MouseDownBackColor (anything will do) Set the timer period to say, 10000 and add the folowing code ...Show All

  • Windows Forms How to kill application?

    My windows form starts like this: [STAThread] static void Main() {      My_App ma = new My_App();      Application.Run(ma); } When I get into the "ma" class, I check to see if the user is online. If he is not, I just need to kill the whole app. However, I'm having trouble killing the main form from my "ma" class, so the user just sees a blank form on the screen. Any ideas thanks for any help. Is My_App a form When you call Application.Run with a form object as the parameter, that form becomes the main form for the application; when you close that form ...Show All

  • Visual Studio Team System How can one make a goal based load test with Requests/Sec (ASP.NET Applications)?

    How can one make a goal based load test with Requests/Sec (ASP.NET Applications) Thanks. Thanks for the suggestion but when I attempt to use this counter I get the following Exception: Exception LoadTestGoalCounterNotFoundException 7 The performance counter specified in the goal based load pattern ( servername \Active Server Page\Requests/Sec\systemdiagnosticsperfcounterlibsingleinstance) was not found during a collection interval, so the user load could not be adjusted. ...Show All

  • Smart Device Development TextBox OnClick

    (Compact .Net 1.0) TextBox does not have a OnClick EventHandler to use. So I created my own TextBox class and subclassed TextBox and I override OnClick. This compiles but when clicking on the TextBox the method never gets called. Is there any way to get notified when the TextBox is clicked or selected I tried catching the OnGotFocus event, that works great except if the focus is already on the TextBox and the user click on the box again. I need something to capture this case and OnGotFOcus does not get fired. Anu suggestions Thanks You can hook the underlying WM_LBUTTONDOWN or WM_LBUTTON ...Show All

  • Visual C# Convert Perl Code to C#

    I have a perl script which I wanted to convert to C# which I can use for my application. Is there any tool/utility which does this. Thanks Imtiaz It's not too big. I am pasting it here.  It reads a pipe delimeted file fetches some data and write it to another file. Following is the complete script   eval '$'.$1.'$2;' while $ARGV[0] =~ /^([A-Za-z_0-9]+=)(.*)/ && shift; $[ = 1;                 # set array base to 1 $, = ' ';            &nb ...Show All

  • Windows Forms VS form designer eats up lots of disk space...

    Everytime I want to edit a form, it seems Visual Studio is recompiling the form and storing a copy in the ProjectAssemblies folder.  This eats up lots of disk space (~2 gigs) and completely stalls visual studio, and my project only has 2 simple forms so far.  Is this normal behavior   The form designer is really nice, and would reduce development time significantly, but not if it continues to do this.  It takes about 10 mins to load a form, and I can only use visual studio for about an hour before I have to shutdown and clear out the ProjectAssemblies folder to regain disk space. This hap ...Show All

  • Smart Device Development How to update the right softkey menu programmelly

    I changed HKCU\Software\Microsoft\Home\Keys\113. But the key didn't change automatically. I must open some other application and return to desktop by pressing "Home" key to force it to take effect. How to update it programmelly Have you tried enumerating the windows to find and close the MSStart window. Next time the menu is pressed it'll get reloaded. // close the prgrams menu process, else it won't re-read the order from the menu HWND hWnd = FindWindow(_T("MSStart"), _T("Start")); if (hWnd) { SendMessage(hWnd, WM_CLOSE, 0, 0); } ...Show All

  • Visual Studio Team System How do file attachments get saved?

    Through the API, If I look at the collection of Attachments associated with a work item and look at an indivdual attachment I see the following: AttachedBy: "" AttachedTime: {5/18/2005 12:15:39 PM} AttachedTimeUtc: {5/18/2005 5:15:39 PM} Comment: "" CreationTime: {5/18/2005 7:10:56 AM} CreationTimeUtc: {5/18/2005 12:10:56 PM} Extension: ".doc" IsSaved: true LastWriteTime: {5/18/2005 12:10:57 PM} LastWriteTimeUtc: {5/18/2005 5:10:57 PM} Length: 245248 Name: "Fax International Dashes.doc" Uri: {http://ewing:8080/Currituck/AttachFileHandler.ashx FileID=256&FileName=Fax International Dashes.doc} I don't see anywhere where it references what ...Show All

  • SQL Server Guide to Setting Up the Different Data Mining Operations

    Unfortuately, the documentation doesn't seem to really provide the process to setting up the various mining operations (clusters, trees, etc.). So I am sitting there, trying to figure out what it is asking for when I try to set up a K-means cluster. Is there a better guide available The hands-on lab is actually using Beta 2 of SQL Server 2005 instead of the latest CTP.  Hope this gets updated as a lot of people want to dig in to these new features of SQL Server 2005. ...Show All

  • Windows Forms How to write a scheduler for Windows (newbie)

    Hi - I have a web application, which I want to use to send me email reminders of events. To have this send the emails each day about the events of that day, I need to write a windows application/service, which will query my database and loop until all of the events of that day have had an email sent for them. I've only ever written in asp/asp.net - and have access to write .net 1.1 or .net2 on my server - I've never written windows programs. I have visual studio.net 2003 and visual studio 2005 professional. Can anyone please offer any guidance on where to start - if I write a windows app with a timer, will this tie up my processor o ...Show All

  • Smart Device Development Serializing object in smart devices

    HI, I am working on a project that need transfeering of objects from the pocket PC to the PC. As i know, the best way for doing this is to serialize the object into an array of bytes and transfeer it, but i found that this kind of serialization is not suported in smart devices. what could i do thank you in advance XML serialization is supported on NETCF V2, you can use that: http://www.eggheadcafe.com/articles/system.xml.xmlserialization.asp Or you could implement custom serialization on your specific objects. You can also use Web Services to transfer data, that would take care of serialization even on NETCF V1. ...Show All

  • .NET Development Best access methodology for a periodic maintenance program.

    Connected or disconnected I am working on a nightly maintenance program which goes through about 10 tables, deletes old, stale, and orphaned data entries and corresponding disk files. It typically runs in less than a minute in the previous ADO VB6 implementation. I've started to do this in the disconnected model, but it seems like a lot of code, and it concerns me about how much data it pulls into memory at a time. Yet I rather miss the old ADO object model where one can directly and immediately update the underlying database from recordsets. Connected seems to have restrictions when using a single connection. The other thing I don't g ...Show All

  • Visual C++ Compiling VS 2005 Beta2 to a mounted network share

    Hi, I tried to do the following.  Create a simple c++ hello world app over on a mounted network share (lives on a netapp box).  Created the project just fine, but when doing a compile, it fails.  Here is the build log file.  Any idea what is wrong   Clearly I have write permissions to the files. Ok, in writing this query, I decided to try it to a network share on another windows box (our server).  Again mounted as a drive.  It works fine there. So, this sounds like some kind of weirdness on the netapp box with permissions or something. If anyone has any insight, please let me know. Thanks. Bob. Build ...Show All

  • Visual Studio Move Project fails to update links

    I recently reorganized some projects, moving half a dozen to locate them underneath other projects. In general, the operation went smoothly. However, for at least one of the projects that was moved, the list of other projects sharing a file was not updated properly. A few files I've spot-checked kept the old, no-longer-extant, project name in the list under Properties/Links. For example, I moved $/old1 $/old2 $/old3 to $/category/old1 $/category/old2 $/category/old3 The files in old2 and old3 shows a proper set of Links, with perhaps half a dozen releases and "$/category/oldN". old1, on the other hand ...Show All

  • .NET Development Obtaining ModuleID

    Maybe someone knows any technique to obtain ModuleID of some module in .NET Profiling API 2 when all information we have is it's metadata token - mdModule and IMetaDataImport2 interface. Of course also we can use ICorProfilerInfo2 methods. Thanx. There's no function you can call to do the translation; we usually recommend that you keep a mapping between ModuleID and MVID as you receive ModuleLoad events, and look it up that way. (MVID is obtainable from the IMetaDataImport::GetScopeProps.) ...Show All

©2008 Software Development Network