|
|
i want to use modem to send and receive files and not from internet!!
|
|
|
|
|
Hello *,
I would like to ask you how I can add system time from Windows to my application.
I would like to show to user actual time of Windows to the application bar
as it's shown in standart taskbar.
regards
Petr
|
|
|
|
|
Set a timer to fire twice a second and set the text to be DateTime.Now
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Where can I get sample code that will explain how a simple web service works?
|
|
|
|
|
msdn.microsoft.com, or even the articles on this site.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
|
Garth Styer wrote: Where can I get sample code that will explain how a simple web service works?
GOOGLE
W3Schools.com
I will use Google before asking dumb questions
|
|
|
|
|
|
Hi friends,
Briefly, I am working on runtime application. I have 10 buttons with their bacground images.
On first click,I want to see any button's backgrounimages. On second click, I want to
close this background image.
I constucted 10 buttons and gave their bacgound images. Now, When I make first click to the
button, I want to see button's background images. On second click, I want to close this
backgoundimage. I am using one image variable to keep first backgroundimage. The problem is
that, by using one image variable, I can keep only one button's backgrounimage but I have 10
buttons. What can I do to keep all buttons's backgrounimages. I think, using 10 image variables
for 10 buttons isn't right way. Is there any simple and logical way to make this.
-- modified at 5:47 Thursday 15th November, 2007
|
|
|
|
|
Respected Christian Graus,
Can you show me any way to solve this problem?
|
|
|
|
|
hi,
i'm now working on this section of project using c# on visual studio .net
this program is suppose to run the automation process in just one/a few clicks.
It's supposed to extract only 1 column, for example, 'Code' from the ms excel file,
In ms excel...
Name | Number | School
---------------------------------------------
Terry | 1234J | ASchool
Tom | 7654P | CSchool
then insert the column of data into the existing ms access file below.
In ms access...
Code | num | Role
----------------------------------------------
10A | 5678Y | Player
10B | 8765R | Player
10C | 1234J | Player //number inserted into column
10D | 7654P | Player //number inserted into column
i would kindly appreciate if anyone would guide me through this, or point to me any existing solutions.
thanks!
;D newbie here~
|
|
|
|
|
Well, at www.connectionstrings.com you'll find the connection strings needed to connect to both Excel and MS Access. I recommend using OleDB. To extract data from one column from excel just create a query like
SELECT * FROM [Sheet1$A1:A100]
Hope this is a good start for you.
I will use Google before asking dumb questions
|
|
|
|
|
thanks for the fast reply
regarding this
SELECT * FROM [Sheet1$A1:A100]
may i know what it means within the [] brackets? is it the worksheet name? if that's the change, the name is prone to frequent changes. are there any ways i can still extract the data regardless name?
|
|
|
|
|
You can get the sheet name using this:
OleDbConnection connection = new OldeDbConnection("...");
DataTable dt = connection.GetOleDbSchemaTable(OleDbSchemaGuid.Tables, null);
You might want to check [this ^] out.
Hope it helps.
I will use Google before asking dumb questions
|
|
|
|
|
! i'll try and work on it now.
Thanks!
|
|
|
|
|
U can found from following links - study below links
http://www.codeproject.com/office/microsoftexcelclient.asp
http://www.codeproject.com/useritems/Excel_Application_in_C_.asp
u can search from dotnetspider.com also
G. Satish
|
|
|
|
|
^^.the links are really useful, helped me a lot.
~will try and work on it now.
Thanks!
|
|
|
|
|
Can anyone tell me how to read the subcode channels in a CD using C#
|
|
|
|
|
Hello...
I habe 2 TreeView. I want to synchronize the scrollbars between that 2 treeView.
So, if I scrolldown the 1 treeView, the 2 treeView will be also scrolldown.
How to do that ?
Thanks...
|
|
|
|
|
Handle the scroll event of control 1, and in it, set the scroll pos of control 2.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hello,
As the TreeView has no "Scroll" event you would have to inherit your own TreeView.
There you have to set up your own Scroll event with the use of the overriden "WndProc" method.
This [^] nice article shows how to do it!
All the best,
Martin
|
|
|
|
|
how can i change cultur between control?
i have two textbox on form first text write arabic and second textbox write english
123
|
|
|
|
|
how can i change cultur between control?
example , i have two textbox on form first text write arabic and second textbox write english
123
|
|
|
|
|
public abstract class Test_setting_date_value_base : My_test_base
{
[Step ("2.INHERITED attribute")]
protected abstract bool s2_custom (object data);
protected abstract bool s7_custom (object data);
protected bool s7_goto_datetime_month_value_and_press_ok_up (object data)
{//do something
}
public override BlaTests.Test_step [] get_steps ()
{
Test_step [] steps =
{
s1_initialise,
s2_custom,
//...
s7_custom,
s12_deactivate
};
return (steps);
}
}
public class Test_setting_date_value_1 : Test_setting_date_value_base
{
protected override bool s2_custom (object data)
{
return set_date (30, 11, 2003);
}
protected override bool s7_custom (object data)
{
return s7_goto_datetime_month_value_and_press_ok_up (data);
}
}
Is it possible to do for a class the function that overrides previous implementation by setting 'pointer to function' like in JavaScript? I.e. I want something like that in second class (Test_setting_date_value_1):
protected new bool s7_custom = s7_goto_datetime_month_value_and_press_ok_up ;
I dont' know, but it somehow connected to keyword delegate.
-- modified at 5:14 Thursday 15th November, 2007
|
|
|
|