all groups > vb.net > march 2007 > threads for friday march 9
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 using BackGroundWorker to ping multiple LAN hosts
Posted by Michael M. at 3/9/2007 9:15:41 PM
I have the following code (listed at bottom of post) that pings a small
range of IP address to see which ones are alive.
To speed things up a little I am trying to use more than one thread, problem
is instead of returning:
192.168.0.1 online
192.168.0.2 offline
192.168.0.3 online
... more >>
Mouse behavior of ToolStripMenuItems
Posted by ljlevend2 at 3/9/2007 7:50:03 PM
I've noticed that if you click on a Windows.Forms.ToolStripButton then a
MouseLeave event will not occur until the button is released.
ToolStripMenuItems on the other hand will raise a MouseLeave event as soon as
the mouse moves outside of the item, even if the mouse button is held down.
Y... more >>
Task scheduler
Posted by Sid Price at 3/9/2007 6:45:36 PM
Is there a .NET (2003) class available somewhere that might provide a
comprehensive task scheduler with a better granularity than the one minute
of the built-in scheduler on XP? Even down to 15 seconds would be better
than one minute.
Sid.
... more >>
how to access from code-behind a label into CreateUserWizard control?
Posted by Ben at 3/9/2007 6:23:45 PM
Hi,
i have some problem to access from code-behind a label nested into a
CreateWizard control. I use a html-table for align purpose only.
I try to change the text property of the label with ID="UserNameLabel".
<asp:CreateUserWizard ID="CreateUserWizard1" runat="server">
<WizardSteps>
<... more >>
bindinglist(of T) bound to two controls
Posted by Rick at 3/9/2007 5:51:45 PM
VS.net 2005
I'm using a bindinglist(of T) to bind to various controls on a WinForm. I
use the name/value pairs in the "type" for the displayMember and ValueMember
of say a ComboBox control.
For example I might load the TermsNumber and TermsDescription from a
database into the binding li... more >>
Passing exceptions from a Dll back to the calling application.
Posted by dave m at 3/9/2007 5:09:36 PM
I'm creating a class library (dll) and am confused as how to pass any
information, should any exceptions occur, back to the calling application.
Such as:
Try
x = 3 / 0 ' divide by 0 error
Catch ex as Exception
'(how do I pass ex info back to calling app?)
End Try
(In VB6 I woul... more >>
print a .jpg image from vb .net
Posted by Brad Pears at 3/9/2007 3:34:44 PM
I have the following code which I was using to print .pdf's. It worked fine
and actually printed the pdf file.
Now I want to use the same code to print a .jpg file. When I run the code,
it launches the 'Windows Picture and Fax viewer application' and DOES NOT
print the actual image.
Is t... more >>
Creating a temporary file from a bytearray
Posted by Brad Pears at 3/9/2007 2:56:31 PM
I have a bytearray variable and want to create a temporary file on my hard
disk from this bytearray so I can print this data.
How do I do this??
Thanks, Brad
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Compile error help
Posted by Flomo Togba Kwele at 3/9/2007 2:24:17 PM
I wrote the following class:
Public Class CassPrintComparer2
Implements IComparer(Of ICASSPrint)
Private _sortDescending As Boolean = False
'pass true to the constructor to sort descending
Public Sub New(ByVal descending As Boolean)
_sortDescending = descending
... more >>
Sixe in KB of a dataset or datatable
Posted by Manekurt at 3/9/2007 1:41:52 PM
Hello, does anyone knows how to know the size in Kb of data stored ina a
dataset?
Thanks
... more >>
Update Access DB With Downloaded Data
Posted by ags5406 at 3/9/2007 11:59:26 AM
Novice to Visual Studio 2005 - in the past have used VB6, Excel VBA,
Access VBA.
I want to download a set of data daily from a website which I then put
into a text array. This part I've done and it works well.
I want to store new data in an Access 2003 database. So daily I want
to compare... more >>
Printing
Posted by Playa at 3/9/2007 9:31:26 AM
When I display my print preview dialog all text and data displays as expected
but when I print it some of the text isn't printing. I can't figure out why
it displays fine in teh print preview but some text wont print. Can anyone
help?
Thanks in advance.... more >>
Using vb.net to dynamically create excel activeX controls
Posted by done1105 NO[at]SPAM yahoo.com at 3/9/2007 8:55:58 AM
Using VB.net, i want to dynamically create a workbook and add a
command botton to one of the sheets. how would i do this? I see
examples using VBA but i am not able to translate them to Vb.net.
Also, after having created the button, how would I be able to define
an event for it (such as the clic... more >>
Single instance form (child) on MDI
Posted by Smokey Grindel at 3/9/2007 8:35:02 AM
What is the best way to do this? I want to have a child form in an MDI
window that can only ever have one instance of open... if one is already
opened I want to use that form and not make another... any suggestions? I
have one idea but looking to see what alternatives are out there. thanks!
... more >>
vb.net search network drive
Posted by Computer geek at 3/9/2007 8:12:20 AM
Hello, I am new to VB.NET and programming in general. I have taught
myself a lot of the basics with vb.net but am still quite the novice.
I am working on a little application now and I need some help with one
part of the code. When a button is clicked I need to have it go out to
a network drive ... more >>
Need Microsoft.Office.Interop.dll
Posted by Andrew at 3/9/2007 8:04:11 AM
Where can I get the Microsfot.Office.Interop Dll's for work and excel?... more >>
Checking for A Blank String
Posted by Playa at 3/9/2007 7:45:03 AM
I have an if statement that isn't working correctly and I was wondering how I
check for a blank string.
My Code Example
if me.fieldname(arrayIndex) = "" then
-----
end if
When I do this and there is no characters in the variable it does not enter
my IF statement like I would think it ... more >>
Showing the Icon after setup
Posted by fasttrack NO[at]SPAM libero.it at 3/9/2007 7:27:24 AM
Hello,
I have a problem,
I have built a vb.net application and deployed.
Everything is OK and functioning.
But I need a thing:
I have to run a vb.net file .exe at the end of setup and show the icon
at the icontray at the end of setup.
How can I do?
... more >>
control name
Posted by John at 3/9/2007 7:13:37 AM
I want to dynamically get the control from the event being executed at a
particular time. For example, lets say I have the following event.
combobox1_SelectedIndexChanged((ByVal eventSender As System.Object, ByVal
eventArgs As System.EventArgs) Handles combobox1.SelectedIndexChanged
I don't... more >>
Help with streamwriter
Posted by ukgrl_yr79 NO[at]SPAM yahoo.com at 3/9/2007 7:00:35 AM
hi
fairly new to vb.net . I have created a filesystem where a manager
and co workers hve limted access.
the manager can read members files. i have used streamreader to get
the details from a text file on my c drive into relevent text boxes eg
name, address by using arrays.
what i nee... more >>
Problem understanding Synclock
Posted by HONOREDANCESTOR NO[at]SPAM YAHOO.COM at 3/9/2007 4:44:19 AM
I have a buffer that needs to be locked sometimes, because 2 processes
update it.
So I made the buffer into a class and whenever there is code that
affects it, I sandwich the code between
Synclock MyBufferClass
...........
End Synclock
My question is, what is Synlock protecting? Is it ju... more >>
Password protect access DB?
Posted by teejayem NO[at]SPAM gmail.com at 3/9/2007 1:21:42 AM
Hi,
I am new to programming with databases and was wanting some help.
Is there any way to password protect an access database and access
sent sql commands to it via vb.net code?
Any help would be much appreciated.
Thanks in advanced.
Tom.
... more >>
How to capture VB.NET Event From VB6????
Posted by Vanessa at 3/9/2007 12:00:00 AM
I have a class library developed in VB.NET. Inside there is a form with a
button1.
I add this class library to a VB6 Project.
I do a
Dim a as new classlibrary.form1
SetParent a.GetHwnd, Me.hWnd
a.show
But now I have a question, if the user click on the Button1 in the
ClassLibrary, I... more >>
How to make / plot graph in vb.net?
Posted by ray at 3/9/2007 12:00:00 AM
Hi,
I would like to ask how to plot graph in vb.net on the interface? Is it
possible?
Thanks a lot,
Ray
... more >>
|