|
hi
i am trying to develop outlook add in i.e i want to add two comboboxes in the tool bar. one contains the all the folders name having the contacts. and the second combobox contains all the contacts in the folder we selects in the first combobx.
how to do this
will you help me..
thanks.
Ankit Patial
|
|
|
|
|
|
Hey, Can someone please provide me with a simple example of using crystal reports with VB.Net.
With Best Regards,
Mayur
|
|
|
|
|
to use crystal reports in vb.net
follow the following steps..
1. put a crystal report viewer(select it from the tool bar) in a form.
2.create a crystal report.(go to project menu click on add new item, select crystal report and follow the wizard).
3. to access this report. you can use the following code
CrystalReportViewer.reportSource="..\reportname.extension"
Ankit Patial
|
|
|
|
|
Anybody has idea how will i connect my crystal reports on a trusted connection.
My code goes like this:
<br />
Dim CRReport As CRAXDDRT.Report<br />
Dim crDBTab As CRAXDDRT.DatabaseTable<br />
<br />
For Each crDBTab In CRReport.Database.Tables<br />
crDBTab.SetLogOnInfo sServerName, sDatabaseName, sUserID, sPassword<br />
Next 'For Each crDBTab In Report.Database.Tables<br />
If I am to use a trusted connection sUserID and sPassword must not be supplied coz the Windows Auntheticity will be used, anybody has an idea on how it will be done?
|
|
|
|
|
Hello guys..
Need help on how to get the maximun number of days in a month using DateTimePicker vb.net2005..... ???
Tnx in advance....
|
|
|
|
|
You don't need the date time picker. DateTime.DaysInMonth() will do this for you, the datetimepicker probably calls it.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
You are the best man.... Thanks many times....
|
|
|
|
|
Does anybody have a tested working example of the ReadProcessMemory API,
written in VB.net that they could kindly post?
Including correct declarations.
Thank You.
|
|
|
|
|
About the best article there is, using ReadProcessMemory, on CP is this[^] one. It's in C#, but the code is convertable to VB.NET.
I've used his code in an application myself, without any problems. I'll be putting an article together fairly soon that uses that very same articles code.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-- modified at 21:15 Sunday 29th January, 2006
|
|
|
|
|
Thank you for your reply.
I am aware that the internet is full of code examples of ReadProcessMemory in C#, C++ ect, but I can never get the conversions to work, which is why I am looking for a code snippet in VB.net to work out where I have gone wrong.
Thanks again.
PS Is your application in VB.net?
|
|
|
|
|
|
|
Thank you Duncan,
I found your code elsewhere after I posted my original request.
It looks very interesting and hopefully the solution I am looking for.
Thanks all.
I
-- modified at 10:05 Monday 30th January, 2006
|
|
|
|
|
I have tried the following code but get:
An unhandled exception of type 'System.NullReferenceException' occurred in WindowsApplication2.exe
Additional information: Object reference not set to an instance of an object
<br />
'public static extern int AVIFileCreateStream(int pfile, out IntPtr ppavi, ref AVISTREAMINFOW psi); (C#)<br />
Declare Function AVIFileCreateStream Lib "avifil32" Alias "AVIFileCreateStream" (ByVal pfile As Int32, ByVal ppavi As IntPtr, ByRef lParam As AVISTREAMINFOW) As Int32<br />
<br />
Private _aviFile As Int32 = 0<br />
Private _aviStream As IntPtr<br />
<br />
Dim aviStreamInfo As AVISTREAMINFOW = New AVISTREAMINFOW()<br />
(then set some attributes)<br />
<br />
_result = AviFile.AVIFileCreateStream(_aviFile, _aviStream, aviStreamInfo)<br />
The problem occurs on the last line. This was part of my C# to VB conversion attempt of
http://www.codeproject.com/cs/media/aviFileWrapper.asp[^]
[^]
|
|
|
|
|
hmm, have to remove the stuff after .asp on that link thanks.
|
|
|
|
|
I'd say an out parameter also needs to be byref.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
problem still occurs with this, after changing to by ref, unless u meant change it another way?
<br />
Private _aviFile As Int32 '(or = 0 as well)<br />
Private _aviStream As IntPtr<br />
Dim aviStreamInfo As AVISTREAMINFOW = New AVISTREAMINFOW() '(and fill some vals)<br />
<br />
Declare Function AVIFileCreateStream Lib "avifil32" Alias "AVIFileCreateStream" (ByVal pfile As Int32, ByRef ppavi As IntPtr, ByRef lParam As AVISTREAMINFOW) As Int32<br />
<br />
_result = AviFile.AVIFileCreateStream(_aviFile, _aviStream, aviStreamInfo)<br />
thanks
|
|
|
|
|
I wish to make an object tracking algorithm.
My aim is to identify the finger by a web cam
and control the mouse pointer corresponding
to the movement of the finger.
can you help me to complete this poject?
please inform about the active x control
that can be used for this purpose
thanks for informations
|
|
|
|
|
Georgekutty wrote: please inform about the active x control
that can be used for this purpose
In other words, you hope that someone else has written the code to do this, and you can just call it ? That means you have no desire at all to make an 'object tracking algorithm'.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
my data is loaded to data grid using dataset,,
now i want to put a button when i press on it it will save the changes permanent to my database...
thanks...
|
|
|
|
|
You can iterate through the rows of a datagrid and check if a row is new, if it was deleted, or if it's been changed. Once you do this, you'll know what data to pass back to the database.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Christian Graus wrote: You can iterate through the rows of a datagrid and check if a row is new, if it was deleted, or if it's been changed. Once you do this, you'll know what data to pass back to the database.
How could we do that?
|
|
|
|
|
|
Thank you very much for your answer.
|
|
|
|