|
I kept the default message, wrote my message outside of the brackets and it worked but the default message still showed up in the message box.
|
|
|
|
|
I would like to check if any specific program, e.g. Excel, running.
Can anyone here help me?
Same effect as when upgrading IE, it will check if there is any IE running, if yes, it will warn the user to close all IE before continue.
Thank You!!! ;)
|
|
|
|
|
Hi,
Using the System.Diagnostics namespace, you can do this:
Process[] excelProcs = Process.GetProcessesByName("excel");
if (excelProcs.Length > 0)
// there we have excel.exe(s) running
|
|
|
|
|
Hi All,
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)
Thanks in advance.
Sreepathi
|
|
|
|
|
.NET Framework Class Library
Control.MouseHover Event
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwindowsformscontrolclassmousehovertopic.asp
|
|
|
|
|
Thank you very much and the mouse move event also raises on the frame.
Sreepathi
|
|
|
|
|
Hello,
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:
alias: pat
Anonymous access
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
the SnapShot-Folder??
So now i want to Create a Publication, but already in the first point of the
Wizard i got problems:
1)
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??
2)
At the "Configure SQL Server Agent" should i check "Yes, configure the SQL
Server Agent service to start automatically?
3)
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??
3)
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.
So hopefully anybody find time for me!
Regards
mat
|
|
|
|
|
On inspecting a manifest file I have been given two
references to the same assembly but at different versions.
.assembly extern CustomAssembly
{
.publickeytoken = (..) // ...?..Yh
.ver 2:8
}
.assembly extern CustomAssembly as CustomAssembly_5
{
.publickeytoken = (..) // ...?..Yh
.ver 2:2
}
I removed all references to assemblies and re- added them. Removed the .sou file from vs.net so to regenerate them. Checked the sln file and .cproj files for additional references but to no joy.
I am not sure if its a bug that has been fixed in a later version of .NET. Due to requirements .NET 1 SP2 framework is being used with VS.NET 2002.
I generated the dll using the csc tool and the same reference error occurs. So I imagine it is a compiler issue.
|
|
|
|
|
Hi I want to learn,
Is there a way to compile my c# projects that will work properly on the windows OS which is not installed .NET Framework. So I wanna make a regular exe like in C++
karanba
|
|
|
|
|
karanba wrote:
Is there a way to compile my c# projects that will work properly on the windows OS which is not installed .NET Framework.
No, the .NET Framework must be installed. Also, remember that this is a one time operation - You only need to do this once, regardless of how many .NET applications are installed on the machine.
"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
Not getting the response you want from a question asked in an online forum: How to Ask Questions the Smart Way!
|
|
|
|
|
okey but 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
karanba
|
|
|
|
|
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
Not getting the response you want from a question asked in an online forum: How to Ask Questions the Smart Way!
|
|
|
|
|
|
hi, can anyone please give me a hint of how can i retrieve all the Machines name and IPs in my network whether its a workgroub or domain. thanks in advance.
|
|
|
|
|
Hey!
I had the same problem, i found this app here http://thecodeproject.com/vb/net/MyLanApp.asp
just read the source
|
|
|
|
|
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 ;)
|
|
|
|
|
Thanks for your help this is exactly what i wanted.
|
|
|
|
|
here's a command: net view
It will write to the standard output so i guess there will be no problem there
Or there is another method, using NetBios, for that try google:P
And it fades like the shadow in the night.
PhoeniX
|
|
|
|
|
I am using .NET V 1.1, I have a wierd problem. I write some code, and that is reflected only when I close the solution, open it again, and then run it.
what is the problem?
_____________________________________________________
Yea! I could be wrong...
|
|
|
|
|
Just downloaded the new .NET Framework 1.1 Service Pack. It succeeded to install on all my Windows 2000 PCs and even on other Windows XP PCs.
Only my own development machine (Windows XP, SP 2) fails to install, bringing up a "TargetInvocationException " during installation.
Anyone noticed this behaviour and knows a workaround/fix?
--
- Free Windows-based CMS: www.zeta-software.de/enu/producer/freeware/download.html
- See me: www.magerquark.de
- MSN Messenger: uwe_keim@hotmail.com
|
|
|
|
|
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?
Thanks
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.
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
Hey,
it turned out that i was trying to lauch an application made with .NET Framework version 1.1 while I had the 1.0 installed...
|
|
|
|
|
Hi All.
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
karanba
|
|
|
|