|
Atrish wrote: Is there any possible way to make it independent of The MATLAB And its Run time library....
No. Static linking is not supported in the .NET compilers. You must install the MATLAB runtime library to get this to work.
|
|
|
|
|
I have a great trouble! My client app uses a IpcChannel-based server which registers my remote type. This server is started by my client. From time to time I have to restart the server and create new instance of my remote type. At the moments of such re-creations I have exceptions: "Can't write to IPC-port: port closing is pending". So, I have to use try-catch block and create new instances two times: 1st time -> exception (and closing of the port), 2nd time -> normal creation of new instance. Do anybody know what I have to do with it?
PS: sometimes I get an OutOfMemoryException at the creation moments of the remote type. What could be a reason of it?
|
|
|
|
|
Microsoft .NET Framework 3.0 Service Pack 1
This is a web installer,do you think that a full .net 3.0 sp1 redistributable will be released??.One you can download and distribute with your app.
_________________________
"When the superior man refrains from acting, his force is felt for a thousand li." Sun Tzu
|
|
|
|
|
The overview says
"Microsoft .NET Framework 3.0 Service Pack 1 provides cumulative roll-up updates for customer reported issues"
Hence I guess the WebInstaller is a kind of wrapper which is going to download all the individual updates that are required by your system.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
I have an application which runs in the background without a main window. It receives messages from other components and displays Forms to respond to certain messages, the issue I am having is that the Forms usually appear behind Windows Explorer windows, I have tried using SetWindowPos(), SetForegroundWindow() and ShowWindow() API calls to bring the window to the front without success. The only way I can make the window always come to the front is to set it to TOP_MOST which is not the desired effect.
I have tried the API calls in the Form_Load event as that seemed the most suitable place, maybe I should place them somewhere else? Any ideas would be very welcome.
|
|
|
|
|
I've had a heck of a time with this myself. If your problem is that the system will sometimes simply flash the task bar button instead of bringing the window to the front, I find that sometimes setting the form to invisible, then Show()ing it sometimes works, or if that doesn't, then minimize it and then Active(), restore it, etc.
There are a ridiculous number of methods that all seem to mean the same thing. My list so far is:
Show()
Focus()
Select()
Activate()
BringToFront()
SetForegroundWindow()
{o,o}.oO( Did somebody say MouseDown? )
|)””’)
-”-”-
|
|
|
|
|
Hi,
Anyone knows how to use login control and how to connect it with the SQl server 2005 and connect to the table within my application database. So it can match the values from the table I have already created in my database.
Rock Star
|
|
|
|
|
If you aren't using the standard MS tables, you need to create your own membership and role providers to map to your structure. Have a look for membership provider or role provider in google.
|
|
|
|
|
Can any one knows any open source or free library that convert the MS word document to PDF document.
Thanks
Atif Khan
|
|
|
|
|
|
I can't remember where I heard this - and sure as heck can't find any info on the interweb - but I remember someone once saying that it's not possible to run a 1.1 and 2.0 application at the same time. Is this true, or did I mis-hear/misunderstand?
"On one of my cards it said I had to find temperatures lower than -8. The numbers I uncovered were -6 and -7 so I thought I had won, and so did the woman in the shop. But when she scanned the card the machine said I hadn't.
"I phoned Camelot and they fobbed me off with some story that -6 is higher - not lower - than -8 but I'm not having it."
-Tina Farrell, a 23 year old thicky from Levenshulme, Manchester.
|
|
|
|
|
Mis-hear, misunderstand I guess. You can run these together because they use DLLs appropriate for their version. What you can't do is code in a different version of Visual Studio, so you can't code in VS2005 for .NET 1.1. Now, there is a disclaimer here - this is not true for Visual Studio 2008 - it has multi targetting capabilities so you can code for .NET 2, .NET 3 and .NET 3.5 out of the same application.
|
|
|
|
|
Pete O`Hanlon wrote: Mis-hear, misunderstand I guess
I guess so too - and also a little knowledge, certainly in my case, is a dangerous thing
I think what they were on about is the mechanics of side-by-side execution and how 1.1 applications could break if the user only has .net framework 2.0 installed. Found this article on the MSDN which sort of explains it:
http://msdn2.microsoft.com/en-us/library/s80xxs7s.aspx[^]
"On one of my cards it said I had to find temperatures lower than -8. The numbers I uncovered were -6 and -7 so I thought I had won, and so did the woman in the shop. But when she scanned the card the machine said I hadn't.
"I phoned Camelot and they fobbed me off with some story that -6 is higher - not lower - than -8 but I'm not having it."
-Tina Farrell, a 23 year old thicky from Levenshulme, Manchester.
|
|
|
|
|
On top of that, you cannot have multiple versions of the .NET CLR running in the same process at the same time. For example, if you have a component that requires .NET 2.0 to run, you cannot use it in a .NET 1.1 app.
|
|
|
|
|
Hi,
I wanna export .csv records to my SQL server. I tried doing it by splitting it with comma (",") but some of the columms have descriptive data with many commas in it. So in that scenario the split logic gets messed up completely. Any other way that I can export .CSV data to SQL server?
Thanx in advance
Regards,
Vipul Mehta
Regards,
Vipul Mehta
|
|
|
|
|
|
Has anyone been successful sending email out through Exchange 5.5 using the .NET SMTPClient object?
I get a "relaying denied" type of error on the .Send command.
I have been researching this and working on it for a couple of weeks now.
Factors that bear on the matter:
1. Exchange is willing to send messages from SMTPClient to local mail addresses, but not external addresses.
2. There is a feature in Exchange that permits relaying for listed IPs. The IT guy has added the IP of the computer sending the emails to this "exception list for SMTP clients".
3. If we bypass the Exchange server and specify the ISP's SMTP server as the hostname, everything works fine. But the downside of this is that Exchange keeps logs, which the customer desires to utilize.
4. This doesn't seem to involve credentials. The Exchange 5.5 server is happy to send the emails within the domain without any credential information.
5. Strangely, a few emails did go through, and we examined the headers of those emails. The headers included something like the following pseudo-information:
a) "AComputerName@TheDomain.com" (This relayed fine)
b) "AComputerName" (This did not relay)
We couldn't get it to repeat 5a. What was happening there anyway?
Was the SMTPClient suddenly able to append the domain name
of the sending computer? I can't seem to get the SMTPClient
to do this again. It doesn't seem to know how to add the
domain name to the name of the local computer.
I saw an article on using reflection to extract the domain name from one of the properties of the SMTPClient object, but I wasn't sure which property to apply the domain name to. (It's not the "Hostname" property, since that is for specifying the name of the Exchange Server.)
Here's the article, and when you get there, just click the "View" link under the "Workaround" heading. Here is the reference for the article:
http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=94378
Thanks, everyone.
________
42 is definitely not the meaning of life.
I knew that when I turned 43.
-- modified at 19:46 Monday 19th November, 2007
|
|
|
|
|
please help!!
I need to use a variable that from class but it have to using a System.Windows.Forms.UserControl
so how can i do?
Thanks,
PZ
|
|
|
|
|
You can't show a form in a Windows Service, so if you want to provide a UI then you have a problem. What you could do is provide a remoting layer in the service that an external forms application could connect to.
|
|
|
|
|
thx, but I still have a problem.
Actually i do a survillance using webcam (using c#)
i need to use my webcam to monitor activities on somewhere
recording and connect it to server .
Webcam can use more than one & client must be a windowsservice for survillance.
this is activities that I do
client:
1.Recieve a remote from server.
2.connect to webcam & capturing using Webcam_Capture.dll.
3.send it to server using RTP.
Server:
1.Setting & Remote to client.
2.Save picture for client.
3.Show Picture.
and I have a problem now because
First in Client I use Windows Form and now I need to change this code to be a windowsservice.
This service need to capture a picture from webcam by using Webcam_capture.dll
So I create a variable From Webcam_capture.dll but this class reference System.Windows.Form.usercontrol
that must add a reference to System.Windows.Form .
How can i do for this problem??? Please Help!!!
thanks,
PZ
|
|
|
|
|
You can if you enable "Allow interaction with desktop" ... BUT it's bad practice Services shouldn't have UI's built in and as you say a remoting layer is normally the way to go with a .Net Windows Service.
|
|
|
|
|
originSH wrote: You can if you enable "Allow interaction with desktop" ... BUT it's bad practice
I didn't want to go there. As soon as you mention that something is available (even if it shouldn't be used), that's the way they'll head.
|
|
|
|
|
I take the alternative view that you should mention the bad ways of doing things and say they are bad ... otherwise the poster might come across them by themselves and assume they are good.
If the poster still chooses to do the bad thing then hopefully they'll end up in a world of s**t lol
|
|
|
|
|
i will be very much thank full if u help at any point of time
raghunath
|
|
|
|
|
Help you to do what? Grout the bathroom? Clean the guttering? Delouse a parrot?
|
|
|
|