all groups > vb.net > october 2007 > threads for tuesday october 9
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Get filename without the path - Beginner in VB
Posted by Andy at 10/9/2007 10:09:53 PM
Hi
I have a filedialog that returns the entire path and the filename of a given
file.
How can I remove the filepath from the filename property and only have the
basic filename.
Say I have a file test.txt located in c:\users\username, then the
filedialog.filename property returns "c:\users... more >>
Wrapping Word.Application object with an IDisposable class?
Posted by surturz at 10/9/2007 10:00:00 PM
Hi,
I'm using VB2005 + Office XP Enterprise.
If you create a Word.Application object, you risk a memory leak if your
application crashes because Word.Application is an unmanaged COM Interop
object.
I want to encapsulate the Word.Application in a Class that implements
IDisposable to av... more >>
Email Issue
Posted by SK at 10/9/2007 9:02:00 PM
Hello All,
I'm trying to understand how one can send 5000 emails using system.web.mail
namespace. I used google, even my own smtp account information - they both
send only 500 emails/ day but I need to create a program to send 5000
emails. I know there are programs that does that but I would r... more >>
Combo Box
Posted by Tony K at 10/9/2007 8:01:01 PM
I want to know how to have the drop down values of the combo box display
something different than what the box is bound to.
Example:
When the box is not in a 'drop down' state, it will display the Purchase
Order Number (it does this now).
How would I make it display the Purchase Order Nu... more >>
Implicit coversions
Posted by tshad at 10/9/2007 1:50:34 PM
Why does VB.Net convert:
Dim CCNumber as String = "123"
For i As Integer = 0 To (CCNumber.Text.Length / 2)
to
For i As Integer = 0 To 1.5
In C# it leaves the conversion as an integer and truncates it, so that 3/2 =
1 and 4/2 = 2 and 5/2 = 2.
Thanks,
Tom
... more >>
Small macro in Excel
Posted by Rem-8 at 10/9/2007 1:27:57 PM
Hi, I've got a problem but I don't know if this is a good group to
post on. I need to find a string in cell which looks like this:
number/
Where number is any number from 1 do ... lets say 1000. Then I need to
press button and every number I find will be number + 2. There can be
many number... more >>
controlling the margins using networked printing over the net.
Posted by JoNo216 NO[at]SPAM gmail.com at 10/9/2007 12:54:16 PM
Hello,
I am having a small problem with a program I wrote. Right now I am
generating a PDF file and am matching it to a specific form, this
process although time consuming seems to be working properly in house.
However, when this web based program is running on another computer
the PDF will g... more >>
Can not designer- edit form that inherits other abstract (MustInherit) form
Posted by Joh Smith at 10/9/2007 9:54:07 AM
I have a form called Parent that I mark as abstract (MustInherit).
Then I add another form called Child that inherits Parent and implements all
Parent abstract methods. It compiles Ok, but when i try to edit Child in
Form Designer I get following error:
The designer must create an instance of ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Changed properties of control causes undesirable code
Posted by Jason Barnett at 10/9/2007 8:33:00 AM
I've created a component that inherits from ComboBox. Wiithin its
constructor, I've hardcoded some initial items that I'd like added. These
items are of a custom class.
When I add my control to a Form, the code-behind file contains code for each
item. This seems unecessary and causes ite... more >>
filesystem encryption
Posted by lucalfiero NO[at]SPAM libero.it at 10/9/2007 8:06:40 AM
Hi, is there a way to quickly encrypt the filesystem of an USB storage
(FAT)?
I searched in sourceforge but seems to there're nothing.
Thank you very much
Luca
... more >>
PPC
Posted by Gustavo Arriola at 10/9/2007 3:14:26 AM
How do I access a specific file if it is in the Pocket PC?
Thank you!
Gustavo Arriola
... more >>
Inherited from Localization
Posted by Brano at 10/9/2007 12:00:00 AM
Hi all,
I am using VB.NET 2005 with a windows application.
I have a form frmImageTemplate that has one image on it. All other
forms of my application are declared in the frm.designer like this:
Partial Class frmITRGrid
Inherits prjZenator.frmImageTemplate
and they all inherit and t... more >>
MDI Layer
Posted by Viswanathan S at 10/9/2007 12:00:00 AM
Hi All!
Urgent. Can anybody tell the answer.
In MDI window, i am having the child forms.
In the toolbar button click the following code is written
frmaFrame.LayoutMdi(MdiLayout.ArrangeIcons)
The child form's FormBorderstyle property is FixedSingle.
The about code is not working for th... more >>
|