|
I am developing windows application to add "Outlook Contacts" to data base. I need to provide option for choosing contacts folder.
I need sample code (or idea ) for displaying outlook contacts folders and extracting contacts from selected folder
Thanks in advance
Ram
|
|
|
|
|
Hello I am writing a program that contains a class, the class needs to determine the directory of the program in order to save a file in the same directory as the .exe file. what do i need to do to get put the file im writing in the same directory as the exe.
|
|
|
|
|
Use Application.StatupPath;
|
|
|
|
|
Use Application.StartupPath Property - the property returns the path for the executable file that started the application, not including the executable name.
DevIntelligence.com - My blog for .Net Developers
|
|
|
|
|
Hello fellows.
I'm using NHibernate for the first time. I'm trying to create a new NHibernate.Cfg.Configuration object, and it is throwing me a FileNotFoundException. Why would that be? Don't get it...
The code I'm writing is within a DLL, and hence does not have an app.config file. I was hoping to use an ADO connection rather than the app.config file. Any suggestions, comments?
Thanks in advance, any suggestion will be really appreciated.
Regards,
Fernando.
A polar bear is a bear whose coordinates has been changed in terms of sine and cosine.
|
|
|
|
|
can i access Nokia 3330 by the help of C#,if yes what are the steps?
rana zeeshan
|
|
|
|
|
The 3330 is a low end, 2G phone with no frills per se. It does not support Java or Bluetooth it definitely rules out C#. About the only thing you could hope to do is read the event stream when you plug in the USB adapter (provided it has one for Outlook synchronization). Even there C# would not be a good choice, you would be working primarily in unmanaged code.
What is it you are trying to accomplish anyway?
Mike Luster
CTI/IVR/Telephony SME
|
|
|
|
|
hello,
I thought Visual C# Express 2005 was the only editor for C# windows development. But today I found Borland also has C# editor, and moreover Visual Studio 2005 professional is also another option. Can anyone tell me, which one is the most developer friendly and much rich featured !!
|
|
|
|
|
I've never used borlands, but VS05 Pro+ are all a "shinyer" version of the editor in 05Express.
|
|
|
|
|
hi,
thanks for the reply. Can u show me a link where it describes the extra features of Visual Studio 2005 Pro which is not available in Express version !
|
|
|
|
|
emran834 wrote: Can u show me a link where it describes the extra features of Visual Studio 2005 Pro which is not available in Express version !
You'll find it somewhere on MSDN[^].
...Steve
1. quod erat demonstrandum
2. "Give a man a fish and you've fed him for a day. Teach him how to fish and you've fed him for life." I read that somewhere once
(Translation: I'll show you the way, but not write the code for you.)
|
|
|
|
|
SharpDevelop[^]
You might give SharpDevelop a try. It is an excellent IDE.
|
|
|
|
|
Why would sharp develop be a popular IDE when C# express is free? Are there some features it has that it has that C# Express does not?
|
|
|
|
|
Sean89 wrote:
Why would sharp develop be a popular IDE when C# express is free? Are there some features it has that it has that C# Express does not?
Two words: source code[^].
Share and enjoy.
Sean
|
|
|
|
|
Go Borland it is the one and only finest IDE in the Globe !!!!
Ahmad Shaban
|
|
|
|
|
|
|
How can i get the message which was send by another computer. (netsend)
This message is always shown in such a terrible looking screen. How can I put the arrival message into a myself programmed screen??
Richie
-- modified at 14:37 Tuesday 21st March, 2006
|
|
|
|
|
hi, can any body help me out for serial communication using rs232 standard in c#
|
|
|
|
|
Hello,
I have a parent form where i load a child form on a panel. Now i want to access from the panel a control on the parent, here the toolstripprogressbarr. How can I manage that?
On the parent form I do the following to load the child in the control panel1 of parent.
newF = new Child01();
newF.TopLevel = false;
newF.Parent = panel1;
newF.Show();
Now I do a small manual operation in the Child01 form which leeds to an operation. during this operation I'd like to make the toolstripProgressBar Visible.
I hope that someone can point me in a good direction.
|
|
|
|
|
Have the child throw an event and the parent will catch it and and then do stuff. Create a delegate in the child, have the delegate point to a parent method, when the event runs, the child will call its delegate, which of course will call the parent method.
There are examples of this on MSDN, just search for delegate, event, or maybe subscriber/publisher design.
Mike
|
|
|
|
|
Hi,
I'm trying to display a string that has some weird characters in hex so I can see what they are. I've tried the code below but I'm still getting the characters, not the hex values that make up the characters:
<br />
string sHex = string.Format("{0:4x}", sPassword);<br />
How do I display a hexidecimal representation of the string?
Thank you,
Glenn
|
|
|
|
|
Loop through the characters of the string, convert each character value to an int and format that as a hex value.
---
b { font-weight: normal; }
|
|
|
|
|
I'm writing a deployment package and I am down the the last piece of what I need to do. All of the DLL's will have been installed. Now I need to call my custom installer and perform the following two items:
Register 5 DLL's in the GAC
Add registry keys to those components so they show up in Add Reference
Are there any managed API calls I can make to accomplish these two tasks? Or do I have to use out of process calls to GACUTIL and make Win32 calls for the registery?
Oh yes, I'm using Visual Studio 2003.
Thanks!
-- modified at 13:23 Tuesday 21st March, 2006
|
|
|
|
|
Well I think I have the solution to my problem.
First for the registry entries I can just use the Registry portion of my setup project to dynamically manage those entries.
For GAC registration, I'm creating a .cmd file with the gacutil commands then I create a process for that .cmd file which I then do a process.Start(); followed by a process.WaitForExit(); and I think I've got it.
|
|
|
|