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

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

John CHLee

Member List

2162
chandrala
Thomas S. Andersen
Green Apple
MehrdadDotNetOK
sd_dracula
M.A.T
ItsMe!!!
Sarosh79
jbhatia
Kamii47
TheViewMaster
takashikatori_9000
MaggieChan
BhuttCrackSpackle
Airan
Matt Deane
Lama Karmi
nhd
Doron70
Only Title

John CHLee's Q&A profile

  • Visual Studio Express Editions Registration on more than one PC

    I installed Visual Web Developer 2005 express on my PC and registered it. Now I've installed in on my laptop, but it won't let me use the same registration code. What do I have to do to get another registration code ...Show All

  • Windows Live Developer Forums SEO Specifically for Live

    A friend of mine that has a business ran into some interesting challenges that I wanted to chat about to see if anyone can give me any feedback. It is regarding how his site ranks in the " Live " search engine. His site went offline back in about June and was recently reinstated in November. His rankings seem to have rebounded in all the search engines but he has noticed that he does not come up anywhere within the first 10 or so pages after the switch over to Live and since his site went down and came back up. He has a search engine submission service that was active during that timeframe and I believe that when the search engines sent their programs back to look at the site and found nothing there, the site was d ...Show All

  • SharePoint Products and Technologies List View Web Part

    Hello! Can anyone help I want the users do be able to edit the shared documents, so after I uploaded a test.doc to a Library, I tried do edit it but I couldn't do it from the Query Web Part i have on a Page . So I thought I'd make a View and publish it into the Web Part, but that's not going well. Is this the correct way How can I make it easy for users do edit their shared docs Thanx!!! I would think the easiest way is to add the web part for the document library onto the page so that users can see everything and be able to access the document library directly. ...Show All

  • Visual Basic how to bring the form or msgbox to the front?

    Hi, how to bring the form or msgbox to the front while I open a excel file (just for example) The excel file is occupied the screen and I want the form or msgbox to show up in the front of the excel file. Thank you ...Show All

  • Visual C++ Dynamically allocated arrays of strings

    If I dynamically allocate arrays of C++ strings using malloc, assigning a value to a string in the array causes a run-time error. I assume that this is because the allocated memory has not been initialised correctly. How do I do the initialisation I cannot find any member function of the class string that does this. I don't want to use vector from the C++ standard library to set up the arrays. Any suggestions would be appreciated. An example is included. #include <iostream> #include <string> using namespace std; const int MaxLen = 50; typedef char STRING[MaxLen+1]; // null-terminated C strings class Example { public: // C strings static STRING * STRINGvec(int start,int finish); static void free ...Show All

  • Visual Basic Can't close Excel with VisualBasic 2005

    I'm using excel.application in visualBasic 2005, and I don't manage to close it. I tried some solutions found on the net, and appart the one killing the processus "Excel" in the task manager, no solution seem to work. In this simple example, Excel disapear from the task manager, but with the line in comment activated, excel stays open. Launching the function a second time create a new Excel Process, but close it after (one is still staying in the task manager). Please, help me to close the processus. Dim xlsheet As Excel.Worksheet Dim xlBook As Excel.Workbook Dim xlapp As Excel.Application Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ...Show All

  • Visual Studio 2008 (Pre-release) Not able to get "A Visual" from VisualCollection object, although it exists

    I am drawing lots of custom visuals; some using custom geometry objects using streamgeometry and some are drawn using plain vanila draweclipse using drawingContext. Once all of the above objects are created and displayed on the form,On hit testing I am not able to reference back any of the objects created by the streamgeometry. None of this working ... _currentVisualCollection.IndexOf((Visual)_hitResultsList ) _currentVisualCollection.Contains(((Visual)_hitResultsList ) Using VisualTreeHelper .GetDrawing(visual), i do get the visual back but I cannot do anything if I cannot locate the same visual in the visualCollection and remove it as I need to update the layout. Any leads.. Hopefully this post will catch any M ...Show All

  • Visual C# Callback from C++ .dll fails with "The memory could not be written"

    Hi, I'm having serious problems getting code that used to work in Visual Studio 2003, to work in .NET 3.0. I'm using Microsoft Expression Interactive Designer, but I figure my question is not really related to that product at all. I have a dll that controls a USB device (an ArtLebedev Mini 3). I can call bits of the dll fine and correctly set up my USB device. The problem is using a method within my c# code for the callback when a button on the device is pressed. After setting up the callback, pressing a button on the USB device causes the whole application to crash with a "The memory could not be written" error. Which i'm assuming means the dll is trying to call my method in c# but for some reason can't (memory address has chang ...Show All

  • Visual Basic How to save active page displayed through I.E.6 under text page.

    Hello, I would like , through Visual Basic 2005 command, save under c:\test.txt an active sheet displayed on the screen through I.E.6 browser. I am working Windows XP . Any support will be welcome ! See http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1133806&SiteID=1 Sub Main() Dim strHTML As String = _ GetPageHTML( "http://www.microsoft.com/" ) Console.WriteLine(strHTML) Console.WriteLine( "Press enter to exit" ) Console.Read() End Sub Public Function GetPageHTML( ByVal URL As String ) As String ' Retrieves the HTML from the specified URL Dim objWC As New System.Ne ...Show All

  • Visual Basic Can you digitaly sign your program?

    hey i was wondering can you digitaly sign your program and also make to be able to install into C:\Program Files is this possible thank you. How can you make a windows installer package if anyone nows please either point me in the right direction or help or at least so me a website that tells me, i'm using visual basic 2005 express edition. thanks ...Show All

  • Software Development for Windows Vista advatage of Windows Workflow Foundation

    what is advatage of Windows Workflow Foundation and when we should use it Windows Workflow Foundation (WF) is a Microsoft technology for defining, executing, and managing workflows . This technology is part of .NET Framework 3.0 and will be available natively in the Windows Vista operating system, and has been backported to the Windows XP and Windows 2003 Server operating systems. The .NET Framework 3.0 "workflow runtime" provides common facilities for running and managing the workflows and can be hosted in any CLR app domain. A new XML -based language XAML is commonly used for declaring the structure of a workfl ...Show All

  • Visual Studio Express Editions Is vc++ 6.0 good

    i bought a book on vc++6.0.can i build powerful software applications with that.what is the difference between the vc++6.0 and vc++ 2005.what is the latest released version Also wanted to add that the official support for VC6.0 already expired so no fixes are made there. Thanks, Ayman Shoukry VC++ Team ...Show All

  • Visual Studio Set an "Overview" HTML page to the Guidance Package

    How do we set the "Overview" page to the guidance package so that it appears in the Guidance Navigator Can't find it anywhere... Stole from Microsoft.Practices.RecipeFramework.MetaGuidancePackage.xml < GuidancePackage xmlns = " http://schemas.microsoft.com/pag/gax-core " xmlns:xi = http://www.w3.org/2001/XInclude aption = " Guidance Package Development " Guid = " 23FC29C9-FAFE-47f1-B633-B548E788DDDF " TraceLevel = " Info " Name = " MetaGuidancePackage " SortPriority = " 200 " BindingRecipe = " BindRegistrationRecipes " SchemaVersion = " 1.0 " > < Overview Url = " Templates\Overview\intro.htm " /> < Recipes > Have tested this in my own GP and it works great ... yay!  Note .. ...Show All

  • Visual Basic Date and Time Format Problem

    Question one May i know is there any time picker in VB.NET 2005 which allows user to enter a time The DateTimePicker can only retrieve current time and i think of using few combo boxes to form the format like hour,sec and AM or PM. Apart from that, is there any other way of doing it If i use the combo boxes method, how to parse the concatenation string as time and store in database   Question two I allowed user to select a date from DateTimePicker and format the date as the below and store it in database.   FormatDateTime(join_date.Text, DateFormat.ShortDate)   The datatype of that column i set it to string in order to prevent any format error. One problem is that the time format (DD/MM/YY) appea ...Show All

  • Visual C# Shutdown.exe problems

    Process shutdown = new Process(); shutdown.StartInfo.FileName = "C:/WINDOWS/System32/Shutdown.exe"; shutdown.StartInfo.Arguments = "-s -f -t 20 -m \\deruu"; shutdown.Start(); I can get it to log me out using argument -l only, but with that I only get a "Frozen" cmd window titled "Shutdown.exe" and nothing happens. my apologies, seems to be a typo for GetFolder, it should be Environment.GetFolderPath. And again, my apologies, the Process class does not take the overload but it should have been the ProcessStartInfo class. So even doing it this way shouldnt make much difference: ProcessStartInfo thePSI = new ProcessStartInfo("shutdown.exe"); thePSI. ...Show All

©2008 Software Development Network