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

Software Development Network >> John CHLee's Q&A profile

John CHLee

Member List

Frame
Rudedog2
Zadoras
ClemensT
Sam Erlenbach
Orest Bolohan
Dan Rooney
s o
Bear S.
RobinSpicer
chipjollyroger
s o
Burnt1ce
NoSTaBoNN
daimaku
RB_Banc
Mr Dutchie
TruePsion
WinFXGuy
Ultrawhack
Only Title

John CHLee's Q&A profile

  • Visual Studio Express Editions How to detect serial device attached to a computer

    How to detect a serial device when it is attached to the system. Solution should be in VB.NET Sorry, but where do you detect whether a serial device is connected or not, which is what this thread is about As I see it, you just open a port and then start sending. If no device is connected you will never know except that of course the dial up will not work. ...Show All

  • .NET Development Stopwatch class not found in System::Diagnostics ?

    I am using VC++ 2005. In several projects that I have created I have never had this problem but now that I created a DLL project (used the Win32 wizard), I am having this weird problem where the System::Diagnostics namespace shows up a few namespaces and classes, but not nearly all that belong there. For example, the CodeAnalysis namespace is shown, then ConditionalAttribute, DebuggableAttribute, Debugger, and so on until SymbolStore, which is the last namespace/class listed. No Stopwatch and many other namespaces and classes that should be there. What is wrong It must have something to do with the project settings but I don't even know where to look to find the missing namespaces and classes. Any idea Thanks. Kamen Sounds like y ...Show All

  • Windows Forms Need same event handlers for all controls within a container control

    Hello, I need ideas how to solve following: I have a UserControl containing several Labels and Panels which provide static information to user. The whole thing shall act as a single component when it comes to handling mouse and/or kbd events, i.e. user input. That means that wherever the user clicks it, the same event handlers or popup menu shall be invoked. If a kind of transparent panel covering the whole UserControl and capturing all input events could be achieved, that would be a solution, however I don't know if that's possible. I don't wish to specify all the same event handlers for each label and panel inside the control as that makes designing less comfy and it's about to forget setting all the handlers properly anyways. Any ideas ...Show All

  • Visual C++ converting text from a text box to a int type

    I want to use numbers that the user has entered into a textbox by converting them from their System::String form to an int data type. I was wondering how I could go about this with a little and as easy to understand code as possible. Thxs :) I changed the value data type in the example (bool) to int, and this was when it was returning the value... My code that im having the bug with is: int value = 0; int x = Int32::TryParse( this ->min->Text, value); int y = Int32::TryParse( this ->max->Text, value); this ->Labelx->Text = Funcs::Maths::Random_String(x, y); I want to convert the 2 values in the text boxes and use those values for a random number, but because the value that is return ...Show All

  • Software Development for Windows Vista Workflow Labs - files missing?

    I am currently playing with the labs and in Excercise 3 of Lab01, it mentions adding the ExpenseLocalServices.dll from the resources/bin folder. I have searched the Lab folders and can find no such file, especially in the given location. Obviously, there is something I am missing in all this. Can anyone assist as to where these files may be, or have gone to, or where I may download them from I used the following download from MS for these labs: WindowsWorkflowFoundationBeta1_HandsOnLabs.msi I have also noticed that the files contained in this download differ from those used in the virtual labs. what gives Thanks, Tony Serge, Thanks for the reply. I had looked in that folder but the f ...Show All

  • Visual C++ Combo Box Question

    hi I'm making my first 'simple' application to get me started. its the basic windows Form with just a combo box containg just 3 options ' a or b or c ' ok it works fine but how can i make it remember my last selection i mean when i run the application again it shows nothing and you have to select the option all over again. I got it. You're using VS2003. I can't figure out the old managed C++ syntax to make this work. Maybe somebody else could translate this code back to __gc ...Show All

  • SQL Server Connecting to multiple SQLserver

    Hello, I am working on to design SSIS package which need to run scripts against multiple sqlserver and need help. Basically I need to connect several SQLserver machine to get a data and insert to our central respository. Any help or tip appreciated. Thanks -- Farhan Thanks for the help. Just wondering how to setup SQL task to update the connection for the second package TIA -- Farhan ...Show All

  • Visual FoxPro foxpro training and/or classes

    Hi there. Does anyone know of any good training sessions or classes for VFP I'm from vegas myself, and there's nothing out here. I have an alright grasp on it (VFP), but I would like to really dive into it. It's not too easy to learn on your own when there's not much out there to teach ya, ya know I appreciate it in advance. thereisnomike wrote: Hi there. Does anyone know of any good training sessions or classes for VFP I'm from vegas myself, and there's nothing out here. I have an alright grasp on it (VFP), but I would like to really dive into it. Sign up for Southwest Fox at www.swfox.org . The price is reasonable, it is within driving distance for you and you will definitely learn a lot. ...Show All

  • Visual Studio Team System Using dropped testfiles for reporting???

    Hi We are running web tests during our dailybuild of our projects. These files however consume a large amount of space space (several hundred MBs per product and test run) so we have set up a task to clean them up periodically. We also move them from their standard drop location to make them more easily available for the test team. However after doing these changes our progress reports have begun losing all test data. It seems that the reporting engine is actually expecting the test files to be kept and to be positioned at the standard drop location. We get this in our event log: Detailed Message: Encountered an exception while deserializing test object data for test run cdf4c5b0-5923-4ef6-81b8-a4337f816e12. Attempting to continue ...Show All

  • SQL Server How to creat a first DB?

    Hello all, I've Installed VS2005 and MSSQL express with it. I used to work with mssql 2003 enterprise edition where it had "Enterprise Manager" from which I could create and modify my Databases. How do I creat a new database with MSSQL express I've tried to do this via visual studio 2005 "server explorer". I"m entering the "Create new SQL Server Database" dialog, I select my server's name and my new database name and I recive an error message which says "An error has occurred while estabilishing a connection to the server" and it also says that "When connecting to SQL server 2005, this failure may be caused by the fact that under the defult settings SQL sever does not allow rem ...Show All

  • Windows Forms How to calculate the coordinates of text-entry fields in pre-printed forms?

    I would like to write an application in C# to collect data from users and then print them on pre-printed forms (examples of pre-printed forms: visa application forms, employment application forms, social insurance application forms, etc...). The forms have hundreds of text-entry fields. What is the best way to print the data on the forms I guess I have to calculate the coordinates of each text-entry field to do printing. If so, what approach would you recommend By the way, is C# a good programing language to write this type of application Is there any other programing language that you you would recommend I am pretty new to C#, so I don't mind switching to another language if it's better suited to my need to write the application. T ...Show All

  • Visual Basic Complex Auto Update Program

    I've written simple auto-update logic before so that the version number of the program is compared to a version number stored in a web server txt file. What I'm going after now is more along the lines of programs that have lots of files that might be upgraded. This could mean that my web server text file looks like: primaryapp.exe, 1.5.0 secondaryapp.exe, 1.3.2 mainapp.exe, 1.1.0 mainapp.dll, 1.0.2 When the main application that contains the updater logic runs, it needs to compare the version of each of the above files on the computer against the number stored in the web server file. I know how to reference the version of the program that I'm running but I don't know how to grab the version numbers of other programs. ...Show All

  • Visual Studio Tools for Office How to generate Word 2003 document using VSTO2005 tools for office with ASP.NET2.0 C#?

    Hello, I have to generated Word 2003 document using VSTO2005 tools for office with ASP.NET2.0 C#. I have came across many online materials but not getting proper direction to do so. i want to create word report based on existing template. if i want to call this report onclick of button or link from webform, how can i do so how do i incorporate this office project with asp.net project. It will be a great help, if you suggest me resolve my issues. Looking forward to your kind response. Thanks in advance..!! Amit Hi Amit Since the VSTO code is linked to the document, all one needs to do is start a Word process, then call the Documents.New method, passing the path to the VSTO template ...Show All

  • Software Development for Windows Vista [ Vista Home Premium 6.00.6000 ][ problems with Vista 5308 install ]

    A friend who is in the MSDN wanted to test Vista on a better computer than his so I volunteered mine. After the install or rather during it I got a BSOD. Bad_pool_header was the STOP error. I went through to do the revert to prior install of windows xp sp2 and to give him his dvd and tell him thanks for screwing up my computer but now my machine (which is brand new BTW) keeps restarting during the revert and wont stop though its not really seeming to revert. HELP I am more than angry right now. Please this box is BRAND NEW pentium 4 HT 3.0 1gb RAM Intel integrated audio bluetooth mouse Wireless lan card. Well firstly, I am sorry to hear you have problems with the revert, but please bare in mind the current b ...Show All

  • Smart Device Development Native Exception Error - 0xc0000005

    I am running the following code - which takes the data from an XML file and updates a SQL Mobile table - it seems to consistenly throw a native exception error (ExceptionCode: 0xc0000005) Here is the code: #region DataRefreshFromXML public void RefreshDataFromXML() { if ( File .Exists(appPath + @"\data\HandheldInventory.xml" )) try { DataSet ds = new DataSet (); ds.ReadXml(appPath + @"\data\HandheldInventory.xml" ); if (ds.Tables.Count > 0) { using ( SqlCeConnection cn = GetConnection()) { SqlCeDataAdapter da; da = new SqlCeDataAdapter ( "SELECT * FROM MobileInventory" , cn); SqlCeCommandBuilder cb; cb = new SqlCeCommandBu ...Show All

©2008 Software Development Network