all groups > vb.net > january 2005 > threads for friday january 28
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
Transparence in labels
Posted by C?sar F. Q?eb Montejo via DotNetMonster.com at 1/28/2005 10:52:48 PM
This question already has been done previously (Sorry if this disturb to you).
Scenery:
I have created a class based on a Label class. In this class I had made a Overrides to the OnPaintBackGround event (for allow the transparence).
Problem:
The problem is that the final user has the po... more >>
How can i serialize a custom property
Posted by João Santa Bárbara at 1/28/2005 9:09:21 PM
i'm creating a component, with a custom property. and i need to serialize
it.
in the mail attach, i put 2 pictures that help me to explain the problem.
this is the same property.
in the (without content attribute picture - visible content).
i have changed a property and it will not seri... more >>
dynamic timer reference problem
Posted by Kris Palmer at 1/28/2005 9:02:57 PM
hi,
can somebody explain this problem? it's driving me crazy!
i have a requirement to dynamically create a variable quantity of timers
with associated start button based on the contents of a database. if i
create system timers dynamically, i cannot reference them from the start
button click... more >>
VB.net Please help
Posted by J. Freeman at 1/28/2005 7:21:52 PM
On a winform I have 30 text boxes, named txtType0 though txtType29.
An array to hold info, Dim infoType(29) as String,
I would like to assign the text in each text box to its corresponding
variable. I know there has to be a better way to do it than this.
infoType(0) = txtType0.Text
infoType(... more >>
Using named pipes
Posted by motimh NO[at]SPAM hotmail.com at 1/28/2005 6:04:12 PM
I am trying to use named pipes to interprocess communication.
My concern is the cpu wait time between them.
Can someone show me the code to do this in VBNet?
Is there an event that can be associated with the existence of text in
the pipe that can fire and hence not use any cpu time?
Any help ... more >>
Form
Posted by Mihailo at 1/28/2005 5:48:11 PM
I am new in VB.NET and at the bigining of my work I have a problem. I wont
to make small program which contain 3 forms. In the 1st Form I put 10
Textbox which
contents I need to display in the 3th form. This 3th form I connect with
button
OK. I wont that user in 1st form input name, date of bea... more >>
printing multiple pages
Posted by mark at 1/28/2005 5:39:02 PM
I can't seem to get the logic for printing multiple pages. I know I have to
do a comparison between the bottom margin and the position of the next line
to be printed and initiate a has more pages condition when they are equal. I
have included my code for the printpage handler below. When I run... more >>
Dynamic object creation with choice of constructor
Posted by Nak at 1/28/2005 5:05:55 PM
Hi there,
I'm using Activator.CreateInstance to create an object from a string,
unfortunately it requires that I have a constructor with no parameters (at
least I presume)
I was wondering if anyone knew how to do the following.
A) Create a type object from a string
B... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Wait Please Form
Posted by Bonato Pierantonio at 1/28/2005 3:51:17 PM
Hi all,
I need a suggestion.... I need to build an application in VB.NET where I
want to place a "WAIT PLEASE" form during the long process of the
application that disappera automatically when the Process is finished.
Some suggestion?
Thanks
... more >>
C# to VB
Posted by Nikolay Petrov at 1/28/2005 2:32:17 PM
What this means in VB .NET?
public class RequestEmployee: ISocketObject
TIA
... more >>
WaitForExit doesn't wait
Posted by Terry Brown at 1/28/2005 2:32:04 PM
I am trying to use WaitForExit to determine when an external application I
have launched has exited (duh!). I found examples everywhere and it
seemed simple and this works perfectly:
Dim myProcess As Process = _
System.Diagnostics.Process.Start("notepad.exe")
' wai... more >>
StartPosition
Posted by Stephen Costanzo at 1/28/2005 2:25:52 PM
I have a blank form and my Sub New is as follows:
Public Sub New()
MyBase.New()
'This call is required by the Windows Form Designer.
InitializeComponent()
'Add any initialization after the InitializeComponent() call
msConnectionString = msConnectionString & ";Workstation ID=" &
E... more >>
Howto retrieve all available classes in an assembly?
Posted by Friso Wiskerke at 1/28/2005 2:16:20 PM
Hi all,
Is it possible in VB.NET to retrieve a list of available classes in the
current assembly?
I know that there are many things you can do with the System.Reflection
namespace, like dynamically creating an instance of a class, but I haven't
found anything which can help me in getting th... more >>
Hide datagrid new row
Posted by Marco at 1/28/2005 2:12:23 PM
Is there a way to hide the new row in a datagrid without setting it to read
only? I want to be able to still edit the values in it but I should not be
able to create any new ones.
... more >>
Delete records from dataset
Posted by Stephen at 1/28/2005 2:03:50 PM
I have a dataset that I do not want written back to the table. I need to
delete rows from the dataset where to fields are equal...example
Dataset1
bridge <---- pk
amt
rec
if amt =rec , i want to delete / remove the record but cant figure it out
any help will be... more >>
Guidance please
Posted by brucelgriffith at 1/28/2005 12:51:16 PM
I am looking to write a screensaver in VS.Net 2003 or 2005 and would like
someone to point me to an example or an article on how this is done. I know
this probably sounds dumb but I am a neophyte programmer and need the help.
Thank you ahead of time.
... more >>
IConvertible
Posted by Bruce A. Julseth at 1/28/2005 12:16:17 PM
I am getting an error message on .ExecuteNonQuery using a procedure stating
the I need to use IConvertible. The data the gives the error is a defined as
"SqlDbType.Money."
When I search Microsoft and find an explantion of IConvertible, nothing is
mentioned for "Money."
Can someone provide m... more >>
Printing without a document
Posted by Al Jones at 1/28/2005 12:11:24 PM
Well, hopefully that title get someones attention.
In this old gwbasic program I've converted I *have* sucessuflly converted
it to print to a file and the output is acceptable. From there I have
printPreview and (what is it) PrinDocument working.
All of the references I've found (to inc... more >>
Casting of Enum values
Posted by Jason Larion at 1/28/2005 11:59:33 AM
When working with enums, I've noticed some behaviour that seems
completely counter-intuitive to me. I was wondering if someone here
could help restore my sanity, or at least help me to understand the
"why" of the behaviour.
After dimensioning an enum of type integer, any attribute referenced
... more >>
IOStream does not read special characters
Posted by Marcus O via DotNetMonster.com at 1/28/2005 11:31:25 AM
Hello,
I am fairly new to vb.net and I have a problem when reading from text file. The file contains characters not found in English (e.g. ?, ?, ?). When I am doing a ReadLine those characters are skipped by vb.net. Does anyone know what to do to fix my problem?
/m
--
Message posted via h... more >>
remove decimal from crystal report
Posted by jaYPee at 1/28/2005 10:56:07 AM
I have a report created in crystal report. My problem is on how can I
remove the decimal point without converting the value.
say for example if I have this data:
Unit
2
1.5
2
3
Crystal Reports automatically convert the 1.5 to 2. in this case my
report display this data.
2
2
2
3
... more >>
Console application thread exception handling
Posted by Nak at 1/28/2005 9:13:06 AM
Hi there,
I have a very simple console application that I'm trying to handle the
thread exception on, as I understand it there is no Application object
available to a console application, so I can't use this. Instead you need
to use "Thread.GetAppDomain.UnhandledException", this "works... more >>
Accelerator in vbnet
Posted by Roberto(DOTNET) at 1/28/2005 9:04:08 AM
Hi at all,
i made a webapplication, and some pages have into its some dynamic control
(UserControl). Now i would like to put some accelerator key to improve the
fast of some operations. Is there a way in vbnet to make a combination of
keys so the user is, for example, on a webpage and press the ... more >>
Recomendations for scanning and barcode reading?
Posted by Bruce D at 1/28/2005 8:55:12 AM
I'm researching a VB .NET project that will have two functions:
1 - scan images using TWAIN drivers of scanner
2 - read barcode of that scanned image
I've been researching many companies and was wondering if anyone had any
recommendations of any options about the companies I've listed here. Y... more >>
handle GetStream event for TcpClient
Posted by mike w. at 1/28/2005 8:41:05 AM
how can I handle when data is received from TcpClient.GetStream.
i'd like an event raised when data arrives
thanks,
mike w.
... more >>
Post to a web page from my app?
Posted by Bruce D at 1/28/2005 8:21:04 AM
I'm pretty new to VB .NET. I was wondering if there was a way that I can
create a form in my application that can send the information to a web
site/page using "post" (or if there is another way)?
Any help is very much appreciated!
-bruce duncan
... more >>
populate textbox from dataview
Posted by Barney at 1/28/2005 7:41:05 AM
How can I populate a textbox from a dataview? I have a dataset i'm filtering
on and i want to populate several textboxes based on that filter.
How can i get that to work?
I've tried:
dsDetails = GetCars()
dvDetails = New DataView
With dvDetails
... more >>
Hey, VB Team. VS.NET Dataform wizard doesn't gen correct code!
Posted by Larry Woods at 1/28/2005 7:34:40 AM
Has anyone noticed that the VS Dataform wizard doesn't gen correctly
DISPLAYED results if you have an IDENTITY key defined for your table
(normal stuff, IMHO)? If your dataset is empty the first "Add" will display
TWO records on the resulting form. This is because they are creating a
'tempora... more >>
Updating only changed rows in database
Posted by Nathan at 1/28/2005 7:05:48 AM
Hi,
When I update my database, I call the updates like this (in order to submit
hierarchial changes properly):
daAdapter.Update(tblMyTable.Select("", "", DataViewRowState.Added))
daAdapter.Update(tblMyTable.Select("", "",
DataViewRowState.ModifiedCurrent))
daAdapter.Update(tblMyTable.Sel... more >>
copy a portion of a bitmap to another bitmap (via picturebox or other method) ?
Posted by Mad Scientist Jr at 1/28/2005 6:44:20 AM
I have a bitmap (32 pixels high, 8192 pixels wide) that contains 255
images, each 32 pixels wide, that I would like to chop up into
individual 32x32 bitmap files. Rather than spending hours in Paint or
Photoshop I would like to do this programmatically. My code below
attempts to load in the orig... more >>
Get "short" path
Posted by Mike at 1/28/2005 6:20:48 AM
Hi,
I use some old application that need "short path" - previous dos style.
For example , I need to convert "C:\MyLongPath\1.txt" to
"c:\mylong~1\1.txt". Does exist any classes at vb.net for doing this?
Thanks,
Michael
... more >>
Datagrid column width
Posted by PLSH at 1/28/2005 5:49:02 AM
Good day,
Does anybody know how to programmatically set the column width of a web form
datagrid.
tia
... more >>
MDI Tab fprms
Posted by Luis at 1/28/2005 4:43:02 AM
Hi,
I want to make a MDI tabbed forms interface, any idea how to do this?
Best Regards,
Luis... more >>
VB.NET References
Posted by Chris Podmore at 1/28/2005 4:21:02 AM
Not sure if this is the correct group, apologies if it isn't.
I am trying to set-up another development machine but have a problem with
references with the project file. On all of our existing development machines
the reference to ADODB have Guid; VersionMajor; VersionMinor; Lcid and
Wrappe... more >>
How to create a web service using an existing XML file in VB.Net
Posted by Ish2000 at 1/28/2005 3:25:02 AM
Hello,
I've an XML file that i would like to use in creating a web service. I have
already set up the IIS server and i can run a sample web service.
I tried creating a function so that when the web service is invoked, it will
display the content of my XML file.
Do anyone know what ... more >>
Display XML file to a Datagrid?
Posted by Ish2000 at 1/28/2005 3:17:01 AM
Hello,
Is it possible to display an existing xml file in a datagrid?
Thanks... more >>
Webclasses in iplanet
Posted by Arunachalam at 1/28/2005 2:41:28 AM
Hi all
I am migrating couple of IIS application to Sun one
(iplanet) server. I have created the webclass
(WebclassRuntime) using VB in my applications. The
applications are not getting deployed on Sun One. Could
you please confirm whether iplanet is supporting webclass
or not? I am g... more >>
Creating a subclass instance from a base class instance
Posted by Larry Lard at 1/28/2005 1:54:30 AM
[formerly posted to ms.public.dotnet.vb.general, but this seems to be a
much higher traffic group]
Hi,
This seems to me like a problem that has a simple solution but I can't
for the life of me work it out.
Suppose I have a base class Employee
Public Class Employee
Public FullName As S... more >>
Regular Expressions
Posted by norton at 1/28/2005 1:31:05 AM
Hello,
Does any one know how to extact the following text into 4 different
groups(namely Date, Artist, Album and Quality)?
[2005-01] - Artist - Album
[2005-01] Artist - Album
[2005-01] - Artist - Album [123kbps]
[2005-01] - Artist - Album-[123kbps]
i have try this syntax but it failed
\[... more >>
Visual Basic.NET Resource Kit!
Posted by frossberg at 1/28/2005 12:25:04 AM
Hello!
I tried to install the Visual Basic.NET Resource Kit
(http://msdn.microsoft.com/vbasic/vbrkit/) but obviously something went very
wrong and now it sems impossible both to repair and to remove (to start over
from scratch) the installation. The messages popping up after choosing one of... more >>
|