|
bigjoe11a wrote: I been trying to do is get it so I can log and go to a menu
Would you please rephrase this, what are you trying to do?
|
|
|
|
|
What I want to do. Is log in and have a menu with choices. The only thing I could do with this server is connect and thats it.
I wanted en option that when I connected to the server. I could log in and it would take me to a menu. Then I could do some thing or log off.
Sorry I been up late nights so my typing may not be all that great.
Joe
|
|
|
|
|
Your menu would have to be on your client and then your client would forward the command to your server.
|
|
|
|
|
Ok, so would you need my client source code to show me how to do that or what do you need.
|
|
|
|
|
No, I've already told you what to do.
Try it and let me know where you have problems.
|
|
|
|
|
LOL. Right. If I new how to do that I wouldn't have posted a message asking for help.
|
|
|
|
|
Hi all,
I'm trying to display the tooltip by calling "ToolTip.Show(String, IWin32Window, Point)", but I wanted to do it like what Windows explorer does - displays the tooltip at the lower left corner of the cursor.
I could get the mouse position by "MousePosition", but how could I get its lower left corner position?
Thanks,
|
|
|
|
|
You'd have to get the current cursor icon and work out where inside it is the point that corresponds to the mouse 'position'.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Hi,
Most cursors have a size of (32,32); there is SystemInformation.CursorSize, but AFAIK that is a constant, it does not depend on current cursor, and active window.
So the easiest thing to do would be to adjust MousePosition by (0,32).
BTW: most cursors have their hotspot at (0,0); when this changes, you might want to take that in account too...
Luc Pattyn [Forum Guidelines] [My Articles]
I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages
|
|
|
|
|
Thanks for the replies.
It seemed “Cursor.Size.Height” could be used。
|
|
|
|
|
I wanna check if string in textbox is in good format. Lets say you must put name of file without extension before you press button for creation. So it must be like filename and not filename.extension
Thanks,
Bye
|
|
|
|
|
You can validate a format with regex.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
I used savefiledialog instead.
Thanks anyway
|
|
|
|
|
how would i query AD for all user's in a group (note i have 2400 users in the group i want to quesy)
in Csharp
|
|
|
|
|
Use System.DirectoryServices
If you do a google search on this, there are some good examples.
|
|
|
|
|
Hi,
How to generate a proxy class from WSDL by not generating classes for known types ?
I already have few classes which WSDL has and i don't want WSDL tool to generate partial classes for those client classes which i have in xyz namespace.
Thanks
|
|
|
|
|
I found the solution. I commented out all the shared types from proxy class (generated by wsdl) and added [XmlInclude] attribute on proxy class for all types in shared assembly. I am not sure its the right approach.
|
|
|
|
|
The WSDL tool has a command line switch to reuse classes from specifed assemblies instead of creating new ones. You can specify your assembly there. I don't know the exact switch though
|
|
|
|
|
Hello, I've been wondering all day, how would I add a button to a windows form that opens the main browser, and connects to a site. It is coded in C#, Everything is finished, just, I do not know how to( If Possible) connect to a site, Via Button. It is also in .Net 3.5
Again, thanks.
|
|
|
|
|
System.Diagnostics.Process.Start("http://www.google.com");
|
|
|
|
|
Thanks alot. For the quick reply, and also the working Line <3
|
|
|
|
|
or better yet:
System.Diagnostics.Process.Start("
http://www.google.be/search?q=how+would+I+add+a+button+to+a+windows+form+that+opens+the+main+browser");
Luc Pattyn [Forum Guidelines] [My Articles]
I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages
|
|
|
|
|
I googled that first one, and came up with that whole site. Its going to save me, and others, hours of wasting time.
Though, thanks.
|
|
|
|
|
Even better:
System.Diagnostics.Process.Start("http://lmgtfy.com/?q=how+would+I+add+a+button+to+a+windows+form+that+opens+the+main+browser");
|
|
|
|
|
Hi
i have a datatable and i want to print it.
what is the best way for it?
(maybe by showing datatable in gridview and then print the gridview;how can i print gridview?)
please somebody help me.
|
|
|
|