|
|
Hi,
I programatically have to create a windows application in which one windows schedular is there which is for calling a webmethod in a webservice...
how to create such program to call webmethod using windows schedular in C#.net.
Pls help me in this...
Advanced Thanks,
Ravi Vellanki
|
|
|
|
|
Simply create a Windows Application that calls your Webmethod. You won't have to write code to use the Windows-scheduler, it can start any Windows-application at any given time/interval
--edit--
Forgot to add some links for further research. Here they are;
How to schedule a task[^]
Walkthrough[^]
I are troll
|
|
|
|
|
I am using a DataGridView to display a ArrayList containing object of my class Student
Student class has three properties viz. Name, GRNo, and Address, all of Type String. DataGridView displays all the three columns. My problem is that Address property should not be displayed.
Is there anyway I could tell DataGridView the order of columns (i.e. GRNo comes first and then Name) and not to bind/display the Address field?
|
|
|
|
|
Turn autogenerate off and define the columns - right click on the control and you should see it.
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
can i connect scanner to my windows application
|
|
|
|
|
Probably.
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
Of course. Google for "TWAIN" or "Windows Image Acquisition". You might also want to check with the manufacturer of the scanner to see if they offer a Software Development Kit.
|
|
|
|
|
Hi,
How can I visualize both Plain text and Links in a GridView Column?
Ex.
I need to show something like this:
"This is a sample row showing a Link" (this would then link to a website for example).
The Link needs to be clickable when the record is shown or when the cell is being edited....
I have tried to extend DataGridViewTextBoxColumn... tried to use DataGridViewLinkColumn...
in vain...
Is there someone who could send me on the right path?
|
|
|
|
|
HI all,
Any one can help me to bind gridview and customise the gridview in VB.NET?
Thanks in advance...
praveen...
Praveen Kumar.R
|
|
|
|
|
Yes, GOOGLE can, there are thousands of articles. Write some code and come back with specific questions.
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
who' s had code create water effect write by the language visual basic.net 2005 give apply to himself
|
|
|
|
|
1 Your question makes no sense at all
2 If you want code written for you the try rentacoder.com and pay for it, this is a forum to help with SPECIFIC programming problems, not to provide free code
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
|
hi everyone,
Hope everyone's doing better than me...
I have a problem
Here's the scenario
i'm currently a Network App using the Socket Class
which sends the image over the network..
Client Sends the image
the image is basicaly wrapped in my Packet class in packet assembly
(ofcource both the sides (client/server) will have reference to it)..
so i serialize it and send it through the networkstream of the socket
this happens on a separate thread..
like so
.................
'some where in the form
dim thre as new THread(addressof (startstream)
thre.start()
.............
'thread procedure
Sub startstream
dim img as bitmap
mypacket.screen=img
formatter.serialize(stream,mypacket)
End Sub
where 'mypacket' is a instance of Packet class
Server recieves the image
and deserialize it and uses it...
this also happens on a separate thread..
my idea is to send and recieve the packet(containing the image) asynchronously using threads is that a bad idea..or is there something fundamentally wrong...
The exception is Object in use elsewhere...on the client side serializing..
what am iam doing wrong here..
can anyone help me..
please forgive me, if my question sounds stupid and cause i'm a newbie
thanks in advance..
|
|
|
|
|
Vivek_India wrote: what am iam doing wrong here
Vivek_India wrote: cause i'm a newbie
You are engaged in far to complex a project for a newb. Studying materials designed to introduce and teach a subject to beginners is what you should be doing, rather than coding and posting messages in internet forums.
|
|
|
|
|
k.. i may not be an exact newbie ...but i am new to Multi-threading..i learned all the theory about it ..but the implementation went haywire..
so i thought of asking here..its wrong is it...
and
sorry if it offended you....
|
|
|
|
|
Vivek_India wrote: sorry if it offended you
In western culture, there is nothing in my post indicating I was offended, because I was not, I am simply offering free advice. You are not obligated to take it.
Vivek_India wrote: so i thought of asking here..its wrong is it...
Not wrong, just not optimal for beginners. Materials have already been design to teach beginners in these subjects and using them would be far more productive than internet forums for learning a subject. The forums are great for specific focused discussions, not so much for large subjects. Multi-threading is a very large subject.
Vivek_India wrote: .i learned all the theory about it
Back when I started I found the chapters in Advanced Windows[^] on multi-threading to be very helpful.
|
|
|
|
|
Hey thanks ...led-mike
And sorry, I completely misunderstood you..
any way i will study the book you recommended( or may be similar text is that ok?)...any way i was wondering what could be wrong and suddenly
the part where a bitmap object is assigned to the image property of the Picturebox
<br />
Picbox.image=screen<br />
was causing the trouble.. when i commented it out, it worked fine..i learned that picturebox was being rendered on a different thread,, than mine so it was accoring to
VS 2005 illegal cross thread operation or something along that line...
is there any thread safe way to do it...
And finally my english is not so good, so i apologize for the inconvenience...
Thnx
and
regards
Vivek
|
|
|
|
|
Vivek_India wrote: is there any thread safe way to do it
Of course, but once again this is the same issue of you trying to write code for a subject that you have not studied. In my experience, software development does not really work out well using that approach. And as I stated before, posting messages on internet forums is no substitution for putting in the proper effort of studying the subjects.
http://www.google.com/search?hl=en&q=MSDN+BeginInvoke&btnG=Google+Search&aq=f&oq=[^]
|
|
|
|
|
How to create icons for windows forms under smart device application in VS 2008?
|
|
|
|
|
Its really so simple . If you have I can maker first make icon you want with 16*16 pixel
go to properties of your project Then in Aplication you will see
Resource there you will get ICON and examin button from there select your icaon what you made before . Thats all
Hope it will help you
|
|
|
|
|
How can I cheange color of BoldedDates in MonthCalendar?
ICQ 33-00-44-7
P.S. Sorry for my English...
|
|
|
|
|
I need to disable some dates in DateTimePicker. User haven't case to select some dates (for example hollidays, special dates, etc.).
How can I do it?
ThnX.
ICQ 33-00-44-7
P.S. Sorry for my English...
|
|
|
|
|
Hi,
You'll have to either check after the user has selected a date, or create your own Control.
Luc Pattyn [Forum Guidelines] [My Articles]
- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets
|
|
|
|