all groups > vb.net > january 2004 > threads for wednesday january 21
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
VB.Net 101 Samples Sockets: Length only 256 bytes?
Posted by Sven at 1/21/2004 11:59:21 PM
I am using the "Advanced .NET Framework (Networking) - Use Sockets" from the
VB.NET 101 Samples to send anything from a client to a server but it seems
that it does only support sending text messages shorter than 256 lettres...
What is wrong? is there any possibility to send more than 256?
T... more >>
Reading a not UTF-8 encoding file
Posted by leticia2602 NO[at]SPAM yahoo-dot-com.no-spam.invalid at 1/21/2004 11:30:26 PM
Hi,
I try to read a file that have 8 bit character, but contain some
character
whose code is more than 128 (spanish character).
When I read this file using ASCII (Dim oRead As StreamReader = New
StreamReader("C:\...\name.txt", System.Text.Encoding.ASCII)), this
special characters aren't ... more >>
VB.Net Newbie question: VB.Net & Web pages
Posted by Matthew Speed at 1/21/2004 11:10:00 PM
How do I access the web page properties, specifically the title bar?
I want to make it so that when someone accesses my site, it says
"Welcome aaa.bbb.ccc.ddd" and fills in their IP address up in the
title bar of IE. I've figured out how to access the controls I create
myself but the browser it... more >>
Can't find this one
Posted by Sueffel at 1/21/2004 10:50:52 PM
Okay, DataGrids.... lovely lil buggerz
I have a dataset, that has a table with 4 rows. I databound the datagrid to
this, but, here's what I would like to do.... I would like to add a
CheckBox Column as the first column of this bound datagrid, and the CheckBox
value has nothing to do with the ... more >>
cursor
Posted by msdn at 1/21/2004 10:43:37 PM
hey
I would like to set transparent cursor but i don't know how to do it ?
thank for help
<-msdn->... more >>
Can I set the BorderColor of a text label?
Posted by MenĂ¼ at 1/21/2004 10:21:10 PM
Hey there,
How can I set the BorderColor from a text Label (FixedSingle)
Thanks for any help.... more >>
Defend your right to earn a living. Deport all H1B's now.
Posted by Daniel Heneghan, GT Solutions at 1/21/2004 10:04:50 PM
There never was a programmer shortage, It was a myth engineered by business
and ethnic lobbyists.
There certainly is no shortage of qualified American Programmers now, yet
industry and ethnic lobbyists demand more and more visas.
Fight for yourself, you patrimony. It is your right and obligation... more >>
calling aspx in axwebbrowser control
Posted by Pranati at 1/21/2004 8:26:07 PM
called an aspx page from axwebbrowser control. Shows the page but beforeNavigate is not being fired.
Any help on this ?
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Click event
Posted by Tom McLaughlin at 1/21/2004 7:41:02 PM
Within my program I need to call a click event belonging to
a LinkLabell. I have read about Raise Events and I'm still
unable to understand this concept. The Name of the Event
is LinkLabel1_LinkClick. If someone could explain how to
call this event using the actual event name and not myobj,
myc... more >>
New Form vs Inherited Form
Posted by John NO[at]SPAM hokykoky.com at 1/21/2004 6:54:33 PM
What is the difference between a New Form and an Inherited Form?
Thanks
John
----== 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 - Tota... more >>
Listview add items?
Posted by Able at 1/21/2004 6:31:08 PM
Dear friends
Items is added like this
Dim itmx As New ListViewItem
itmx = ListView1.Items.Add("Title", 0)
itmx.SubItems.Add("1")
itmx.SubItems.Add("2")
itmx.SubItems.Add("3")
The item "2" is added in row one in second column and "3" is added in row
one in third column. But is i... more >>
substitute for redim
Posted by John A Grandy at 1/21/2004 6:00:56 PM
redim may no longer be used in vb.net ...
is there another way to change at the runtime the lower & upper bounds of an
array ?
... more >>
Problem with DataGrid Formatting
Posted by Newbie! at 1/21/2004 4:41:44 PM
Hi Group,
I`ve wrotesome code to format a datagrid with only the coloums I need.
However it won`t automatically open up my table format, It give me the
little + button, i click on that and its ok, how do i get it to
automatically open?
Ta
Si
I have the following code on my project:
P... more >>
Component Designer Generated Code
Posted by Scott Kilbourn at 1/21/2004 4:31:53 PM
Hi,
Still new to this .NET stuff, so bear with me.
Sometimes when I design a new component, I get a Region that says "Component
Designer Generated Code". In this region are a couple of New function,
dispose, a definition for components, and an InitializeComponent function.
In other cases, ... more >>
Mouse wheel
Posted by Nathan at 1/21/2004 4:08:57 PM
Hi,
Can someone lead me to info on detecting and using the mouse button? All I
can find in the MSDN docs is that you use e.Delta, but it doesn't explain in
how. I tried detecting the roll of the wheel in the frm.MouseDown, but it
didn't detect it.
Thank for the help.
... more >>
DataSet.Select
Posted by Nathan at 1/21/2004 4:06:10 PM
Is there any way to do a DataSet.Select() statement and use more than one
selection "query"? For instance, instead of just selecting all rows where
the IDNum is greater than 32 with DataSet.Select("IDNum > 32"), select all
rows where the IDNum > 32 and the Region = Midwest. Is this possible?
... more >>
Line, circle etc. controls?
Posted by M O J O at 1/21/2004 3:58:13 PM
Hi,
I seam to recall I've seen a line, circle etc. component pack (might
even be from Microsoft) somewhere here on the net.
If you know where it is, please post back.
Thanks!
M O J O
... more >>
Archives
Posted by Newbie! at 1/21/2004 3:54:12 PM
Hi group,
Anybody know where this groups arcives is located?
Ta
Si
... more >>
Typed dataset confusion
Posted by Rob Richardson at 1/21/2004 3:51:28 PM
Greetings!
I have a database with a table named Holdings. I has VB.Net create a .xsd
file for it so that I could use a typed dataset with it. The table has 21
rows. If I use ordinary datasets, I get a DataTable object with 21 rows.
If I use a typed dataset, I get a HoldingTable object with ... more >>
MessageBox.Show hangs execution
Posted by Pi at 1/21/2004 3:36:05 PM
I have an MDI parent with one or more children forms. Each child form has an engine thread that processes data. The child form's _Closing event is roughly
01 Private Sub frmConvertable_Closing(sender, e
02 'Show the form (other MDI children may be on top
03 Me.Activate(
04 mvarEngin... more >>
Novice Question
Posted by sean at 1/21/2004 3:12:25 PM
Hi There,
I am kind new to VB .Net and I was wondering if there was a way to access an
api to configure a website in IIS. Currently I have a small application that
requires a user to configure the website manually, I would like to access a
windows API in order to configure the settings. If pos... more >>
control type conversion for function parameter
Posted by John A Grandy at 1/21/2004 2:52:52 PM
I'm using Option Strict -- because all the gurus say i should
I have a function in a class
MyFunction(ByRef c As Control)
In the calling page I have (for example)
Protected MyHTMLControl As HtmlButton
Protected MyWebControl as Button
If I write the code
MyFunction(MyWebControl)
... more >>
Serial Port Programming and VB.NET
Posted by Reny J Joseph Thuthikattu at 1/21/2004 2:37:21 PM
Hi,
Can any one help me to get some information on how can i communicate with
serial port ?
Reny
... more >>
Is it common practice to sublass all the windows controls
Posted by Phillip at 1/21/2004 2:34:52 PM
In order to maintain consistency thru a project.
Our development team is getting ready to start a new project in converting
all the foxpro apps to VB/SQL Server. We don't have the luxury of training
so hopefully our F1 training won't cause us any major problems or future
headaches.
Are ther... more >>
String to string Array
Posted by Bruce Wiebe at 1/21/2004 2:32:47 PM
Hi all
I have a string that contains a list of email addresses in the format
{"X@y.com","x@y.com"} and i need to convert it to a string array in the
same format so my array would loook like
dim emailaddresses() as string={"X@y.com","x@y.com"}
Does anyone know an easy way to do this
T... more >>
Populate Array from delimited file?
Posted by Guy Bloomfield at 1/21/2004 2:31:07 PM
Does anyone know of an easy way to populate an array from a delimited text file when you don't know the number of columns ahead of time?
I've been trying all day to use a combination of String.Split and the arraylist.add and the best I've managed to do is create an array of arrays. I searched ... more >>
EndOFMonth Functions
Posted by coleenholley at 1/21/2004 2:15:12 PM
I've been an Access Programmer for several years, and found that the EndOfMonth function is very valuable when trying to do closing dates and the like..
Is there a function in VB.Net that does the same thing? I've been checking the help files and found numerous date functions, but not one end of ... more >>
Difference between Professional and Enterprise?
Posted by Tom at 1/21/2004 1:51:58 PM
Is the main difference between the Visual Studio .NET Professional and
Enterprise editions the inclusion (in Enterprise) of : 1. SourceSafe, 2.
Visio (Architect), and (3) Win2003 Server integration?
Also, if Professional doesn't include SourceSafe, but you ALREADY have
SourceSafe, can you stil... more >>
ActiveX Controls with .Net?
Posted by Klaus Jensen at 1/21/2004 1:47:16 PM
Hi!
I would like to build a small application, that should be embedded in a
webpage. I want to develop it using VB.Net of course, and have the usual
opportunities of a windows app...
A common example of such an app would be an image upload control, like the
ones used at hotmail communities ... more >>
Running a program
Posted by Gareth Howe at 1/21/2004 1:37:30 PM
I have created a form with a button. When the button is clicked, I wast it
to execute the following :
%logonserver%\netlogon\con2prt /cd \\Hawking\LJ1
I have the following code on the button:
Shell("\\newton\netlogon\con2prt /cd \\Hawking\LJ1")
When I run the program, I get the following... more >>
Easiest Way?
Posted by Newbie! at 1/21/2004 1:21:15 PM
Hey Group, Whats the Easiest way to Password protect a form?
I mean so that when i click on a command button to load another for it will
ask me for the Password? This password will be the same and never change.
Any Code of References
Thanks for any help
Si
... more >>
ContextMenu
Posted by Will at 1/21/2004 1:21:08 PM
hey guys, i want to pop-up a msg when i click on one of the items in the contextMenu, problem is i click on it and it does nothing ???
here is the code:
Private Sub MenuItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem1.Click
msgbox "Hello World !"... more >>
How do I add data masking to a DataGrid column
Posted by Sean at 1/21/2004 1:16:06 PM
Like for example, a phone number column?... more >>
Data Table Selecting
Posted by Sueffel at 1/21/2004 1:09:21 PM
Okay, I have the following scenerio:
Protected Sub DelRows()
Dim rw As DataRow
Dim rrw As DataRow
Dim DT as DataTable
Dim rws() as DataRow
For each rw in ds.Tables("Table1").Rows
rws = ds.Tables("Table2").Select("KeyRow = '" &
rw.Item(0).ToString & "'")
... more >>
VB.NET equivalent to #define in C++
Posted by k3 at 1/21/2004 1:00:38 PM
Hi,
Is there something that's an equivalent in VB.NET to the #define macro of
C++? I'd like to use it to reduce some code that causes clutter. Like
#define SAFE_DELETE(p) { if (NULL != p) { delete p; p = NULL; }}.
Thank you!
... more >>
treeview with lots of nodes (chapter 2)
Posted by pmcguire at 1/21/2004 12:16:08 PM
OK. My treeview still has a tier with too many nodes (ca. 20,000), but it's the best I can do. Now it only populates that tier in the (unlikely) event that a user tries to expand that tier's parent node.
To prevent the user from thinking its machine has locked up, I want to provide it with a pr... more >>
Memory...
Posted by Anthony Nystrom at 1/21/2004 12:13:15 PM
Is there a way to see the "actual" memory used by my app... I see when I
first open it it's pretty high, when I minimize the app the mem usage drops
significantly... How much is it really using?
Thanks,
Anthony Nystrom
... more >>
Need to code a click event to toggle
Posted by kimmie at 1/21/2004 12:11:06 PM
I am using buttons on a toolbar and I want to use the buttons as toggles. When I click the button the first time I want my picture box to display by setting the picture box to visible. But I need to add a button click event that handles the second click to set the picture box to invisible. How do... more >>
Font Dialog to text box example...
Posted by Anthony Nystrom at 1/21/2004 12:10:30 PM
Can someone give me a sample of linking the windows forms component font
dialog to a textbox or rtf component... I don't know why I am having trouble
with this...
Thanks,
Anthony Nystrom
... more >>
tab delimited string (regex'ed) into a table
Posted by Joe Fisherman at 1/21/2004 12:03:20 PM
I have used regex to parse a huge text file, and grab a tab delimited
portion of it. I often use comma delimited text files, and use Jet Oledb4.
I read that I would need an ini if the file wasn't comma delimited - if
this is true, I am not sure of the easiest process to create an ini. The
... more >>
Inherited functions not visible?
Posted by M O J O at 1/21/2004 11:54:55 AM
Hi,
I've created a MasterForm which all my forms in my project must derive from.
In my MasterForm, I've overloaded the New event with this code:
Public Sub New(ByVal SomeText As String)
MyBase.New()
'This call is required by the Windows Form Designer.
... more >>
isual Studio ASP.NET Web Service Project provided Hello World webmethod producing error upon invoke
Posted by KGarvin at 1/21/2004 11:41:05 AM
Open Visual Studio and create a new ASP.NET Web Services Project. Uncomment the test webmethod (Hello World) in the .asmx file, set as starup file, save and build project and run. Click on the Hello World link in the web page that appears. Co-workers recieve the expected page but I get an error s... more >>
Management Issues
Posted by scorpion53061 at 1/21/2004 11:27:42 AM
I get the following error with the class below it when installing on a
NT/98/Me machine. Any suggestions would be helpful. Kind of in a bind.
Suspect the issue revolves
System.Runtime.InteropServices.COMException (0x80040154): COM object with
CLSID {4590F811-1D3A-11D0-891F-00AA004B2E24} is e... more >>
HELP: how to get values of function arguments at run time (.NET reflection) ?
Posted by Marco at 1/21/2004 11:17:07 AM
Hi all
I am using .NET reflection to examine a stack trace, using the StackTrace,
StackFrame, MethodInfo, ParameterInfo and FieldInfo classes.
I can easily discover all methods in the call chain and discover their
parameter names and types.
What I would like to do is also know the value... more >>
Minimise to System Tray
Posted by Paul [Paradise Solutions] at 1/21/2004 11:13:09 AM
Hi all
Problem
I want to minimise my app to the sytem tray ensuring that:
1) Application is not listed in the taskbar.
2) Application window does not minimise and hover as a small block above
the taskbar.
NotifyIcon is being used, ShowInTaskBar is set to false.
I saw a posting from Dec... more >>
Printing in .NET
Posted by Sumant at 1/21/2004 11:07:19 AM
printing text in VB6 can be done just by "Printing.Print". is there any
replacement for this in .NET?
Drawing.Print won't work coz it converts text into image and then prints. so
when we use Adobe distiller as print driver, resulting PDF doen's remain
searchable anymore...
... more >>
Line Feed
Posted by LIN at 1/21/2004 11:04:33 AM
I am trying to parse a log file which is created by an Apache Web Server - I
am not sure what do you use to read the Line Feed - example for most of the
other files i use "\n" but i am not sure what represents a Line Feed.
Ideas Please.
Thank you,
LIN
... more >>
Combo box with IDs - Repost with new question
Posted by Gerry at 1/21/2004 10:16:05 AM
I have a combo box and I can populate it with my class of dat
(the class allows me to store each userid,username called - see code below
I want the user to select the dropdown and see the username - but also determine the UserID from what was selected
(using DisplayName from the combo box??
I... more >>
filesystemwatcher Big Question
Posted by Brad at 1/21/2004 10:16:04 AM
Hello All
I am working on an application that watches a folder for incomming files. The files happen to be tif files from a fax card. When the file comes in I want to move it to a different file.
My problem is when the even fires it trys to move the file BUT the file has not had time to compleat... more >>
Debug, Inheritied forms?
Posted by Fredrik Melin at 1/21/2004 9:49:06 AM
Hi.
I have run into trouble, I have a form that many of my forms inherits, the
problem is in the IDE I can bring up the Base form into the form editor with
no problem, but trying to bring up one the forms that inherites the base
give an exception in the IDE.
The type initializer for "Dacsa... more >>
DataGridBoolColumn?
Posted by James Goodman at 1/21/2004 9:46:49 AM
I have a number of bool columns within a datagrid, but they dont work as
expected.
The underlying table is Access 2000. The datatype for the underlying fields
is Yes/No.
I am attempting to create DataGridBoolColumns using the following code:
Private Const TRUE_VAL = -1
Private Const FA... more >>
Word Automation in VB.NET and Printing
Posted by scorpion53061 at 1/21/2004 8:14:36 AM
vb.net windows app.
IN this code:
objWord.ActiveDocument.PrintOut Background:=False
it produces the error:
Word cannot print. There is no printer installed
though there is. It is however a networked computer. I do not know if that
makes a difference.
Does anyone know what I am doi... more >>
how do you determine font w95-w98 in advance font size the two are small and larrge
Posted by Netserver at 1/21/2004 7:59:37 AM
Hi in the display properties off the control panel, tab
settings,advance button. Font size has two sizes, the default is
small. when you create your form with this default size everything is
fine even if the selected font properties is 8 to .....even the
controls show properly
But if the font... more >>
Stored Procedure Debugging
Posted by Stuart Ferguson at 1/21/2004 7:58:35 AM
Is it possible to debug a Stored Procedure in VB.NET, I know I can add the
SP to my solution and edit the SP in VB.NET but can I step through it once
it has been executed ??
Many Thanks
Stuart
... more >>
Article: An Analysis of the Google Search Engine Algorithm
Posted by johannblake NO[at]SPAM yahoo.com at 1/21/2004 7:23:26 AM
This aticle presents factual evidence that Google's PageRank, inbound
links and keywords are irrelevent to your placement in the search
results.
It presents several case studies that show conclusively that the
algorithm used by Google's search engine is flawed with serious "bugs"
that deny ma... more >>
Passing types or class names
Posted by Troy at 1/21/2004 7:06:07 AM
I'm trying to pass a form to a class method then have the class instantiate and instance of the form and open it.
Is there a way of creating a form from its class name (a string variable) or from getting and passing its Type, then using it to instantiate an object?
thx, troy... more >>
HELP: how to get values of function arguments at run time (.NET reflection) ?
Posted by info NO[at]SPAM reliforce.com at 1/21/2004 6:26:08 AM
Hi all
I am using .NET reflection to examine a stack trace, using the StackTrace,
StackFrame, MethodInfo, ParameterInfo and FieldInfo classes.
I can easily discover all methods in the call chain and discover their
parameter names and types.
What I would like to do is also know the value... more >>
Clear a listbox in VB .net
Posted by arielgustavonoy NO[at]SPAM yahoo.com.ar at 1/21/2004 5:54:43 AM
¿Some body could tell me wich is the new method of listBox control in
VB .net is equal to old and wanted "Clear"?... more >>
Search thrue Database
Posted by dirk NO[at]SPAM phantoms-dot-nl.no-spam.invalid at 1/21/2004 5:17:03 AM
Hey,
I've got the following problem: I'm trying to create a small tool that
must be able to search thrue a database using a search-criteria, that
has to be entered by the user in a TextBox. The results of the search
are displayed in a small datagrid.
My problem is that I've no idea how to cr... more >>
Instantiate objects at runtime possible?
Posted by Mariano at 1/21/2004 5:06:09 AM
Hi,
I have stored a menu in a database. The menu is dynamically updated and last level menu items contain the object type that should be instantiated. I am looking for a way to instantiate the object dynamically without an enormous select case statement. I can't find nothing in the docs... Any id... more >>
running a query in access through code
Posted by CoffeeMug at 1/21/2004 4:36:07 AM
Hi all,
I'm trying to execute a query in VB.Net that is stored in Access.
I already have a connection to the database ("C:\Tmp\Testdatabase.mdb") and now I'm looking to execute the query ("qryTest") that creates a table in Access. Can anyone give me the code that will do such a thing?
Thank... more >>
Can someone please help me to install MSChart controller into VB.Net
Posted by Saad Alghamdi at 1/21/2004 4:08:50 AM
I have been using MSchart controller for long time that I'm very
familiar with and it would be very hard for me to switch to another
graphical controller.
However, I have read many comments saying it is possible to install the
MSChart controller that comes with VB6 into the VB.Net. I would
ap... more >>
Learning Regular Expressions
Posted by GenoJoe at 1/21/2004 3:31:05 AM
If you are not new to VB.NET but are new to regular expressions, you need to get a free copy of "Pragmatic Guide to Regular Expressions for VB.NET Programmers". I wrote this guide because all of the sources that I researched for information on this topic, including Microsoft Help pages, did not pro... more >>
Scan and OCR using ActiveX
Posted by plize NO[at]SPAM letsdothatagain.com at 1/21/2004 2:06:10 AM
----------------------------------------------------------------
I need to write a VB.NET application that uses ActiveX to scan
(remotely) a paper, OCR it, and save it into some file.
- Where should I begin?
- Any sample code to learn VB.NET for that purpose?
(I already know some VB)
- W... more >>
How do I pass vb.net variables to crystal reports
Posted by MeNotHome at 1/21/2004 1:06:56 AM
I have a couple of variables in vb.net that I want to have printed on
my crystal reports report.
How can I do this?
Thanks for any info
... more >>
|