Quantcast
Channel: Windows Forms General forum
Viewing all 12583 articles
Browse latest View live

c# compare listview

$
0
0

Dear Exprt,

I am trying to compare listview item base on checkbox selection, i have tried with below code does not help me canu plz assist

 if (listView2.CheckedItems.Count > 0)
            {
                string text = listView2.CheckedItems[0].Text;
                for (int i = 0; i < listView1.CheckedItems.Count; i++)
                {
                    if (listView1.CheckedItems[i].Text.Equals(text))
                    {
                        listView1.CheckedItems[i].Checked = true;
                        return;
                    }
                }
            } 



Support@Mytechnet.me


Windows printer unavailable - app hangs

$
0
0

Hello.

This is how I do the printing in my winforms application.

Lots of documents get printed every day cca 200 docs with 50 lines.

But sometimes it happens that printer is not available and application hangs... every month 2 times cca.

Should I be doing printDoc.Dispose() on the end?

Is it possible that the printer is unavailable because I dont dispose?

System.Drawing.Printing.PrintDocument printDoc = new System.Drawing.Printing.PrintDocument();

            printDoc.BeginPrint += new System.Drawing.Printing.PrintEventHandler(OnBeginPrint);
            printDoc.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(OnPrintPage);


            rtbLines.AppendText("Something to print");

            printDoc.Print();

Could not delete from the specified table c#

$
0
0

i have a problem.. I already deploy my system to be ready for use by another user (another computer), but i got a problem once i want delete the data from the database..

The error is like this (This is when i already deployed my program and run under application, not under visual studio):

enter image description here

But it works perfectly under visual studio, the image like this (note that, the error on the image above appear once i click the delete button, it supposed to deleted data from the database and also note that even there is no data in the database, once i click the delete button in the visual studio, there is no error message appear):

enter image description here

the program works perfectly on the D:Program Files sir, not in the C:Program Files or system file. Why is it like that? 

RichTextBox to BitMap when Display = 125%

$
0
0

C# - Winforms - Visual Studio 2012

The code below works perfect as long as the Windows Display is set to normal or 96 pixels.

But when I select 125% for the Display size or 120 pixels the text in the richtextbox bitmap gets shifted to the right and truncated.

Anyone know how to fix this?

Thank you.

private const double inch = 1440 / 96; // 14.4;
        private Bitmap RtbToBitmap(RichTextBox rtb, Rectangle rectangle)
        {
            rtb.Update(); 
            Bitmap bmp = new Bitmap(rectangle.Width, rectangle.Height);

            using (Graphics gr = Graphics.FromImage(bmp))
            {
                IntPtr hDC = gr.GetHdc();
                FORMATRANGE fmtRange;
                RECT rect;
                int fromAPI;
                rect.Top = 0; rect.Left = 0;
                rect.Right = (int)Math.Ceiling(rectangle.Right * inch);
                rect.Bottom = (int)Math.Ceiling(rectangle.Bottom * inch);

                fmtRange.chrg.cpMin = 0;
                fmtRange.chrg.cpMax = -1;
                fmtRange.hdc = hDC;
                fmtRange.hdcTarget = hDC;
                fmtRange.rc = rect;
                fmtRange.rcPage = rect;

                IntPtr lParam = Marshal.AllocCoTaskMem(Marshal.SizeOf(fmtRange));
                Marshal.StructureToPtr(fmtRange, lParam, false);
                fromAPI = SendMessage(rtb.Handle, EM_FORMATRANGE, 1, lParam);
                Marshal.FreeCoTaskMem(lParam);
                fromAPI = SendMessage(rtb.Handle, EM_FORMATRANGE, 1, new IntPtr(0));
                gr.ReleaseHdc(hDC);
            }
            return (bmp);
        }

What are the differences between version 1.3 and version 2.0 resx files?

$
0
0
Hello,
are there many differences between version 1.3 and version 2.0 resx files?
I want to generate a resx file in Dot Net 2.0 and the version of the resx file
that is going to be generated will be 2.0.
Then i want to generate the same resx file using Dot Net 1.1 and the version of the ResX file will be 1.3.
I will then copy the <value> nodes from the 2.0 ResX files to the 1.3 ResX files <value> nodes and i will generate the resource file later.

Will there be a problem ?
What do you say about this ? Is there a difference on how the values of data is serialized ?

Is there a different way to create version 1.3 resource files (for .NET 1.1 applications) from .NET 2.0 ?

Thanks!

Editing data on a table from a different form in C#

$
0
0

