|
Best Article I have read in a long long time.
Excellence is doing ordinary things extraordinarily well.
|
|
|
|
|
hi friend i have created outlook addin.
setup run and install the addin on my machine (i.e C:\programfile\OutlooAddin\outlookAdin\). but when i uninstall the adddin it remove addin but Directory still remain there. how can i delete them. i use the installer class but how i can get the path of these directory at runtime??
Plz help me.
WANTED wasim khan(Killed 50 Innocent Buggs, Distroyed 200 Exception, make 5 Project Hostage) any Compnay Hire him will pay 30,000. Best place where u can get him is Sorcim Technologies Murre Road RWP
|
|
|
|
|
you can't really. An uninstall always leaves behind files your app has created. I assume the directory stays because there are files in it.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
can u know how can i get the path of the Install Directory in AfterUninstall event of the Installer Class
WANTED wasim khan(Killed 50 Innocent Buggs, Distroyed 200 Exception, make 5 Project Hostage) any Compnay Hire him will pay 30,000. Best place where u can get him is Sorcim Technologies Murre Road RWP
|
|
|
|
|
hiiiiiii
i m web devloper and now i wana learn windows application,
how can i create a small project means i wana guideline to create small project.
|
|
|
|
|
Well, File, New, Windows Application. Not much to it, really. You should be reading a book or articles online before you ask questions like that.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
If you open Visual Studio you'll see half-way down and to the left of the StartPage a green? box where it usually says stuff like "Create Your First C# Application" or Getting Started etc, click on one of those and you'll find lots of quick tutorials. It's a pretty good place to start.
|
|
|
|
|
|
can anyone give me solution for above error?
thanks in advance.
|
|
|
|
|
*sigh* anyone notice how the questions get ridiculous around this time of day ?
It means that you're missing a using directive, or an assembly reference. It means you tried to access a class called abc, and no such class exists in the current scope. It also means you don't know how to use google, or read.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
Christian Graus wrote: It also means you don't know how to use google, or read.
Exceptions should have a readonly "BeginnersErrorMessage" with that text you wrote as a "dumbed down" explanation what what went wrong.
|
|
|
|
|
"Exceptions should have a readonly "BeginnersErrorMessage" with that text you wrote as a "dumbed down" explanation what what went wrong."
That's actually not a bad idea. In addition to the simplified error messages there could be links from the messages' text into a semantic network containing the elementary programming knowledge experienced programmers take for granted. It could support people trying to program with no background in software by filling in the gaps in their knowledge.
It would probably be a good topic for an Artificial Intelligence thesis, or an ambitious term project.
|
|
|
|
|
It also means there is an access problem
no one is dumb to write a code without knowing they missed a namespace
its just that, the path in which the namespace should be present is not accessible
Anyways its my opinion
|
|
|
|
|
Hi there,
I wrote an add-in for outlook 2003 and am saving files from Outlook in a way that is provided in many examples:
Microsoft.Office.Interop.Outlook.Selection SelectedEmails = this.Application.ActiveExplorer().Selection;
Microsoft.Office.Interop.Outlook.MailItem EMail = null;
if (SelectedEmails.Count == 0)
{
MessageBox.Show("Please select e-mail for submission", "3Hats Add-In", MessageBoxButtons.OK);
return;
}
else if (SelectedEmails.Count > 1)
{
MessageBox.Show("Please select only one e-mail for submission", "3Hats Add-In", MessageBoxButtons.OK);
return;
}
try
{
EMail = (Microsoft.Office.Interop.Outlook.MailItem)SelectedEmails[1];
foreach (Microsoft.Office.Interop.Outlook.Attachment Attachment in EMail.Attachments)
{
Attachment.SaveAsFile(System.IO.Path.GetTempPath() + "\\" + Attachment.FileName);
}
After saving, I figure out that file size is different by at least 0x1200 bytes if sent from within the Outlook 2003 to an e-mail. After examining it, it appears that a few bytes in header of the file are changed, and a huge chunk is attached to the end of the file. Can anyone tell me how I can retrieve original file from within Outlook 2003?
Thank you.
"Do not try. Do"
|
|
|
|
|
Hi Experts,
I want to find a particular table exists in a DB or not.
I m using sqlserver2005.....
Please help.
thanks in adv.
|
|
|
|
|
Here[^]
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
SELECT * FROM INFORMATION_SCHEMA.TABLES
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[TableName]') AND type in (N'U'))
|
|
|
|
|
This would be much better
SELECT *
FROM sys.tables
WHERE name = 'mytable'
AND schema_id = SCHEMA_ID('myschema')
sys.tables contains all the tables. So it would be easier to query sys.tables rather than sys.objects
|
|
|
|
|
with GetWindowText I can take only title
|
|
|
|
|
Correct. What do you want to get the 'document name' of ? I mean, a lot of HWNDs point to programs that have no document ( Freecell, for example ).
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
I know about that, but now I need to take information from adobe reader and MS office
From some applications I can take full document name when process created, but I can't take
when office document opened and from Adobe I can take info just only if in the same time opened
only one document
|
|
|
|
|
OK, so your question is meaningless. A HWND does not HAVE a document, at least, it's not guarenteed, so no mechanism is going to exist on that level. You need to work out solutions specific to each program you want to interact with, as they will be unique to those applications.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
I can take information from some applications by hooking CreateFile and close handle,
but i thought to find more safely and universal way.
|
|
|
|
|
There can't be a universal way, when not every HWND has a document. If they are all MFC MDI apps, then perhaps there's something you could try, but I am certain that Word at least does not use MFC.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|