What is the equivalent now though? If they were doing FileOpen(86, whatever) what is the equivalent in 2.0? Actually I dont understand how they were actually doing anything with that file by just opening it.
On top of what Duncan posted, CopyString has some SERIOUS limitations on it's use in the .NET Framework. Since an object can be moved at any time, CopyString can be passed invalid addresses unless the objects invloved are pinned in place.
What does this function do that you require the use of CopyString??
I ahve a rich text box on my form and I want it to, when you add text to it I want the program to dispaly the file size it will be when it is saved (hTM or RTF. i want it to display this on lblfilesize label.
Hi, My Application has a tray exe built in VB.The menu will be automatically refreshed in every second.If the tray menu is kept open, the menu jumps while refreshing. How can i avoid the tray menu from jumping. This problem is only in Windows Vista.
Thanks in advance
That's because you don't read anything from USB. It's a bus, not a port. You read data from the devices attached to the USB bus, but how you do that depends entirely on the device itself and what methods it's driver exposes.
I m using vb.net 2005 & crystal report(bundeled version which comes with .net).
& using Dsn of mysql 5.0 driver for connection on my report to access data.
I wnt to add result from procedure to my report.
Procedure is ready & giving result in mysql but
as i go into database Expert of Report in my application, i cant see the procedure there.
Only add commant & tables of my database shown but how to add procedure to my report .
Anyone please help me.
-- modified at 1:48 Tuesday 20th February, 2007
"The Difficult i can do it now...
The Impossible will take a little longer."
I've not used Crystal for many years - but I seem to remember that there was an option for executing a "pass-through" query that would allow you to use native SQL-Server syntax (ie. "EXEC MyStoredProc 'ABC'").
I am trying to send an email using my program. How Many ways are ther to do it? Which is the best way, currently i have:
Dim m As New MailMessage(FromtextBox.Text, ToTextBox.Text, SubjectTextBox.Text, BodyTextBox.Text)<br />
Dim a As New Attachment(My.Settings.CurrentList)<br />
Dim c As New SmtpClient<br />
c.Host = ""<br />
My main problem however is that i have no host info, is there anyway to access the host information on the machine the program is running on and, if not, is there an alternative, other than manuel user entry?
If you don't have the host info, you need to use MAPI, there are .NET MAPI wrappers on the web.
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 )
Last Visit: 31-Dec-99 18:00 Last Update: 2-Oct-23 8:52