I have a table for contact details ( made using in VS using C# 2010)

I want to have the table displayed in the form (called form1 for the purpose of the question), with various buttons (add new, edit, remove, search) on the right hand side.

Designing the form isn't the issue. I have so far created a form to add a new contact(form2), where I want the user to enter details for the contact (name, address etc.) and then save it, then form2 closes displaying form1, with the table updated displaying the contact they have just created.

How can I do this?


Display image in panel control with scroll bars

$
0
0

I have a panel control on a form and have set the panel1.background image = BMP where BMP is a bitmap that is larger than the panel control. Code snippet:

panel1.background image = mybmp

panel1.autoscroll = true

when I run the program no scroll bars appear to look at hidden parts of mybmp.

What do I need to do to fix this problem??

Desktop icon click of visual studio project.

$
0
0

Hi,

      I m working on a visual studio .net project.I have created a desktop icon for my project exe.Now i want to open a local folder on that icon click like drop box but i m not able to do this.Please help me out asap.

Thanks


Need help, picturebox visualstudio2010

$
0
0

Hi,

I'm a begginer in c#  and i'd like to create a game 4 in row. I had an idea to use pictureboxes. I created 2 tokens(paint) RED and BLUE, and a whole map how would it look like. So the idea. Use the map, and when the collumn is clicked, 1 token(color depends what player are you) is dropped in. I'm trying to divide the map but don't know how. Picture(map) is 400x400, and tokens 50x50, only thing i would needed then is the coordinates where should it appear. And an animation dropping it. It's meant to be for 2 player only. I just need help how to divide the map, then i think i could program it. And i have another problem. Visual studio 2010 is crashing my computer, i don't know how but after 5 min of working and clicking it just doesn't respond and then just blue screen and error clock_watchdog_timeout, i'm using windows 8.1.

Thanks, Pesjak

Reference a Control on Another Form

$
0
0
I am using C# to build a dialog form which will search and find strings in cells on a DataGridView which resides on a different form. What syntax should I use to reference the DataGridView?

Rob E.

Cannot Upgrade From Windows 8 Enterprise to Windows 8.1 Enterprise

$
0
0

This is my first post, hopefully someone can help me!

I had downloaded and installed Windows 8 Enterprise x64 en_US from MSDN a few months back, and now I can only keep "Nothing" when trying to upgrade to Windows 8.1 Enterprise (en_windows_8_1_enterprise_x64_dvd_2971902) from MSDN.

I have tried booting from a DVD and installing from the OS, but no dice.

I have attached my setupact.log file, and notice "CNoUpgradeChecker: checked UpgradeDisabled, found NoIssue. " Why is upgrading disabled?

I appreciate any help! Thanks!

2013-12-09 10:42:06, Info                  CONX   installprep.exe: Started Logging ...
2013-12-09 10:42:06, Info       [0x090008] PANTHR CBlackboard::Open: C:\$WINDOWS.~BT\Sources\Panther\installinfo succeeded.
2013-12-09 10:42:06, Info                  CONX   installprep.exe Launched from M:\Downloads\en_windows_8_1_enterprise_x64_dvd_2971902\Sources
2013-12-09 10:42:06, Info                  CONX   Initialized Sources Folder = C:\$WINDOWS.~BT\Sources
2013-12-09 10:42:06, Info                  CONX   Initialized Panther Folder = C:\$WINDOWS.~BT\Sources\Panther
2013-12-09 10:42:06, Info                  CONX   Initialized Setup DU Folder = C:\$WINDOWS.~BT\DUDownload\Setup
2013-12-09 10:42:06, Info                  CONX   Initialized Blackboard C:\$WINDOWS.~BT\Sources\Panther\installinfo
2013-12-09 10:42:06, Info                  CONX   Install pkg location M:\Downloads\en_windows_8_1_enterprise_x64_dvd_2971902\Sources\install.wim
2013-12-09 10:42:06, Info                  CONX   CSetupFileCopier::CopySetupFiles: start copying setup files
2013-12-09 10:42:06, Info                  CONX   CSetupFileCopier::GenerateCopyListFromConfigFile: Number of file names found: 113
2013-12-09 10:42:06, Info                  CONX   CSetupFileCopier::GenerateCopyListFromConfigFile: Number of folder names found: 6
2013-12-09 10:42:53, Info                  CONX   CSetupFileCopier::CopySetupFiles: successfully complete copying setup files
2013-12-09 10:42:53, Info                  CONX   Command line arguments stored to BB --  
2013-12-09 10:42:53, Info                  CONX   Command line to use to launch install:  /downlevel
2013-12-09 10:42:53, Info       [0x090009] PANTHR CBlackboard::Close: c:\$windows.~bt\sources\panther\installinfo.
2013-12-09 10:42:53, Info                  CONX   Launching C:\$WINDOWS.~BT\Sources\install.exe  /downlevel
2013-12-09 10:42:54, Info                  CONX   install.exe: Started Logging ...
2013-12-09 10:42:54, Info       [0x090008] PANTHR CBlackboard::Open: C:\$WINDOWS.~BT\Sources\Panther\installinfo succeeded.
2013-12-09 10:42:54, Info                  CONX   InitializeWorkingDirectory: Successfully initialized working directory
2013-12-09 10:42:54, Info                  CONX                               Running Mode = 1
2013-12-09 10:42:54, Info                  CONX                               ~BT Directory = C:\$WINDOWS.~BT
2013-12-09 10:42:54, Info                  CONX                               Working Directory = C:\$WINDOWS.~BT\Sources\Panther
2013-12-09 10:42:54, Info                  CONX                               Logging Directory = C:\$WINDOWS.~BT\Sources\Panther
2013-12-09 10:42:54, Info                  CONX                               Setup DU Directory = C:\$WINDOWS.~BT\DUDownload\Setup
2013-12-09 10:42:54, Info                  CONX                               Driver DU Directory = C:\$WINDOWS.~BT\DUDownload\Drivers
2013-12-09 10:42:54, Info                  CONX                               Component DU Directory = C:\$WINDOWS.~BT\DUDownload\Components
2013-12-09 10:42:54, Info                  CONX   Command line parameters: /downlevel
2013-12-09 10:42:54, Info                  CONX   CSetupLangIniLoader::Initialize: LANG.INI Directory = C:\$WINDOWS.~BT\Sources
2013-12-09 10:42:54, Info                  CONX   CSetupLangIniLoader::Initialize: Language Pack Root = ..\Langpacks
2013-12-09 10:42:54, Info                  CONX   CSetupLangIniLoader::Initialize: 1 languages found.
2013-12-09 10:42:54, Info                  CONX   CSetupLangIniLoader::Initialize: Adding language: index: 0
2013-12-09 10:42:54, Info                  CONX   CSetupLangIniLoader::Initialize:     Language name     : en-US
2013-12-09 10:42:54, Info                  CONX   CSetupLangIniLoader::Initialize:     Language pack file: ..\Langpacks\en-US\LP.CAB
2013-12-09 10:42:54, Info                  CONX   CSetupLangIniLoader::Initialize:     IsDefault         : 1
2013-12-09 10:42:54, Info                  CONX   CSetupLangIniLoader::Initialize:     IsInstallInImage  : 1
2013-12-09 10:42:54, Info                  CONX   CSetupLangIniLoader::Initialize:     Media number      : 0
2013-12-09 10:42:54, Info                  CONX   CSetupLangIniLoader::Initialize: Set default UI language = en-US.
2013-12-09 10:42:54, Info                  CONX   CSetupLangIniLoader::Initialize: Set default install language = en-US.
2013-12-09 10:42:54, Info                  CONX   DetermineLanguage: Default UI language is set to 'en-US'
2013-12-09 10:42:54, Info                  CONX   DetermineLanguage: Install language is set to 'en-US'
2013-12-09 10:42:54, Info                  CONX   Windows Install is starting.
2013-12-09 10:42:54, Info                  CONX   Setup build version is: 6.3.9600.16384 (winblue_rtm.130821-1623)
2013-12-09 10:42:54, Info                  CONX   InitializeSetupData: Start initializing data
2013-12-09 10:42:54, Info                  CONX   InitializeSetupData: Completed initializing WIM information
2013-12-09 10:42:54, Info                  CONX                       WIM Directory       = M:\Downloads\en_windows_8_1_enterprise_x64_dvd_2971902\Sources
2013-12-09 10:42:54, Info                  CONX                       Install.Package path    = M:\Downloads\en_windows_8_1_enterprise_x64_dvd_2971902\Sources\install.wim
2013-12-09 10:42:54, Info                  CONX                       Boot.WIM path       = M:\Downloads\en_windows_8_1_enterprise_x64_dvd_2971902\Sources\boot.wim
2013-12-09 10:42:54, Info                  CONX   Setup StudyID was [not found]
2013-12-09 10:42:54, Info                  CONX   A previous StudyID was [not restored]
2013-12-09 10:42:54, Info                  CONX   Starting downlevel phase
2013-12-09 10:42:54, Info                  CONX   Initializing setup compatibility controller. Working directory: C:\$WINDOWS.~BT\Sources. Log directory: C:\$WINDOWS.~BT\Sources\Panther
2013-12-09 10:42:54, Info                  CONX   [ConX::Compatibility::Wica::GetInstance] Getting WICA instance.
2013-12-09 10:42:54, Warning               CONX   Failed to load C:\$WINDOWS.~BT\Sources\compatplugin.dll. GLE = 126
2013-12-09 10:42:54, Info                  CONX   This is not a connected stand by device
2013-12-09 10:42:54, Info                  CONX   The host is not Win8.1
2013-12-09 10:42:54, Info                  CONX   ConX::Compatibility::CDeviceCompatibilityDatabase::Import: Importing devices from C:\$WINDOWS.~BT\Sources\hwcompat64.txt ...
2013-12-09 10:42:54, Info                  CONX   ConX::Compatibility::CDeviceCompatibilityDatabase::Import: File C:\$WINDOWS.~BT\Sources\hwcompat64.txt does not exist.
2013-12-09 10:42:54, Info                  CONX   ConX::Compatibility::CDeviceCompatibilityDatabase::Import: Importing devices from C:\$WINDOWS.~BT\Sources\hwcompat.txt ...
2013-12-09 10:42:55, Info                  CONX   ConX::Compatibility::CDeviceCompatibilityDatabase::Import: Importing devices from C:\$WINDOWS.~BT\Sources\hwexclude64.txt ...
2013-12-09 10:42:55, Info                  CONX   ConX::Compatibility::CDeviceCompatibilityDatabase::Import: File C:\$WINDOWS.~BT\Sources\hwexclude64.txt does not exist.
2013-12-09 10:42:55, Info                  CONX   ConX::Compatibility::CDeviceCompatibilityDatabase::Import: Importing devices from C:\$WINDOWS.~BT\Sources\hwexclude.txt ...
2013-12-09 10:42:55, Info                  CONX   ConX::Compatibility::CDeviceCompatibilityDatabase::Import: Importing devices from C:\$WINDOWS.~BT\Sources\duhwcompat.txt ...
2013-12-09 10:42:55, Info                  CONX   ConX::Compatibility::CDeviceCompatibilityDatabase::Import: File C:\$WINDOWS.~BT\Sources\duhwcompat.txt does not exist.
2013-12-09 10:42:55, Info                  CONX   pIsDriverBootCritical: Start type of service storahci: 0
2013-12-09 10:42:55, Info                  CONX   ConX::Compatibility::CBootCriticalDeviceList::Initialize: Detected boot-critical device (ClassGuid = {4d36e96a-e325-11ce-bfc1-08002be10318}, ServiceName = storahci): pci\ven_8086&dev_1e02&subsys_339a103c&rev_04
2013-12-09 10:42:55, Info                  CONX   ConX::Compatibility::CBootCriticalDeviceList::Initialize: Detected boot-critical device (ClassGuid = {4d36e96a-e325-11ce-bfc1-08002be10318}, ServiceName = storahci): pci\ven_8086&dev_1e02&subsys_339a103c
2013-12-09 10:42:55, Info                  CONX   ConX::Compatibility::CBootCriticalDeviceList::Initialize: Detected boot-critical device (ClassGuid = {4d36e96a-e325-11ce-bfc1-08002be10318}, ServiceName = storahci): pci\ven_8086&dev_1e02&cc_010601
2013-12-09 10:42:55, Info                  CONX   ConX::Compatibility::CBootCriticalDeviceList::Initialize: Detected boot-critical device (ClassGuid = {4d36e96a-e325-11ce-bfc1-08002be10318}, ServiceName = storahci): pci\ven_8086&dev_1e02&cc_0106
2013-12-09 10:42:55, Info                  CONX   pIsDriverBootCritical: Start type of service mouhid: 3
2013-12-09 10:42:55, Info                  CONX   pIsDriverBootCritical: Start type of service kbdhid: 3
2013-12-09 10:42:55, Info                  CONX   pIsDriverBootCritical: Start type of service HidUsb: 3
2013-12-09 10:42:55, Info                  CONX   pIsDriverBootCritical: Start type of service spaceport: 0
2013-12-09 10:42:55, Info                  CONX   ConX::Compatibility::CBootCriticalDeviceList::Initialize: Detected boot-critical device (ClassGuid = {4d36e97b-e325-11ce-bfc1-08002be10318}, ServiceName = spaceport): root\spaceport
2013-12-09 10:42:55, Info                  CONX   pIsDriverBootCritical: Start type of service volsnap: 0
2013-12-09 10:42:55, Info                  CONX   ConX::Compatibility::CBootCriticalDeviceList::Initialize: Detected boot-critical device (ClassGuid = {71a27cdd-812a-11d0-bec7-08002be2092f}, ServiceName = volsnap): storage\volume
2013-12-09 10:42:55, Info                  CONX   pIsDriverBootCritical: Start type of service volsnap: 0
2013-12-09 10:42:55, Info                  CONX   pIsDriverBootCritical: Start type of service HidUsb: 3
2013-12-09 10:42:55, Info                  CONX   pIsDriverBootCritical: Start type of service volsnap: 0
2013-12-09 10:42:55, Info                  CONX   pIsDriverBootCritical: Start type of service i8042prt: 3
2013-12-09 10:42:55, Info                  CONX   pIsDriverBootCritical: Start type of service volsnap: 0
2013-12-09 10:42:55, Info                  CONX   pIsDriverBootCritical: Start type of service volsnap: 0
2013-12-09 10:42:55, Info                  CONX   pIsDriverBootCritical: Start type of service disk: 0
2013-12-09 10:42:55, Info                  CONX   ConX::Compatibility::CBootCriticalDeviceList::Initialize: Detected boot-critical device (ClassGuid = {4d36e967-e325-11ce-bfc1-08002be10318}, ServiceName = disk): scsi\disk________kingston_ssdnow_b090
2013-12-09 10:42:55, Info                  CONX   ConX::Compatibility::CBootCriticalDeviceList::Initialize: Detected boot-critical device (ClassGuid = {4d36e967-e325-11ce-bfc1-08002be10318}, ServiceName = disk): scsi\disk________kingston_ssdnow_
2013-12-09 10:42:55, Info                  CONX   ConX::Compatibility::CBootCriticalDeviceList::Initialize: Detected boot-critical device (ClassGuid = {4d36e967-e325-11ce-bfc1-08002be10318}, ServiceName = disk): scsi\disk________
2013-12-09 10:42:55, Info                  CONX   ConX::Compatibility::CBootCriticalDeviceList::Initialize: Detected boot-critical device (ClassGuid = {4d36e967-e325-11ce-bfc1-08002be10318}, ServiceName = disk): scsi\________kingston_ssdnow_b
2013-12-09 10:42:55, Info                  CONX   ConX::Compatibility::CBootCriticalDeviceList::Initialize: Detected boot-critical device (ClassGuid = {4d36e967-e325-11ce-bfc1-08002be10318}, ServiceName = disk): ________kingston_ssdnow_b
2013-12-09 10:42:55, Info                  CONX   ConX::Compatibility::CBootCriticalDeviceList::Initialize: Detected boot-critical device (ClassGuid = {4d36e967-e325-11ce-bfc1-08002be10318}, ServiceName = disk): gendisk
2013-12-09 10:42:55, Info                  CONX   pIsDriverBootCritical: Start type of service HidUsb: 3
2013-12-09 10:42:55, Info                  CONX   pIsDriverBootCritical: Start type of service disk: 0
2013-12-09 10:42:55, Info                  CONX   ConX::Compatibility::CBootCriticalDeviceList::Initialize: Detected boot-critical device (ClassGuid = {4d36e967-e325-11ce-bfc1-08002be10318}, ServiceName = disk): scsi\disk_____________st3500413ashp64
2013-12-09 10:42:55, Info                  CONX   ConX::Compatibility::CBootCriticalDeviceList::Initialize: Detected boot-critical device (ClassGuid = {4d36e967-e325-11ce-bfc1-08002be10318}, ServiceName = disk): scsi\disk_____________st3500413as
2013-12-09 10:42:55, Info                  CONX   ConX::Compatibility::CBootCriticalDeviceList::Initialize: Detected boot-critical device (ClassGuid = {4d36e967-e325-11ce-bfc1-08002be10318}, ServiceName = disk): scsi\_____________st3500413ash
2013-12-09 10:42:55, Info                  CONX   ConX::Compatibility::CBootCriticalDeviceList::Initialize: Detected boot-critical device (ClassGuid = {4d36e967-e325-11ce-bfc1-08002be10318}, ServiceName = disk): _____________st3500413ash
2013-12-09 10:42:55, Info                  CONX   pIsDriverBootCritical: Start type of service HidUsb: 3
2013-12-09 10:42:55, Info                  CONX   pIsDriverBootCritical: Start type of service mouhid: 3
2013-12-09 10:42:55, Info                  CONX   pIsDriverBootCritical: Start type of service volsnap: 0
2013-12-09 10:42:55, Info                  CONX   pIsDriverBootCritical: Start type of service i8042prt: 3
2013-12-09 10:42:55, Info                  CONX   pIsDriverBootCritical: Start type of service cvhdbus: 3
2013-12-09 10:42:55, Info                  CONX   pIsDriverBootCritical: Start type of service disk: 0
2013-12-09 10:42:55, Info                  CONX   ConX::Compatibility::CBootCriticalDeviceList::Initialize: Detected boot-critical device (ClassGuid = {4d36e967-e325-11ce-bfc1-08002be10318}, ServiceName = disk): usbstor\diskseagate_expansion_desk__070b
2013-12-09 10:42:55, Info                  CONX   ConX::Compatibility::CBootCriticalDeviceList::Initialize: Detected boot-critical device (ClassGuid = {4d36e967-e325-11ce-bfc1-08002be10318}, ServiceName = disk): usbstor\diskseagate_expansion_desk__
2013-12-09 10:42:55, Info                  CONX   ConX::Compatibility::CBootCriticalDeviceList::Initialize: Detected boot-critical device (ClassGuid = {4d36e967-e325-11ce-bfc1-08002be10318}, ServiceName = disk): usbstor\diskseagate_
2013-12-09 10:42:55, Info                  CONX   ConX::Compatibility::CBootCriticalDeviceList::Initialize: Detected boot-critical device (ClassGuid = {4d36e967-e325-11ce-bfc1-08002be10318}, ServiceName = disk): usbstor\seagate_expansion_desk__0
2013-12-09 10:42:55, Info                  CONX   ConX::Compatibility::CBootCriticalDeviceList::Initialize: Detected boot-critical device (ClassGuid = {4d36e967-e325-11ce-bfc1-08002be10318}, ServiceName = disk): seagate_expansion_desk__0
2013-12-09 10:42:55, Info                  CONX   ConX::Compatibility::CBootCriticalDeviceList::Initialize: Detected boot-critical device (ClassGuid = {4d36e967-e325-11ce-bfc1-08002be10318}, ServiceName = disk): usbstor\gendisk
2013-12-09 10:42:55, Info                  CONX   DetectDigitalMarker: Digital marker product key not detected. hr = 0xc004f057
2013-12-09 10:42:55, Info                  CONX   LogMachineInfo: Logging MachineHardWare to BB
2013-12-09 10:42:55, Info                  CONX   LogMachineInfo: Manufacturer is Hewlett-Packard 
2013-12-09 10:42:55, Info                  CONX   LogMachineInfo: Manufacturer Product Name is HP Compaq Pro 6300 SFF 
2013-12-09 10:42:55, Info                  CONX   LogMachineInfo: Cpu description Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz 
2013-12-09 10:42:55, Info                  CONX   LogMachineInfo: Total Physical RAM is 16649160 
2013-12-09 10:42:55, Info                  CONX   LogMachineInfo: Number of Processors is 8 
2013-12-09 10:42:55, Info                  CONX   LogMachineInfo: Processor Architecture is 9 
2013-12-09 10:42:55, Info                  CONX   ConX::Setup::Media::CInstall::StartDownlevelWorkflow: Create Setup Platform object...
2013-12-09 10:42:55, Info                  SP     CSetupPlatform::Initialize: Setup log starts:
2013-12-09 10:42:55, Info                  SP     Initializing diagnostics helper; data file = (NULL)
2013-12-09 10:42:55, Info                  SP     No existing diagnostics data
2013-12-09 10:42:55, Info                  SP     CDiagnosticsHelper::Initialize: Installation GUID is {E1C1D4DF-FDD6-47EB-B13C-22E214090BEB}
2013-12-09 10:42:55, Info                  SP     Key CollectTrace is not available.
2013-12-09 10:42:55, Warning               SP     CSetupPlatform::Initialize: Failed to initialize tracing
2013-12-09 10:42:55, Info                         SPGenerateCopyListFromConfigFile: Didn't find file list in C:\$WINDOWS.~BT\Sources\setupplatform.cfg, section Footprint.Basic.amd64
2013-12-09 10:42:55, Info                         SPVerifyFootprint: Starting verification of footprint section Footprint.Basic
2013-12-09 10:42:55, Info                         SPVerifyFootprint: The requested footprint is present
2013-12-09 10:42:55, Info                         SPVerifyFootprint: Starting verification of footprint section Footprint.Servicing
2013-12-09 10:42:55, Info                         SPVerifyFootprint: The requested footprint is present
2013-12-09 10:42:55, Info                         SPGenerateCopyListFromConfigFile: Didn't find file list in C:\$WINDOWS.~BT\Sources\setupplatform.cfg, section Footprint.Migration.amd64
2013-12-09 10:42:55, Info                         SPVerifyFootprint: Starting verification of footprint section Footprint.Migration
2013-12-09 10:42:55, Info                         SPVerifyFootprint: The requested footprint is present
2013-12-09 10:42:55, Info                  SP     Key CollectTrace is not available.
2013-12-09 10:42:55, Info                  CONX   ConX::Setup::Media::CWizardPagePresenterDuOptIn::OnActivate: ID = 1
2013-12-09 10:42:58, Info                  CONX   ConX::Setup::Media::CWizardPagePresenterSystemRequirementProgress::OnActivate: ID = 4
2013-12-09 10:42:58, Info                  CONX   Compatibility scan started. Scenario: 3, Categories: 0x00000021 
2013-12-09 10:42:58, Info                  CONX   ScanThread: Start scan from provider wsc:setup:
2013-12-09 10:42:58, Info                  CONX   ScanThread: Start scan from provider wsc:wica:
2013-12-09 10:42:58, Info                  CONX   [ConX::Compatibility::Wica::StartScan] ConX::Compatibility::Wica::StartScan called.
2013-12-09 10:42:58, Info                  CONX   [GetBuildNumber] Version string is 6.3.9600.16384 (winblue_rtm.130821-1623)
2013-12-09 10:42:58, Info       [0x090008] PANTHR CBlackboard::Open: C:\$WINDOWS.~BT\Sources\Panther\CompatScanCache.dat succeeded.
2013-12-09 10:42:58, Warning               CONX   ConX::Compatibility::CCompatibilityController::DeserializeData: Failed to load compat scan data from provider wsc:setup: from the compat scan cache.[gle=0x00000490]
2013-12-09 10:42:58, Info       [0x090009] PANTHR CBlackboard::Close: c:\$windows.~bt\sources\panther\compatscancache.dat.
2013-12-09 10:42:58, Info                  CONX   ConX::Compatibility::CCompatibilityHost::DeserializeData: There's no persisted data for provider wsc:setup:.
2013-12-09 10:42:58, Info                  CONX   CBootFromVHDChecker invoked. 
2013-12-09 10:42:58, Info       [0x090008] PANTHR CBlackboard::Open: C:\$WINDOWS.~BT\Sources\Panther\CompatScanCache.dat succeeded.
2013-12-09 10:42:58, Warning               CONX   ConX::Compatibility::CCompatibilityController::DeserializeData: Failed to load compat scan data from provider wsc:wica: from the compat scan cache.[gle=0x00000490]
2013-12-09 10:42:58, Info       [0x090009] PANTHR CBlackboard::Close: c:\$windows.~bt\sources\panther\compatscancache.dat.
2013-12-09 10:42:59, Info                  CONX   ConX::Compatibility::CCompatibilityHost::DeserializeData: There's no persisted data for provider wsc:wica:.
2013-12-09 10:42:59, Info                  CONX   [ConX::Compatibility::Wica::StartScanInternal] Running system scan.
2013-12-09 10:42:59, Info                  CONX   [ConX::Compatibility::Wica::RunScanner] Starting system scan - WicaInventory.exe /limitedsystem /output "C:\$WINDOWS.~BT\Sources\Panther\WICA_System_USCA-LERNERK.xml" /log "C:\$WINDOWS.~BT\Sources\Panther" "C:\$WINDOWS.~BT\Sources"
2013-12-09 10:42:59, Info                  CONX   [ConX::Compatibility::Wica::RunScanner] Started system scan.
2013-12-09 10:42:59, Info                  CONX   ConX::Compatibility::CSystemAbstraction::HostIsBootedFromVHD: Host is not booted from VHD.
2013-12-09 10:42:59, Info                  CONX   CBootFromVHDChecker: checked HostIsBootedFromVHD, found NoIssue. 
2013-12-09 10:42:59, Info                  CONX   CBootFromPortableWorkspaceChecker invoked. 
2013-12-09 10:42:59, Info                  CONX   ConX::Compatibility::CSystemAbstraction::HostIsBootedFromPortableWorkspace: Host is not booted from Portable Workspace.
2013-12-09 10:42:59, Info                  CONX   CBootFromPortableWorkspaceChecker: checked HostIsBootedFromPortableWorkspace, found NoIssue. 
2013-12-09 10:42:59, Info                  CONX   CHostIsStagedBuildChecker invoked. 
2013-12-09 10:42:59, Info                  CONX   ConX::Compatibility::CSystemAbstraction::HostIsStagedBuild: Host is staged build. 
2013-12-09 10:42:59, Info                  CONX   CHostIsStagedBuildChecker: checked HostIsNonStagedBuild, found NoIssue. 
2013-12-09 10:42:59, Info                  CONX   CFreeSystemPartitionDiskSpaceChecker invoked. 
2013-12-09 10:42:59, Info                  CONX   ConX::Compatibility::CSystemAbstraction::GetSystemVolumePath: System volume path: \Device\HarddiskVolume3
2013-12-09 10:42:59, Info                  CONX   ConX::Compatibility::CSystemAbstraction::GetSystemVolumePath: Assigned drive letter F:\ to system volume. 
2013-12-09 10:42:59, Info                  CONX   ConX::Compatibility::CSystemAbstraction::GetDiskFreeSpaceW: Detected 71 MB free on F:
2013-12-09 10:42:59, Info                  CONX   CFreeSystemPartitionDiskSpaceChecker: checked InsufficientDiskSpace, found NoIssue. 
2013-12-09 10:42:59, Info                  CONX   ConX::Compatibility::CCompatibilityHost::SerializeData: Provider wsc:setup: is serializing 8 bytes of data.
2013-12-09 10:42:59, Info       [0x090008] PANTHR CBlackboard::Open: C:\$WINDOWS.~BT\Sources\Panther\CompatScanCache.dat succeeded.
2013-12-09 10:42:59, Info       [0x090009] PANTHR CBlackboard::Close: c:\$windows.~bt\sources\panther\compatscancache.dat.
2013-12-09 10:42:59, Info                  CONX   ConX::Compatibility::CCompatibilityController::ReportData: Type: [0], ID: [2], ReportOption: [2]
2013-12-09 10:42:59, Info                  CONX   ConX::Compatibility::CCompatibilityHost::SetScanResult: Provider wsc:setup: reports NoIssue
2013-12-09 10:42:59, Info                         [wmain] WicaInventory.exe has started
2013-12-09 10:42:59, Info                         [RunInventory] Starting device scan.
2013-12-09 10:42:59, Info                  CONX   [CDevInventory::CreateDevInventoryXML] Gathering machine info

2013-12-09 10:42:59, Info                  CONX   [CDevInventory::CreateDevInventoryXML] Gathering machine memory info

2013-12-09 10:42:59, Info                  CONX   [CDevInventory::CreateDevInventoryXML] Gathering processor info

2013-12-09 10:42:59, Info                  CONX   [CDevInventory::CreateDevInventoryXML] Gathering ping back info

2013-12-09 10:42:59, Info                  CONX   [CDevInventory::CreateDevInventoryXML] Generating device XML 

2013-12-09 10:42:59, Info                         [RunInventory] Device scan finished.
2013-12-09 10:42:59, Info                         [RunInventory] Finished scanning. Log file is C:\$WINDOWS.~BT\Sources\Panther\WICA_System_USCA-LERNERK.xml
2013-12-09 10:42:59, Info                  CONX   [ConX::Compatibility::Wica::RunScanner] system scan completed in 0.8198 seconds.
2013-12-09 10:42:59, Info                  CONX   [ConX::Compatibility::Wica::RunScanner] system scan finished.
2013-12-09 10:42:59, Info                  CONX   [ConX::Compatibility::Wica::CompileScanResults] Compiling system scan results from scan file.
2013-12-09 10:42:59, Info                  CONX   [ConX::Compatibility::Wica::GetCompatibilityInfo] targetVersion = 0.0
2013-12-09 10:42:59, Info                  CONX   [ConX::Compatibility::Wica::GetCompatibilityInfo] Checking sdb file for bios blocks - QueryAppBlock.exe /bios /sysinv "C:\$WINDOWS.~BT\Sources\Panther\WICA_System_USCA-LERNERK.xml" /out "C:\$WINDOWS.~BT\Sources\Panther\WICA_QueryBiosBlock_USCA-LERNERK.xml" /os "0.0" /devSdb "C:\$WINDOWS.~BT\Sources\drvmain64.sdb" /log "C:\$WINDOWS.~BT\Sources\Panther" "C:\$WINDOWS.~BT\Sources"
2013-12-09 10:42:59, Info                  CONX   [ConX::Compatibility::Wica::GetCompatibilityInfo] Started query bios block scan.
2013-12-09 10:42:59, Info                  CONX   [wmain] QueryAppBlock.exe has started.
2013-12-09 10:43:00, Info                  CONX   [CDeviceBiosBlocks::Generate] Checking for BIOS blocks.
2013-12-09 10:43:00, Info                  CONX   [ConX::Compatibility::Wica::GetCompatibilityInfo] query bios block scan completed in 0.3252 seconds.
2013-12-09 10:43:00, Info                  CONX   [ConX::Compatibility::Wica::GetCompatibilityInfo] Finished bios block scan.
2013-12-09 10:43:00, Info                  CONX   [WICA::HardwareItem::CreateHardwareItem] MachineInfo check will be skipped for this OS.
2013-12-09 10:43:00, Info                  CONX   [WICA::HardwareItem::CreateHardwareItem] PingBackInfo check will be skipped for this OS.
2013-12-09 10:43:00, Info                  CONX   [WICA::HardwareItem::CreateHardwareItem] MemoryInfo check will be skipped for this OS.
2013-12-09 10:43:00, Info                  CONX   [WICA::HardwareItem::CreateHardwareItem] ProcessorInfo check will be skipped for this OS.
2013-12-09 10:43:00, Info                  CONX   [WICA::ProcessorItem::CreateProcessorItem] Processor check will be skipped for this OS.
2013-12-09 10:43:00, Info                  CONX   [WICA::SSESupportItem::CreateSSESupportItem] SSE check will be skipped for this OS.
2013-12-09 10:43:00, Info                  CONX   [WICA::NXSupportItem::CreateNXSupportItem] NX check will be skipped for this OS.
2013-12-09 10:43:00, Info                  CONX   [ConX::Compatibility::Wica::CompileScanResults] Creating new system report and telemetry report.
2013-12-09 10:43:00, Info                  CONX   [ConX::Compatibility::Wica::FinalizeScan] WICA scan is finished; signalling stop event.
2013-12-09 10:43:00, Info                  CONX   ConX::Compatibility::CCompatibilityHost::SerializeData: Provider wsc:wica: is serializing 12 bytes of data.
2013-12-09 10:43:00, Info       [0x090008] PANTHR CBlackboard::Open: C:\$WINDOWS.~BT\Sources\Panther\CompatScanCache.dat succeeded.
2013-12-09 10:43:00, Info       [0x090009] PANTHR CBlackboard::Close: c:\$windows.~bt\sources\panther\compatscancache.dat.
2013-12-09 10:43:00, Info                  CONX   [ConX::Compatibility::Wica::FinalizeScan] Setting scan result of success.
2013-12-09 10:43:00, Info                  CONX   ConX::Compatibility::CCompatibilityHost::SetScanResult: Provider wsc:wica: reports NoIssue
2013-12-09 10:43:00, Info                  CONX   Compatibility scan finished. Scenario: 3, Categories: 0x00000021 
2013-12-09 10:43:00, Info                  CONX   Compatibility scan data is saved to C:\$WINDOWS.~BT\Sources\Panther\CompatData_2013_12_09_10_43_00_3_00000021.xml.
2013-12-09 10:43:00, Info                  CONX   ConX::Setup::Media::CWizardPagePresenterSystemRequirement::OnActivate: ID = 5
2013-12-09 10:43:00, Info                  CONX   --- WICA durations begin ---
2013-12-09 10:43:00, Info                  CONX   Overall:                    1.4 seconds
2013-12-09 10:43:00, Info                  CONX   ConX::Setup::Media::CWizardPagePresenterProductKeyBase::CWizardPagePresenterProductKeyBase: EICfgPath is []
2013-12-09 10:43:00, Info                  CONX   System inventory:           0.8 seconds
2013-12-09 10:43:00, Info                  CONX   ConX::Setup::Media::CWizardPagePresenterAutoProductKey::OnActivate: ID = 8
2013-12-09 10:43:00, Info                  CONX   Device inventory:           0.0 seconds
2013-12-09 10:43:00, Error                 CONX   ConX::Setup::Media::CWizardPagePresenterAutoProductKey::OnActivate: Starting Keyless Validation.
2013-12-09 10:43:00, Info                  CONX   Application inventory:      0.0 seconds
2013-12-09 10:43:00, Info                  CONX   File inventory:             0.0 seconds
2013-12-09 10:43:00, Info                  CONX   File inventory duplicates:  0.0 seconds
2013-12-09 10:43:00, Info                  CONX   Program shim blocks:        0.0 seconds
2013-12-09 10:43:00, Info                  CONX   Device shim blocks:         0.0 seconds
2013-12-09 10:43:00, Info                  CONX   Program online data:        0.0 seconds
2013-12-09 10:43:00, Info                  CONX   Device online data:         0.0 seconds
2013-12-09 10:43:00, Info                  CONX   --- WICA durations end ---
2013-12-09 10:43:00, Info                  CONX   [ConX::Compatibility::Wica::StartScan] [0x0] ConX::Compatibility::Wica::StartScan end.
2013-12-09 10:43:04, Info                  CONX   Caching image info for [M:\Downloads\en_windows_8_1_enterprise_x64_dvd_2971902\Sources\install.wim]
2013-12-09 10:43:04, Info                  CONX   Found cached image info for [M:\Downloads\en_windows_8_1_enterprise_x64_dvd_2971902\Sources\install.wim]
2013-12-09 10:43:04, Info                  CONX   Loading staged image SKU information. Image index = 1
2013-12-09 10:43:04, Info                  CONX   Target OS version: 6.3.9600.16384
2013-12-09 10:43:04, Info                  CONX    Target OS: Staged Image SKU Info: Image Index = 1, Edition = 'Enterprise', Product Name = 'Windows 8.1 Enterprise', Arch = amd64, Station Type = Client Workstation, Stage type = Staged Image
2013-12-09 10:43:04, Info                  CONX   CWizardPagePresenterProductKeyBase::MatchInstallWim: Successfully loaded the install.wim file.
2013-12-09 10:43:04, Info                  CONX   CWizardPagePresenterProductKeyBase::MatchInstallWim: Image found to match EditionID: Enterprise.
2013-12-09 10:43:04, Info                  CONX   CWizardPagePresenterProductKeyBase::MatchInstallWim: Image index = 1.
2013-12-09 10:43:04, Info                         CMediaSetupInstallMatrix::Initialize: Trying to retrieve Install Matrix file from Install.WIM
2013-12-09 10:43:04, Info                                                     Install.WIM = M:\Downloads\en_windows_8_1_enterprise_x64_dvd_2971902\Sources\install.wim
2013-12-09 10:43:04, Info                                                     Image Index = 1
2013-12-09 10:43:04, Info                                                     Working Dir = C:\$WINDOWS.~BT\Sources\Panther
2013-12-09 10:43:04, Info                                                     Edition Id  = Enterprise
2013-12-09 10:43:05, Info                         CMediaSetupInstallMatrix::Initialize: Successfully extracted Install Matrix file: [C:\$WINDOWS.~BT\Sources\Panther\_s_A404.tmp]
2013-12-09 10:43:05, Info                  CONX   LogNewSystemData: Logging New OS to BB
2013-12-09 10:43:05, Info                  CONX   LogNewSystemData: New System Branch Name is winblue_rtm 
2013-12-09 10:43:05, Info                  CONX   LogNewSystemData: New System Build Date is 130821 
2013-12-09 10:43:05, Info                  CONX   pGetHostCSDBuildNumber: 'HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\CSDBuildNumber' does not exist. Assume 0
2013-12-09 10:43:05, Info                  CONX   Host OS version: 6.2.9200.0  (0.0) Platform 0x2, SuiteMask 0x100, ProdType 0x1
2013-12-09 10:43:05, Info                  CONX   Source OS: Host SKU Info: Edition = 'Enterprise', Edition Type = 'Complete', Product Name = 'Windows 8 Enterprise', Arch = amd64, StationType = Client Workstation, Stage type = Staged Image
2013-12-09 10:43:05, Info                  CONX   LogOldSystemData: Logging OldOS data to BB
2013-12-09 10:43:05, Info                  DIAG   Module path is [C:\$WINDOWS.~BT\Sources\install.exe]
2013-12-09 10:43:05, Info                  CONX   LogOldSystemData: Old System Branch Name is win8_rtm 
2013-12-09 10:43:05, Info                  CONX   LogOldSystemData: Failed Install Count is 1 
2013-12-09 10:43:05, Info                  CONX   ConX::Setup::Media::CWizardPagePresenterProductKeyBase::ExtractEula: Calling Extract Eula
2013-12-09 10:43:05, Info                  CONX   Trying to retrieve EULA
2013-12-09 10:43:05, Info                  CONX       Install Package = M:\Downloads\en_windows_8_1_enterprise_x64_dvd_2971902\Sources\install.wim
2013-12-09 10:43:05, Info                  CONX       Language        = en-US
2013-12-09 10:43:05, Info                  CONX       Eula Type       = Volume
2013-12-09 10:43:05, Info                  CONX       Image Index     = 1
2013-12-09 10:43:05, Info                  CONX       Edition         = Enterprise
2013-12-09 10:43:05, Info                  CONX   ConX::Setup::Media::CWizardPagePresenterProductKeyBase::DoValidateKeyless: In KeylessUpgrade mode. Validation Succeeded.
2013-12-09 10:43:05, Info                  CONX   ConX::Setup::Media::CWizardPagePresenterEula::OnActivate: ID = 10
2013-12-09 10:43:07, Info                  CONX   ConX::Setup::Media::CWizardPagePresenterInstallChoice::OnActivate: ID = 11
2013-12-09 10:43:07, Info                         CImageInstallMatrix::GetSupportedInstallChoicesInternal: Trying to read install choices from install matrix xml
2013-12-09 10:43:07, Info                                                 Target Arch         = 2
2013-12-09 10:43:07, Info                                                 Target Edition      = Enterprise
2013-12-09 10:43:07, Info                         CImageInstallMatrix::GetSupportedInstallChoicesInternal: Successfully retrieved upgrade flags:
2013-12-09 10:43:07, Info                                                 DetectedEdition   = Enterprise
2013-12-09 10:43:07, Info                                                 DetectedArch      = amd64
2013-12-09 10:43:07, Info                                                 DetectedVersion   = 6.2.9200.0
2013-12-09 10:43:07, Info                                                 DetectedSPVersion = 0.0
2013-12-09 10:43:07, Info                                                 UpgradeFlags      = 0xb
2013-12-09 10:43:07, Info                                                 WildCardTargetEdition = No
2013-12-09 10:43:07, Info                         ConX::Setup::Common::CImageInstallMatrix::ValidateSkuFeatures: Install Choices after varification = 0xb
2013-12-09 10:43:07, Info                         CImageInstallMatrix::GetSupportedInstallChoicesInternal: Install Choices   = 0xb
2013-12-09 10:43:07, Info                  CONX   Target language is en-US: Host Language is  en-US
2013-12-09 10:43:07, Info                  CONX   Install choices defined by Install Matrix are: CleanInstall | DataOnly | FullUpgrade
2013-12-09 10:43:07, Info                  CONX   Compatibility scan started. Scenario: 3, Categories: 0x000001c0 
2013-12-09 10:43:07, Info                  CONX   ScanThread: Start scan from provider wsc:setup:
2013-12-09 10:43:07, Info                  CONX   ScanThread: Start scan from provider wsc:wica:
2013-12-09 10:43:07, Info                  CONX   [ConX::Compatibility::Wica::StartScan] ConX::Compatibility::Wica::StartScan called.
2013-12-09 10:43:07, Info       [0x090008] PANTHR CBlackboard::Open: C:\$WINDOWS.~BT\Sources\Panther\CompatScanCache.dat succeeded.
2013-12-09 10:43:07, Info       [0x090009] PANTHR CBlackboard::Close: c:\$windows.~bt\sources\panther\compatscancache.dat.
2013-12-09 10:43:08, Info                  CONX   ConX::Compatibility::CCompatibilityHost::DeserializeData: Successfully deserialized 8 bytes of persisted data for provider wsc:setup:.
2013-12-09 10:43:08, Info                  CONX   ConX::Compatibility::CCompatibilityHost::SetScanResult: Provider wsc:wica: reports NoIssue
2013-12-09 10:43:08, Info                  CONX   CHostIsNewerChecker invoked. 
2013-12-09 10:43:08, Info                  CONX   [ConX::Compatibility::Wica::StartScan] No WICA category or scenario of interest, set empty scan result and exiting.
2013-12-09 10:43:08, Info                  CONX   pGetHostCSDBuildNumber: 'HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\CSDBuildNumber' does not exist. Assume 0
2013-12-09 10:43:08, Info                  CONX   Host OS version: 6.2.9200.0  (0.0) Platform 0x2, SuiteMask 0x100, ProdType 0x1
2013-12-09 10:43:08, Info                  CONX   Target OS version: 6.3.9600.16384
2013-12-09 10:43:08, Info                  CONX   ConX::Compatibility::CSystemAbstraction::HostIsNewer: Host is not newer than target.
2013-12-09 10:43:08, Info                  CONX   CHostIsNewerChecker: checked HostIsNewer, found NoIssue. 
2013-12-09 10:43:08, Info                  CONX   CNonStandardDirectoryChecker invoked. 
2013-12-09 10:43:08, Info                  CONX   ConX::Compatibility::CSystemAbstraction::GetHostSystemDrive: Host system drive: C:. 
2013-12-09 10:43:08, Info                  CONX   ConX::Compatibility::CSystemAbstraction::GetHostProcessorArchitecture: Host processor architecture: amd64.
2013-12-09 10:43:08, Info                  CONX   ConX::Compatibility::CSystemAbstraction::GetHostProfileRoot: Host profile root directory: C:\Users. 
2013-12-09 10:43:08, Info                  CONX   ConX::Compatibility::CSystemAbstraction::GetMigratableUserProfileRoots: Found migratable user profile directory for S-1-5-21-1900778283-3790401672-3473663511-1001: C:\Users\Kyle
2013-12-09 10:43:08, Info                  CONX   ConX::Compatibility::CSystemAbstraction::GetMigratableUserProfileRoots: Found migratable user profile directory for S-1-5-21-1925246582-1658350968-494735701-40377: C:\Users\lernerk
2013-12-09 10:43:08, Info                  CONX   ConX::Compatibility::CSystemAbstraction::GetMigratableUserProfileRoots: Found migratable user profile directory for S-1-5-21-1925246582-1658350968-494735701-64375: C:\Users\adm-lernerk
2013-12-09 10:43:08, Info                  CONX   ConX::Compatibility::CSystemAbstraction::GetHostProgramFilesDirectory: Host program files directory: D:\Program Files. 
2013-12-09 10:43:08, Info                  CONX   CNonStandardDirectoryChecker: checked NonStandardDirectory, found HardBlock. Program files directory D:\Program Files is not on system drive C:
2013-12-09 10:43:08, Info                  CONX   CMinimumPrereleaseBuildChecker invoked. 
2013-12-09 10:43:08, Info                  CONX   pGetHostCSDBuildNumber: 'HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\CSDBuildNumber' does not exist. Assume 0
2013-12-09 10:43:08, Info                  CONX   Host OS version: 6.2.9200.0  (0.0) Platform 0x2, SuiteMask 0x100, ProdType 0x1
2013-12-09 10:43:08, Info                  CONX   ConX::Compatibility::CSystemAbstraction::HostIsCurrentWindows: Host is not running the current Windows (host build number: 9200).
2013-12-09 10:43:08, Info                  CONX   CMinimumPrereleaseBuildChecker: checked HostIsOldPrerelease, found NoIssue. 
2013-12-09 10:43:08, Info                  CONX   CMismatchedLanguageChecker invoked. 
2013-12-09 10:43:08, Info                  CONX   ConX::Compatibility::CSystemAbstraction::TargetLanguageIsCompatibleForUpgrade: Target language en-US is compatible with the host language (lang.ini path: C:\$WINDOWS.~BT\Sources\lang.ini). 
2013-12-09 10:43:08, Info                  CONX   CMismatchedLanguageChecker: checked MismatchedLanguage, found NoIssue. 
2013-12-09 10:43:08, Info                  CONX   CUpgcompatChecker invoked. 
2013-12-09 10:43:08, Info                  CONX   CUpgcompatChecker: Set environment variable: MIG_UPGRADE_APPLY_STOP_SERVICES_LIST = WinDefend;WdNisSvc;WdFilter;WSearch;VSS;Schedule;WUAUServ;LanmanWorkstation;Netlogon;WHSConnector;vmms;PeerDistSvc;UALSVC;wscsvc;DHCPServer
2013-12-09 10:43:08, Info                  CONX   CUpgcompatChecker: Set environment variable: MIG_UPGRADE_APPLY_START_SERVICES_LIST = WinDefend;WdNisSvc;WdFilter;WSearch;VSS;Schedule;WUAUServ;LanmanWorkstation;Netlogon;WHSConnector;vmms;PeerDistSvc;UALSVC;wscsvc;DHCPServer
2013-12-09 10:43:08, Info                  CONX   CUpgcompatChecker: checked UpgCompat, found NoIssue. 
2013-12-09 10:43:08, Info                  CONX   CMismatchedBuildTypeChecker invoked. 
2013-12-09 10:43:08, Info                  CONX   ConX::Compatibility::CSystemAbstraction::HostIsCheckedBuild: Host OS is free build
2013-12-09 10:43:08, Info                  CONX   ConX::Compatibility::CSystemAbstraction::TargetIsCheckedBuild: Target OS is free build
2013-12-09 10:43:08, Info                  CONX   CMismatchedBuildTypeChecker: checked MismatchedBuildType, found NoIssue. 
2013-12-09 10:43:08, Info                  CONX   CNoUpgradeChecker invoked. 
2013-12-09 10:43:08, Info                  CONX   CNoUpgradeChecker: checked UpgradeDisabled, found NoIssue. 
2013-12-09 10:43:08, Info                  CONX   ConX::Compatibility::CCompatibilityHost::SerializeData: Provider wsc:setup: is serializing 8 bytes of data.
2013-12-09 10:43:08, Info       [0x090008] PANTHR CBlackboard::Open: C:\$WINDOWS.~BT\Sources\Panther\CompatScanCache.dat succeeded.
2013-12-09 10:43:08, Info       [0x090009] PANTHR CBlackboard::Close: c:\$windows.~bt\sources\panther\compatscancache.dat.
2013-12-09 10:43:08, Info                  CONX   ConX::Compatibility::CCompatibilityController::ReportData: Type: [0], ID: [2], ReportOption: [2]
2013-12-09 10:43:08, Info                  CONX   ConX::Compatibility::CCompatibilityHost::SetScanResult: Provider wsc:setup: reports HardBlock
2013-12-09 10:43:08, Info                  CONX   Compatibility scan finished. Scenario: 3, Categories: 0x000001c0 
2013-12-09 10:43:08, Info                  CONX   Stopping compatibility scan...
2013-12-09 10:43:09, Info                  CONX   Compatibility scan data is saved to C:\$WINDOWS.~BT\Sources\Panther\CompatData_2013_12_09_10_43_08_3_000001c0.xml.
2013-12-09 10:43:09, Info                  CONX   Compatibility scan is not running. 
2013-12-09 10:43:09, Info                  CONX   Install choices after being filtered by compatibility scan are: CleanInstall
2013-12-09 10:43:09, Info                  CONX   Final available install choices to display: CleanInstall
2013-12-09 10:43:09, Info                  CONX   Recommended install choice is: CleanInstall


Trying to enable ListView group collapse and sendmessage fails

$
0
0

Thanks for any help or ideas on this.  I'm trying to get the group collapse enabled on a ListView control for the Win Forms app.  It works if a ListView control is placed on the form but if I derive a class from ListView or use a custom control then SendMessage fails with -1 result code.

Also note that the size (Marshal.Sizeof) of the LVGROUP is different when in the derived class. (40 vs 56).  This is due to the LPTSTR or string members.  Not sure if this is an issue, if I modify the form's struct to match the size it still works.

Thanks in advance,
Al

Here's some basic code:

                int nRet;
                LVGROUP group = new LVGROUP();
                group.cbSize = Marshal.SizeOf(group);
                group.state = (int)state; // LVGS_COLLAPSIBLE
                group.mask = 4; // LVGF_STATE
                group.iGroupId = (int)i;

                nRet = SendMessage(aoc.Handle, 0x1000 + 147, i, ref group);   // returns -1 if a derived class

    [StructLayout(LayoutKind.Sequential)]
    public struct LVGROUP
    {
        public int cbSize;
        public int mask;
        [MarshalAs(UnmanagedType.LPTStr)]
        public string pszHeader;
        public int cchHeader;
        [MarshalAs(UnmanagedType.LPTStr)]
        public string pszFooter;
        public int cchFooter;
        public int iGroupId;
        public int stateMask;
        public int state;
        public int uAlign;
    }

Continuous stream of WM_PAINT messages to main Form in Windows 7

$
0
0

Hi,

I'm facing a very strange issue in Windows 7 64 bit machine. I have an application(Win Forms) which runs perfectly fine on Windows XP. Recently, I had to port this application to Windows 7 which we did successfully. Everything works as expected, but my main UI (form) get  continuous stream of WM_PAINT message. After very long analysis identified the root cause. In my application, I have overridden CreateParams property of main form to avoid the flickering issue (code is given below). Somehow, this causes the continuous stream of WM_PAINT messages to main form. Application works fine(with flickering, but continuous WM_PAINT stopped) after commenting our this code part.

protected override CreateParams CreateParams

{

   get

   {

      CreateParams cp = base.CreateParams;

      cp.ExStyle |= 0x02000000; //WS_EX_COMPOSITED

      return cp;

   }

}

I managed to create a test application which reproduces the problem quite easily. The test application is simple Windows form application. In the main Form, I placed a property grid control and bound to Form object itself.  I also overrode the CreateParams property of the form as mentioned above. That's it.

While running the test application, select one of the item in property grid control. This will cause infinite WM_PAINT messages to the main Form. As soon as the selection moved to any other control in the form, this WM_PAINT stream stops.

I would like to know couple of things:

  1. What is the real root cause of this problem ? (I have fair understanding on the difference in UI rendering in both XP & Win7. I would like to know the reasons beyond that.)
  2. How can I solve this issue ? (Any solution which won’t cause UI flickering and continuous WM_PAINT messages will help.)

Any help in this regard will be much appreciated.

Thanks


parent form should not come to front

$
0
0

Hi,

I am opening a child window.but while some other task in going on focus is coming back to main window.

i want to retain the focus on child window the main window should updated as normal

Chat Server GUI hangs after execution, c#. Why?

$
0
0

 public static Hashtable clientsList = new Hashtable();

        private void Form1_Load(object sender, EventArgs e)
        {

        }

            public IPAddress ip;

            public string GetIp()
            {
                string hostname = Dns.GetHostName();
                IPHostEntry ipentry = Dns.GetHostEntry(hostname);
                IPAddress[] addr = ipentry.AddressList;
                return addr[addr.Length - 1].ToString();
            }


            public void func()
            {

              
              //  richTextBox3.Text = richTextBox3.Text + "\nServer is online now!";
                richTextBox3.Invoke(new Action(() => richTextBox3.Text = richTextBox3.Text + "\nServer is online now!"));
            
                TcpListener serverSocket = new TcpListener(8888);
                TcpClient clientSocket = default(TcpClient);
                int counter = 0;

                serverSocket.Start();
               // richTextBox1.Text = richTextBox1.Text + "\n" + ("Chat Server Started ....");
                richTextBox1.Invoke(new Action(() => richTextBox1.Text = richTextBox1.Text + "\n" + ("Chat Server Started ....")));
                counter = 0;
                while ((true))
                {
                    counter += 1;
                    clientSocket = serverSocket.AcceptTcpClient();

                    byte[] bytesFrom = new byte[10025];
                    string dataFromClient = null;

                    NetworkStream networkStream = clientSocket.GetStream();
                    networkStream.Read(bytesFrom, 0, (int)clientSocket.ReceiveBufferSize);
                    dataFromClient = System.Text.Encoding.ASCII.GetString(bytesFrom);
                    dataFromClient = dataFromClient.Substring(0, dataFromClient.IndexOf("$"));

                    clientsList.Add(dataFromClient, clientSocket);

                    broadcast(dataFromClient + " Joined ", dataFromClient, false);

                    //richTextBox1.Text = richTextBox1.Text +"\n"+ (dataFromClient + " Joined chat room ");
                    richTextBox1.Invoke(new Action(() => richTextBox1.Text = richTextBox1.Text + "\n" + (dataFromClient + " Joined chat room ")));

                    startClient(clientSocket, dataFromClient, clientsList);
                }

                clientSocket.Close();
                serverSocket.Stop();
                //richTextBox1.Text = richTextBox1.Text + "\n" + "exit";
                richTextBox1.Invoke(new Action(() => richTextBox1.Text = richTextBox1.Text + "\n" + "exit"));

                Console.ReadLine();
            }

            public void broadcast(string msg, string uName, bool flag)
            {
                foreach (DictionaryEntry Item in clientsList)
                {
                    TcpClient broadcastSocket;
                    broadcastSocket = (TcpClient)Item.Value;
                    NetworkStream broadcastStream = broadcastSocket.GetStream();
                    Byte[] broadcastBytes = null;

                    if (flag == true)
                    {
                        broadcastBytes = Encoding.ASCII.GetBytes(uName + " says : " + msg);
                    }
                    else
                    {
                        broadcastBytes = Encoding.ASCII.GetBytes(msg);
                    }

                    broadcastStream.Write(broadcastBytes, 0, broadcastBytes.Length);
                    broadcastStream.Flush();
                }
            }  //end broadcast function



            public TcpClient clientSocket;
            public string clNo;


            public void startClient(TcpClient inClientSocket, string clineNo, Hashtable cList)
            {
                Hashtable clientsList;
                this.clientSocket = inClientSocket;
                this.clNo = clineNo;
                clientsList = cList;
                Thread ctThread = new Thread(doChat);
                ctThread.Start();
            }

            private void doChat()
            {
                int requestCount = 0;
                byte[] bytesFrom = new byte[10025];
                string dataFromClient = null;
                Byte[] sendBytes = null;
                string serverResponse = null;
                string rCount = null;
                requestCount = 0;

                while ((true))
                {
                    try
                    {
                        requestCount = requestCount + 1;
                        NetworkStream networkStream = clientSocket.GetStream();
                        networkStream.Read(bytesFrom, 0, (int)clientSocket.ReceiveBufferSize);
                        dataFromClient = System.Text.Encoding.ASCII.GetString(bytesFrom);
                        dataFromClient = dataFromClient.Substring(0, dataFromClient.IndexOf("$"));
                      //  richTextBox1.Text = richTextBox1.Text + "\n" + ("From client - " + clNo + " : " + dataFromClient);
                        richTextBox1.Invoke(new Action(() => richTextBox1.Text = richTextBox1.Text + "\n" + ("From client - " + clNo + " : " + dataFromClient)));
                        rCount = Convert.ToString(requestCount);

                        broadcast(dataFromClient, clNo, true);
                    }
                    catch (Exception ex)
                    {

                        MessageBox.Show("Test");
                        //richTextBox1.Text = richTextBox1.Text + "\n" + (ex.ToString());

richTextBox1.Invoke(new Action(() => richTextBox1.Text = richTextBox1.Text + "\n" + (ex.ToString())));
                    }
                }//end while
            }//end doChat

            private void button1_Click(object sender, EventArgs e)
            {
                func();
            }

According to me error is occuring in bold  marked line! What to do to resolve this problem?? Thanks in advance...

                                                                          

Display Unicode characters(i.e chinese characters) in Richtextbox control

$
0
0

Hi,

I have a Richtextbox control & want to display chinese characters present in a label upon a button click, which displays "?" question marks instead within that richtextbox control.

i am using the below code on button click event:

privatevoid btnEncode_Click(object sender, EventArgs e)


{

string

m_rtfBase = "{\\rtf1\\ansi\\deff0{\\fonttbl{\\f0\\fnil\\fcharset0 Microsoft Sans Serif;}}{\\colortbl \\red0\\green0\\blue0;\\red255\\green0\\blue255;\\red0\\green0\\blue255;\\red255\\green0\\blue0;\\red255\\green165\\blue0;\\red0\\green198\\blue255;\\red0\\green192\\blue0;\\red116\\green116\\blue116;}\\cf0\\ulnone";

rtb.SelectedRtf = m_rtfBase + lbl.Text +

@"\par}";

}






How to make an outlook style application

$
0
0

Hello, I want to make a simple thing. Create one bar of menus in the left like Outlook and when I click in something then open that option in the right, I guess I have to use the splitcontainer control and make independent forms for each option?

Please guide me as a newbie.

System.Windows.Forms.ToolStripMenuItem strange behaviour ?

$
0
0

Hi , I have 2 methods that one will invoke other. The one load data and created ToolStripMenuItem, then pass to second method. Inside 2nd method the menu will bind into treenode. The strange is all menus from outside context of 2nd method block will not displayed ?

void LoadData()
{
    // .....
    ToolStripMenuItem item = new ToolStripMenuItem("Menu 1");
    item.Click += .....;
    BindData(...., new ToolStripMenuItem[] { item }, .... ); 
}

void BindData(....., ToolStripMenuItem[] mis, .... )
{
    // ....
    TreeNode n = .....;
    ContextMenuStrip cms = new ContextMenuStrip();
    cms.Items.AddRange(mis); // menu item from parameter won't show up
    
    // but menu item created inside block show up
    ToolStripMenuItem mi = new ToolStripMenuItem("Inside");
    cms.Items.Add(mi);    // show up

    n.ContextMenuStrip = cms; // bind menu-strip
}


It's hard to be advanced programmer

C# File Previewer needed asap.

$
0
0

Hello fellow posters and readers,

I've been searching for a good File Preview Control, but so far no goods for me :(

I've been searching for ages.. Google is my best friend but not when it comes to Document Preview Controls.

I'll describe what I need below, if someone could help me out with this that would be awesome!

What I need:

  • Most important feature would be that Outlook MSG files can be previewed properly!
  • an ActiveX Control that can Preview Documents
  • Support document types from Office 2007 - 2013
  • Support document type PDF
  • that control needs to be accessed with a simple command like: 
    Previewer.Open(string pathToFile)
  • Fast & Easy to use.
  • Redistributable

Does anyone here know where to buy that control? I don't mind buying such control. I've been using the PreviewHandler control written by Brad Smith (http://www.brad-smith.info/blog/archives/183), but this control gives me some errors or previews without markup.

If someone could help me with that, that would be awesome aswell :-)

Dynamic checkboxlist generation, checking it and retrieve it-- windows forms

$
0
0

Hi,

This is windows forms application.

     I have a Dictionary<int, string> , from that I need to generate the checkbox list. So i did the following code

BindingSource bindingSource =newBindingSource();
            bindingSource.DataSource= configuredResourceGroups;
            _chkResourceGroupList.DataSource= bindingSource;
            _chkResourceGroupList.DisplayMember="Value";
            _chkResourceGroupList.ValueMember="Key";

It works correctly. Then now I have a list<int> which have some values that match with the int in dictionary, so I need to check those checkboxes.

Ex: if checkbox list has

1  -a

3  -b

56 -c

2  -d

and i have the list<int> with 1 and 2. I need to check the first and last checkbox in list. Also I need to loop through the checkboxlist and get the checked box keys.

Viewing all 12583 articles
Browse latest View live




Latest Images