all groups > vb.net > july 2006 > threads for wednesday july 26
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
Rank newbie question - Class or Function?
Posted by Tony Van at 7/26/2006 11:16:09 PM
A philosophical question I guess....
In VB6, I used a function to take
city, state and zipcode fields and combine
them with a comma, correct formatting
and allowances for null or blank entries.
In VB.NET, its it permissible to still use
a function, or should I make a class to
do this?
... more >>
Dictionary objects?
Posted by HockeyFan at 7/26/2006 6:27:02 PM
I'm somewhat new to .Net. I have a dictionary object that I've been putting
keys and values into. Is there a way to keep this around after a postback,
and if so, can someone point me to some code that does it.
... more >>
Updating MS Access tables
Posted by myname at 7/26/2006 3:48:25 PM
Hello,
I'm using VB.Net 2003.
In MS Access, you can create simple forms to edit/add rows to your table.
Is there a simple way to do this from VB.Net (displaying a table
and allowing direct update of it, without SQL commands) ?
Thanks !
... more >>
inverse color
Posted by Smokey Grindle at 7/26/2006 3:26:26 PM
How can you "inverse" a color in GDI+? Say the color I have is blue, the
inverse of that is yellow... how would you go about doing this? is there a
simpler way then taking the RGB values and takeing the difference from 255?
Say blue is 0,0,255
the inverse would be 255,255,0 which is yellow, ... more >>
Dynamically adding in User Controls
Posted by tshad at 7/26/2006 2:42:42 PM
Is there a way to dynamically add in User Controls where I would get the
name from a session variable:
If I have the following code:
******************************************************************************
<%@ Page Language="VB" trace="false" debug="true" ContentType="text/html"
Respon... more >>
Strange font behaviour
Posted by Theo Verweij at 7/26/2006 2:32:49 PM
I am using a font to display in textboxes, labels and use it to print
using the printdocument.
When the "Enable Application Framework" option is disabled, the font
works only in a textbox; in a label and printing it, the font is
substituted.
When the "Enable Application Framework" option... more >>
Using ListView's VirtualMode
Posted by gene kelley at 7/26/2006 1:47:45 PM
I had a VB6 app that used a third party ListView control to simply display various recordsets. The
control had a VirtualMode which I used for this display.
Now in VB2005, I want to do the same with the native ListView to display various datasets in
VirtualMode. I have a ListView with the Vi... more >>
Manual Transactions and Remoting
Posted by Ryan H at 7/26/2006 11:36:53 AM
Hi,
My application is written in VB.NET and has a data access layer that resides
on a different server and is accessed via Remoting.
Currently, when performing an update to the database, I pass the SQL string
and connection string to the data access layer like so:
DataAccessLayerClass.Run... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
PageLoad gets fired more than once..
Posted by NAT at 7/26/2006 11:27:01 AM
I make a response.redirect to an ABC.aspx page from my web application. In
the Page Load event of the ABC.aspx page I make a call to a web method of a
web service.But what I notice here is that after the webmethod returns, the
Load event of ABC.aspx is fired again and hence it again calls the ... more >>
Suppressing redraw of PictureBox after moving?
Posted by b747_440 NO[at]SPAM yahoo.com at 7/26/2006 11:22:05 AM
Hello Newsgroup,
I try to resize and move a picturebox. However, after each operation
the picture box is being redrawn. This causes flickering. Is it
possible to suppress the first redraw and draw both operations at once
after they have been completed?
I have tried overriding OnPaint, OnBackgro... more >>
Parsing Files with Regular Expressions
Posted by Chris at 7/26/2006 10:56:46 AM
Hi everyone,
I'm trying to parse through the contents of some text files with regular
expressions, but am new to regular expressions and how to use them in
VB.net.
I'm pretty sure that the regular expressions are correct as I got them from
regexlib.com and tested them in the Regulator an... more >>
DataGridTableStyle
Posted by nita at 7/26/2006 10:48:34 AM
I'm just starting out, and it's incredibly frustrating when I see
sample code and then try to implement it.
Case in point. I'm populating a collection then binding it to a
datagrid. That works great. The problem is the columns are in the wrong
order. OK. I'll use the datagridtablestyle. But when... more >>
At least one object must implement IComparable
Posted by fniles at 7/26/2006 9:44:57 AM
I have a collection inside a class, sometimes when I add to the collection,
I get the error "At least one object must implement IComparable".
What does the error mean ?
Thanks.
Public Class SessionClass
Private Quotes As Collection = New Collection
Sub NewQuote(ByVal Message As String)
... more >>
VB Code question
Posted by rasta475 NO[at]SPAM gmail.com at 7/26/2006 9:06:25 AM
I am working with a Compact Framework project that was written in
VB.Net using Visual Studio .Net 2003. That said I have been given the
task of making it run "faster". I am a C# programmer and I know there
are statistics out there for different ways to do the same thing an
which is faster.
... more >>
How to create multiple threads?
Posted by BogusException at 7/26/2006 6:11:20 AM
I'll ask a simple question:
How can someone generate any number of threads from within a simple
"for" ot Timer loop/sub (including indefinitely)?
Dim i As Integer
For i = 1 To 10
Dim t As New Thread(AddressOf DoSomethingSub)
t.IsBackground = True
t.Start()
Next i
... more >>
Urgent!!!! What's the difference???
Posted by vongi at 7/26/2006 1:55:24 AM
Dear All:
I hope someone can answer me this question. I did send out the following
url from IE and I can send out correctly, but as I use webrequest.create to
send out this http, I just receive special characters and cannot get wthe
chinese characters that I want to.
http://202.204.20... more >>
Display Graphical Progress Bar in Taskbar Icon?
Posted by Joe Cool at 7/26/2006 1:40:11 AM
I know how to manipulate the text in a Taskbar Icon, but can you
display a graphical style progress bar there?... more >>
Can WinCE & Pocket PC support the "AsyncCallback"?
Posted by James Wong at 7/26/2006 12:00:00 AM
Hi,
Can WinCE & Pocket PC support the "AsyncCallback"?
... more >>
Anyone can help me?£¬How to Convert C# to VB.NET, about Flood Fill
Posted by eking at 7/26/2006 12:00:00 AM
//Thanks for any help,thank you!лл¡£
public override void FloodFill(Bitmap bmp, Point pt)
{
int ctr=timeGetTime();
//Debug.WriteLine("*******Flood Fill******");
//get the color's int value, and convert it from RGBA to BGRA format (as
GDI+ uses BGRA)
m_fillcolo... more >>
Datagridview - Move Focus to a Particular Cell
Posted by Paul Remblance at 7/26/2006 12:00:00 AM
I am trying to use the bindingnavigator addnewitem button to place the focus
on the first cell in the newrow row. I have disabled the default action and
I am using the bindingnavigatoraddnewitem click event. Using newrowindex for
the row how can I move the focus?
... more >>
How to launch program from CD after vb deployment installed
Posted by steve at 7/26/2006 12:00:00 AM
Hi All
I have a program which is installed on users computers via an msi from
vb.net 2005 deployment project
At the end of the install (.net framework and my application) I want to auto
launch another program of mine from the same CD which contains logic to
install sql server express dep... more >>
|