all groups > vb.net > may 2005 > threads for sunday may 15
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
HTML in a Windows Form
Posted by Rlrcstr at 5/15/2005 11:47:58 PM
I've been playing with the LinkLabel control and it kinda gets the job done,
but isn't flexible enough for what I want to display. Is the any way to
have a control on a windows form that will display HTML and trigger events
when links are clicked? Thanks.
Jerry
... more >>
Array problem with custom class
Posted by Nathan Sokalski at 5/15/2005 9:24:20 PM
I have an array declared as follows:
Dim ButtonList() As NavButtonInfo
and a Class defined as follows:
Public Class NavButtonInfo
Public Shared name As String
Public Shared text As String
Public Shared URL As String
Public Shared parentname As String
Publi... more >>
variable assignments - classes & objects
Posted by Jeremy at 5/15/2005 11:50:14 AM
I have some classes which contain a datarow as a property. In application
code, I sometimes dim a "shortcut variable" to simplify code.
The problem is, sometimes values seem to vanish. That is, they seem to be
there, but never arrive in the database. It's as if values set using the
shortcu... more >>
to: herfried...
Posted by Supra at 5/15/2005 9:35:47 AM
can i send u my small project..it is about irc chat. i got project
working similar to mirc chat?
regards
supra... more >>
C# to VB
Posted by OpticTygre at 5/15/2005 8:17:32 AM
Converting some code from C# to VB
C#:
public const int LOCSIG = 'P' | ('K' << 8) | (3 << 16) | (4 << 24);
Here's what I have in VB:
Public Const LOCSIG As Integer = "P"c Or ("K"c << 8) Or (3 << 16) Or (4 <<
24)
Problem is, I get an error stating that '<<' is not defined for types 'Char... more >>
Form.Close
Posted by SimAda00 at 5/15/2005 7:42:01 AM
i have made 3 forms lets say form1 and form2 and form3 now their is a button
on form1 that opens form2 and a button on form2 that opens form3,
I want to place a button on form3 that closes form2 but i use the code:
dim form2 as form2
form2.close
which you would think would work, but it ret... more >>
Bind / Synchronize a comboBox to a filed the current record
Posted by dbuchanan at 5/15/2005 7:02:56 AM
Hello,
I have the controls on my form display the values of the currently
selected row of the dataGrid. There are a few fields that I have in my
data table where I have the user select a value from a comboBox. The
comboBox is populated from a lookup table in my database. The comboBox
displays... more >>
Uint data type in VB.NET when calling a DLL
Posted by genojoe at 5/15/2005 12:05:02 AM
I have converted the code shown below from C#. My problem involves the uint
data type. When converted to VB.NET it becomes: Uint32 and causes two
compile errors. The error message in VB.NET involves not being able to
convert between Uint32 and Integer. The error messages occur in the two D... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
XML to DataSets
Posted by lgbjr at 5/15/2005 12:00:00 AM
Hi All,
I've been given an XML file (12 MB) that I need to extract data from. The
XML file makes the data easy to view, but the data is impossible to analyze
in its current format. I've looked at lots of XMLTextReader stuff and I
can't seem to figure out how to extract the info that I want.... more >>
More C# to VB
Posted by OpticTygre at 5/15/2005 12:00:00 AM
I know that in C#, the -- and ++ operators can act as prefix and postfix
operators. With that in mind, what differences would appear between the
following two sections of code when translating them to VB?
While (--n >= 0) {
do some code
}
While (n-- >= 0) {
do some code
}
I... more >>
Losing SQL Connection
Posted by Mike at 5/15/2005 12:00:00 AM
While working on a few projects I have this annoying issue whereby my
computer is losing the connection to my SQL database. I have to save my
work exit VS log out of windowsXP and log back in, relaunch VS and load my
program to resume. I'm getting the following error about every 10 minutes.
... more >>
Variable free in VB.NET
Posted by Lurc at 5/15/2005 12:00:00 AM
Dear all,
I am a C programmer, and new to VB.NET.
In C, any user-defined variables allocated by new keyword, they need to be
de-allocated by free within scope. But in VB.NET, it seems not need to do
de-allocation manually, does system do it for me automatically?
Thanks.
--
Best regar... more >>
create subdir
Posted by DizWiz at 5/15/2005 12:00:00 AM
Hi!,
Im am using the VB Express Beta2 but cannot figure out how to create a
subdir in the windows directory.
Code:
Dim windowsdir as String
Dim dircreate
dircreate="backup"
windowsdir=environ$("windir")
My.Computer.FileSystem.CreateDirectory(windowsdir)
I want to create the director... more >>
Monitoring Multiple Threads
Posted by Jerry Spence1 at 5/15/2005 12:00:00 AM
I am starting a number of threads as follows:
For n = 1 To 10
Dim t As New Thread(New ThreadStart(MyProcedure))
t.Name = "Thread " & Trim(Str(n))
t.Start()
Next n
I have a timer that, everytime it fired needs to check that all my threads
are running. I am having difficulties... more >>
creating IE toolbars in VB.nET
Posted by Peter at 5/15/2005 12:00:00 AM
I would like to an IE toolbar with a few buttons & the like. please can
someone point me in the right direction. need to do this in VB.NET (found a
sample in C# - but taht was complicated & couldn't make head or tale of it).
... more >>
Help getting information from Access database - code included
Posted by anonymous at 5/15/2005 12:00:00 AM
Hi, excuse as I am new to this.
I have an Access database with two columns. They are
1. ID which is an "autonumber" and the primary key
2. pkData which is a number
I do the following. It works, a new row is added into the access database
table. My problem is that I need to know what the ID... more >>
Event Hanlding help required
Posted by John Veldthuis at 5/15/2005 12:00:00 AM
I have some code that I need to implement an event handler in VB. Here is
the C# code
this.listBar1.ItemClicked += new
ItemClickedEventHandler(listBar1_ItemClicked);
Can anyone help me change this over to VB? Everything I have tried comes up
with errors. It is a listbar from vbAccelerato... more >>
Problems with TCP sockets and failing threads
Posted by Jerry Spence1 at 5/15/2005 12:00:00 AM
I start up a thread which does this:
Sub ReaderThread
Dim tcpCli As New TcpClient
Try
tcpCli.Connect("100.21.0.5", 2101)
Catch
tcpCli.Close()
End Try
End Sub
This connects OK. If there is a problem, then tcpCli closes and the thread
terminates... more >>
American jobs for American programmers, send the H1Bs home, now.
Posted by DANIEL HENEGHAN at 5/15/2005 12:00:00 AM
Read up on Norm Matloff's latest rebuke to the software and EE industry and
their lobbyist's who continue to spread the lie of a dearth of software
development talent in the U.S. We never need H1B's to begin with and we
certainly don't need them now.
Screw you, Bill Gates. Why don't you spend... more >>
DataGrid need help
Posted by shoa at 5/15/2005 12:00:00 AM
Hello
I dont want users to sort data in a DataGrid. That means users do not allow
to sort by clicking at any column title to sort. I set "AllowSorting"
property to false but it doesnt work
Could you please help, Thanks
S.H
... more >>
|