|
Thanks for the reply.
What baffles me is that I have not made any changes. I have not added new records, or modified records. or deleted any rows.
I run the app and immediately closes it and the error comes up.
Kobus
|
|
|
|
|
Hi,
How can I save web page in IE by c# such that it just like one clicking the "Save" button in IE and the web pages will be save in one html plus a folder of its associated images ?
Thanks
|
|
|
|
|
Kim0618 wrote: How can I save web page in IE by c#
AFAIK, you can't do that. For saving web pages, work with "WebClient" class. It has got methods to download a file or data from a webpage. Then use regular expressions to see what are the other resources (images,styles etc) used and send separate request for these to download.
There should be an article on this here in CP. Try searching.
|
|
|
|
|
Will this[^] article help?
/ravi
|
|
|
|
|
Hello!
My application has a DataGridView , which contains a DataGridViewComboBoxCell . Is there any way to make the combo box drop down its list on the first mouse click?
Currently, the first mouse click activates the cell, the second one creates the hosted combo box, and the third click finally drops down the combo box list. I'd like the combo box drop down immediately on one click instead of 3.
Thanks and best regards
Dominik
|
|
|
|
|
Hi
I am not sure if you can set it for individual cells. If you set the EditMode of the DataGridView itself to EditOnEnter then the comboboxes drop down at the first click. Unless another DataGridViewComboBoxCell was in open position. Then the first click will first close the open one and the second click will open the selected DataGridViewComboBoxCell.
All the other cells in the DataGridViewRow will also now be editable as soon as they get focus.
Regards.
Kobus
|
|
|
|
|
That's exactly what I was looking for. Works perfectly, thank you very much!!
Best regards
Dominik
|
|
|
|
|
My pleasure. I am glad I could help. There are so many things that I am still struggling with in DataGridViews. So I gladly help where I can.
Best regards.
Kobus
|
|
|
|
|
hi
i'm having troubles debugging an BHO with IE7 and VS 2008
i'm using the BHO from http://www.codeproject.com/KB/cs/Attach_BHO_with_C_.aspx[^]
the application is working fine for me
I searched to how to debug BHO. this is what I found:
"Set your IE home page set to about:blank . That way you can start up the browser as fast as possible and go where you need to. So, start up the first IE window. Then, from VS.NET use the Attach to Process item in the Debug menu to attach to iexplore.exe. Set breakpoints in your BHO. To break within the constructor, just open a second IE window."
I did that but it didnt work for me
it's just ignoring my breakpoints
do you know otherway to debug?
or maybe I'm missing something?
thanks
|
|
|
|
|
Hi,
i wanna do a macro program for a game.But there is a problem with sending keys to only game application (game window).I am using keybd_event API for sending keys to game window.But i only want to send keys to game window not to explorer or any opened window while my macro program running.When i changed window its still sending keys.I tried to use Interaction.App with giving Visual Basic.dll referance.But Interaction.App is only Focus the game window.I couldnt find anything about my problem.Can anyone help me ?
Thanx
modified on Friday, January 2, 2009 8:18 AM
|
|
|
|
|
|
If there's an article on CP, you should ask the author your questions. And if you use a free library, don't expect it to work as completely as a commercial one.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Thanks for your suggestion,
If u have any sol'n, pls... Let me know
Thanks
|
|
|
|
|
when we say the size os type 'bool' is 1 byte?
what does it mean?thanks
|
|
|
|
|
It means the bool variable takes memory of 1 byte.You should take some basic book of fundamentals and c#.
Cheers!!
Brij
|
|
|
|
|
How many nibbles is that, nowadays?
I are troll
|
|
|
|
|
A 1 (lick), a 2 (lick), a 3 (lick) >CRUNCH<, 3.
|
|
|
|
|
i guess that u mean 1 bit not 1 byte
that mean the boll tybe can contain two values 2 ^ 1
true or false
|
|
|
|
|
Hi,
I have a application which i want to run and operated programmatically using C#. Using the System.Diagnostics.Process.Start() i can run the .exe. But i wish to operate or click on the various buttons on the UI of the program.
For instance i can run Calculator using System.Diagnostics.Process.Start(C:\Documents and Settings\All Users\Start Menu\Programs\Accessories\Calculator). Now the Calculator application is up and running how can i operate on it programmatically. Is it possible to press the various buttons of the Calculator like "+", "-", "1" , "2" etc, programmatically ??
Thanks in advance
|
|
|
|
|
You can send the appropriate messages to the Calculator application.
« Superman »
|
|
|
|
|
And how can i do that ??
Can i have a code snnipet or link to such code depicting the same....
|
|
|
|
|
|
How to create many datatable dyanamically in c#.net. Thanks in Advance.
|
|
|
|
|
Can you be more specific to your Qs/requirement?
although at runtime time you can create datatable using DataTable class.Use google/msdn
Cheers!!
Brij
|
|
|
|
|
Brij wrote:
Brij wrote: I want to create datatabke array, where the array count will be statis and be declared in configuration. like .
int iCount=4;
for(x=1;x<=icount;x++)
{
// Here datatable object will be created dynamicall. like dt1,dt2.dt3....
DataTable dt+x =new DataTable();
// I want to add columns to the particular datatable.
dt+x.columns.add("NO");
dt+x.columns.add("NAME
..
}
Thanks.
|
|
|
|