all groups > vb.net > september 2004 > threads for tuesday september 7
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
Wokring With System.Net.Sockets
Posted by Tiraman :-) at 9/7/2004 10:05:23 PM
Hi,
I have a client Server Application which was write in vb.net
i m using the TcpClient Object And A StreamWriter To Send a message to the
client but i would like to
send other objects but for strings like arrays, my own objects and so on.
how can i do that ?
Thanks.
T:-)
... more >>
Reading from Keyboard
Posted by Zyrthofar Blackcloak at 9/7/2004 9:25:37 PM
Hi
I need to get every keys pressed at one time, without needing a
triggered event.
Control.ModifierKeys works perfectly for shift, ctrl and alt, but how
can I check other keys like the letters and arrows?
I quickly checked VB2005, and found out the control class doesn't have
anything e... more >>
Displaying hierachical data with data grid
Posted by hftho NO[at]SPAM shinyang.com-dot-my.no-spam.invalid at 9/7/2004 9:02:40 PM
Hi, I wish to know how to display a collection of object which is a
property in another object in a data grid in VB.Net.
For example, I'm displaying a collection of vendor objects (in
ArrayList) in a data grid, while I wish to display the products
supplied by the vendor (which appears as a col... more >>
Snap-able window
Posted by Jeppe Dige Jespersen at 9/7/2004 9:02:26 PM
I need to create an application - fairly basic news-ticker.
The app will consist of only one window, that needs to snap to
the top of the screen, filling up about 30 pixels in height and the
entire screens width.
Not only must my newsticker be the topmost window at all times,
but all "full ... more >>
asc function alternative
Posted by Guoqi Zheng at 9/7/2004 8:27:39 PM
Sir,
When I call the asc function to return an interger value of one byte. it can
only return up to 128, which function I can use to return > 128? I use ascw,
but it seems to be the same, so I am using convert.toInt16 now. any idea
which function can do the same task?
--
Kind regards
G... more >>
VB app nolonger works with XP SP2
Posted by Jason Dravet at 9/7/2004 7:46:57 PM
Some time ago I wrote an application that controls the projectors in our
classrooms(turn on, turn off, and volume control). This application is
written in VB.net 2003. It was working perfectly until XP SP2 was installed
on the PCs. Now when the power on or power off button is pressed the
... more >>
Control arrays... the loss of (index As Integer)
Posted by John at 9/7/2004 7:44:27 PM
Hello everyone,
I'm currently writing a program to keep track of schedule changes at a
school. The goal is to have someone using the program to declare changes,
then the program writes a html file, which is uploaded to a webserver. Then
students and teachers can view it online, but there are a... more >>
Encryption not supported on SQL Server
Posted by Nithi Gurusamy at 9/7/2004 7:15:01 PM
I am facing this error after making changes to client configuration utility
of SQL Server 2000:
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
convert to an array of octet?
Posted by Guoqi Zheng at 9/7/2004 7:03:40 PM
Dear sir,
I am not fully understand the meaning of octet. For example, if I have a
string contains unicode data of some Chinese characters, how can I convert
it to an array of octet?
Thanks in advanced.
--
Kind regards
Guoqi Zheng
guoqi AT meetholland dot com
Http://www.meetholla... more >>
Read pointer in listbox or combibox
Posted by Martin Heuckeroth at 9/7/2004 7:02:18 PM
Hi,
How can we set and read the pointer in a listbox or a combibox to the
found search. We use the datarow function with SQL2000 and VB.NET.
Hope anyone can help
Regards, Martin... more >>
Namespace Problem
Posted by rufus at 9/7/2004 6:58:09 PM
I created an assembly called : getDataVB.dll and placed it in the bin
folder. The source file getData.vb looks like this:
Namespace chris.getData
Public Class dataObj
' my code
End Class
End Namespace
it compiles with no problems. I have a code behind file where I import this
namespace... more >>
Class instance count.
Posted by Per Forsgren at 9/7/2004 6:10:17 PM
I have a DLL with a public class (MyClass).
The class is instantiated into several instances in a Windows form with :
Protected WithEvents MyInst01 As New MyClass.MyClass
Protected WithEvents MyInst02 As New MyClass.MyClass
Protected WithEvents MyInst03 As New MyClass.MyClass
Protected WithEv... more >>
Double slash as a comment prefix in VB
Posted by Tim Anderson at 9/7/2004 6:07:49 PM
Does anyone else think VB should support the // prefix for comments? I keep
using it by accident, because so many other languages use it (unlike the
single quote, which is I believe unique to VB).
If you think VB would be improved by this change, please vote on my
suggestion here:
http:/... more >>
Case senstive problem
Posted by Agnes at 9/7/2004 6:03:24 PM
I found that store procedure with vb.net (seems ignore case senstive)
I type "lax" as code, and it returns the correct answer , How come ??
I can't set the upper case in that textbox, BUT I need to check the data
'case'
Please help
... more >>
Application won't "unload" when terminated.
Posted by Robin Tucker at 9/7/2004 5:12:56 PM
Hiya,
I have a problem with my application. It hangs around in memory after
exiting (and the debugger thinks its still running; I am unable to "break"
or "stop" execution). The main loop below shows my "main" function. When
the main form is closed, this function is exited, so the "hang" ... more >>
truncating a decimal to 2 decimal places??
Posted by GaryB at 9/7/2004 4:01:10 PM
I have a database field that is the product of a multiply in a sql statement
and it sometimes has 5 or more decimal places. I want to truncate beyond
the 2nd decimal place(###.##). I figured a Ctype to a decimal value would
do that but the four decimal places remain. I found a truncate functio... more >>
Change Title Bar Color
Posted by Kevin L at 9/7/2004 3:55:32 PM
I am looking for a way to change the color of my application's title bar at
run time.
Is there a way to do this in .NET?
... more >>
Using javascript command
Posted by Dave at 9/7/2004 3:35:19 PM
I have an app with several web forms. Code for each of the forms contains a
subroutine I wrote that performs the Javascript function "alert". Thus:
Private Sub DisplayAlert(ByVal msg As String)
Dim sKey As String = "s"
Dim alertScript As String = "<script language=JavaScript runat=se... more >>
MSDE/SQL Server Problem
Posted by Arsalan at 9/7/2004 2:42:52 PM
I've downloaded a couple of Microsoft sample source codes, but the problem
is that it says that MSDE or SQL server should be present to run the code.
I've SQL Server 2000 installed but for some reason its giving the error.
How do I solve it?
... more >>
textbox shows desktop background as it is loading...ugly
Posted by MikeA at 9/7/2004 2:41:17 PM
Hi!
How do I suppress the desktop background showing through textboxes while the
form is loading?
This is really ugly. The textboxes look transparent while form is loading.
Thanks
Mike
... more >>
How to send message to another instance of application ?
Posted by Adam Nowotny at 9/7/2004 2:09:59 PM
I want my application to be able to load most components it uses at user
logon (f.e. by running "prog.exe /startup") and create a NotifyIcon to
show up in tray.
Now when i load the prog.exe second time (without parameter) it should
detect that an instance is already running and tell it to sho... more >>
convert to date format
Posted by DC Gringo at 9/7/2004 1:48:32 PM
How can I convert this pubLatest to a date with format "m/d/yyyy"?
Dim pubLatest As New Date
pubLatest = Me.SqlSelectCommand1.Parameters("@pubLatest").Value
--
_____
DC G
... more >>
cannot change value of texbox w/in datagrid after first bind
Posted by Michael via .NET 247 at 9/7/2004 1:13:35 PM
I have a datagrid with the columns defined in the aspx
<columns>
=09<asp:TemplateColumn HeaderText=3D"Hours" ItemStyle-Width=3D"1%"=
ItemStyle-HorizontalAlign=3D"Center">
=09=09<ItemTemplate>
=09=09=09<asp:TextBox Columns=3D"2" EnableViewState=3D"False" ID=3D"Hours"=
Runat=3D"server"></asp:... more >>
Checking for online Users and Login Users
Posted by alex at 9/7/2004 12:45:22 PM
Hi
May i know how to do a check to find out how many users are online and =
logged on to our system?
Btw, i am using vb.net. Perhaps show me some articles on this issue?
regards
Alex... more >>
how can i do less coding in treeview....
Posted by Supra at 9/7/2004 12:13:49 PM
i already done in vb6. I got error : Additional information: Specified
argument was out of the range of valid values.
Sub PanelVisible(ByVal szPanel As String)
Dim i As Integer, VisiblePanel As New Panel
For i = 0 To 7
If TypeOf VisiblePanel.Controls... more >>
Inheriting from CollectionBase and using For..Each
Posted by Kyle Novak at 9/7/2004 11:57:23 AM
I have a question about strongly typed objects when looping through a
collection based on the CollectionBase object and using a For..Each loop.
I have 2 objects:
-Invoice: Holds all properties related to an invoice
-InvoiceCollection: Inherited from Collectionbase class and holds Invoice
ob... more >>
Using a .NET DLL from VB 6.0
Posted by Helene Day at 9/7/2004 11:53:43 AM
I have a .NET DLL that I need to use from a VB 6.0 application.
How do I do this?
Any other issues I should be aware?
Thanks for anyone help,
Helene
... more >>
bootstrapper for launch application
Posted by Andrew at 9/7/2004 11:36:32 AM
hi, i'm searching for a bootstrapper that check if .net framework
is installed on a machine and after the install launch my vb.net app ...
i dont want to installa the app on the pc but i want to run all from cd ...
my idea is to put the bootstrapper as autorun on cd ...
in MSDN i found a bootstr... more >>
eventlog machinename
Posted by Bilge TUTAK at 9/7/2004 11:16:31 AM
Hi,
I want to connect to a remote machine to check the event log. However, I
could not understand how to provide the credentials for the remote machine.
I can set the machine name with the machinename property of eventlog class.
Do I have to have the same credentials on the remote machine to ... more >>
Image <> String Problem
Posted by BluDog at 9/7/2004 11:12:27 AM
Hi
I am trying to store an image in an xml file, i vcan store it fine but
the retreval is a bit of a problem:
To String:
Dim ms As New IO.MemoryStream
Dim arrImage() As Byte
Me.Image.Save(ms, System.Drawing.Imaging.ImageFormat.Jpeg)
arrIma... more >>
Reading the MAC Address?
Posted by Reny J Joseph Thuthikattu at 9/7/2004 10:07:42 AM
Hi,
can any one tell me how to read the MAC address(NIC) address using
vb.net??????
Reny
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.754 / Virus Database: 504 - Release Date: 9/6/2004
... more >>
TreeView
Posted by Michael Turner at 9/7/2004 9:47:31 AM
Hi
Can anyone come up with a way to select a node once you can added a new one?
I am trying the following code but it doesn't seem to work.
Dim tnode As New TreeNode("test")
TreeView1.Nodes.Add(tnode)
TreeView1.SelectedNode = tnode
Mike.
... more >>
Checking for Valid Date
Posted by SQLScott at 9/7/2004 8:58:49 AM
I have created a VB.Net app that takes data from Visual Foxpro and inserts it
into SQL Server.
The problem I am running into is that I have come across records in Foxpro
where the dates are as follows:
'08/08/0997 12:00:00 PM'
Obviously, SQL Server does not accept 0997 as a valid date,... more >>
Quoted-Printable class
Posted by Guoqi Zheng at 9/7/2004 8:38:05 AM
Any good articles about how to write a good quoted-printable encode class in
dotnet? I found several free source code on Internet, but do not work
correctly.
--
Kind regards
Guoqi Zheng
guoqi AT meetholland dot com
Http://www.meetholland.com
... more >>
Good website for Database Programming ?
Posted by Arsalan at 9/7/2004 8:34:52 AM
Can anyone tell me a good website for database programming, I have plenty of
experience in VB 6.0, just want to migrate to VB.NET + ADO.NET
... more >>
Listing of available threads
Posted by darianbonnell NO[at]SPAM lmicorporation.com at 9/7/2004 6:42:59 AM
Is there a way to find all the thread names that are running in a
project?
For example, if I have 5 threads T1, T2, T3, T4, T5...and T2, T4, and
T5 are running...I want to be able to know that T2, T4 and T5 are
already running.
Thanks,
Darian... more >>
Launching and controlling multiple simultaneous threads with vb.net
Posted by ryanswebsite NO[at]SPAM hotmail.com at 9/7/2004 5:28:16 AM
I have a situation where I need to download multiple files in a vb.net
application.
To speed up the process, I am trying to download multiple files at one
time looping through each of the files and launching them in their own
thread (code below). The problem is that when there are hundreds of
... more >>
FromFile is not a member of the System.Drawing.Image
Posted by PJ at 9/7/2004 2:57:02 AM
Hi
I was developing a Class for skinning an application. IN order to read the
image file dynamically I used System.Drawing.Image.FromFile("..."). Strangely
VS 2003 returns an error saying that "FromFile is not a member of the
System.Drawing.Image". According to the member list under IMage c... more >>
Outlook and recurrence items...
Posted by Sir Cactus at 9/7/2004 2:03:04 AM
I'm trying to make my VB read my outlook Calendar, and show me my todays
tasks. The connection is no problem and I have a collection of items with all
my calendar items... The problem is to decide whitch of them are regarding
today's date? Normal calendar items have start and end date, and it'... more >>
I need to do "dir *.* > file on an ipaq
Posted by iris at 9/7/2004 1:26:16 AM
Hi all,
What is the simplest way to get a list of all the files in a directory,
(on an ipaq)
something equivalent to "dir *.* > file" . No need to list directories.
I have visual studio 2003 (does this mean I have .NET CF??)
... more >>
Regarding Collection variable initialization
Posted by Sivaraman.S at 9/7/2004 1:25:01 AM
Hi,
Is it possible to use Option Base in VB.NET. If so then how can i set the
base to 0.
In vb.net while we using array collections, it gives the error.
... more >>
|