all groups > vb.net > march 2007 > threads for friday march 23
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
Remoting and TCP
Posted by Marco Trapanese at 3/23/2007 5:46:30 PM
Hi!
I've just discovered the Remoting class... I'm able to communicate
between two executables on the same machine. Furthermore, I may use a
remote TCP/IP connection selecting the appropriate IP address/port
number pair in the Remoting configuration.
I guess it's too complex... however... more >>
Getting a Return Value from a Form
Posted by pooba53 at 3/23/2007 3:12:08 PM
I am working with VB .NET 2003.
Let's say my main form is called Form1.
I have to launch a new form (Form2) that gathers input from the user.
How can I pass variable information back to Form1 before calling the
Me.close() on Form2?
-Stumped
... more >>
parent/child grids
Posted by Rick at 3/23/2007 2:52:38 PM
VS 2005
I' m setting up a parent/child datagridviews in a form.
I am doing a lot of this by hand coding in order to get the feel of things.
I want a change in the parent table to trigger a change in the child.
Where is the best place (if I cannot set it up to be automatic through
relati... more >>
Update databse frx
Posted by Marin at 3/23/2007 1:40:44 PM
I have problems with updating access database from asp.net 2.0 application.
I use this code:
SQL = "UPDATE Tabela Set Polje1=" & CInt(Text) & " WHERE ID=" &
CLng(Session("ID"))
cmd = New OleDbCommand(SQL, odbConn)
cmd.ExecuteNonQuery()
No compile error, no run-time error but database is not... more >>
File monitor/copy code doesn't catch everything
Posted by TwistedPair at 3/23/2007 1:39:58 PM
All,
This is sort of a continuation of a previous post of mine. The code below
basically reads a registry key to get a path to a folder and it watches for
files created in that folder (only created). It also reads another registry
key for another path which is a destination path. When a fi... more >>
DataGridView1 - what is this first gray column on the left?
Posted by Joe at 3/23/2007 1:26:28 PM
and how can I initiate this object without it (I don't use it)
... more >>
Using System.Threading.Timer (SOS!)
Posted by Lauren Quantrell at 3/23/2007 10:30:25 AM
I have just put together a vb.net app and now need to provide it to
users. This application needs to run the code in a sub every 60
seconds from a Windows Service application. I have the functionality
of the sub working fine but I cannot figure out how to run the timer.
The sub DoSomethingHere... more >>
Ways to deal with a "-" character
Posted by Military Smurf at 3/23/2007 10:28:13 AM
I am trying to use a String as part of a query. Here is the line:
strQuery = "Select Filename, Path from d11mw-zes215643.System..SCOPE() where
Filename = 'main.swf'"
The code works IF I rename the target workstation and remove the - character
and then adjust my code accordingly. However,... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
determine what control on form the mouse is over - like hitTestInf
Posted by Rich at 3/23/2007 9:48:03 AM
Hello,
What is the way to determine what control the mouse is over on a form? Like
if the mouse is over a button you could note this in the form's MouseMove
Event
'--pseudocode here
console.Writeline(mouse.HitestInfo.ToString)
Does a winform have anything like the Datagridview.HitTest... more >>
Best ways to source controlling "Code Snippets"
Posted by frk.won NO[at]SPAM gmail.com at 3/23/2007 9:31:56 AM
I am interested in learning how to use the VS 2005 code snippets.
However, I wish to know what are the best ways to source control the
code snippets?
Are there any source safe/subversion add-ons for this purpose?
If not, any urls which demonstrates code snippets management?
I apolog... more >>
GDI+ Crashing!
Posted by Smokey Grindel at 3/23/2007 8:31:12 AM
I have an app that runs in the system tray. It takes an icon from the
programs resources then draws two rectangles on it and numbers... the wierd
thing is its crashing... here is the exception I am getting
System.ArgumentException: Parameter is not valid.
at System.Drawing.Biutmap..cto... more >>
Width/Length of Data Column
Posted by schaapiee at 3/23/2007 8:19:43 AM
Is there a way to define how long the data columns are, display wise
on the Form?
Whether I am using a boolean field (checkbox) or a string field (text
url) each displays with the same size.
I know you can select all the columns and resize them after the fact,
but is there a way to set each c... more >>
CDO Emails not sent till application is exited
Posted by merziyah NO[at]SPAM gmail.com at 3/23/2007 7:59:24 AM
I'm new to posting issues online, so bare with me...
Does anyone have any clues on this:
I have an application that is set to run as a service and it sends an
email if an error is encountered. The emailing part seems to work fine
- no errors, except that the emails don't get sent until the
appl... more >>
Using Exception Management Application Block in a Web App
Posted by Brett Ossman at 3/23/2007 7:02:03 AM
I'm trying to set up a custome e-mail publisher for a web app using the
Microsoft Exception Management Application Block for .NET sample app.
Our app already uses the Exception Management Block, but with the default
publishing to the Event Log. We have an error handler
Intranet_Exception_P... more >>
After Converting a string from Base64 some characters are nothing.
Posted by Jeremy Kitchen at 3/23/2007 6:56:45 AM
I have encoded a string into Base64 for the purpose of encryption. I
then later decrypted it and converted it back from Base64 the final
string returns with four nothing characters.
"pass" what the result should be
"pass____ what the result is where each underline char is a nothing
char.
I... more >>
Control as bitmap
Posted by Martin H. at 3/23/2007 12:00:00 AM
Hello all,
I want to get a control (in my case a CheckBox with the states
Checked=True and Checked=False) as bitmap. It is important for me that
it shows in the desktop theme if the user is using one.
Any ideas?
Thanks in advance.
Best regards,
Martin... more >>
Connecting to Sql server 2005 via VPN
Posted by steve at 3/23/2007 12:00:00 AM
Hi All
Has anybody had experience connecting to SQL server 2005 on a remote site
via VPN
A client has a warehouse in each capital city in Australia and wants to have
them all record sales etc in the SQL server computer running in 1 city only
I have not had experience with VPN and am won... more >>
How to do "die in php" under VB.net and ASP.net
Posted by Benson at 3/23/2007 12:00:00 AM
In php coding:
....
if(something wrong)
die("stop here");
....
....
How to code the "die" in VB.net and ASP.net? (I dislike using
status_variable and exit sub.)
Benson
VS2005
... more >>
|