all groups > vb.net > may 2006 > threads for wednesday may 31
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
Highlighting text in DataGridView
Posted by sh at 5/31/2006 9:15:47 PM
How can I highlight the text in a cell, as if it had been selected with
the mouse?
I have a validation routine that checks the data in each column. If a
cell fails the validation, I show a MessageBox with an error message. I
then want to highlight the bad data. But I can't seem to do that.
... more >>
Synchronize VS2005 Projects directory?
Posted by Mark at 5/31/2006 8:03:39 PM
I started to use MS Visual Basic 2005 Express Edition to learn how to
program in Visual Basic. This Express Edition saves projects in this path:
C:\Documents and Settings\Username\My Documents\Visual Studio 2005\Projects
Is there a way to synchronize the Visual Studio 2005 Projects director... more >>
VB 2003, 0x80040213
Posted by Tull Clancey at 5/31/2006 6:29:11 PM
Hi all.
I'm using the following code to attempt to send Email, it's part of an
application I'm writing. I don't need any fancy stuff, just a simple text
message. This code is just for testing but the final thing wont be any
different apart from dragging info from a database.
I can't ge... more >>
An Unhandled exception of type 'system.stackoverflowexception' occured in mscorlib.dll
Posted by vighnesh at 5/31/2006 5:34:44 PM
Hi All
Can anyone please let me know how to catch an unhandled exception like
" An Unhandled exception of type 'system.stackoverflowexception' occured in
mscorlib.dll "
I am unable to catch this using "try - catch - end try" block.
Thanks in advance
Regards
Vighneswar
NGV33010
So... more >>
Strong Name Problems
Posted by Chubbly Geezer at 5/31/2006 4:58:47 PM
I have been working on a VB 2005 DLL which has previously been working. I
would create the DLL (reporting.dll), install it, run 'gacutil' and 'regasm'
and my Access 2000 DB could see it and use it.
I have recently added some new functionality, which included splitting out
some classes into... more >>
Saving an Excel file as text
Posted by herman404 at 5/31/2006 3:30:31 PM
Hi everyone, I have a script that saves an excel worksheet as a CSV
file. However, I need to save it as a tab delimited text file, since
csv won't work for our purposes, because of commas in the numeric
amounts passed in. A sample of our script is below, and I need to know
the constant to save a... more >>
Socket and ThreadPool
Posted by fniles at 5/31/2006 3:05:40 PM
I am using ThreadPool to call a sub in a class. The first time the
ThreadPool is called, I created a socket in the thread. I can connect a
client to the socket and send a message to the client (in ThreadMain),
but when the client send a message to me, the Sub SocketClient_OnRead
event did not ge... more >>
datagrid vertical column separator
Posted by Jose at 5/31/2006 2:27:32 PM
Please how shows the vertical column separator line in a datagrid?
Thanks a lot
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Opinion: VPN or Web Service?
Posted by Robin Mark Tucker at 5/31/2006 1:51:12 PM
I'm wondering what arguments you people might have for/against implementing
an internet based system via. either Virtual Private Network (ie. the client
thinks it's local) or via. a Web Service. It seems that the VPN requires
greater system administration and can be a pita to setup, but tha... more >>
Best way to sort...
Posted by Military Smurf at 5/31/2006 1:51:02 PM
I have a string array full of values like this:
05 00 0A 5E 4C 40 40
03 00 C0 9F 27 60 57
08 00 C0 9F 36 71 35
01 00 0A 5E 4E 40 13
I want to sort them in an ascending fashion based on the two left-most
numbers, such as 05, 03, 08 and 01. What is the best way I should try to do
thi... more >>
Best way to clear errorproviders?
Posted by Tom at 5/31/2006 1:47:25 PM
Just wondering what others were doing to clear the errorprovider? What
I mean is that, during processing of a windows form, I may turn on
(i.e. SetError) the errorprovider for various fields. Now, once I have
committed the data (or reset the form), I want to be able to 'clear'
all these flags be... more >>
Spiritual programming?
Posted by CR at 5/31/2006 12:25:14 PM
I just received the error message "An exception has been thrown by the
target of an invocation." So, I did as any good Christian would do, I closed
Visual Studio 2005 Standard, said a little prayer, reopened Visual Studio,
and the error was gone! Invocation = Prayer, so the target of a prayer... more >>
Assembly - Where did I come from?
Posted by Phill W. at 5/31/2006 12:04:33 PM
Within an Assembly added to the Global Assembly Cache,
System.Reflection.Assembly.GetExecuting.Location
returns the path to the shadow(?) copy buried under
C:\Windows\Assembly\Gac\...
Is there an [easy] way of finding out where the DLL was /before/ it was
added to the GAC? (and prefere... more >>
Deployment Question
Posted by Joe at 5/31/2006 11:47:02 AM
Hello All;
When I deploy my application (which consists of an executable and a config
file), does the user need the .NET framework installed on his machine for my
app to run or does the Setup Wizard distribute the required components along
with my executable?
TIA,
--
Joe... more >>
Me.close vs. End
Posted by cj at 5/31/2006 11:26:19 AM
What is the difference between using Me.close vs. End to stop the
execution of a program?
I've been using me.close and putting code in the form.closing event to
make sure things are stopped before the program execution stops. This
has been working for me even when the startup is sub main p... more >>
custom panel control
Posted by Smokey Grindle at 5/31/2006 10:53:06 AM
I am trying to write a custom panel control that I can place objects into at
design time, however, i want a header on the top of it which can not contain
controls (its a static header) in the image shown below, I have a red
outline marking the region i dont want a control to be able to be plac... more >>
phone number regular expression problem
Posted by venu at 5/31/2006 6:24:49 AM
Hi,
I have a different requirement and it is :
I need to validate a phone number field.
It may or may not be a US phone number.
The constraints are :
***********************
# It should accept any number of numbers
# any number of - hyphens
# and one + symbol
# no other charac... more >>
Show dynamically selected row in datagridview
Posted by Karl Rhodes at 5/31/2006 2:39:36 AM
I have a datagridview which is populated via a datatable.
What I would like to dynamically set a selected row and have that row
show up in the datagridview and not have to manually scroll to find the
selected row.
I had a look for all kind of "datagridview1.rows(i).focus" but there
doesnt s... more >>
Silent install for SQL Express?
Posted by ljh at 5/31/2006 12:00:00 AM
If I develop a SQL Express DB for my app, how do I distribute SQL Express
also? Is there a silent install for SQL Express (like for MSDE)?
Also, how do I put my DB in the new SQL Express instance and attach to it
instead of to my local development copy?
... more >>
C# to VB Conversion - 800 lines got - 2 lines beyond me
Posted by Kaypee at 5/31/2006 12:00:00 AM
Howdy all
am trying to convert c# app to VB so change alter parts of it.
But am getting confused by a couple of bits... at least ;-)
a)
private point[] path1(point p1, point p2) {
int minX = Math.Min(p1.X, p2.X);
int maxX = Math.Max(p1.X, p2.X);
for (i = minX + 1; i < maxX ... more >>
'UnauthorizedAccessException' - 'Global\.net clr networking'
Posted by NickP at 5/31/2006 12:00:00 AM
Hi there,
I've been experiencing a strange issue for a short while now and have
managed to make a tiny replication of the bug.
The uploaded a VB.NET 2005 project which implements a single instance
application, it's very basic.
http://nickpateman.m6.net/Files/xpbug.zip
P... more >>
vbc.exe
Posted by Microsoft at 5/31/2006 12:00:00 AM
hallo
ich hab gleich 2 Fragen :
1. Wie kann ich einen webservice beim kompilieren mit der vbc.exe
referenzieren
2. wie kann ich eine config datei beim compilieren mit einbinden
thx for help
... more >>
|