all groups > vb.net > november 2006 > threads for tuesday november 21
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
How to uniquely identify a process?
Posted by 01423481d NO[at]SPAM gmail.com at 11/21/2006 10:23:20 PM
Hi all
The question is simple:
How can I find out if an executable is running apart from verifying
process name, path, program title etc which does not ensure uniqueness?
I think classid (GUID) could help but I dont know if it is the right
direction and how to achieve this. Any advise is welc... more >>
Uniquely identify a running exe?
Posted by 01423481d NO[at]SPAM gmail.com at 11/21/2006 8:44:40 PM
Hi all
Here is a segment of code used to find out all running processes
Imports System.Diagnostics
....
Dim myProcesses() As Process
Dim myProcess As Process
'Get the list of processes
myProcesses = Process.GetProcesses()
'Iterate through the process array
... more >>
How to get a form's property value from a class?
Posted by Dean Slindee at 11/21/2006 7:55:26 PM
I have a form whose Property value I need to get at from a class (contained
in another project, same solution).
Here is the form's property:
Private booIsInsert As Boolean = False
Public Property IsInsert() As Boolean
Get
Return booIsInsert
End Get
... more >>
Select Data from DataGrid vb.net
Posted by Sharon at 11/21/2006 5:55:24 PM
hello Everyone,
Is it possible to select data from the datagrid, i have a populated
datagrid with three columns FirstName, LastName, Email. When the user
selects one row i want the values of the selected row to be copied into
a text box ie firstname copied to textbox1, lastname copied into
te... more >>
Connection string problem with sql 2000
Posted by Bob at 11/21/2006 5:18:06 PM
I had code to use connection strings using integrated windows security and
that's been working OK for years, Now in my testing environment ( a W2k
server and 4 computers on a small LAN all with fixed IP's) I had to change
my IP address ranges from 192.168.1.xxx to 192.168.0.xxx. That should not
... more >>
Display html string in Windows Form
Posted by Dennis at 11/21/2006 4:11:01 PM
Is there any way I can display an html string in a windows form or windows
form control like a rich text box. Note, I'm using windows forms, not the
web. Thanks for any help.
--
Dennis in Houston... more >>
Debugging a COM Interop Class Library
Posted by Greg at 11/21/2006 4:04:01 PM
I have a very simple Visual Basic .NET 2003 class library project
ClassLibrary1 configured to run an external program (in this case
C:\WINDOWS\system32\wscript.exe), in the Debugging Configuration Properties
Dialog Box with command line arguments C:\test.vbs. When I run the project, I
get an... more >>
How to identiy numerics in a string?
Posted by Learner at 11/21/2006 12:29:38 PM
Hello,
I have a situation that I need to be able to identify if there are
any numerical values in a string variable that might have numerics
including charecters.
For instanse Dim strValue as stirng
strValue = "Inside Diameter=9"
then how to identify the numerical value 9 in it.
T... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
adding listbox selected items
Posted by lord.zoltar NO[at]SPAM gmail.com at 11/21/2006 12:02:12 PM
Hello
I'm trying to programmatically set a listbox to have several items
selected when it is loaded. Which items are selected is based on a
saved user setting.
Right now, I'm trying:
Me.my_ListBox.SelectedIndices.Add(item)
This throws exceptions.
What is a safe way to add indices to the Selec... more >>
"Attempted to read or write protected memory" since 10 days...
Posted by Pieter at 11/21/2006 11:58:32 AM
Hi,
Since 10 days (the first time was the 10th of november) I have some weird
exception happening in an application here:
All (except 1 of the total of 5) users had this error now 1 of 2 times
during the last 10 days. It happens mostly during startup or closing of the
application, but some... more >>
"Four" to 4
Posted by Bubba at 11/21/2006 10:09:18 AM
Has anyone ever run into a problem converting a text version of number to
it's whole number equivalent? If so, can someone please post an example in
2005 of how this is handled?
ex. "Four" to 4 or "Forty-Five" to 45
Thank you
... more >>
Application.Run / Windows Service ?
Posted by Jay at 11/21/2006 10:00:03 AM
What is the replacement for Application.Run in a Windows Service?
... more >>
Call or Not Call
Posted by Jay at 11/21/2006 9:42:52 AM
Is there a difference between using Call ProcName vs just using ProcName?
If not, is it considered proper to use Call when calling another proc?
Thanks.
... more >>
IN Function ?
Posted by Jay at 11/21/2006 9:33:59 AM
What is the quivelant to the SQL IN function in VB.NET? Eg. I need to know
if a string contains a specific character.
dim varwhatever as string
if varwhatever in ("5","6","9") then ...
I've been using:
if varwhatever="5" or varwhatever="6" or varwhatever="9" then ...
But there must b... more >>
PDF Creation components
Posted by The Frog at 11/21/2006 8:22:39 AM
Hi Everyone,
I am trying to find a set of components that will allow me to
programatically create PDF documents, purely in managed code without
having to use a "printer driver". I have seen some of the commercial
ones available, and they are really expensive. I was hoping there might
even be ... more >>
another vb .net xml question
Posted by mattdaddym NO[at]SPAM gmail.com at 11/21/2006 7:45:08 AM
Hi all,
I've taken a couple of hours to read what is available, and I still
cannot figure out how to do a very simple task in vb .net...lol.
All I need to do is read an xml file and parse out specific information
based on simple criteria. Let's use this as the xml file:
<?xml version="1.0... more >>
Install errors during a Fix install
Posted by Michael at 11/21/2006 6:39:02 AM
Hi Everyone,
I need a little help. I installed the new patch the other day for VB slow
performance and since then I stated having more problems, like the IDE
compiler locking up. Anyways, today every form I tried to open would not open
without an error, and it would not show the form. So I de... more >>
Recommendations - VB .Net courses/seminars
Posted by Sandy at 11/21/2006 5:36:02 AM
Hello -
I am looking for recommendations for courses/seminars regarding VB .Net and
Visual Studio .Net, preferrably in the Northeast. Has anyone attended
something they have been particularly impressed with?
Also, any suggestions for good books, CDs, will be appreciated!
--
Sandy... more >>
Alternative use for Color
Posted by guy at 11/21/2006 5:09:01 AM
Ever needed to get byte values from an integer?
just convert the integer to a color using Color.FromARGB and then use the
A,R,G,B properties
and to do the reverse use Color.FromARGB(A,R,G,B)
It is undoubtedly bad practice but it makes things easy!
guy... more >>
ADO.NET Rowfilter - between 2 dates
Posted by steffen.trommer NO[at]SPAM gmail.com at 11/21/2006 1:18:15 AM
Dear VB experts,
how can i set a rowfilter to a Dataview that filters the data from a
startdate to a enddate?
I tried this, but whithout success:
Me.CurDataViewStatistik.RowFilter = "DATEFIELD >= #" &
Format(Me.dtpVon.Value, "yyyy\/MM\/dd") & "# AND DATEFIELD <= #" &
Format(Me.dtpBis.Val... more >>
|