all groups > vb.net > january 2006 > threads for friday january 27
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
Why is this undefined??
Posted by ron.deberry NO[at]SPAM gmail dot com at 1/27/2006 9:20:05 PM
Hi,
I am trying to check for installed services using :
Dim services() As System.ServiceProcess.ServiceController
gives this compiler error
Form1.vb(802): Type 'System.ServiceProcess.ServiceController' is not
defined.
Intellisense does not list System.ServiceProcess either.
Using ... more >>
Is It Possible to Retrieve a List of Declared Variables?
Posted by Don at 1/27/2006 8:18:44 PM
Say I have a class like so:
Public Class MyClass
Public Prop1 as Integer
Public Prop2 As Integer
Public Prop3 As Integer
End Class
Is it possible to retrieve a list of the variables or objects declared
within an instance of that class if they are declared ... more >>
What happen to Find in Files in VS2005?
Posted by **Developer** at 1/27/2006 8:10:35 PM
I can't find how to search an entire solution for a string, say "Sub (ByRef"
Nor how to search the entire solution using Regular Expressions.
These were my favorite things - please don't tell me they are gone!
... more >>
Email
Posted by JJ at 1/27/2006 4:41:02 PM
Whats the most compatilbe way of sending an email ?- I need to consider that
the OS may be win 98/win NT/Win 2000/winXP.
I was constructing a mailto command, but the contents of the text file I am
using as the subject is too long and gets cut off. I therefore need a method
that doesn't use ... more >>
Hpow to create a background process/application?
Posted by Steve Wertz at 1/27/2006 4:36:09 PM
Is there a walkthrough or how to that describes the general method
for creating an application (in Visual Basic Express) that has no
initial UI, but runs in the background with an icon in the system
tray. A context menu from the notify icon will of course bring up
an application UI for setting... more >>
late binding problem with option strict
Posted by Rich at 1/27/2006 4:28:26 PM
This code worked before I added option strict. But I should do it correctly.
option ...
option Strict On
Public Structure Itm
Dim mailSvr As String
...
Public Sub New(ByVal a1 As String...)
mailSvr = a1
End Sub
End Structure
Sub...
ht = New Hashtable
ht.Add... more >>
Libraray
Posted by Kent at 1/27/2006 4:22:22 PM
Hi All,
I have a c++ library that I would like to call from vb6 or vb.net. For
instance, the file is called name.lib (and name.h) Is it possible to
call the functions in the *.lib from vb6 or vb.net? If so, could you
please point me in the right direction?
Thanks.
(The email address is valid... more >>
How do I maintain paragraph numbers into a new word document
Posted by Adam Faulkner via DotNetMonster.com at 1/27/2006 4:04:56 PM
I had a problem before extracting pages from an existing word document and
then inserting the content into a new word document.
The following code below works with Microsoft Word 2000
Function ParseWordDoc(ByVal Filename As String) As String
Dim sNewFileName As String
Di... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
WithEvent
Posted by John\\ at 1/27/2006 4:02:36 PM
I have an EXE file that calls a DLL.
I would like the DLL to RaiseEvent on the EXE, I have pasted sample code for
the DLL and EXE
My problem is that the Class doesn't seem to be able to Raise the Event on
my executable... Any ideas, or errors you see?
Thanks in advance,
J.
-------- S... more >>
How to Create an Invisible User Control?
Posted by Don at 1/27/2006 3:57:17 PM
Is it possible to create a custom control that will show up in the toolbox
and can be dragged onto a form, but will appear in that special section at
the bottom of the form designer window where things like ImageList controls
go instead of on the form itself? If so, how is it done?
- Don
... more >>
Whats's the problem using a enum like this?
Posted by **Developer** at 1/27/2006 1:58:06 PM
If e.Button = MouseButtons.Left Then
also from a
Dim Answer As DialogResult = MessageBox.Show..
Select Case Answer
Case DialogResult.Yes
and many other uses of an enum I get
Warning 153 Access of shared member, constant member, enum member or nested
type through an instance; qual... more >>
how to set proper case of a word?
Posted by Rich at 1/27/2006 12:26:04 PM
Hello,
Does VB.Net have a form of strConvert function? I tried
Imports Microsoft.VisualBasic
but strConvert not available. What is the way to set the propercase of a
word in VB.Net?
Thanks,
Rich... more >>
Run from Server or Workstation
Posted by Rob at 1/27/2006 12:08:07 PM
What are some pros and cons associated with running a vb.net app from a
server and from a workstation ?
When run from the server, I assume that each instance that is executed is
"its own instance" i.e., variables are not shared ? Also, when run from
the server, how could you ensure that t... more >>
Detect Concurrent Running Instances
Posted by Rob at 1/27/2006 12:01:39 PM
I do not want multiple instances of a vb.net program running concurrently...
How may I detect this ?
Thanks
... more >>
Good tutorial on Windows API
Posted by Jarod_24 at 1/27/2006 11:15:15 AM
I've been using a lot of <DllImports> as of late and i was wondering if
anyone could tell me a good tutorial/website/articles/books
that explains what System.Marshal** actually does and how to make those
structures that some windows api methods need passed in/out.
So far i've used mostly met... more >>
Inheritance and function issue
Posted by Curtis Ransom at 1/27/2006 10:40:28 AM
I have a base class, call it house, and two inherited classes: townhome and
condo.
I would like to write a function that could return either a townhome or a
condo. Here is how I am trying to implement it:
---------------------------------------------------------------------
Public MustInher... more >>
Converted a solution to VS2005 and it is complaining: Variable 'PF2' is used before it has been assigned
Posted by **Developer** at 1/27/2006 10:31:25 AM
Public Shared Sub junk...
Dim PF2 As Wnd.PARAFORMAT2
PF2.cbSize = Marshal.SizeOf(PF2) 'ERROR HERE
PF2.dwMask = Wnd.PFM_LINESPACING
....snip
I just converted a solution to VS2005 and it is complaining:
Warning 22 Variable 'PF2' is used before it has been assigned a value. A
nu... more >>
FileDownload with WebBrowser Control - disable the Save?
Posted by standish22 NO[at]SPAM hotmail.com at 1/27/2006 10:09:05 AM
want to open a word document stored in my database.
What I do is save the document locally, and then open a new winform
that has the WebBrowser Control on it and navigate to that new file.
This allows the user to manipulate the file and save it. When they
close the WebBrowser, if the conte... more >>
setting datagrid column widths in code?
Posted by Rich at 1/27/2006 9:47:07 AM
Hello,
I have a one datagrid that will be based on different datatables. One
datatable may have 7 columns, another 15... With the tables that have more
columns, I have been manually dragging column widths to narrow them. I want
to record these widths so I can reapply them when I bind the... more >>
A problem with arrays
Posted by elmoizwaly NO[at]SPAM mobifree.net at 1/27/2006 9:25:47 AM
hi there
i am new to vb
i have a new project (mdi) with 8 child forms evry form with at least
10 textboxs.
the problem is that when building an array for each form textboxs and
declaring the array as public i can't get the data enterd in other
forms to be printed as a single document.
any ... more >>
write Override methods in Code Editor VS2005
Posted by mtczx232 NO[at]SPAM yahoo.com at 1/27/2006 5:45:21 AM
in previous versions we can put Override header method into code
by choosing Override from upper left dropdown list, and choosing the
method from right one.
but in VS2005 Override Option disappear?
... more >>
Icons on the menus
Posted by sonu at 1/27/2006 2:24:40 AM
Hi,
Is it possible to attach the icons to the menus in VB.NET.
I have read we have to use ownerdraw menus to do this.
Does anyone know more than this.
Sample application would be a better help.
Thanks in advance.
... more >>
VB.Net MainMenu Control
Posted by savvaschr NO[at]SPAM nodalsoft.com.cy at 1/27/2006 2:13:53 AM
Hello All
I want to ask how is posible to add on a form, that is mdiChild of
another form, a MainMenu Control.
I just Drag and drop it , and its there on my form , i also put
menuItems on it , then i am going to the forms properties on the MENU
properties and i set that property to my menu , ... more >>
Null value with memo field, error
Posted by toufik at 1/27/2006 1:05:11 AM
Hi,
In my table(ms-access) I've a memo field whih is not required, and allow
zero length to true.
I've in a vb.net form, a textBox bound to this field,
- I can leave it as NULL and save.
- I can fill a value in it and save
- but when it has a value and I empty it I've an error if I save
(data... more >>
READING EMAILS
Posted by Savas Ates at 1/27/2006 12:00:00 AM
How can i read email files by using vb.net. Any referance web site or code
sample?
... more >>
Problem with installer made in VS 2003.NET
Posted by Lars Netzel at 1/27/2006 12:00:00 AM
Hi, I have made an applicaiton and also a setup project in Visual Studio
that gives me these three files in a folder.
Seup.ini
Setup.msi
Setup.exe
If i run the setup.exe and install the program the program installes fine
and opens fine from shortcuts on desktop that is created during the... more >>
Force ASP.NET shadow directory to update?
Posted by Oenone at 1/27/2006 12:00:00 AM
I have an application which loads plugin DLLs from various directories on
the local disk. To avoid problems with the DLLs being locked by IIS, I have
modified my code so that it copies the DLLs to the /bin/ directory if it
determines that they are newer than the version already there, and load... more >>
Can we run Vb.Net Application on Apple Macintosh ?
Posted by Luqman at 1/27/2006 12:00:00 AM
Can we run Vb.Net Application on Apple Macintosh ? If so, what steps I have
to take ?
Best Regards,
Luqman
... more >>
StreamReader does not read all characters...
Posted by rVo at 1/27/2006 12:00:00 AM
In a VB.Net application I create a new streamreader and use it's ReadToEnd
function to read the contents of a htmlfile.
Inside the file there are some signs like öéèêë..., these signs are not
present in the stream that has been read by the ReadToEnd function though.
This problem occured in ... more >>
|