|
Basically, the stumbling block is usually in realising you need to scope the namespace of the web service. Once you do that, you can create an instance of hte class and call it's methods, the frame work will handle all the web stuff for you.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Is it possible to create an intermediary application that is able to take another application and distribute the processing across different computers, and later bring the application back together again, if so, how would I go about creating as such an application?
|
|
|
|
|
I doubt it, that would involve some serious hacking into another process. It's hard enough to write good multi thread code within your app, without trying to hijack another in a way that doesn't break it.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I think you're after what .net calls Remoting. I haven't used it myself (yet), so all I can do is pass on links.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconnetremotingoverview.asp
http://msdn2.microsoft.com/en-us/webservices/aa740645.aspx
http://msdn2.microsoft.com/en-us/library/kwdt6w2k.aspx
There are lots of examples on the internet.
|
|
|
|
|
There is already a project that does this sort of thing. Look at the web site http://boinc.berkeley.edu/
Phil
|
|
|
|
|
i want to get the Login User Name in the local system in windows application
thank u
|
|
|
|
|
System.Environment.Username
/ravi
|
|
|
|
|
|
We were a 100% classic ASP shop until perhaps a year ago when we started jumping into ASP.NET. We're finally at a point where we're comfortable enough with the language to start deploying production applications. But we're running into problems because of the way Visual Studio works with a complete local copy on the developer's workstation. There's nothing specifically wrong with the way it works, it's that we don't know how to handle multiple developers on the same project.
We typically use Dreamweaver to directly edit copies of the files on the server via FTP. It's simple to connect via Dreamweaver, open up the ASP file, make your changes, save, and you're done, the new code is running live on the site.
Right now, about all we can do is download a fresh copy of the ASP.NET site each time we want to make a change - obviously time-consuming. We all telecommute so we can't have the source code on a share that we can all access.
Is there a product out there that will allow us to remotely synchronize our versions? I've seen the SourceGear vault, that seems like it might fit the bill. Does anybody have any experience with this product, or have any recommendations?
|
|
|
|
|
|
Sourcesafe is universally acknowledged as the worst versioning software ever created. MS doesn't even use it. (My last experience there was with SourceDepot, which is a customized version CVS, iirc).
We happily use Subversion. Tortoise is just a GUI front-end to Subversion, which is commandline in nature. There is also a Visual Studio interface to Subversion, called Ankh.
|
|
|
|
|
sherifffruitfly wrote: Sourcesafe is universally acknowledged as the worst versioning software ever created.
Unfortunately my superiors at work have not yet been convinced of this. For them it serves it's purpose without screwing things up, so we still use it.
|
|
|
|
|
Reasonably clarifying:
http://en.wikipedia.org/wiki/Microsoft_Visual_SourceSafe
|
|
|
|
|
Hi ,
I want to update controls on web page from my C# class library. I am using this same library for my desktop GUI application and I solved this same problem by creating delegates and using Invoke() mechanism in my Form class.
But could't find any equivalent for Web Page controls. is there any way around to update my web page control like textBox from my Class library ?
( I dont want to write that class in my CodeBehind class )
Thanks in Advance,
ZINK
C#
|
|
|
|
|
Do you mean that you want to update the controls which are displayed on the web page or do you mean that you want to be able to update the CONTENTS of the controls when what they are displaying has changed?
|
|
|
|
|
Like If I have DataGrid on web page , I want to add or remove the enteries of that data grid from my class library ...
Is it possible to do ? and if if yes then how.. ???
|
|
|
|
|
I have a richedit control with some text in it and wordwrap enabled, how can i adjust the width and height of the richedit when i use zoomfactor so that the wrapped text stays the same?
|
|
|
|
|
Please don't double post.
You'd have to change the font to match the zoom rate, I reckon.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
sorry about the double post i had a problem with my browser.
the zoomfactor changes my font, i need to know how to match the width and height o the richedit to the font size changed by the zoomfactor.
|
|
|
|
|
Well, to be honest, that's the hard part, I doubt you can do it with 100% accuracy.
I suspect that one way to do it, would be to use MeasureString to measure a string that you know fits on one line, and change the font size until it's the width of the control.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Does anyone know a good article that explains in detail how the zoomfactor of the richedit control works?
|
|
|
|
|
I'm trying to build a control inheriting from ComboBox.
Instead of having a list of items in the dropdown area of the underlying ComboBox, I would like to show a control there. How can I get access to this area, so that I can use it like a control container?
THANKS,
Tom
|
|
|
|
|
It's actually a control inside the combo box control, I believe.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hmm... possibly so, but how do I get at it?
Again, what I want to do is host controls (actually buttons) on the dropdown area. In other words, I don't want to display the normal ToString() manifestation of objects in the Items collection.
Thanks,
Tom
|
|
|
|
|
Hi,
I followed a guide about BinarySearchTrees from MSDN:
http://msdn2.microsoft.com/en-us/library/ms379573(VS.80).aspx
The source code is provided:
http://download.microsoft.com/download/5/0/f/50f7b985-990b-4154-ac21-518bfe16f887/datastructures20.msi
Well, i'm just interested in the BinarySearchTrees, so i imported the correspondent files to my project.
Everything was compiling fine until the next error appeared:
<br />
Error 1 'CoordinatorLayoutEditor.Structures.BinarySearchTree<T>' does not implement interface member 'System.Collections.IEnumerable.GetEnumerator()'. 'CoordinatorLayoutEditor.Structures.BinarySearchTree<T>.GetEnumerator()' is either static, not public, or has the wrong return type. D:\Os meus documentos\Visual Studio\CoordinatorLayoutEditor\BinarySearchTree.cs 18 18 CoordinatorLayoutEditor<br />
I don't know what to do since the methods are defined there!
<br />
public virtual IEnumerator<T> GetEnumerator()<br />
{<br />
return GetEnumerator(TraversalMethod.Inorder);<br />
}<br />
<br />
<br />
public virtual IEnumerator<T> GetEnumerator(TraversalMethod TraversalMethod)<br />
{<br />
<br />
switch (TraversalMethod)<br />
{<br />
case TraversalMethod.Preorder:<br />
return Preorder.GetEnumerator();<br />
<br />
case TraversalMethod.Inorder:<br />
return Inorder.GetEnumerator();<br />
<br />
case TraversalMethod.Postorder:<br />
default:<br />
return Postorder.GetEnumerator();<br />
}<br />
}<br />
Any tips?
Thx,
Nuno
|
|
|
|