I have some frames(GroupBoxes) for my application and would like to know when the mouse comes onto the frame(GroupBox). Any ideas please. Or can I know the coordinates of the mouse when I am on the frame(GroupBox)(Some thing like that)
I want to implement a Replication with a SQL Server CE and a SQL Server Database, so i created once a virtual directory and a new SQL Server Registration because before i had only a (local)(WindowsNT)registration and with this a Publication is not possible.
Create Virtual Directory:
So i have created a alias name with the following attributes:
At NTFS Permissions: Computer Running SQL Server i have the "One or more
applications ruquiring SQL Server merge application" nocht checked, because i
could not quote a correct path to the SnapShot Folder??
Then i have deleted the current SQL Server and created a new SQL Server
Registration with the following attributes:
As Available Servers I add my MachineName.
The i checked "The SQL Server login informatoin that was assigned to me by
the system adminstrator(SQL Server Authentication)".
Then i checked "Login automatically using my SQL Server account information"
and typed in as Login name sa and as password also sa.
Then i checked "Add the SQL Server(s) to an existing SQL Server group".
I hope i made these things in a correct way, regardless of the thing with
So now i want to Create a Publication, but already in the first point of the
Wizard i got problems:
At "Select Distributor": What should i check? When i check 'Make
'MachineName' its own Distributor;SQL Server will create a distribution
database and a log" - I will get an notification (SQL Server Agent on
'MachineName' currently uses the system account, which causes replications
between servers to fail. In the following dialog box, specifiy another
account for the Service startup account.) and the SQL Server Agent Properties
- MachineName opens??
When i check "Use the following server(the selected server must already be
configured as a Distributor);" - I have to add a server but regardless of
the (local) Server i could not choose anyone??
At the "Configure SQL Server Agent" should i check "Yes, configure the SQL
Server Agent service to start automatically?
Then i have to quote the SnapShot-Folder:
\\MachineName\C$\Programme\Microsoft SQL Server\MSSQL\ReplData
When i use this path i'll get an notification - "The Snapshot folder path,
'\\MachineName\C$\Programme\Microsoft SQL Server\MSSQL\ReplData', uses a
special share name which can ususally be accessed only by a login with the
adminstrative privileges on computer 'MachineName'. This share my not be
accessible by agents running on other computers, such as the agents for pull
subscriptions. Are you sure you want to use this snapshot folder path?" -
Should i care with this notification??
And another great problem: When i click on okay of the following
notification i will get another notification: "SQL Server Enterprise Manager
could not retrieve information about the Distributor of the database. Error
1038: Cannot use empty object or column names. Use a single space if
necessary." And when i click on okay and the "Choose Publication Database"
screen appears i cannnot choose any database because in there do not appear
any databases. What went wrong here?
Please, can anybody help me with these things and answer me to my posting, because i do
not really look through it although today i bought me the book ".NET Compact
Framework Programming with C#", but this book did not help me.
karanba wrote: many machine still does not have .NET Framework. In Net Framework developing is very easy agains C++, and I need a method that my NET Framework Appies would work on an win32 sytem
Well, which is your priority? Easier development with the .NET Framework, or having it work on any win32 system?
If it is with the .NET Framework then you have to install the .NET Framework on the machines you are deploying your application to. If it is any win32 system (including those without the .NET Framework, and that will not be installing it) then you will have to develop in C++.
You have to make a choice.
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell
thanks that was really helpfull, but i think that this method only works when there is an Active Directory installed, is this right?
so i need a generic way to retrieve the machines in the network even if it was a workgroup!!!
Basically what you'll need to do is use the DOS utility "net view". When you type it in the command prompt, it lists all computers on the network whether Active Directory is on or off. All you'll have to do in your app is to call the Shell using "net view" as a command and adding ">C:\myfile.txt" (this is the location where all the net view info will be stored). Just read the file from your app and parse the string to get the list. I've already seen several VB6 apps doing this and have tried it myself on WinXP and it works fine. Check out NetSend (VB6) here http://www.a1vbcode.com/download.asp?ID=2503 it does exactly what you need ;)
I'm trying to run this application but i keep getting an error message saying that the .NET Framework is unable to load mscorwks.dll
I can't launch the application...this happened with the demo app i downloaded from http://www.codeproject.com/csharp/GlobalSystemHook.asp
and some other related apps.
Can anybody know how to solve this issue?
P.S: I heard that this happens with unmanaged C++ applications...but the rest of the users seem to enjoy the same download while I can't...
Your installation of the .NET Framework is broken. mscorwks.dll is the Workstation version of the runtime - mscorlib.dll is pretty much just a loader that loads the appropriate version of the runtime. You should reinstall the Framework.
I need to make an application in c# which could be check updates of its next versions.
1. Is there any good article about this?
2. can I do it from the projects under 'setup and deployment' projects in VS.NET
3. any free tool to do this...
I want simply :
-->when the programs invokes check for new updates
-->if there promtp to user do update now
-->if user will give okey update program close all the open files about application and get new version dlls, resource so on...
--> and restart the application