mfc >> Anyone interested in a temp solutions to that ICDBurn problem I reported:

by Trevor » Tue, 25 Nov 2003 00:17:32 GMT

"WTH" < XXXX@XXXXX.COM > wrote in message
news:%23% XXXX@XXXXX.COM ...
> You can bring up the taskbar's properties, enable 'hide inactive icons',
> select 'customize' on that option, then find the irritating "there are
files
> waiting to be written to the CD" message and set its properties to 'always
> hide.'
>
> Still would prefer a programmatic solution, still looking :).
>
> WTH
>
>
WTH,

I was the one who pointed you in the ICDBurn direction. You can try
this: go to Sys Internals (http://www.sysinternals.com/) and then click on
"Utilities" under the "Windows NT/2K/XP" area on the left of the page.
Download Regmon (Registry Monitor). This program will monitor and report
all changes to the registry while it is running and enabled. Turn this
sucker on and then go through your process and see what keys were
created/modified.




mfc >> Anyone interested in a temp solutions to that ICDBurn problem I reported:

by WTH » Tue, 25 Nov 2003 00:23:13 GMT


Thanks for the advice, and thanks for pointing me to ICDBurn.

WTH





'always





mfc >> Anyone interested in a temp solutions to that ICDBurn problem I reported:

by WTH » Tue, 25 Nov 2003 01:08:59 GMT

Trevor,

Is there a simple way to use ICDBurn, or should I just use the old
'instantiate via CLSID' COM method...? I ask because the IShellFolder (and
many shell controls and interfaces) can be grabbed off of another existing
object (like the desktop.)

WTH:)






'always




Anyone interested in a temp solutions to that ICDBurn problem I reported:

by Trevor » Tue, 25 Nov 2003 02:23:32 GMT

WTH,

I would think that you need to use the CoCreateInstance (or something
similar) to create it.



(and




icons',
on
report




Anyone interested in a temp solutions to that ICDBurn problem I reported:

by WTH » Tue, 25 Nov 2003 02:35:33 GMT

Yeah, I did, and that worked, but the stupid "Disc Creation Wizard" popped
up. I am trying to enable UI free programmatic CD creation.

I've moved on to the IDiscMaster interface now, but the CLSID appears to be
unregistered and there's just about ZERO information on that interface.

I think the Imapi.h file has a bad CLSID definition in it because AFAIK,
ICDBurn:: uses IDiscMaster itself.

WTH





existing




are
try
click
this




Similar Threads

1. OT: Anyone interested in a temp solutions to that ICDBurn problem I reported:

2. Anyone have a good solution to the following problem

Hello!

I don't quite understand what you mean.
Can you give a simple example.

//Tony



"Cor Ligthert[MVP]" < XXXX@XXXXX.COM > skrev i meddelandet 
news:O%2364QJ% XXXX@XXXXX.COM ...
> Tony,
>
> Use the defaultview instead of direct the table.
>
> The defaultview is a property of the datatable from the Type Dataview.
>
> Use that defaultview as well for everything (by instance the binding).
>
> It is simple dt.Defaultview (a row of the defaultview (dataview) is the 
> DataRowView)
>
> Cor
>
> "Tony Johansson" < XXXX@XXXXX.COM > wrote in message 
> news:WaWMl.8586$ XXXX@XXXXX.COM ...
>> Hello!
>>
>> Here is the code which is located in the event method  BtnDelete_Click 
>> listed below.
>> I have a DataGridView which is bound to a DataTable in the following way
>> _bindingSource.DataSource = _dataTable;
>> dgStock.DataSource = _bindingSource;
>>
>> The DataGridView is called dgStock and the DataTable is called _dataTable 
>> and the
>> BindingSource is called _bindingSource.
>> Now to the real problem
>> Assume that you have three rows in the DataGridView and you select the 
>> first row and then
>> press the delete button so the event handler BtnDelete_Click is called. 
>> This event handler
>> will delete the selected row so the row in the DataGridView will be 
>> removed which is correct.
>>
>> Now you have two rows left in the DataGridView. You select the first row 
>> again and press the delete
>> button. But now the first row will not be removed because row[0] has 
>> already been deleted.
>> The variable_currentRow is a DataTable object located as a class instance
>> This variable currentRow is set in the event method 
>> dgStock_SelectionChanged.
>>
>> So does anyone have a good solution how I would solve my problem.
>>
>>     private void dgStock_SelectionChanged(object sender, EventArgs e)
>>      {
>>         _currentRow = dgStock.CurrentRow;
>>      }
>>
>>      private void BtnDelete_Click(object sender, EventArgs e)
>>      {
>>         int quantityInStock;
>>         DataRow row;
>>
>>         if (_currentRow.Index < _dataTable.Rows.Count)
>>         {
>>            row = _dataTable.Rows[_currentRow.Index];
>>
>>            if (row.RowState != DataRowState.Deleted &&
>>               int.TryParse(row[ColumnName.Count.ToString()].ToString(), 
>> out quantityInStock) && quantityInStock > 0)
>>            {
>>               DialogResult dr = MessageBox.Show(this, "Do you really want 
>> to remove the product when we have " + quantityInStock.ToString() + " in 
>> stock", "Quantity in Stock check", MessageBoxButtons.YesNo, 
>> MessageBoxIcon.Warning);
>>               if (dr == DialogResult.Yes)
>>                  row.Delete();
>>            }
>>            else
>>               row.Delete();
>>         }
>>      }
>>
>> //Tony
>>
> 


3. solution to Report.Render problem - changed rdlc path reference - CSharp/C#

4. For anyone who interested in WPF :)

5. Anyone interested in Sockets? - CSharp/C#

6. ANYONE INTERESTED IN FREE BACKUP SOFTWARE IN C#

7. Anyone interested in a microbenchmark framework? - CSharp/C#

8. If anyone is interested