all groups > vb.net > march 2004 > threads for tuesday march 30
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
Call a Sub
Posted by sayerst NO[at]SPAM bellsouth.net at 3/30/2004 10:50:13 PM
What variables do I have to supply when I call a sub routine that contains
(sender, e).
For instance I want to call this:
Private Sub MenuItem1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MenuItem1.Click
When I try to call it using:
Call MenuItem1_Click()
I... more >>
P2P sample/doc
Posted by Stan Sainte-Rose at 3/30/2004 8:57:11 PM
Hi,
I m looking for some P2p vb.net samples and/or documentation.
Thanks
Stan
... more >>
MDE 2003 Docs
Posted by Dennis D. at 3/30/2004 8:53:47 PM
Hello:
I have purchased and installed VB.net Standard Edition.
The help.about dialog of VB uses the string "Microsoft Development
Environment 2003 Version 7.1.3008.
I entered the string "Microsoft Development Environment 2003" in the MSDN
site hoping to find documents for the IDE.
The result: ... more >>
Access VB.Net Controls from Javascript
Posted by fripper at 3/30/2004 8:24:22 PM
I have a VB .Net application for which I would like to write a JavaScript
program to handle a countdown counter. My question is can I access the text
property of a textbox that I created in design mode with VB .Net from the
JavaScript program? This is to say I want the JavaScript program to p... more >>
suggestions on serialization approach
Posted by Jeff Jarrell at 3/30/2004 7:46:34 PM
I am still getting started in dotNet so i don't know what approach to follow
in terms of saving data to an xml file. The data i want to save is a set of
statistics about an event. The statistics can be instances of base "stat"
or it can be a derived class from "stat" which is more complex. My ... more >>
Parse Html
Posted by Domenico Daraio at 3/30/2004 7:38:53 PM
I'm a newbie! I'm sorry but I have a problem. I must parse an Html document
for a simple access to all tag.
There is a component that do it? How can do that? Any suggestion?
I'have an Idea but i think is not correct!
Thanks
Domenico
... more >>
Garbage Collection
Posted by Michael Hart at 3/30/2004 7:34:36 PM
I have a form that creates new objects in all sorts of fashion using vb.net.
Some are created when the form opens with
Private varName as new Object()
just near the form class
In some subs I have
Sub Internal1()
Dim myVar as new Object()
End Sub
in the declaration section
... more >>
SecurityPermission (Accessing remote registry key)
Posted by Terry Olsen at 3/30/2004 6:44:42 PM
I need to read a registry key from a remote computer. Using "regedt32" I
can connect and look at keys just fine. However, when I try to do it with
my app, I get the following error:
The application attempted to perform an operation not allowed by the
security policy.
The operation require... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Problem formatting text
Posted by Mike at 3/30/2004 5:46:46 PM
Hi,
I am trying to format some text that I retrieve from a DB. I load the =
converted (to string) values in an array and then use the following =
statement:
lstChartAccounts.Items.Add(String.Format("{0:15} {1:50} {2:10} =
{3:10}", value))
I would like my ListBox (WebControl) to sho... more >>
Bitmap Class
Posted by Jarod_24 at 3/30/2004 4:52:52 PM
Can the Bitmap Class take all types of images (.bmp, jpg, jpeg, gif, eps
ect...) and resize them or does i just work with bmp images (and hence the
name)?
What image types does the Bitmap class support?
The description below (msdn) dosen't tell my that much.
"Encapsulates a GDI+ bitmap, whi... more >>
MemoryStream Performance
Posted by JackRazz at 3/30/2004 4:07:25 PM
Hi everyone,
I'm trying to figure out an efficient way to check a bunch of objects in a collection
to see if they have changed. They are all different types inherited from a base
class. One possiblility is to stream each object to memory and then compute a CRC
for that item. I can then comp... more >>
How I can access the USB port using vb.net ?
Posted by masterkid NO[at]SPAM cantv-dot-net.no-spam.invalid at 3/30/2004 3:45:25 PM
How I can access the USB port using vb.net ?
Any idea ?
Thankz
----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Priv... more >>
vb to c# converter
Posted by bptree at 3/30/2004 3:42:26 PM
If anyone wants a tool to convert vb .cls and .bas files to c# classes,
please let me know.
thanks.
... more >>
nulls in a data set populated via a csv file
Posted by Paul T at 3/30/2004 3:21:06 PM
Hi,
I am populating a dataset using ado.net and the data source is a csv file.
Here is some example data:
row 1, 3/1/2004, status, 0, 1, 2, 3, 4, 5, 6, 7...
row 2, 3/1/2004, status, 0, 1, 2, 3, 4, 5, 6, 7...
row 3, 3/1/2004, status, 0, 1, 2, 3, 4, 5, 6, 7...
row 4, 3/1/2004, status, 0, ,... more >>
Another newbie quesion: Using DIM
Posted by boaz at 3/30/2004 3:18:27 PM
Hi,
Thanks you guys for my Event question.
In VB6, there is a big difference between the following:
1) Dim ado_obj As New ADODB.Recordset
2) Dim ado_obj As ADODB.Recordset: Set ado_obj = New ADODB.Recordset
In VB.NET, do I still new to worry about this kind of small detail?
Does 1) r... more >>
Distinguish Clicks Buttons
Posted by ruca at 3/30/2004 3:02:47 PM
Can I distinguish between this two kinds of OnClick for Button Control:
1- btnPopup_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnPopup.Click
2- btnPopup.Attributes.Add("OnClick", "...") //here I have a javascript
function that I want to use.
I want to disti... more >>
Drag and Drop - Better Explaination
Posted by MSNews at 3/30/2004 2:57:48 PM
Appologies for reposting this, But I needed to get some attention to a
better worded question so here it is !
I have a problem with drag and drop. I am trying to drag something from
file explorer in windows XP to a listbox. The mechanism works and I use the
DragDrop event of the listbox to ad... more >>
Mergeing two RTF documents into one Richtextbox
Posted by Brian Henry at 3/30/2004 2:55:24 PM
I have a database full of RTF text strings (with RTF formatting of course)
how could i merge all the RTF text entries together into one RTF document
that would show up on a rich text box? the ways i have tried end up showing
the formatting code each time... thanks!
... more >>
Bug in DirectCast() ?
Posted by Guido Kraus at 3/30/2004 12:53:43 PM
I tried this VB.NET 2003 (.Net runtime 1.1):
Dim o As Object = DirectCast(Nothing, HashTable)
If IsNothing(o) Then
Debug.WriteLine("Nothing")
Else
Debug.WriteLine("Something")
End If
Guess what: o is not Nothing!
Is this a bug or a feature? By the way: CType(Nothing, HashTable) r... more >>
Help - Custom Event Handlers for a form created by name
Posted by Troy at 3/30/2004 12:51:09 PM
I am opening one of several forms dynamically using the name of the form class (see code below
After opening the form I would like to add handlers to some events these forms but Im having problems
with CType and/or DirectCast to get the 'object' or 'form' variable typed so that I can access the cu... more >>
Context Menu For NotifyIcon problem
Posted by Simon Jefferies at 3/30/2004 12:46:52 PM
Hello,
I am trying to get a context menu for a NotifyIcon to work. The context menu
is shown, but the text for each menu item isn't there. The menu items width
are about the size of an small icon.
Any ideas?
--
Regards
Simon Jefferies
Tools Programmer, Headfirst Productions
mailto:... more >>
Context Menu For Tray Icon
Posted by Simon Jefferies at 3/30/2004 12:35:07 PM
Hello,
I have attached a context menu to a notify icon. The problem is that when I
run the program I get blank text for the items on the context menu, they
work fine, but no text is shown and the menu items themselves have a width
large enough for an icon.
Any ideas?
Simon Jefferies
To... more >>
Printer driver change on HP
Posted by Neal at 3/30/2004 12:26:08 PM
My network guy just change the driver to the lastest xp driver for a 4100 printer. Now when I go in to get the trays I get paper type with the trays and and cannot save default as I did just day ago
Does someone know what has happen or if the new driver need something set up to act as it did befor... more >>
formatting numbers
Posted by amber at 3/30/2004 12:26:06 PM
Hello
If I am using the code
me.txtbox1.DataBindings.Add("text", dsABC.Tables(0), "DATA_FROM_SQL"
to pull data, how do I format it as a number (to 2 decimal places)
Thanks
ambe
... more >>
Application In Control Panel
Posted by Eddie at 3/30/2004 12:23:34 PM
I understand that I have to work with the registry, but I have to write my
application with a CPlApplet. Do you have any example in vb.net or C#.net ?
Thank you
"Mattias Sjögren" <mattias.dont.want.spam@mvps.org> wrote in message
news:ORwEgxcFEHA.740@tk2msftngp13.phx.gbl...
>
> >How may I ... more >>
Report Writers for VS.net - Crosstabs
Posted by Woody Splawn at 3/30/2004 11:56:42 AM
Is anyone aware of another report writer for .net other than Crystal Reports
and or Active Reports. Active reports is great for many things but does not
do crosstabs and does not handle well reports that may need lines in them.
Lines I can get around most of the time, crosstabs are an essential.... more >>
very new to vb
Posted by Kalle at 3/30/2004 11:52:22 AM
Hi @ all,
as I am very new to VB .NET I'd like to know where I can find a tutorial or
websites which give me a easy introduction.
tia
kalle
... more >>
Diplay a label box
Posted by Will at 3/30/2004 11:16:07 AM
Hey guys,
if i want a label box (lblMessage) to appear every minute on frmMain and then hide (visible = True/False), how do i do that
NEED THE CODE PLEAS
THANX IN ADVANCE... more >>
Event handlers and finalize
Posted by Scott Meddows at 3/30/2004 11:06:38 AM
I'm adding event handlers for dynamically loaded assemblies into a program. I know that I must unregister those event handlers so
the GC can pick up the objects, should I do this in the finalize method?
Thanks.
... more >>
repost: vb.net winform app fails on WindowsNT
Posted by Elliot Rodriguez at 3/30/2004 10:53:03 AM
I'm reposting this - hopefully someone has a solution. Right now the only
other option is to rewrite the app in VB6... and i DONT want to do this.
I've been struggling with this for a bit now and I hope someone can offer
some help.
Any winform app I assemble that I run on WinNT SP6a with 1.1... more >>
need with with small coding problem, re: richtextbox formatting
Posted by Paul M at 3/30/2004 10:14:12 AM
hi there,
i have some code that is meant to search a richtextbox for a string and
hilight it in red, however, it only hilights the first instance of the word
found..
any help appreciated.
Dim intStartPosition As Integer = 1
Do While InStr(intStartPosition, rtf.Text.ToLower, value.Trim... more >>
change xml schema
Posted by WStoreyII at 3/30/2004 9:31:13 AM
ok so i figured out how to load an excell file in to a dataset
but i need to be able to save this file in the same format as the table that
i have created in memory how is this done ?
WStoryeII
... more >>
HOW TO: Use the Windows Operating System Controls
Posted by John Smith at 3/30/2004 9:00:09 AM
HOW TO: Use the Windows Operating System Controls
I can't use the Framework Controls as I wish
Is there a simple and fast way to use the Windows Operating System
Controls instead?
... more >>
MS Application Block & listbox problem
Posted by amber at 3/30/2004 8:46:06 AM
Hello
I've been posting a problem here for the last few weeks, and have received no answer how to fix it
I just realized that there is an important part I've left out, that I just thought of
I'm using the MS Application Block to populate both of my listboxes
Without completely repeating my last ... more >>
list of computer network interfaces
Posted by Didi at 3/30/2004 8:07:46 AM
Hi,
How can i get a list of the network adapters from the computer in vb.net?
example script or website?
Thanks in advance, greetz
... more >>
Plotting X & Y Coordinates
Posted by Alfa at 3/30/2004 7:51:07 AM
Hi
I'd like to plot a set of 2-D points using Graphics. I don't have any problems with drawing the points, but the resultant graph is always not to scale. I assume this is happening because the horizontal resolution is different than the vertical one on the screen. Does any one know whether this is... more >>
build a list object from a comma-delimited list
Posted by dinosaur8000 NO[at]SPAM yahoo.com at 3/30/2004 7:35:49 AM
I need some input from someone who is more familiar with the .NET
framework classes.
I have a few programming problems where the user passes in a
comma-delimited string of integers (e.g. "2,7,6,23,5"), and I need to
search it repeatedly as I'm looping over a recordset.
My usual method of do... more >>
Showing Text in/over a progressbar?
Posted by Terry Olsen at 3/30/2004 7:25:15 AM
A few questions about the progressbar:
1. Is there a way to show text in/over a progressbar (like using a label
with transparent background? Which hasn't worked for me, BTW).
2. Can I get a "Smooth" progressbar instead of the "Segmented" bar?
3. Can I change the color of the progressbar... more >>
excell to dataset to datagrid
Posted by WStoreyII at 3/30/2004 6:28:32 AM
i got this code straight out of the msdn but it is not working i get in an
exception when it tries to fill the dataset what is wrong?
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Dim DS As System.Data.DataSet
Dim MyCommand As Syste... more >>
How to Print Text & graphics combined? (repost)
Posted by Kelly Dykstra at 3/30/2004 6:21:06 AM
Hi
This is a repost message I really appriciate any help on this...
I need to print graphics and text. What is the best way to do that (I like to use print preview)? I am using InkPicture control therefore the graphics contain both Image as well as ink strokes. Any help even partial answers will b... more >>
How can I get the previous control?
Posted by Wael Soliman at 3/30/2004 3:56:00 AM
I have many controls in the form I want to know which one lost the focus
(previous control)
For example:
In the form text1, text2, text3 and text4
The focus now in text1 and the user click by mouse on text3 the focus
now in text3 how can I know the last control is text1
Regards
*** Sent... more >>
show dataset in datagrid
Posted by bafidi at 3/30/2004 12:36:06 AM
my problem is duplicating records
for example i have this records in dataset first
name stundentno
----------------------- -------------------------
SAM 1
GEORGE ... more >>
Combobox - ReadOnly
Posted by grimsbyarchers NO[at]SPAM lycos.com at 3/30/2004 12:09:44 AM
I need to make a combobox that acts like a textbox with "readonly" set
to true.
VB6 combo box had a nice property of "Locked" which meant that the
control could get focus and could be dropped down, but not changed.
The vb.NET textbox control has a "readonly" property that means the
control ca... more >>
|