all groups > vb.net > october 2005 > threads for tuesday october 4
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
Problem handling Events from user control
Posted by Paul Bromley at 10/4/2005 10:54:18 PM
For some time now I have been struggling trying to understand how to handle
events originating in a User Control that I have designed when using this in
an application. Basically I need to respond to button clicks in my user
control. I have struggled trying to understand Delegates, aqnd m still
... more >>
Using Java classes from VB.Net
Posted by Eric Moreau at 10/4/2005 9:22:58 PM
Hi
I have to use Java classes from a VB.Net application. I never did that. How
can I use these classes ?
The Java library was provided to me by FundServ. Anyone know it?
The library is provided as .jar file.
TIA
Éric Moreau, MCSD, Visual Developer - Visual Basic MVP
(http://aspnet... more >>
Conversion Please help!!!
Posted by Scott at 10/4/2005 7:13:34 PM
I need to write a vb.net program that would convert the RTF file into
PS file to be sent to the printer. Any help is highly appreciated.
Scott.
___
Newsgroups brought to you courtesy of www.dotnetjohn.com... more >>
Word document from a DataGrid?
Posted by Webbyz at 10/4/2005 6:47:03 PM
Another problem that I am having is that I want to make some type of
word or text document that is populated with data from my datagrid. Is
this possable? And how do I keep ot formatted? I.E. I have 7 columns
with values in all of them. How do I keep the columns straight on the
printout?
Than... more >>
Bind Data From DB To DateTimePicker
Posted by Webbyz at 10/4/2005 6:44:18 PM
I am working on a form that when a value is selected in the DataGrid,
it should call the binddata() function. But the function in not
updating anything .
Look at the files ... http://www.networkingsltd.com/wasa.zip
There is the DB included. But I cannot populate the fields with my
databindi... more >>
custom collection using generics
Posted by Dan Holmes at 10/4/2005 6:25:48 PM
Given the Class named KeyValue is the declaration for the Dictionary
version correct? I can't get the IDE to like it. This is VS2005 beta
2. I think i am doing something wrong but i don't see it.
Public Class KeyValue
Dim _keyID As FieldAttributes
Dim _value As FieldAttributes
'public... more >>
Simulate "Save Target As" using MSHTML
Posted by John at 10/4/2005 6:21:02 PM
Does anyone know how to simulate the right click "Save Target As" using
MSHTML?
I find that I can navigate through the LinksCollection on any given page but
often these links are links to files (*.doc, *.xls etc). If I follow the
link, it will open the document, but I am interested in sa... more >>
Reading email account properties programatically
Posted by empit4ever NO[at]SPAM gmail.com at 10/4/2005 5:04:47 PM
Hi All,
This is my requirement. Our outlook address book is our corporate
hierarchy note. In the sense, if I look into my email account
properties I can see my boss's email adress and so on..
Now I want to fetch one's managers email address from his email address
properties programatically.... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
printing source code
Posted by zoneal NO[at]SPAM yahoo.com at 10/4/2005 5:04:38 PM
Part of our peer review process is a code walk-thru using hard-copy
source code. I'm not real happy with the way source code is printed in
VS.Net. In VB6 we had the option of printing the entire project, just
the module, etc. In VB.Net that control appears to be missing-what's
open is what you g... more >>
Set password from vb.net program
Posted by Thomas Cameron at 10/4/2005 4:55:51 PM
Hello all,
I have written an application in Visual Basic .Net 2003 which allows
staff members to enable user accounts within a specific group in our
Active Directory. However, as an added piece I would like to set a new
password for the accounts as they are enabled. How can I do this in VB?
Pl... more >>
Property name for text field in Outlook 2k2/2k3 Contacts?
Posted by Jack Black at 10/4/2005 2:51:25 PM
Hi, all!! Anyone know what the property name is for the large text field in
an Outlook 2k2/2k3 Contact is? Tried numerous things and I'm not even close
so far...
Thanks!
Jack
... more >>
NetShareEnum Error 87 in Win98
Posted by Jean-Marc St-Hilaire at 10/4/2005 2:37:22 PM
I need to access Windows API NetShareEnum. It is working fine in the post
Win98 version but the Win98 function is returning me error number 87
(Invalid parameters)
Whats I am doing wrong ?
Following is my code
Thanks
Jean-Marc St-Hilaire
-----------------------------------
<Struc... more >>
Electronic Door Locking Security Device - VB.Net
Posted by DotNetNewbie at 10/4/2005 2:37:07 PM
Does anyone know of any electronic security device hardware for doors that
can be accessed using vb.net? Like for instance a room that needs to be
secured via an electronic device, that can open via a badge being swiped
through it. I would like to talk to this device with vb.net and sore
i... more >>
Why does this code run twice
Posted by dbuchanan at 10/4/2005 12:46:15 PM
Hello,
I can find no reason for this code to run twice. Can you help me?
It may have something to do with it being a overrides sub but stepping
through during debug does *not* bear this out.
In the base class form...
\\
Protected Overridable Sub btnInsertCmptProfile_Click(ByVal sender ... more >>
The underlying connection was closed: The server committed an HTTP protocol violation.
Posted by pmclinn at 10/4/2005 11:44:32 AM
I keep getting the following error:
The underlying connection was closed: The server committed an HTTP
protocol violation.
I have tried putting the
<configuration>
<system.net>
<settings>
<httpWebRequest useUnsafeHeaderParsing="true" />
</settings>
</system.net>
</configuration>
fil... more >>
Add custom properties to controls at runtime
Posted by neilsanner NO[at]SPAM yahoo.com at 10/4/2005 11:37:07 AM
Hi,
I would like to add two or three custom properties to some textboxes
and comboboxes controls at runtime.
Any ideas on how to do this?
NeilSanner
... more >>
Cant Get Machine to Shutdown.
Posted by Mr Newbie at 10/4/2005 11:08:43 AM
Whatever I do I cant programatically make my machine shutdown. I am using
the following class and have tried both thte ExitWindowsEx and
InititateSystemShutdownEx shared functions Neither seem to work. I have also
made sure that the assembly had full trust.
Can anyone suggest what may be wr... more >>
strucure with buffer
Posted by Ralph Heger at 10/4/2005 9:31:33 AM
Hi
An API-Function I want to use needs a structure as parameter:
public structure myStruct
dim i1 as short
dim i2 as byte
dim i3 as integer
dim buffer as byte()
end structure
buffer is an array of fixed length. But how could I correctly declare
buffer, so tha... more >>
How to convert urls and emails in text file to html?
Posted by MARTIN LANNY at 10/4/2005 7:29:14 AM
Hi All,
In my program I am loading the content of a text file (main.txt) into a
string called 'message'.
What I need is to convert all urls and emails in this string into html.
This is what I did to convert hard returns to <br>'s and it works fine:
Dim sws As New IO.StreamWriter(pathtos... more >>
Complied Data Decompling
Posted by pmclinn at 10/4/2005 7:18:53 AM
Hello,
I de-complie some old code and I have this line that I cannot
re-convert to vb.net compatible code.
time1 = #1/2/2005# 'Date variable
DateAndTime.DatePart(2, time1, 1, 1)
I have looked over the info for this function and I'm at a lost as to
the function parts here... specificall... more >>
Smooth transition between forms - ShowDialog and hide parent
Posted by dbuchanan at 10/4/2005 6:59:20 AM
Hello,
My application has a series of forms that open using ShowDialog() on
top of their parent as the user drills down to enter increasingly more
detail regarding data. I want to hide the previous form so that the
user can minimize or move the current form without others behind it.
Current... more >>
Can VB Standard do Windows Services?
Posted by Terry Olsen at 10/4/2005 6:49:35 AM
I have VB standard 2003. Even though it doesn't have a built-in template
for Windows Services, is it possible to build and compile a service? If so,
how would I go about doing it?
... more >>
Consume a Java web service from VB6
Posted by John Good at 10/4/2005 5:26:03 AM
Hi,
Is this possible to consume a Java web service from VB6?
Can anyone provide the infomation or sample code? Thanks in advance!
J G... more >>
MenuItem
Posted by genojoe at 10/4/2005 3:57:03 AM
Creating an enhanced menuItem with additional properties is easy to do. Is
there also a way to enhance the menuItem by adding an event to it?
I would like to have the MenuItem display a help message if it is right
clicked but I cannot find a way to detect the right click mouse event.
Can ... more >>
Notifications
Posted by kieran at 10/4/2005 3:02:58 AM
Hi,
I have created a database webform that tracks problems. When problems
are created, the form sends out an email to the person who will solve
the problem.
However now i have been told to make the app send out notifications if
the open problems are not closed after a certain period i.e. i... more >>
mdi form not closing
Posted by Sam at 10/4/2005 2:18:50 AM
Hi,
I have a mdi application in which it is only possible to open one form
at a time. To achieve this I have:
Public Class clsForms
Public Shared frm As Form
End Class
and then when I open a new form:
If Not form Is Nothing Then
If Not clsForms.frm Is Nothing Then
clsFor... more >>
Multithreading problem in vb.net
Posted by Multithreading problem in vb.net at 10/4/2005 1:59:27 AM
Greetings,
I am new to multithreading and I am trying to implement it in my app.
This application is distributed application which needs to refresh
every say 5 secs to show some activities in the datagrid.
I have implemented querying the database in a separate thread and and
then showing it i... more >>
How to know if a string is a guid
Posted by ucasesoftware at 10/4/2005 1:42:11 AM
How to know if a string is a guid
thx
... more >>
adding extra items on top of ComboBox DataSource
Posted by DraguVaso at 10/4/2005 12:00:00 AM
Hi,
I have a ComboBox of +- 15.000 items in it, via a DataSource. On Top of the
Items-list, I want to add some values, based on a user choise (via a filter
on the DataSource). Does anybody know how I can do this? When just adding
them with ComboBox.items.Insert I get an "Items collection ca... more >>
Distructive IDE
Posted by Nick at 10/4/2005 12:00:00 AM
Hi there,
I'm hoping someone else has experienced the IDE going off on a tangent
and *duplicating* lines of code at the bottom of a code document with
mismatched regions. *Every* time I open a rather large project at the
moment this bug occurs, I delete the lines everything is fine. ... more >>
readline
Posted by James at 10/4/2005 12:00:00 AM
i've opened a text file, say config.ini and it contains 3 lines
config.ini
' this is a test file
mypath=c:\abc
mybatch=c:\batch\runme.bat
1. How do i use readline method to ignore anything that has 'comments ?
2. What is the best way to read those those variables from mypath and
mybatch... more >>
directory watcher ?
Posted by James at 10/4/2005 12:00:00 AM
..2003 have a filesystemwatcher ...
does it have a directorysystemwatcher ? What i need is to watch whether
directory is deleted ?
i assume filesystemwatcher delete method is for file, not directory.
Pls advise
... more >>
Starting an email
Posted by Jack Russell at 10/4/2005 12:00:00 AM
Can someone please give me an example of firing up the default email
program with the sender and recipient filled in. There is sort of an
example in Help but it does not work.
Thanks
Jack Russell... more >>
Transparent controls
Posted by Boni at 10/4/2005 12:00:00 AM
Dear all,
is it possisble to create transparent window form and transparent grid
control or listview on it?
Could somebody give me a starting point?
Thank you in avance,
Boni
... more >>
How to open a Form with string name
Posted by James at 10/4/2005 12:00:00 AM
Hi,
How I open a form having its name in a string variable?.
Example:
strForm:"frmTest"
How I open strForm from code?.
Thanks,
Jamie
... more >>
|