|
Hey
Is it possible in VBA and Outlook 2003 to determine whether the mail being viewed in the current window (user has double clicked mail to view it or clicked on New) is incoming or is outgoing?
At the moment I can get the folder that the activeExplorer is looking at and so can determine if a message is in the inbox.
However when the NewInspector event is fired and a window pops up with either incoming mail or an editor to create new mail is there a way to determine which is which programmaticaly?
Thanks
Dan
|
|
|
|
|
Hey
In the end did a bit of a bodge but it works - for any one with a similar problem all I do is compare the senderName - if there is one it is received and if there isnt one then I am creating a new message
Hope this helps some one
Oh and if any one has a better/more foolproof way could they please let me know
Thanks
Dan
|
|
|
|
|
Hi!
I have a problem, I have a vb 2005 application and SQL Server 2000 database. Data from vb forms are transferred to SQL tables. However, I need to protect my data. To prevent other unauthorized users from viewing it anyhow. Thus, I do not know, whether I should encrypt the data through cryptography classes in vb 2005 and then decrypt it when I want to display data in datagrids. Or there are some other ways to encrypt it through SQL server components?
Could you please suggest me what will be the right way of protecting my data?
Thanks beforehand.
|
|
|
|
|
The main way to protect your data, is to write a secure database and make sure that only specific users have access to it, and password protect those accounts.
You can also encrypt the data if you want to, and if performance is not a concern.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
If you encrpyt the data in the databasem, you introduce two problems.
The first is performance. Encrypting and Decrpyting the data takes a LOT of time and makes using the standard Data classes a nightmare to use. Your Data layer is going to be under tremendous stress doing all that math. This makes you solution not very scalable without massive CPU horsepower.
The second is searchability. Storing the data encrypted in the database essentially destroys your ability to use an WHERE clauses, except when specifying match values for P/F key and unencrypted fields.
A better suggestion is to learn Windows Server and SQL Server security and apply it appropriately.
|
|
|
|
|
I was trying to install sql server Enterprise Edition on windows 2000 server.
i got the following error.
sql server enterprise edition is not supported on windows 2000 server.only client components components will be available
will sp4 solve this problem.
Thanks and Regards
Pankaj
-- modified at 3:39 Wednesday 6th June, 2007
|
|
|
|
|
Nilish wrote: will sp4 solve this problem.
A service pack is applied to a program that's been installed, so I'd say the answer is no.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Is there any way out to solve this problem?
|
|
|
|
|
http://www.eclasses.org/Requirement/MS321.html[^]
You must have SQL Server 2005. The solution is to upgrade your OS.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Assuming this is the Enterprise Edition of SQL Server 2005, it will install on these versions[^] of Windows Server.
If your Windows 2000 Server doesn't have AT LEAST Service Pack 4 installed, SQL Server will not install. I would have though that making sure your server meets the minumum system requirements would be step 1 in the decision to buy SQL Server 2005 Enterprise. After all, that's a lot of money you just shelled out for it. ... or did you?
|
|
|
|
|
Sir,
Please send me the basic steps to make an apllication that is able to speek my own language(Pashto)(spoken in NWFP-Pakistan).
|
|
|
|
|
It's not really a basic task. It's quite a complex one. You need to either record all your possible word sounds and write code to push them together, or record every word you would ever hope to speak.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Sir,
You mean that in English Text-2-Speech application they recorded each and every word what somebody write to speek in it.For Example
Microsost Talk It
If I write my name or other thing that is of my own language.It will speek.But i think microsoft don't know about that thing.So i need an application just like that which support unicode character to speek in a way,I specify.
So my dear Sir,
Can you help me in it.
ThanX for considration.
|
|
|
|
|
HI,
Is there any tool to convert C# code or VC++ code to VB6.0? Please let me know.
Thanks in Advance,
AR Reddy
|
|
|
|
|
VB6 is a dead language, which is to say it's totally unsupported. It's also inferior to C# and C++, it simply cannot do the things those languages can. Therefore. a converter is both technically impossible for all code, and there is really no motivation for anyone to write one.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi Christian Graus,
Thanks for the reply.
Actually I am C# resource and I am been asked to build an application in VB6.0, which is already developed in C#. This is client specific requirement and I am facing many problems in developing the appication in VB6. The problems like
1. Marshal.PtrToStringAnsi equivalent function in VB6. I have used CopyMemory and CopyMemoryAnsi from Kernel32.dll, but I am getting "over flow" error.
So I wanted to know if any tool is there to convert C# code to VB6.0.
Anyway, thanks again for the reply.
AR Reddy
|
|
|
|
|
Let me get this straight. They want to you rewrite an application is VB6 that you have already written in C#, correct?
OK. Let's look at the costs involved. 10 minutes to install the .NET Framework per machine that is going to run your app, or, 3 months to rewrite the code in a dead language with no support. How much do you get paid by the hour? How many machines is this going to be running on?? Hmmm....
|
|
|
|
|
hi.
this should be done in SMART devices applications
in VB or C#
i need to draw a Horizontal and vertical line like Cross" (+) "
when i click mouse in somewhere on the window.
and refresh it on the next click..
Pls help..
urgent!!!
Chamil
|
|
|
|
|
dilhappy wrote: urgent
There's something we've not seen before.
The two ways to draw are to call CreateGraphics to get a graphics object to draw something temporary, or handle the Paint event to draw something that will stay on the screen permanently. The definition of temporary is that it will disappear when you call Invalidate(), or when something causes your window to redraw itself (like it gets covered and then shown again )
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Christian Graus wrote: dilhappy wrote:
urgent
There's something we've not seen before.
|
|
|
|
|
hi i get his Error
""An unhandled exception of type 'System.Data.SQlClient.SQlException'
occurred in System.data.dll""
when am trying to update the adapter, and it point in this code
<br />
SqlDataAdapter1.Update(DataSet1, "Property")<br />
What is the Problem,i googled the problem, i saw threads with different Scinerio. Please Help
Vuyiswa
|
|
|
|
|
Vuyiswamb wrote: What is the Problem,i googled the problem, i saw threads with different Scinerio
If you couldn't figure out your scenario yourself from a list of choices, how else do you expect anyone else to do it from you?
Add to this, a woefully inadequate question , which does not tell us how you're updating using the adapter. Do you use the Select command or a separate update command. Is it inline SQL or a SP? Do your modifications break any referential integrity? Do you see any inner exception?
Please look at it from a third person's perspective. Atleast give us enough information to understand and respond to your question.
SG
|
|
|
|
|
Help me to add DataGridView DateTime Picker Column using VB.net 2005
Kalika
|
|
|
|
|
hi kalika,
Perhaps you dont add DatetimePicker Column to Datagrid.however you can take a DateTimePicker control & whenever column(related to date) got focus,then u can set DateTimePicker control location to this cell and on lost focus event pick the value of DateTimePicker & assign it to cell.
Hope this helps
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
|
|
|
|
|
Basically, you'd be creating your own Column class for the DataGridView. This is NOT for the faint of heart and it would take an entire article to explain it all. But, you need to create 3 classes.
The first, is the Column class for the DataGridView, which will inherit from DataGridViewColumn.
Public Class MyDatePickerColumn
Inherits DataGridViewColumn
The second is a class that will show the cell contents in the datagridview. You really don't want to show an entire calendar month graphic in there, it simply takes up too much screen realestate to show a date. So, you create a class that your column will use to show the data in a presentable form. This class will use the DataGridViewTextBoxCell as a base to build on.
Public Class MyDateCell
Inherits DataGridViewTextBoxCell
The final class is the hard one, the edit control. This one has to handle putting up the datetime picker control and letting the user pick a date. Since this class is expected to supply certain methods that your column control will call, it has to implement a specific interface, call IDataGridViewEditingControl. Since your just going to show a datetime picker control, it's be a good place to start with the class.
Public Class MyDateColumnEditControl
Inherits DateTimePicker
Implements IDataGridViewEditingControl
Want an example? Here it is[^].
|
|
|
|