all groups > vb.net > may 2005 > threads for sunday may 29
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
Calculating the width of an element
Posted by Nathan Sokalski at 5/29/2005 9:48:57 PM
I want to make a table of links on my page. However, because different users
will have different screen widths, I will need to calculate the number of
columns based on the screen width and width of the table's data. How can I
determine, in pixels, the width of a given piece of text? Any help w... more >>
Sizechanged event question...
Posted by johnb41 at 5/29/2005 9:13:59 PM
I have a Picturebox that has an image displayed inside. Through code,
I was able to have the "whole image" display in it without distortion.
(Like a "Fit All" in most any image viewer program)
Now, when the Picturebox gets resized by the user, I want the image to
recalculate and display as "F... more >>
Install Font
Posted by Tim Marsden at 5/29/2005 7:59:06 PM
Hi,
I have created a font which is unique to me. This is stored in a .TTF file.
I would like to be able to have an application which witten in VB.NET which
when run, prints a Excel workbook or Word document using this font. I do not
want to install the font on to the PC or have the font be ... more >>
Images
Posted by EdB at 5/29/2005 7:08:03 PM
We are having an odd problem saving images. We capture customer signatures
on a Palm Pilot and save them as points on a graph. We are able to
reconstruct these points to display the signature, but when we attempt to
save the file off so that we can pass it back to our customers we get an odd... more >>
Change URL in Web service at Runtime
Posted by Gujju at 5/29/2005 6:05:28 PM
Is that possible in .net to change the target web service at runtime. ie.
change the URL and access a different web service totally. which does totally
different things but has the same Definition.
IE Service1.asmx WEBMETHOD(BYVAL as Integer)
Server2.asmx WEbMETHOD(Byval as integer)
Serv... more >>
Ownerdraw Listbox Hit Check Issue
Posted by Rlrcstr at 5/29/2005 5:59:02 PM
I'm rolling my own with a listbox. The items in the list box are of varying
sizes and I'm hit checking when the litbox is checked to see what portion of
an item the user has clicked on.
Mostly it works fine. The only issue I'm running into is when the item that
th users clicks is at the b... more >>
How to prevent new row in datagrid - prevent new row * icon?
Posted by Rich at 5/29/2005 4:21:02 PM
I fill a dataset like this:
dim da As New SqlDataAdapter, ds As New Dataset, conn As New SqlConnection
....
da.Fill(ds, "tbl1")
datagrid1.DataSource = ds
datagrid1.DataMember = "tbl1"
When the form containing datagrid1 displays, all the records are there. The
dataAdapter, da, is based o... more >>
How to unload a dll
Posted by Mike at 5/29/2005 3:42:06 PM
I am calling a function in a third party dll from a VB.NET application
(see below), and would like to unload the dll after using it. How would
I do that, from the code?
Public Declare Function SomeFunction Lib "ThirdParty.dll" _
(ByRef i As Integer) As Boolean
..
..
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
MailMessage, SmtpMail, and Hotmail: Why are my messages getting put in Junkmail?
Posted by Nathan Sokalski at 5/29/2005 3:10:30 PM
I am using the MailMessage and SmtpMail classes to allow users of my site to
send me email at my Hotmail email address. However, it always ends up in the
Junkmail folder. Even though I check my Junkmail box, I do not want this to
become a problem if I ever use these classes to have email sent ... more >>
Type Comparison
Posted by Rlrcstr at 5/29/2005 2:10:46 PM
I'm passing an object to a funtion that needs to operate on all the the
member properties of type string.
I know how to iterate through the member properties of the object using
reflection, but I can't figure out how to tell if the type of the property
is a string.
How can I programmatic... more >>
spell checker
Posted by Brian Henry at 5/29/2005 1:15:35 PM
All our deployment systems have MS Office installed on them, which i know
you can interact with the office spell check api, but not sure how to.. is
there a way I can code or examples of how to interact with the Office Spell
check api to do simple spell checking on text fields on my applicatio... more >>
DrawString
Posted by Rlrcstr at 5/29/2005 12:19:04 PM
Using Graphics.DrawString, is it possible to specify that the text is draw
centerd horizontally and/or vertically in the specified layout rectangle?
Thanks.
Jerry
... more >>
View (SQL Server) Question - Please help!
Posted by kvrdev1 at 5/29/2005 10:02:01 AM
I have a view that is joining multiple tables. How do I modify this view so
that it also returns when the value is "NULL" for some of the join table
fields???
Any help would be greatly appreciated!!!
Thank you,
-Valerie
SELECT TOP 100 PERCENT dbo.PATIENTMEDICATION.PatientMedicatio... more >>
How to handle click on URL in a RichTectBox
Posted by Al at 5/29/2005 8:08:03 AM
I would like to have a URL in my RichTextBox so when user click on the URL,
it will open up a browser with in the selected address.
Thanks
Al... more >>
Print text in a text document
Posted by Rich at 5/29/2005 7:16:40 AM
Hi, I am working on a large Text Editor program. I have features like
save, but I need help on how to print. I need to print the string
"textbox1.text" using a printdialog. I would also like a way to print
without the printdialog. Any help would be greatly appreciated.
Thanks in advance, Rich
... more >>
Audio Mixer Control in VB.NET
Posted by Andrea V.F. at 5/29/2005 5:51:44 AM
I need to control (Get and Set) this parameters of Windows Audio Mixer:
- Master Volume Mute
- Master Volume Level
In addition, but not mandatory, I need to control also the PC Speaker
Mute and Volume. PC Speaker control is aviable only in some Systems
such as laptops, in others systems the... more >>
problem vieing .mdb files with openfiledialog
Posted by Mike at 5/29/2005 12:00:00 AM
I need help understanding why the following code is not working correctly.
When run, I can open .mdb files by changing the filter option to "All Files
(*.*)" but while "Access Database (mdb.*)" is selected no db files are
listed in the OpenFileDialog box....
----------------------------------... more >>
SMS
Posted by Nitin at 5/29/2005 12:00:00 AM
How can I send an SMS to a mobile phone through a VB .net application
running on a PC ?
Regards,
... more >>
Restoring Dash and font styles
Posted by Jack Russell at 5/29/2005 12:00:00 AM
I want to be able to store both drawing2d dash styles in a text file as
a string then restore them.
The first is easy but I can not find a simple way of converting them back.
Any Ideas??
Thanks... more >>
ArrayLIst as a component of a class
Posted by Bernard_Bourée at 5/29/2005 12:00:00 AM
I have a class named INDICE that have two properties NAME and COMP
Name is declared as string
COMP is declared as an ArrayList
I have the following code
Dim Ind as New Indice
Ind.Name="Something"
Ind.Comp.Add("XXX")
THis last line give me an error "The reference to an object is not
... more >>
|