|
The only thing about doing it together is that I've worked for many moons on designing it and the design phase is mostly finished. That doesn't at all mean I won't be accepting any input. It just means that first I'll have to write up a paper on its design first so you can see where it's at now - but I really should do that anyway.
I have it 3/4 finished in VB Classic, but I think I'll port it to C# .NET. It does panning, zoom, auto drag-detection, etc. The things that aren't already done in it are the panning and scaling, plus the document object that goes along with it.
By the way, what is the project in your studies, if I may ask?
And what do you mean by "hopefully we can work with his force"?
Regards,
J Dunlap
"Do unto others as you would have them do unto you." - Jesus
"An eye for an eye only makes the whole world blind." - Mahatma Gandhi
|
|
|
|
|
Hi,
with "working with his force" I want to say, that by any problem, we could ask him, so the phase of solving problems would be shorter, I think.
The project is about tour-and routeplanning like map&guide, but a little bit more complex, so there will be some aditional features...if we handle that project in time
Greetz
Torge
|
|
|
|
|
Hi
Who can help me to custom drawing for caption and MinBox and ... in Title of Form?
Thanks
Bahman Salehi
|
|
|
|
|
Can you also let me if you found to custom drawing for Caption?
Thanks
|
|
|
|
|
I'm looking for a pre-written ListView-derived C# class that behaves as closely as possible to DataGrid in terms of its Data Binding functionality. Can anyone point me in the right direction??
Jade Burton
Programmer
|
|
|
|
|
Answer for a similar post a few weeks ago in this forum.
|
|
|
|
|
Hi,
I have written code that executes within a Windows.Forms application but fails when the code is run within a WebService.
I add a reference to the SHDocVw.dll windows library.
The common code is as follows:
System.Object nullObject = 0;<br />
System.Object nullObjStr = "";<br />
string url = @"https://www.123456789.com";<br />
<br />
InternetExplorer ie = new InternetExplorerClass();<br />
<br />
ie.Navigate(url, ref nullObject, ref nullObjStr, ref nullObjStr, ref nullObjStr);<br />
<br />
<br />
while( ie.ReadyState != tagREADYSTATE.READYSTATE_COMPLETE )<br />
{<br />
System.Threading.Thread.Sleep(1000);<br />
count++;<br />
if (count > 30)<br />
{<br />
return null;<br />
}<br />
}<br />
<br />
return (ie.Document as IHTMLDocument2).body.outerText;
The code runs fine in the windows application but raises this exception in a WebService
System.Runtime.InteropServices.COMException (0x800706BF): The remote procedure call failed and did not execute.<br />
at SHDocVw.InternetExplorerClass.get_ReadyState()
Does anyone have any ideas about this problem?
|
|
|
|
|
Do you have to use the IE webcontrol? I think a better way to do it would be this:
using System.Text;
using System.Net;
class Demo
{
public static string GetPage()
{
System.Net.WebClient client = new System.Web.WebClient();
byte[] resultSet = client.DownloadData("https://www.123456789.com");
Encoding myEncoding = Encoding.Default;
return myEncoding.GetString(resultSet);
}
} That'll get you the HTML for the page...and it's all managed, no COM Interop needed.
Hawaian shirts and shorts work too in Summer.
People assume you're either a complete nut (in which case not a worthy target) or so damn good you don't need to worry about camouflage...
-Anna-Jayne Metcalfe on Paintballing
|
|
|
|
|
I have tried to use the WebClient, WebRebRequest and WebResponse classes with the URI that I am trying to retrieve. All of these classes return an invalid request response from the server. The method I have shown works with the URI.
|
|
|
|
|
Are you sure you have the Network credentials right? The https protocol uses a username and password that you may have to pass through in the Credentials property.
Hawaian shirts and shorts work too in Summer.
People assume you're either a complete nut (in which case not a worthy target) or so damn good you don't need to worry about camouflage...
-Anna-Jayne Metcalfe on Paintballing
|
|
|
|
|
Yes ... Done all that stuff b4 .. The URI contains the credentials in this case. As I stated before the URI works in Internet Explorer and with the code shown in my first post, but not within a WebService. My guess is that the problem is the security context in which the WebService runs.
|
|
|
|
|
I am looking for "Class hierarchy visualization tool" for C#. Earlier I used a product called CodeVizor[^] for VC++ (also supports Java), but now it looks like that company[^] gave up on that product.
Do you know any tool like that for VC++.NET and C#.NET?
Don't and drive.
|
|
|
|
|
Reflector mite be what you looking for http://www.aisto.com/roeder/dotnet/[^]
I rated this article 2 by mistake. It deserves more. I wanted to get to the second page... - vjedlicka 3:33 25 Nov '02
|
|
|
|
|
No...Reflector is what he is looking for!
Hawaian shirts and shorts work too in Summer.
People assume you're either a complete nut (in which case not a worthy target) or so damn good you don't need to worry about camouflage...
-Anna-Jayne Metcalfe on Paintballing
|
|
|
|
|
leppie wrote:
Reflector mite be what you looking for
No.
I tried the Reflector.
The beauty of CodeVizor is it produces class hierarchy chart just like the MFC classes posters (parent/child relationships). This chart can be printed and tacked onto the wall.
That makes easy to reference for the whole team.
Don't and drive.
|
|
|
|
|
Hmmm I see, and no then I havent seen such a tool, but Visio could probably do it if you have it.
[edit] Did you look at the outline option in Reflector, its not graphs as such, but it mite be sufficient for your needs [edit]
I rated this article 2 by mistake. It deserves more. I wanted to get to the second page... - vjedlicka 3:33 25 Nov '02
|
|
|
|
|
leppie wrote:
Did you look at the outline option in Reflector
Thx for the tip.
But pictures work better than words!!
Don't and drive.
|
|
|
|
|
Kant wrote:
But pictures work better than words!!
True I'm gonna have a look at GraphViz and see if I can do something usefull. Maybe possible to do a plugin for Reflector
I rated this article 2 by mistake. It deserves more. I wanted to get to the second page... - vjedlicka 3:33 25 Nov '02
|
|
|
|
|
Kant wrote:
But pictures work better than words!!
What details are you looking for exactly? I can generate a tool to make real nice inheritance structures. Just give me all you require and maybe some ideas.
Hey leppie! Your "proof" seems brilliant and absurd at the same time. - Vikram Punathambekar 28 Apr '03
|
|
|
|
|
If you download ASP .NET Web Matrix, it comes with a Class Browser. It shows the class hierarchy w/ each "ancestor" being a hyperlink to that class's def. The thing I don't like is that you can't just do a one-time viewing of an assembly, except by loading it in and then unloading it from the list when you're done.
I don't think it has exactly what you're looking for, though.
"Do unto others as you would have them do unto you." - Jesus
"An eye for an eye only makes the whole world blind." - Mahatma Gandhi
|
|
|
|
|
jdunlap wrote:
ASP .NET Web Matrix, it comes with a Class Browser
Looks good. I didn't know about this one. Thx for the tip.
It supports print options, but the print menu items were disabled.
Don't and drive.
|
|
|
|
|
Object Browser which is embedded in visual studio.Net IDE is sufficient for your purpose. Don't look for any other thing.
Go use and enjoy
I hope that's what you were looking for!
Regards
|
|
|
|
|
Meisi wrote:
I hope that's what you were looking for!
Thx for the tip. But that's not I was looking for.
I want a tool which allows to view Class/namespace hierarchy and also PRINT like Microsoft classes posters. (CodeVizor does that for VC++ and Java)
Don't and drive.
|
|
|
|
|
i am a newbie at c#, but have a good amount of time with vc++ development.. can someone help me with some questions?
in vc++ my application could have variables and functions like:
CCompanyStore* myCompanyStore;
void ShowAboutDialog(); and i would call them throughout the program like:
CMyApp* pApp = (CMyApp*)AfxGetApp();
pApp->ShowAboutDialog(); i would use these types of functions for replacing views in my mainframe and such as well.. but i dont understand how to call a function from my base form without doing something stupid like calling this.Parent.Parent.SetStatusText("hello"); ..
is there an easy way to get a pointer or a handle onto the main form i have derived from System.Windows.Forms.Form to call its functions or get/set its variables?
thanks in advance for any pointers!
EDIT: just to clarify, i want to be able to call functions from anywhere in the program to set the status bar text, or to enable/disable a toolbar button, or to replace the form displayed in the background, etc.
|
|
|
|
|
Remember that everything in C# is defined in a class. So, check out the static [^] keyword. I believe that is what you want. Here[^] is another reference.
α.γεεκ Fortune passes everywhere. Duke Leto Atreides
|
|
|
|