all groups > vb.net > april 2004 > threads for tuesday april 20
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
link label in datagrid
Posted by WStoreyII at 4/20/2004 11:31:49 PM
when the grid has a relation ship and you click on the plus sign there is a
link label to the child table
how can i find this like so that i can make a reference to it
like
public withevents mylinklable = gridlinklabel
??????
Thanks Again
WStoreyII
... more >>
How to pass parameter between two forms?
Posted by Agnes at 4/20/2004 11:25:53 PM
There is a button in form A , as the users click it, Form B will show.
however, how can i pass the parameter to form B .
the parameters got (tablesname,search condition).
As form B receive these condition. the listbox in form B will show the
result.
How can I do this ??
Thanks in advance
Fr... more >>
File Type associated program selector
Posted by Brian Henry at 4/20/2004 10:41:39 PM
Hello,
I have been working executeing files a user selects in a database, my
problem is that the file type may or may not be associated in the end users
system. How can I go about, when the user executes a file, if the file does
not have an associated application with it, show the window in wi... more >>
New instance of browser
Posted by Tony at 4/20/2004 10:32:43 PM
vs2002 win xp web forms
How can I "open in new browser" with response.redirect or any other way?
Thanks
... more >>
Drag & Drop with VB.NET
Posted by simchajoy2000 NO[at]SPAM yahoo.com at 4/20/2004 9:43:11 PM
Hi everyone!
I am currently working on a user interface project right now where I
need to do something similar to how the Visual Studio interface works.
In Visual Studio you can drag a button control from the toolbox and
leave it at any point in the form and you can put as many buttons on
th... more >>
Get information on who starts program
Posted by Shawn at 4/20/2004 9:18:38 PM
Hi.
Is it possible to get information on who starts my program? The program is
to be set to run as a service, but I also wish to create a user interface to
use when the program is started manually. So, is it possible to see if it's
being run as a service or if someone else started the program?... more >>
datarow question
Posted by WStoreyII at 4/20/2004 8:16:21 PM
what exactly does the setparent row or setchildrow method do
i mean does it just establish a relation ship or does it determine what is
view when one clicks on theplus sign in the row header?
WStoreyII
... more >>
Select Statement
Posted by Carlo B at 4/20/2004 7:42:12 PM
Hi
I need to use a listbox to display authors from the authors table in the
standard BIBLIO.MDB. I haven't even got to this point yet and the code
below is bombing out on the line 'dataAdapter.Fill(dt)'.
If I only run 'Select * from Titles' then it works fine. Even if I try
'Select Titles.title... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Buttons with no borders - like Xnews/Toolbars
Posted by Lucas Tam at 4/20/2004 6:46:52 PM
Hello,
Is it possible to make a flat button without a border - like the buttons on
the buttom of the Group List of Xnews.
Thanks!
--
Lucas Tam (REMOVEnntp@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/... more >>
String average ?
Posted by Chris Wertman at 4/20/2004 6:26:45 PM
Im a little stuck on an efficent way to do this.
Say I have an array of strings , or a simple list whatever. Like this
Del Rey
Dell Ray
DelRey
Del Rey
Del Rey
Del Ray
Now what I would want to do is return Del Rey as it is the most used
string in the array. For many of the things I will... more >>
WebClient
Posted by Peter at 4/20/2004 5:41:49 PM
I have the following code:
Dim client As New WebClient
Dim aStream As Stream
Dim aReader As StreamReader
aStream = client.OpenRead(http://yaddayadda)
aReader = New StreamReader(aStream, True)
strPage = strPage & aReader.ReadToEnd
the url I am reading contains this data
... more >>
Sql and DB Brand
Posted by Nice Chap at 4/20/2004 5:00:05 PM
My application can use both SQLClient and OleDBClient, how can I write a
common SQL for both the options ? OleDB uses ? as a parameter and SqlClient
expects @Name as the parameter. I don't want to inject literal values into
the Sql. Is there is a way out at all ?
... more >>
From RTF to HTML
Posted by MC at 4/20/2004 4:36:18 PM
Hi,
I'm developing an VB.NET interface to a RSS feed.
I need to convert the output of a Rich Text Control (bolds, italics,
links,...) witch is in RTF format to HTML format in order to feed a remote
RSS form.
Does anyone know how to do that?
Do I need to use a 3rd party component to do th... more >>
debugging problem
Posted by amber at 4/20/2004 4:11:02 PM
Hello
I'm not sure what's changed in my settings, but when I debug, and there is an error, the line of code highlighted is not the line that called the error, but the line ABOVE the line that called the sub that triggered the error. (whew! what a sentence!
This makes it a real pain to go back to f... more >>
String formatting
Posted by Chris Dunaway at 4/20/2004 4:00:25 PM
I have a table in the database with a phone number field. The phone number
is stored without any punctuation (e. g. 9995551234). I wish to take that
string and format it for display (e. g. (999) 555-1234).
I know that I can use the .substring method of the string class to get the
characters ... more >>
"if" problem. Still. Value is ok.
Posted by Miguel Dias Moura at 4/20/2004 3:16:59 PM
Hi,
i have this code line in a script in my ASP.net / VB web site:
dim msgNewsletterAction
msgNewsletterAction = Request.Form("newsletterAction")
if msgNewsletterAction = "go" Then
Code1
Else
Code2
End If
Code2 runs everytime even when msgNewsletterAction = "go". Code1 never r... more >>
Dockable Control Bar, etc...
Posted by Ãéþñãïò Ë. at 4/20/2004 3:04:12 PM
Hi to all...
I wonder if there's a way to create control bar like vs.net IDE (ex. server
explorer).
I'm trying to find a way in vb.net but with no success, any hint or input
highly appreciated.
... more >>
Installation help
Posted by VJ at 4/20/2004 2:48:59 PM
What is the right group to ask help on "Setup and Deployment Projects.."..
If it is.. can anybody tell me if I can do the below with a Setup and
Deployment project that ships with VS.NET 2003
I need one of my executables that Aim installing with my package to the
Windows Run key
(HKEY_LOCAL_M... more >>
Simple loop question - code check
Posted by Rich at 4/20/2004 2:27:56 PM
Hi
I have five check boxes in a windows form. They are called chkEQUDS01,
chkEQUDS02, chkEQUDS03, chkEQUDS04, and chkEQUDS05. I am getting the text
name for the check boxes from a datatable and have wrote the code below:
If dtEq.Rows(0).Item(2) = 1 Then
chkEQUDS01.Enabled = T... more >>
how to use GDI+ to color pixels from array
Posted by daryljharrison NO[at]SPAM netscape.net at 4/20/2004 1:56:57 PM
Greetings,
I am attempting to develop an application that will color the pixels
in a PictureBox based on the x and y coordinates for individual pixels
in an array. I would like to load the values into the array from a
database. Does this sound feasible? I'm new to CDI+ programming. I
thougnt ... more >>
The variable 'controlname' is either undeclared or was never assigned.
Posted by mros at 4/20/2004 1:45:51 PM
I've created three buttons on a form (IsMdiContainer=True), it's mdi parent.
I need to disable these buttons from one of my child form. So,
I've changed these buttons modifier to Friend Shared WithEvents
'controlname' as System.Windows.Forms.button
and I was able to disable these buttons from my... more >>
Memory USage
Posted by CJ Taylor at 4/20/2004 1:42:04 PM
If I wanted to find out exactly how much memory a particular variable was
using, how would I go about that. Or where to look for information would be
appreciated. Just need a class/namespace
Thanks,
CJ
... more >>
Which collection class to use?
Posted by cksj at 4/20/2004 1:25:46 PM
I'm working on a VB.Net app that has State class (CA, AZ, WA...) and
collection class of State.
Which collection class interface can I use if want to be able to bind the
collection a combo box and at the same time be able to reference the item in
the collection by key?
I know that combo box dat... more >>
Newline in Text Property
Posted by runningdog at 4/20/2004 1:07:13 PM
Hi,
I would like to be able to embed a newline in a text string.
Is there any convienent notation to do this
TIA Steve
... more >>
Dynamically evaluate expressions?
Posted by Tales Normando at 4/20/2004 12:52:31 PM
Hi,
Is there any class/method/function in .NET that I can pass a
string containing a math expression (for example, 2 + (22 ^ 6)) and have it
return the value as if I had hardcoded it in the code?
Tales
... more >>
Forms
Posted by Mark at 4/20/2004 12:36:05 PM
I have a form which shows advanced options relative to the application I'm writing. I have two other forms which may need to call this form up
How can I set the 'advanced options' form so that it can be called up these two forms (and exposing the controls on the two forms as well)
How do I know ... more >>
File Created Not Accessible Until App Shuts Down
Posted by John Dougherty at 4/20/2004 12:01:04 PM
I am using the filestream feature in VB.NET to create a file. However, I am not able to delete or overwrite the file until the app closes down. I am using the .Close( ) method on the filestream right after it is created. I am creating a .BMP file from an OLE Object of an Access database field. A... more >>
Help again with AS400 connection
Posted by Brad Allison at 4/20/2004 11:59:10 AM
Sorry to repeat myself if this is the same question I asked in the past, but
I have finally made a connection to our AS400 through ODBC. I tried to get
the connection using the data connection wizard and the OLE DB connection,
but I was getting a winsock error. Is there a better way for me to c... more >>
Converting VB.Net to ASP.Net
Posted by Derek Martin at 4/20/2004 11:23:39 AM
Hi there, kind of a dumb question, but it falls in line with not
understanding (go figure) every nuance about .Net. Is it relatively
straight forward to convert a VB.Net built app to an ASP.Net web system? If
I am not just way off in left field, it would seem to be not too difficult,
but am cu... more >>
Compiling Solution
Posted by Nice Chap at 4/20/2004 10:31:19 AM
I have a solution that includes around 30-40 projects. *Each time* I hit the
run button, VS.net compiles all the projects (even if nothing has been
changed) !! This is wasting a lot of our time. Is there is way to prevent
VS.net from compiling projects every time we hit run.
PS: I run the rele... more >>
Updating Datasets when join involved
Posted by Gary at 4/20/2004 9:00:09 AM
I have a form in which I would like to update one record out of a Contacts
Database. Since I join one other field from another table, I can't update
the data tables. I really want to display the Code_Desc field but there is
no need to update that field. When I populate the form, I use the foll... more >>
Help needed with syntax
Posted by Aaron at 4/20/2004 8:28:31 AM
Can someone tell my why my functions are returning "nothing"?
In the SQLStatement Sub, ColumnNames & FromClause & WhereClause &
OrderClause all come up as "nothing". I can't figure out why my
functions are not working. When I step through the code, the parameter
is passed, but as soon a... more >>
Images in toolbar disappeared
Posted by Hugh at 4/20/2004 8:21:40 AM
in debug mode once the size was changed. I tried to
change buttom size and image size in different values
(both in the same value or button size is larger than that
of image. It does not work. What is wrong? Thanks for
help.
Hugh... more >>
AS400 help
Posted by Brad Allison at 4/20/2004 8:13:34 AM
I posted the following yesterday and then I was asked to put AS400 in the
subject:
I have an ODBC data adapter going to tables on an AS400. This works -
albeit slowly as our database is about 10 GB of information - in one program
that I am creating but now I am starting a new project and when... more >>
Working with DataTables
Posted by Bob Achgill at 4/20/2004 7:30:08 AM
I would like some example code that shows retrieving and
updating selected column data from a DataTable.
I am sucessful to load and select the whole row of a
DataTable into a datagrid. But can't seem to access just
a specific column on a specific row. Maybe it is a
simple solution that ... more >>
Convert image types in vb.net
Posted by John at 4/20/2004 7:28:17 AM
I am trying to convert from .j2k (jpg 2000) to the
standard .jpg format for pictures I will be using in my
app. I would like to do this through code. Does anyone
here have experience with this?
Thank you so much for any help!... more >>
Server sending events to multiple clients
Posted by Frank at 4/20/2004 7:15:36 AM
Hello.
In the early stages of developing a server application that will be =
required to send events to multiple client applications that will be =
running on different PC's.
I'm wondering what the best technology for doing this is. At the moment, =
I'm looking at MSMQ.
The server PC and... more >>
Project reference problem
Posted by dominic_rousseau NO[at]SPAM dmr.ca at 4/20/2004 6:23:46 AM
Hi!
According the code below (2 class library projets):
'Project 1: ns1.Class1
Public Class Class1
Public Sub New()
Dim cls2 As New ns2.Class2
cls2.method1(Me) 'THE ERROR OCCURS HERE (on Me keyword)...
cls2 = Nothing
End Sub
End Class
'Project 2: ns2.C... more >>
Combobox default problem
Posted by grimsbyarchers NO[at]SPAM lycos.com at 4/20/2004 5:11:00 AM
I have a combobox of dropdownlist style as one of the controls on a
tabbed form.
The list is populated by setting the DataSource property to a dataset
and then the DisplayMember and ValueMember properties are set to the
names of 2 of the fields in the dataset.
I noticed that when the form d... more >>
SCardTransmit in VB6
Posted by Schwarz at 4/20/2004 2:56:02 AM
Hi guyz
I'm stuck up in this smart card SCardTransmit function. I still don't get how this function works . I'm currently trying to write some data to the smart card. Can anyone help me with some sample code written in VB6. I have a very tight dead line here without much documentation on hand.
... more >>
call a function that eventually dispose the caller
Posted by Atara at 4/20/2004 2:37:56 AM
In my WindowForms Application I have Control1 inside Control2 inside
Control3 inside theMainForm.
I have a scenario that Control1 should call/sendEvent to theMainForm. in
response, theMainForm calls a function that among other things call
Control3 to delete Control2 (containing Control1) a... more >>
Error when start a service
Posted by Li Pang at 4/20/2004 2:31:04 AM
Hi
I built a .NET service and install it with a msi package. This service runs successfully since serveral months. Today, when I restart the service I got an error
I restarted the server, couldn't fixed it. I also re-installed the service, and I got the same issue. Anybody knows why and how to f... more >>
datagrid in a combobox drop down
Posted by WStoreyII at 4/20/2004 2:25:09 AM
i would like to display a small three column datagrid in a combobox's drop
down list
any idea's on how to do this ?
WStoreyII
... more >>
I am trying to edit a item in a form
Posted by andy NO[at]SPAM etjsolutions.co.uk at 4/20/2004 1:57:36 AM
I am trying to edit a item in a form.....
On the form it looks like
Change it < >
and I want the user to add the information inbetween the < > so it
will end looking something like this when they finish
Change it < I added this >
I've got some of the way by doing it in listview
Li... more >>
Playing a music file
Posted by Tom W at 4/20/2004 1:21:05 AM
Ok, hi evryon
now I swear I put this post up yesterday but I cant find it anywhere so ill put it up again
So I'm making a program to play music but the code ive got for the open dialog thing isn't working. This is what iv'e go
\\\\\\\ Private Sub MenuItem2_Click(ByVal sender As System.Object, ByV... more >>
"if" question
Posted by Miguel Dias Moura at 4/20/2004 12:39:51 AM
Hello,
i have this code line in a script in my ASP.net / VB web site:
if msgNewsletterAction = "Go" Then
code1
Else
code2
End If
code2 runs everytime even when msgNewsletterAction = "Go". code1 never runs.
What is wrong in my sintax?
Thank You,
Miguel
... more >>
RSA Key Exchange
Posted by Bryan at 4/20/2004 12:13:49 AM
Ok .. im writing both a server and client aplication that need to be
encrypted. I want to use the RSA Key exchange technique .. i think it
resides in System.Security.Cryptography.RSAPKCS1KeyExchangeFormatter but im
not sure how to use this class.
If anyone can provide some code that does this... more >>
|