|
I'M A FINAL YEAR STUDENT OF BTECH AND IM QUITE STRUGGLING WITH MY PROJECT THAT IS ON
"""REMOTE DESKTOP SHARING"""
AND IM DREADING CLOSE TO END DATE SO SOMEBODY HELP ME IF COULD ARRANGE A PROJECT OR JUST TELL ME WHERE I COULD GET IT ,PLEASE
|
|
|
|
|
No one is going to do your coursework for you. If you think they are then you are even more stupid that I first thought and deserve to fail your degree.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
pmarfleet wrote: If you think they are then you are even more stupid that I first thought and deserve to fail your degree
And definitely somebody not to hire, either.
"I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon
|
|
|
|
|
Paul Conrad wrote: And definitely somebody not to hire, either.
Too true. I'd definitely give his CV a miss if it found its way into my inbox. However, unless he decides to move to the South London area this is probably unlikely
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Don't cross post
"I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon
|
|
|
|
|
Hi Guys,
I want to launch another application from my application, but I want to show it within my apps window. I appreciate it's very easy to launch the app, but I'm having difficulty finding a way to contain in within my app window.
Has anybody got any ideas because I'm drawing a complete blank . I guess it may not be possible, but it's worth asking because it'd be the absolute Rolls Royce solution to my problem!
Thanks,
Chris Chambers.
|
|
|
|
|
You're trying to hijack the command prompt right? I'm sure I saw this message somewhere else.
Anyway, I'm thinking you would have to use some variation of SetParent (the windows api).
www.wickedorange.com
www.andrewvos.com
|
|
|
|
|
Hi Andrew,
I'm not trying to get hold of the command prompt, but I guess the theory still applies. I'm working on an automotive diagnostic product, and I want run a separate technical data application from within a tab page in my application.
Will SetParent() grab other application windows? I've never used it, so I'll investigate some more.
Thanks for the heads up!
Chris.
|
|
|
|
|
You might want to do some checking to see if the window you parent is the right window too.
Keep in mind you won't have much access to this window, unless you use apis.
www.wickedorange.com
www.andrewvos.com
|
|
|
|
|
Ok, I have created for you a horrible horrible hack... If you can make it elegant then it should work...
Create a new project, and add a button to the form. Then add this code:
<code><DllImport("user32.dll", CharSet:=CharSet.Auto, ExactSpelling:=True)> Public Shared Function SetParent(ByVal hWnd As IntPtr, ByVal hWndParent As IntPtr) As IntPtr
End Function
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Try
System.Diagnostics.Process.Start("cmd")
Dim process As Process = process.GetProcessesByName("cmd")(0)
Do Until Not process.MainWindowHandle.Equals(IntPtr.Zero)
process.Refresh()
Loop
Trace.WriteLine(process.MainWindowHandle)
Me.SetParent(process.MainWindowHandle, Me.Handle)
Catch ex As Exception
Return
End Try
End Sub</code>
www.wickedorange.com
www.andrewvos.com
|
|
|
|
|
hey
I think this will help u.....
Dim MyProcess As New System.Diagnostics.Process
MyProcess.StartInfo.FileName = "edit"
MyProcess.StartInfo.Arguments = "mytext.txt"
MyProcess.StartInfo.UseShellExecute = False
MyProcess.StartInfo.WindowStyle = ProcessWindowStyle.Normal
'Process.GetCurrentProcess()
MyProcess.Start()
MyProcess.WaitForExit()
MyProcess.Close()
thanks
Rajesh B --> A Poor Workman Blames His Tools <--
|
|
|
|
|
Hi,
I have framework 1.1 and 2.0 on my local machine and I have installed framework 3.0 on my machine but my local IIS manager propertiws shows only framework 1.1 and 2.0 in the list it does not shows the framework 3.0. Sop that I am not able to use farmework 3.0. Please give me some solution so my local machine cam use framework 3.0
Thanking You!
Rock Star
modified on Wednesday, March 12, 2008 5:50 AM
|
|
|
|
|
.NET framework 3.0 is only framework extensions to 2.0 (WPF, WCF, WF and CardSpace). .Net 3.0 still uses the same 2.0 CLR.
So there is no 3.0 CLR, so no IIS settings. it's all run with the 2.0 CLR.
for more info:
http://msdn2.microsoft.com/en-us/library/aa479861.aspx[^]
Simon
|
|
|
|
|
i want to create a windows service. In the config file i have defines list of ports. What i want is, to know the defined ports request time,process id and request end time whenever any request is coming for the specified ports in config file.
i am using "netstat" command,with this i m getting pid,port and process start time.
But i want to do it an another way(socket programming). can anyone help me in this regard how to forward.
|
|
|
|
|
Hello,
I want to create an XML file using System.Xml.XmlTextWriter (.NET 1.1) with:
xmlTextWriter = new XmlTextWriter(fileName, System.Text.Encoding.GetEncoding("ISO-8859-1"));<br />
xmlTextWriter.WriteStartDocument(true);<br />
...
This results in:
<?xml version="1.0" encoding="iso-8859-1" standalone="yes"?><br />
...
Unfortunately, the programm reading the XML file doesn't accept the
lowercase "iso-8859-1" . It only accepts encoding="ISO-8859-1" .
Is there a way to get an uppercase encoding value?
I've tried to inherit System.Text.Latin1Encoding
to overwrite the headerName member,
but this class is not public.
Uwe
|
|
|
|
|
Hi guys,
I want to setup scrolling in a textbox (or a label), which I intend to do using a combination of string methods Remove and Append, however I want to extend the concept slightly and only scroll when the text overflows the limits of the textbox. Unfortunately I can't seem to find any way of determining that the text has overflowed the boundary. Has anybody got any ideas?
Cheers,
Chris.
|
|
|
|
|
You'd need to create a graphics object to call MeasureString and see if the current text, with the current font, is bigger than the control.
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 )
|
|
|
|
|
Ok Christian, thanks for your advice. I'll give it a try and let you know how I get on.
Thanks,
Chris.
|
|
|
|
|
Excellent stuff Christian, that worked a treat.
Cheers!
|
|
|
|
|
I couldn't find any sample where they have shown the exact use of calling garbage collector explicitely. For example what I think is if I am using Interop, say object of Excel file in .Net, it is good to call GC.Collect to free up the memory.
Is what i think correct? What are the other scenarios when we should use Garbage Collector ?
Thanks for your help in advance.
|
|
|
|
|
Het2109 wrote: it is good to call GC.Collect to free up the memory.
It's almost never a good idea to call GC.Collect directly. Just because you are using Interop, it will depend on what you are doing. If you are directly allocating memory or translating structures to pointers (or back again) using any of the methods on the Marshal class then you need to be very careful about allocating and deallocating memory using the appropriate methods on the Marshal class.
Het2109 wrote: What are the other scenarios when we should use Garbage Collector ?
Any time you are writing managed code you're using the garbage collector. If the class you are using implements the IDisposable interface (or provides a Dispose method) you should call Dispose as soon as you can after you're done using that class. See this article[^] for more information.
Scott.
—In just two days, tomorrow will be yesterday.
—Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
[ Forum Guidelines] [ Articles] [ Blog]
|
|
|
|
|
Thanks Scott for your reply and article, it really helped me get rid of my confusion and get to know more of GC.
|
|
|
|
|
Het2109 wrote: Thanks Scott for your reply and article, it really helped me get rid of my confusion and get to know more of GC.
Glad to help.
Scott.
—In just two days, tomorrow will be yesterday.
—Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
[ Forum Guidelines] [ Articles] [ Blog]
|
|
|
|
|
Yeah it can be counterproductive to call GC.Collect directly. IIRC one side effect is that objects that survive collection will move quicker into higher generations, and be less likely to be looked at in following collections.
|
|
|
|
|
Hey all,
I was wondering if there was a utility to generate c# classes from database tables?
|
|
|
|