|
Hi all,
Problem
---------
Im having a big issue when running a .net 2.0 exe developed in vb.net using vs 2005, from a "unc network share" that connects to a database on that server where the share resides on i get an error when executing a sql command. (SQL 2000 db)
Ive checked the following.
---------------------------------------------
1) The folder as full access rights.
2) The connection string connects fine from my local pc as it has the connection to the db server.
3) im not using code access security when running the code.
Thank you in advance.
|
|
|
|
|
|
Hi,
Is there a way to connect to VPN network (connection is already made) but I need my application to be able to connect to VPN network by user action instead of having user to go trough network connections to connect to it. And also if there is a way knowing if we are connected to VPN or not. I have saw some code doing connection by calling rasphone.exe switch but then we don`t have connection status.
Thanks,
Ivan.
|
|
|
|
|
Once the VPN session is esatblished, it's just like your machine was connected to the target network directly.
Vertyg0 wrote: I need my application to be able to connect to VPN network by user action instead of having user to go trough network connections to connect to it.
This is not a good idea. There are various "dailers" that will start a VPN connection, but none of them have a common API you use use. You'd have to rely on the user telling your software which VPN software they're using and which version, and supply code to interact with each VPN client you want to support.
|
|
|
|
|
i have my Bussiness layer and Datalayers in diff server. so how do i deploy them in another server
|
|
|
|
|
The same way they are deployed on their current servers?
You really have to give a much clearer explanation of what you want to do.
|
|
|
|
|
How do you put DLL and BLL in different servers?
Regards,
Sylvester G
sylvester_g_m@yahoo.com
|
|
|
|
|
earlgraham wrote: I can't seem to find a function.
There's a SelectedItems collection in the ListBox, is there not? It has Count property.
Dim x As Integer = ListBox1.SelectedItems.Count
|
|
|
|
|
Hello,
VS 2005
I have downloaded the Enterprise Library May 3.1.
I run the Enterprise Library Configuration and create a new application. I right click on the new application and I should see an option to add the "Updater Application Block Configuration".
I am trying to create a self-updating program and have been following this article on code project.
http://www.codeproject.com/csharp/VanillaUpdaterBlock.asp?df=100&forumid=171427
Can anyone please explain why I don't have the updater Application Block configuration?
Many thanks for any help,
Steve
|
|
|
|
|
Don't cross post. You've already been answered in the C# forum.
No, there is NOTHING in the .NET Framework or Garbage Collector that can compensate for a memory leak in an unmanaged code component.
|
|
|
|
|
Dave Kreskowiak wrote: Don't cross post. You've already been answered in the C# forum.
Ho-hum, another one of those
"too much daily WTF for someone..." - Anton Afanasyev
|
|
|
|
|
I know. It does get boring, doesn't it.
|
|
|
|
|
Dave Kreskowiak wrote: I know. It does get boring, doesn't it.
On one hand, yes. On the other, it's rather entertaining
"You will see a delete button on each of your posts. Press it." - Colin Angus Mackay
|
|
|
|
|
|
No. There is no version of the VB6 runtime for PocketPC, that I know of anyway.
|
|
|
|
|
I have installed .NET CF v2 but when I create new project I`m unable to find SqlClient in System.Data ? Can anyone help me.
Ivan,
Cheers.
|
|
|
|
|
|
Hi,
I used to have an application which used TTS. The application was working fine for about a year.
Recently (After Installing .NET 3.0? - I'm not sure) I'm unable to run this application any more.
Uhenever I use the SpVoice.Speak(textToSpeak, speechflags) I get the following error:
{"Exception from HRESULT: 0x8004503A"}<br />
Data - {System.Collections.ListDictionaryInternal} -{System.Collections.ListDictionaryInternal} Count - 0<br />
Source - "Interop.SpeechLib"
I beleve that this is a marshaling problem because when I re-build my project I get lots of warning such as:
Warning 1 At least one of the arguments for 'SpObjectTokenCategory.GetStringValue' cannot be marshaled by the runtime marshaler. Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
I've made no changes in my code whatsoever.
Any help is appreciated
Tnx
Roy
|
|
|
|
|
I have an app set up as a remoting server. It's all tested and working as long as I use Singleton server-activation.
I've changed the code to use client-activation. I've tried Activator.CreateInstance(...) and RegisterActivatedClientType(...) / new and both show the same problem:
The initial connection succeeds and I get a transparent proxy but the first call to the server hangs and never returns. I have even tried creating my own sponsor but the call to Register hangs, too.
This is all using a TCP channel and running on Vista.
Please suggest what might be wrong or what I should try next.
Phil
The opinions expressed in this post are not necessarily those of the author, especially if you find them impolite, inaccurate or inflammatory.
|
|
|
|
|
Dear All,
I am looking for a way to monitor network traffic, such as total number of bytes have been upload / download.
Could anybody give me some clues of doing this? Either using SDK (C++) or .NET Class (C#) would be nice.
Many Appreciates!
Best regards,
Chris G.
|
|
|
|
|
|
|
Is there a memory allocation limit in .net?
As I recall, in Turbo Pascal no individual allocated block of memory can exceed 64K.
I still see that when I use C (and Borland's compiler).
But it seems .net doesn't have that limit, I've created arrays larger than that and they seem to work fine, until I run out of memory:
byte[] x = new byte [ 0x597FEFCCUL ] ; // Succeeds
but
byte[] x = new byte [ 0x597FEFCDUL ] ; // Throws System.OutOfMemoryException
byte[] x = new byte [ 0x7FFFFFFFUL ] ; // Throws System.OutOfMemoryException
and
byte[] x = new byte [ 0x80000000UL ] ; // Throws "Arithmetic operation resulted in an overflow."
So it appears it's limited to available memory, but no more than 2GB?
Is this documented anywhere?
Don't get me wrong, I'm not complaining, just curious.
|
|
|
|
|
|
What's that got to do with .net?
|
|
|
|