all groups > vb.net > february 2005 > threads for friday february 11
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
Which newsgroup / forum ....
Posted by al jones at 2/11/2005 10:39:07 PM
I see many different questions here. Some of us are obviously *very* new
to vb and others are 'old pros'. As you've seen from my 'frustrated'
posts, I'm obviously stuck on a problem that invariably gets handed back to
me with the same solution - which I don't understand how to make work for
wh... more >>
How to reference function in shared function?
Posted by Brett at 2/11/2005 10:23:19 PM
I'm trying to use the F1 function inside of F2 function below. I keep
getting the error posted below the code. If I remove the Shared
declaration from F2, it works fine. What exactly does the error mean?
Public Class myClass
Function F1(ByVal url As String) As Struct1
-- do somethin... more >>
Visual Basic .net 2003 Standard & SQL Server Problems
Posted by Microsoft at 2/11/2005 8:45:32 PM
Hi,
I have Visual Basic .net 2003 (Standard Edition) & SQL Server 2000 =
Developer Edition. When trying to create a connection in the server =
explorer from the .net IDE I get a number of problems;
a.. Under the "Connection" tab, under "1. Select or enter a server =
name:" when I either se... more >>
Different object name for each object
Posted by dotNETnews at 2/11/2005 8:09:11 PM
This clas creates new movie.
--------------CODE--------------
Public Class AllMovies
Sub New(ByVal MovieName As String, ByVal MovieLenght As Integer)
Movie = MovieName
Lenght = MovieLenght
End Sub
Public Movie As String
Public Lenght As String
End Class
-----------END CODE-------------
... more >>
Closing a form
Posted by barry at 2/11/2005 8:00:44 PM
This is asp.net application
This has a requiredfieldvalidator on the form
There is a attributes.add
Button1.Attributes.Add("OnClick", "window.close()")
the application gives what looks like a javascript error saying a
; is needed at the end of a line
When I take the requiredfieldvalidator ou... more >>
DataAdapter Update method giving Concurrency Error
Posted by mark_ivey4 NO[at]SPAM yahoo-dot-com.no-spam.invalid at 2/11/2005 5:47:01 PM
Okay,
The problem is that I have an Access Database that has the following
fields:
EmpID - Autonumber (PrimaryKey)
AccountID - Text
IssueReported - Memo
DateOpened - Date/Time
TimeOpened - Date/Time
DateClosed - Date/Time
TimeClosed - Date... more >>
establishing realtionships by using ADOX
Posted by gaffar at 2/11/2005 5:35:54 PM
Sir, Using ADOX
I am developing an application in vb.net and the backend database is
ms-access. i have created ms-access databse and tables and assigned primary
keys to the tables through the vb.net application(code is below) by using
ADOX. Now my problem is i want delete one record from mast... more >>
Search Results return nothing from Netscape 4.16 LDAP
Posted by Rosanne Rohana at 2/11/2005 5:27:13 PM
I'm trying for return user info (first name, last name, etc.) from a
Netscape 4.16 LDAP server using the System.DirectoryServices. I'm able to
get authenticated successfully, but when I attempt to return search results
nothing ever comes back. For example, "result = searcher.FindOne()" always ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How to restrict the multiple opening of the Same window...
Posted by Prabhudhas Peter at 2/11/2005 4:31:01 PM
If I click a menu to open a form which already open...the vb.net opens a new
window while existing open window is there...i want to restric the opening of
a new instance of an already opened form...
and also ...
if i open a form from a child form of an MDI form, the recently opened form
also... more >>
Listview changes are disappearing
Posted by jmp23834 at 2/11/2005 3:48:07 PM
I have a ListView object built at design time. At runtime I populate
the rows and columns. The application takes data from a textbox box and
updates the ListView. It all seems to work fine unitl I pop up a
MsgBox. When that happens all the changes disappear and the listview
goes back to the orig... more >>
vb express conversion
Posted by Frosty1 at 2/11/2005 3:43:01 PM
i am switching from a access front end to a vb front end for my database. i
want to play around with vb for a little while before i decide to give ms
more money. if i develop in vb express can i take the application and use it
with vstudio pro when i want to distribute?... more >>
How to Detect the "TAB" Key is Pressed
Posted by Prabhudhas Peter at 2/11/2005 3:33:02 PM
How to Detect the "TAB" Key is pressed in the Text Box or Combo Box....
Which events catches the TAB key...
I Want to perform some operations when the "TAB" key is pressed...
--
Peter...... more >>
registering assembly upon deployment
Posted by Nikhil Patel at 2/11/2005 3:31:56 PM
Hi all,
I am creating a setup and deployment project for a signed assembly and
need to register it when it is installed. How can set it to register when it
is installed?
Thanks.
... more >>
Capturing processes
Posted by SLE at 2/11/2005 2:59:17 PM
Hi there,
I am writing a service which monitors processes on the local machine.
Currently I have implemented a System.Management.ManagementEventWatcher
which raises events for processes being launched:
New WqlEventQuery("SELECT * FROM __InstanceCreationEvent WITHIN 0.1
WHERE TargetInstan... more >>
Intercepting Window Messages
Posted by Alex Pierson at 2/11/2005 2:36:22 PM
I have searched and searched and cannot find any code in VB.net that
would allow me to intercept messages from an external application
(window). I have implemented a global keyboard hook successfully but I
cannot figure out how to hook into windows (external application)
messages.
Any pointe... more >>
Threading help... threads???
Posted by Keith Mills at 2/11/2005 2:25:09 PM
Hello, please find attached a basic outline of what I am attempting to
accomplish... basically I want to create a number of THREADS (which I can do
fine), but I then need a method for them to be able to communicate with each
other, either through a message loop, or some other manner. I ALSO need... more >>
Numeric Pad Control
Posted by Bruce A. Julseth at 2/11/2005 2:02:26 PM
Is there a Numeric Pad Control somewhere, something like the one that
Quicken uses for entering decimal numbers?
... more >>
is this possible ...
Posted by rodchar at 2/11/2005 2:01:04 PM
hey all,
i have 2 jobs running in the background and you can see them in task
manager. is there a way i can create a quick windows form to show the status
of just those 2 jobs to show that their running?
where would i start? or is there a better way to handle?
thanks,
rodchar... more >>
RegEx question
Posted by vbmark at 2/11/2005 1:51:00 PM
I'm new to RegEx in vb.net so I'm not sure how to do this.
I want to know if a string contains two minus signs "-". If there are two
then I want it to return TRUE.
I also need to know if the string contains two plus signs "+". Should this
be a seperate RegEx or can one RegEx check for bo... more >>
task manager inquiry
Posted by rodchar at 2/11/2005 1:41:04 PM
hey all,
i'm trying to use Windows' Task Manager to kick off my win form. Am I
correct to say that this is not going to work because everytime it runs I see
it task manager but no window ever shows.
no way around this?
thanks,
rodchar... more >>
GC/Memory question
Posted by Urs Vogel at 2/11/2005 1:25:41 PM
Hi
When monitoring my application in the task manager (XP SP2), it shows up to
50MB of memory usage, very rarely reducing its size. When checking the
memory with GC.GetTotalMemory(false) prior to GC.Collect(GC.MaxGeneration),
it shows me some 10MB of memory usage, and after the GC.Collect, ... more >>
How to run a console application without showing the console screen?
Posted by Tee at 2/11/2005 1:04:19 PM
Hi,
I am using System.Diagnostics.Process to start a console application, but I
don't want the user to see a "black" screen when the console application is
running, how can I hide it?
Thanks,
Tee
... more >>
Error: Cannot Change read Only Property For the Expression Column
Posted by David FĂșnez at 2/11/2005 12:46:32 PM
Hi;
I'm working with Component One FlexGrid DataGrid, i've added a calculated
field [qty*price] to the DataGrid, when i press the Save Button an error
message is displayed "Cannot Change read Only Property For the Expression
Column" i press Enter and the Data is Saved even the Message "Dat... more >>
Redim Preserve Array
Posted by LP at 2/11/2005 12:29:09 PM
Hello,
What is C# equivalent of rediming an array and preserving exciting elements.
VB.NET syntax looks something like this:
ReDim Preserve myArray(5)
Thank you
... more >>
How to create a timestamp?
Posted by Dean Slindee at 2/11/2005 12:18:25 PM
Since SQL Server has a native timestamp datatype, I was expecting .NET to
have a .ToTimestamp function, but evidently not.
Which leads to my question: is a a universally accepted format for a
timestamp? And how would you create it in .NET?
Thanks,
Dean Slindee
... more >>
Send a message to a Windoes services
Posted by George D. Lake at 2/11/2005 12:13:01 PM
Hi,
I have a Windows Service in VB.NET and now I need to send a message to
it from a different PC. How can I do this in a very simple way? (No SQL or
other external way), I need to talk directly to the service.
Thanks.
George.
... more >>
Serializing a collection
Posted by Richard Atkinson at 2/11/2005 11:56:41 AM
Can anyone please let me know if you can serialize a property of type
collection in a class using the xmlMessageFormatter for posting to a message
queue using MSMQ
Thanks
... more >>
How to establish realtionships betweeen the tables through my vb.net application at run time.
Posted by gaffar at 2/11/2005 11:48:08 AM
Sir,
I am developing an application in vb.net and the backend database is
ms-access. i have created ms-access databse and tables and assigned primary
keys to the
tables through the vb.net application(code is below). Now my problem is i
want delete one record from master table, that deleted ... more >>
Code to loop through a directory and retreive file information
Posted by LisaB at 2/11/2005 11:47:37 AM
I am new to Visual Basic .Net and would like to build a simple application
that searches a directory and returns the Path, Size and DateModified of all
files that end in ".MDB".
a) I would create a form to allow the user to enter the directory to be
searched - EX.. "C:\" or "D:\Program FIles... more >>
Outlook add-in
Posted by Himselff at 2/11/2005 11:11:05 AM
Hi guys,
Im developing a lil add-in that is goiing to allow the user by a button
click to auto print PDF doc which are attach to hes emails, i think the
things is to simple cause its not working at all, hope u guys can gimme a
hand , heres the code,
Public Sub OnStartupComplete(ByRef cus... more >>
Iterating through class properties.
Posted by Nick at 2/11/2005 10:36:45 AM
Hi all,
Just a quick question. I have a class that exposes a number of fields (which
are themselves custom types) through public properties.
At run time, I have an object whom I'd like to check, is of same type as one
of these fields.
Is there a method or technique for iterating through... more >>
Get name of control at a certain mousedown point
Posted by Brad at 2/11/2005 8:53:25 AM
I have several labels and textboxes that are drawn to a tab page based on
certain criteria so these labels and textboxes can be drawn at different
points on the tab page. I set the label and textbox names in the drawing
procedure. Now what I need to do is to get the control's information on ... more >>
Using VB.NET to control Excel and Access, etc.
Posted by Jim Wyse at 2/11/2005 8:33:04 AM
I'm trying to use VB.NET to control Excel and Access, but finding it very
slow going. I've just downloaded an Excel sample project from
msdn.microsoft.com/office/understanding/excel/codesamples/default.aspx, but
when I try to run it I get 91 errors, starting with
"C:\Downloads\vbnet\excel\Th... more >>
Helllp with CACLS in VB.NET!
Posted by Support at 2/11/2005 8:29:41 AM
in VB.NET, I am trying to assign Group rights to a network file. I am
successfull at impersonating a domain account with rights but the following
code is failing, ie, nothing happens at the file level.
MyProcessString = "cacls.exe """ + ICopyTo + """ /E /G """ + ICopyRights +
""":R"
Syste... more >>
Datagrid to Crystal Report
Posted by Red at 2/11/2005 8:12:20 AM
Hi all,
I have the data that I already show in the datagrid, what
I want to do now is I want to print all the data in
datagrid from crystal report.
Anyone know how to do it. Thanks... more >>
Trouble on Win98
Posted by Matthew at 2/11/2005 8:08:18 AM
I have a program that is giving a person trouble on a Windows 98 computer.
He said:
On the desktop all I get is blank shells. Down in the tray when I right
click on the icon I get nothing. To terminate the program I have to go into
Task Manager.
The "blank shells" are windows. I do have a ... more >>
Queue Email Messages
Posted by Sun at 2/11/2005 8:07:04 AM
If the email server goes down, I won't be able to send messages using
SmtpMail. I'll get a "Could not Access CDO.Message ..." error. Is there a way
to queue the message so that it can be sent out when the system is back
running?
When we use Outlook, the message is queued when the system is ... more >>
How can I print an Image from a VB.net WEB application with out di
Posted by MKnoth at 2/11/2005 8:03:02 AM
I am working on a web system to generate barcode cover sheets for scanning
into a document management system.. The system has two parts a web form that
prompts a user for input. This web form calls a web service which creates the
barcode cover sheet as a Image and passes it back as a byte arra... more >>
Online reference to all regular expression sequences?
Posted by Brett at 2/11/2005 7:05:45 AM
Where can I find a refrence that list all the regular expression sequences?
I can't find this in the VS.NET 2003 help.
Thanks,
Brett
... more >>
No Title bar
Posted by Peter Simmonds at 2/11/2005 7:01:31 AM
How can I create a form with no title bar?
Peter Simmonds
Northampton, UK
... more >>
start new, end old, keep new
Posted by rodchar at 2/11/2005 6:33:01 AM
hey all,
i have 2 winclient .EXEs; how do i start the 1st exe just to call the 2nd
exe and let the 1st exe stop running altogether but let the 2nd exe continue
running?
thanks,
rodchar... more >>
Bug in DataGridViewColumn.HeaderText
Posted by wernerboelen NO[at]SPAM hotmail.com at 2/11/2005 5:39:00 AM
After binding a DataGridView to a datasource and looping through the
columns to update the headertext, some captions get modified and some
don't.
Sample code copied from ms-help:
For Each column As DataGridViewColumn In EmployeesDataGridView.Columns
column.HeaderText = String.Concat("Colu... more >>
DateTimePicker background color
Posted by Art at 2/11/2005 5:31:02 AM
Hi,
Is it possible to change the background color of the DateTimePicker? I'm
speaking of the single line that sits on the form before anyone clicks on the
arrow.
Art... more >>
Suspend/resume Thread problems
Posted by juky at 2/11/2005 1:47:05 AM
Hi all,
I have a loop in the thread checking for a particular service status,
whenever the status changes to "stopped" a RaiseEvent is generated by
thread and another function runs. At the same time the thread is
suspended. When I try to resume it from the another function I have
some problem... more >>
|