all groups > vb.net > january 2006 > threads for wednesday january 25
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
what is the MyApplication.vshost.exe?
Posted by Terry Olsen at 1/25/2006 10:30:33 PM
While running my application, either in or out of the debugger, after a
while the message box pops up that says "MyApp.vshost.exe has encountered a
problem and needs to close." What does the vshost.exe do? I don't get any
other errors in my app and VB doesn't show any error. My application b... more >>
need ideas - caching strategy
Posted by pitachu NO[at]SPAM gmail.com at 1/25/2006 9:36:34 PM
hi all,
I need some high level and efficient ideas on how caching should be
designed in the scenario below. The application and the cache will most
likely be in VB.NET.
I have a central interface (does not necessarily have to be a website)
that customers will access. This interface would co... more >>
FileSystemWatcher question
Posted by nbrege at 1/25/2006 7:40:02 PM
I am writing a program that watches a certain folder for incoming files &
then moves those files to another folder. Here's the problem: if I copy a
group of files into the watched folder it works fine, but if I move a group
of files into the watched folder it doesn't do anything, the event han... more >>
datagrids columns [vb.net]
Posted by Hardik Shah at 1/25/2006 6:58:10 PM
Hi,
How can I know how many columns has my datagrid.
Thanks in advance.
Hardik Shah.
... more >>
Datareader binding to datagrid not working
Posted by tshad at 1/25/2006 6:41:48 PM
I am using VS 2003 and trying to build a standalone application. I have
been writing all my asp.net work using DW and am just now trying to build a
application that will read some of the tables I had written out from my web
apps.
I can get my DataReader to read my data fine. But I wanted ... more >>
Web activation
Posted by Tull Clancey at 1/25/2006 6:39:00 PM
Hi all, hope someone can help point me in the right direction, or maybe just
have a chat about the following.
Being a bespoke developer I have played about with piracy problems in the
past.
In most cases where systems are small and very specific there has been
little point in protecting ... more >>
Form Focus Issue
Posted by Fr15ky at 1/25/2006 3:50:37 PM
First of all, I am using the .NET 2.0 framework with Visual Studio
2005.
I have two forms. One is a form with a TreeView control on it (used as
a menu - kindof a favorites list) and the other is a form with a
WebBrowser control on it.
The TreeView_Click event fires up the other form with th... more >>
CheckForIllegalCrossThreadCalls ?
Posted by Mika M at 1/25/2006 3:39:18 PM
Help link...
ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_fxmclictl/html/138f38b6-1099-4fd5-910c-390b41cbad35.htm
....says "You can disable this exception by setting the value of the
CheckForIllegalCrossThreadCalls property to false. This causes your
control to run the same ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
what to use to play sound?
Posted by djc at 1/25/2006 3:18:07 PM
what choices do I have to play sounds in a program using vb.net? Or, I guess
if nothing vb specific what windows API(s) should I look at? I am interested
to find out whats needed for playing short wav files for sound effects as
well as playing longer sound clips in mp3 format.
can anyone point... more >>
Launch a program and a function by File Type
Posted by bidalah at 1/25/2006 3:12:46 PM
Hi,
I have created a program which opens up ".pcfs" files, a kind of text
file unique to my program. I want to be able to click on these files
and have the program launch AND load the contents of the clicked file.
I have been able to do the first half. I can click on a .pcfs file and
the pr... more >>
drawing down arrow
Posted by Brian Henry at 1/25/2006 2:54:56 PM
Using controlpaint i can draw an arrorw pointing to the right like this
ControlPaint.DrawMenuGlyph(e.Graphics, New Rectangle(0, 0,
e.Item.Bounds.Width, e.Item.Bounds.Height), MenuGlyph.Arrow)
but i need to draw that same arrorw pointing down for a dropdown menu type
situation... anyone k... more >>
ADO.NET 2.0 TableAdapter Configuration Wizard
Posted by Mike at 1/25/2006 2:47:26 PM
Dear Group,
When I add a DataTable to a Typed Dataset, and a TableAdapter to the
DataTable, I am able to create methods to send updates directly to the
database (GenerateDBDirectMethods), however when my TableAdapter Fill SQL
contains a WHERE clause which looks up a field from another joine... more >>
Using a delegate
Posted by Jon at 1/25/2006 2:42:01 PM
I am a little problem deciding when to use delegates and when not to. Is the
following a good example?
I have an order class and a messenger class (this does things like send
emails, pages, faxes). Currently we create the order and in the creation
function, we call other functions in sequen... more >>
What comes with control parenthood
Posted by **Developer** at 1/25/2006 2:26:52 PM
Consider two Pictureboxes and the following:
PictureBox2.Parent = PictureBox1
What does that do. The only thing I could find in the help relates to
Control.ControlCollection but I think there are other considerations.
I'm guessing it does not relate the size nor location of the boxes. Right... more >>
resizing datagrid with form?
Posted by Rich at 1/25/2006 12:40:02 PM
Hello,
If I place a panel control on a form and place a datagrid on the panel, is
there a property for the panel to resize with the form? I am sure there is.
I just can't remember what the setting is/are.
Once the pane resizes with the form if I place a datagrid on the panel and
dock i... more >>
i can't round
Posted by Paul at 1/25/2006 11:17:03 AM
I can't round my numbers. i have a single, and i'm trying to round it so that
there's only one decimal place. here's what i've tried:
..Val = CStr(Format(sngTimeToTarget, "#0.0"))
and i also tried
..Val = CStr(round(CDbl(sngTimeToTarget), 1))
neither of which do anything. i've even tried m... more >>
Casting a DBNull
Posted by .Net Sports at 1/25/2006 11:01:07 AM
I'm trying to match fields from XML feed to a datarow, but I get a
"System.InvalidCastException: Object cannot be cast from DBNull to
other types" error at the PkgAmount line. This code was converted from
original C# code, so I'm wondering if it has something to do with C#'s
strict datatype crit... more >>
File upload to website and rezise at the same time
Posted by William LaMartin at 1/25/2006 10:12:24 AM
I have a VB ASP.Net application where the user can upload a file using the
FileUpload server control. I also want a thumbnail to be created for this
file. Unfortunately I can see no means to determine when the file upload is
complete so that I can use the MakeThumbnail function as part of the... more >>
insert an animated .gif
Posted by zoneal NO[at]SPAM yahoo.com at 1/25/2006 10:10:25 AM
I wanted to insert an animated .gif into my VB.net game but the problem
is that I don't want to use PictureBox. Is there any other method to
insert it?
... more >>
FileSystemWatcher UNC Path Invalid
Posted by webgreginsf at 1/25/2006 9:42:03 AM
I'm attempting to use the FileSystemWatcher class to monitor a folder on a
remote server. My app is running as a Windows service, currently on an XP
machine, but it will be on Server 2003 in production. Everything works fine
when I set the Path to a local drive (i.e. "C:\Test"). However, wh... more >>
Using Classes as List Items
Posted by zacks NO[at]SPAM construction-imaging.com at 1/25/2006 9:14:19 AM
I have written a serialized class that has several properties that are
typed as a list of type class. When I deserialize an XML file, the list
is populated just fine. But I am having trouble manually loading the
class for serialization when the class has not been initialized by a
deserialize. If... more >>
using Generics dynamically (?)
Posted by Gazarsgo at 1/25/2006 8:06:58 AM
This seems to be a bit of a contradiction, but how can I construct a
Generic class using a System.Type variable that is assigned at run
time? Is there some parallel to the Generics concept that extends to
having strictly-typed classes at run-time?
I would gladly give up the compile-time error... more >>
Maximize and ToolStrips
Posted by guy at 1/25/2006 8:05:03 AM
If i have an MDI form, with tollstrips such as Menu, ToolBar or Status how do
i stop a child form sliding under these toolstrips? eg when dragged or
maximized.
*guy*... more >>
Multiline comment behavior in VS2005 VB.NET
Posted by JohnMSyrasoft at 1/25/2006 7:35:05 AM
Hi, wondering if I'm missing something before I log a minor bug to the VS2005
feedback page.
In VB6, you could span multiple lines with comments by using a line
continuation character as in
'this is the beginning of my _
comment which continues down to this line
In VS05, the 2nd line... more >>
SystemIndexOutOfRangeException error
Posted by .Net Sports at 1/25/2006 6:47:56 AM
I'm drawing data from xml file, putting it into datarows, from
datatable subroutine (UseXMLDocument) , and I'm getting a
"System.IndexOutOfRangeException: There is no row at position 0" at the
" Data.Append(dtaData.Rows(0)("Name") & "<BR>") " line.
''''''''''''''
<%@ Page Language="VB" debug=... more >>
Using VB code without being in an application
Posted by chillynois NO[at]SPAM yahoo.com at 1/25/2006 5:48:55 AM
Hello, I have a question regarding VB code. Below is a microsoft page
that contains code to move the mouse cursor with the keyboard.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/WindowsUserInterface/Resources/Cursors/UsingCursors.asp
I have used VB code before... more >>
Conditional statements
Posted by Niclas at 1/25/2006 5:26:02 AM
Hi,
Is there any performance differences between using
If->Then->Else->End if
and
Select Case -> case Else -> End Select ?
Understand that select case appears better when evaluating multiple
values, but would like to understand if one is better than the other for
example when eval... more >>
checkedlistbox and mouseleave event
Posted by Huahe at 1/25/2006 4:53:03 AM
Hi,
I have an checkedlistbox with a lot of items, so there is a vertical
scrollbar in the checkedlistbox.
I want to make the checkedlistbox invisible when the mouseleave event goes
off.
The mouseleave event goes off when I move the mouse to the scrollbar. Can
someone explain this to me... more >>
Field Explorer doesnot appear on left side in design view
Posted by gogaz NO[at]SPAM rediffmail.com at 1/25/2006 4:35:21 AM
Hi,
I am new with this Crystal Reports in VB.NET.
When i add a new report (following
http://msdn.microsoft.com/msdnmag/issues/02/05/Crystal/ ), the Field
Explorer window does not appear on left side (or anywhere in design
window)
But when i press F5 to execute the project in debug mode and g... more >>
Simple Question
Posted by Mark Sandfox at 1/25/2006 2:50:30 AM
What is the best 3D Engine that can be programmed using VB.NET?
... more >>
timing accuracy of VB.Net
Posted by G8 | 8======D at 1/25/2006 2:29:45 AM
Does anybody know the timing accuracy of VB.Net.
I remember that in VB.60, one can only trigger an event with time
accuracy <10ms.
How about VB.Net? Was this improved?
I am making a project for instrument controlling. The shutter should
open for 10~100ms and I am wondering if it's possible or ... more >>
Strange maximize behaviour
Posted by guy at 1/25/2006 2:11:04 AM
VB2005
I have an MDI application, which displays modal forms correctly, and starts
up with the MDI form maximized
however for non modal forms behavious is unusual
all forms have MaximizeBox, Minimizebox and ControlBox set to false
and WindowState = Maximized
when the form displays it di... more >>
Queue of Threads
Posted by Jordi Rico at 1/25/2006 1:01:40 AM
Hi
What I want to do is for using with a PDA, but I think it's a VB.NET
related question, so I ask it here.
It's simple, an user is working with the pda, and from while to while,
has to send data to a server via webservice.
As the process to the webservice can take many seconds, and the user
h... more >>
throw/handle exceptions while using backgroundworker
Posted by chris at 1/25/2006 12:44:20 AM
hello, I can't seem to make this work:
VS2005
I have a simple program that uses a backgroundworker control to execute a
long process (webservice call)
if that webservice call fails, i want to raise an exception and display a
messagebox.
however no matter where i put the Try block to trap... more >>
deleting files greater than x days
Posted by James at 1/25/2006 12:00:00 AM
i m looking for suggestions in this news groups what is the best way to
delete files greater than x days.
scenario / conditions
a) d:\dir\queue\*.* files to be deleted.
b) no-touch solutions : use filewatcher on the above directory ?
c) the program will run locally on each machine ..or sh... more >>
A generic error occurred in GDI+ when converting a picture to png in a stream:
Posted by Martin Widmer at 1/25/2006 12:00:00 AM
Hi Folks
In my object I am trying to implement a function in order to render the
picture to XML (to generate RDL for SQL Server). That Function causes the
error mentioned in the subject at the marked line. I read various articles
about it but none of them seems to apply as I am not writing to ... more >>
|