|
Use "Integrated Security = false" in connection string
|
|
|
|
|
i tried this, but it is not working ,it was showing bellow error message
" Login Failed for user .The user is not associated with a trusted Sql Server Connection ",main thing is i want to deploy the database in client Sql server . And how can i do this ,could u please help me .
Thanks in advance
|
|
|
|
|
Hie
I have made an installer package using c# that contains 4 other msi's.I do a chained install whereby after the parent installer finishes installing, the child msi's are installed in sequence.I managed to do this using orca,modified the install custom action that was pointing to a .exe so that it launches after the parent msi has finished installing.I modified the install custom action bit from 1042 to 1234.
When i uninstall the parent msi that contained the 4 child msi's,i would like to also uninstall the child msi's and remove them from the system.
So i tried pointing a .exe to the uninstall custom action (just as i did on the install custom action) so that before the main msi is uninstalled,i first remove the child msi's.If i do this...My uninstall custom action is not launched.Then i tried using an installer class so that i overwrite the uninstall function.If i do a simple thing like,messagebox.show() in my uninstall function,i get a messagebox popping on uninstall,but if i try to execute the code for uninstalling the child msi's in the uninstall function,nothing is executed.
how can i get this to work...
Thank you in advance....
modified on Monday, July 7, 2008 6:00 AM
|
|
|
|
|
hi everyone, this is my first post and i hope that i would find a solution to my problem. I have a textbox called "txtPurpose" in a C# Windows Application in Visual Studio , and i want that the text entered by the user in the textbox should be added to the "PURPOSE" field in a table "TABLE2_HDB1" in Oracle database "HDB1" on clicking a "submit" button. I want the coding to be in C#. plz help
|
|
|
|
|
I want to identify which language is used by current operating system,
for example, in engish or in German.
it is possible to do so?
thanks.
|
|
|
|
|
Check:
Application.CurrentCulture
or
Thread.CurrentThread.CurrentCulture
if de-DE -> german
if en-US -> english
...
|
|
|
|
|
Hi everybody,
Please help me soon.
I have developed a windows application using c#.net 2.0 and Oracle 10g as back end. It works fine on our machine, but it shows error on our client's machine. The error message as below:
"System.Data.OracleClient requires OracleClient software 8.1.7 or later".
I have not installed Oraclient software anywhere instead I have placed Oracle Instant Client dlls in my application folder. What is the reason and its solution.
I found most of the answers on behalf of security. I think it is not security reason because I have not installed oracleclient software.
The answer will be highly appreciated.
|
|
|
|
|
dibya_2003 wrote: System.Data.OracleClient requires OracleClient software 8.1.7 or later
The error message is clear. You need to install it.
|
|
|
|
|
i guess u need to have a version greater than 8 for oracle to work vth c#2.0
|
|
|
|
|
hi i want to Install new Window service but i want to check that Either this service is Exist or not if it Exist then do not install it
How i can check that it Exist
wasim khan
|
|
|
|
|
if you create an installer for your service, it will be detected automatically. you can set to: "warn if service exists" or "replace service with new version".
|
|
|
|
|
In order to check wether your service is exist or not by code not using an installer, you can use the System.Management namespace, in order to do it the following example shall help:
string serviceCaption="My Service Caption";
ManagementObjectSearcher searcher = new ManagementObjectSearcher
("SELECT * FROM Win32_Service WHERE Caption = "+"serviceCaption);
foreach (ManagementObject service in searcher.Get())
{
//Service Exist
}
or you can use the service name instead, notice that the difference between the caption and the name is that caption is as the full length name (short description) while the name is shorty non-alphanumeric:
string serviceName="MyServiceName";
ManagementObjectSearcher searcher = new ManagementObjectSearcher
("SELECT * FROM Win32_Service WHERE Name = "+"serviceName);
foreach (ManagementObject service in searcher.Get())
{
//Service Exist
}
Notice again that you should add a reference to the System.Management dll in your project.
Sincerely Samer Abu Rabie
Software Engineer
modified on Monday, July 7, 2008 8:53 AM
|
|
|
|
|
I am playing around with C# seems to be the buzz word lately so i am having a look. Feeling uncomfortably lost outside my C for Comfort zone.
i was trying to play around with simple input events IE mouse/keyboard
using System.Windows.Input
seems to be the logical place to start, but here is where i get in trouble i cant gain access to that namespace for some reason. i am using MSVS 2005.
Do u need to set permissions with the .NET configuration Mgr in Admin Tools?
i am a tad lost as u can see any help appreciated
|
|
|
|
|
The System.Windows.Input[^] namespace is available from .Net 3.0 onwards. You wont be able to access it in your VS2005.
If you want to try WPF you can go for the express versions of VS2008.
*jaans
|
|
|
|
|
Ahh excellent thanks for that, i installed .NET 3.5 and was hoping that VS2005 would be able to access everything from the framework =( bummer.
Thanks for your answer
|
|
|
|
|
Hello Friends,
I am making a setup wizard for my application i have made it successfully its work great.
Now i want that when my application install then after that it will ask for restart the system now or later.
How can i achieve this please help me.
Thanks in Advance
|
|
|
|
|
search it in google. you need a tool from microsoft called orca to do that.
|
|
|
|
|
I could not use crystal report in .NET application.I would be grateful
if anybody give me proper guideline to use crystal report in C#.NET
|
|
|
|
|
Google broken where you live ? This is a top level question - you need to read a book or some articles. No forum answer will cover it in the detail you apparently need,.
Christian Graus
Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.
|
|
|
|
|
|
I am writing a program that run on Server 2000 (DHCP) using C# .Net. I wanted to collect all the IP addresses and MAC addresses of the machines that connected to this server. Anyone who can suggest on how to do this? Thank you.
|
|
|
|
|
Hi, anyone who can help? I need this solution urgently. I have tried many methods but only able to get the local machine IP and MAC address. May be I should rephrase my question to make it clear. I have a DHCP server. there will be alot of PC connected to this server through LAN. I want to retieve the IP and MAC address of all these PCs. How can I do that?
|
|
|
|
|
how can i simplify a path?
c:\folderA\folderB\folderC\fileA.txt
can i do this?
.\folderC\fileA.txt
thanks
|
|
|
|
|
Only if you are sure that your current working directory is: c:\folderA\folderB\
Bram van Kampen
|
|
|
|
|
Hi,
How can I read data from an excel file in C#?
Best wishes
|
|
|
|