all groups > vb.net > february 2006 > threads for wednesday february 15
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
Problem with Excel.Application.Workbooks.Open()
Posted by Arunabh at 2/15/2006 11:08:57 PM
Hi
I try uploading an excel in one of my ASP.NET application where I
uplopad data from excel. I find the application works fine, as a whole
but when I try to upload one particular excel, the application hangs
while executing the command Excel.Application.Workbooks.Open().
The system does not ... more >>
Carriage Return and Line Feed Syntax
Posted by Captain Frog at 2/15/2006 10:19:32 PM
Hi All,
Could anyone tell or point me to the correct syntax for a carriage return
and line feed? I've tried vocal in a fixed size array and all I get is a
single line text box even though the multiline property is set to true VB
Express 05. Thanks in advance,
Regards,
Robert
... more >>
Flash (swf) in VB.net??
Posted by Tim Dixon at 2/15/2006 9:30:17 PM
Hi,
Just a quick question...
Has anyone used VB.net to play a flash file? and how is it done?
All I need to do is get my VB.NET application to play a flash file until it
gets to the stop command within the flash file
[We currently use Macromedia Director to display Flash files and Video ... more >>
Imports at file level vs Project level
Posted by Alec MacLean at 2/15/2006 9:01:41 PM
Hi all,
Can anyone tell me if there is any functional difference between declaring
an Imports at the individual file level compared with doing it once on the
project properties?
( - Other than the scope of the declaration)
Thx.
Al
... more >>
need help reading contents of a file into an array...SKYPE ME.
Posted by Jason at 2/15/2006 6:45:32 PM
Could anyone spare some time and try to help me out.
I've got a .txt data file with a name, pin, balance seperated by commas. I
am opening the file and using Split to split it between the ,'s I need to
read it into an array and then check if what was entered as a name by the
user is in th... more >>
Moving Rectangle within a PictureBox Control
Posted by fripper at 2/15/2006 5:40:41 PM
I am a real novice when it comes to the graphics class in VB 2005. I have a
windows app with a large picture box control with a black background ...
except for a small rectangle that has an image in it. A timer fires every
second or so and when it does I want to move the small rectangle with... more >>
Unresponsive UI during lengthy operation ?
Posted by Cerebrus99 at 2/15/2006 5:08:34 PM
Hi all,
I'm making a Windows application that does some lengthy retrieval operations
from a database and possibly from a internet resource.
I want to show that the operation is going on, by using an Animated .gif in
a picture box. Also note that this PictureBox also acts as the button to
in... more >>
Problem using mixed-mode DLL from VB.NET
Posted by Doug Belkofer at 2/15/2006 4:49:47 PM
We have created a fairly complex mixed-mode DLL that we want to use from
VB.NET. The mixed-mode DLL is written in C++, and does use the standard C
runtime libraries. An unusual thing is happening in that when we look at
this DLL from the Object Browser in Visual Studio, it seems to be exportin... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Unmanaged DLL Callback - Program Unexpectedly Quits
Posted by FishingScout at 2/15/2006 3:18:18 PM
I am re-writing an MS VC++ 6.0 application in Visual Studio 2005
VB.NET. In order for my new application to communicate with some
hardware (an RFID reader) I need to communicate with a DLL that was
written in MS VC++ 6.0. I have found some excellent discussions that
have helped me define the s... more >>
tab function in a multiline text box
Posted by amruta at 2/15/2006 3:06:28 PM
When Iam doing the following:
TextBox19.Text &= objReq.Name & ControlChars.Tab
TextBox19.Text &= objReq.Number & ControlChars.Tab
TextBox19.Text &= objReq.Owner & ControlChars.NewLine
TextBox20.Text &= objReq.Name & ControlCha... more >>
.NET 2.0 DataGridView
Posted by dm1608 at 2/15/2006 2:58:17 PM
Hello, I'm manually populating a DataGridView instead of using Data Binding.
How can I clear the contents of all the rows and/or header quickly? My
current method is to loop thru the grid backwards and delete each row
separately; which is kind of slow.
Thanks
... more >>
check point inside "cirkle" (basketball)
Posted by Peter Proost at 2/15/2006 2:48:09 PM
Hi group,
I've got this bit of code (see below) which draws a basketball field in a
picturebox (width:198, height:368)
but now I was wondering what would be the easiest way to check inside the
picturebox mouseup event if I clicked inside or outside the 3point area,
because the 3point area isn... more >>
Illegal characters in path
Posted by al jones at 2/15/2006 2:46:40 PM
As a learning exercise in VS 2005 - BASIC, I'm working on a program which
may be run on any of the (hopefully) later versions of Windows - assume 98
- XP.
Is there a quick / dirty way to determine which is the invalid character in
the path / folder name? Given that, I can arbitrarily (arbitra... more >>
Interface creation in VB.Net 2005
Posted by John Mason at 2/15/2006 2:41:03 PM
Is it me or has the way interfaces created changed in VB 2005?
I have to create a class file and then create the Interface within that, e.g.:
to create an Interface called IOrders, I create a class file called
Interfaces then within that file:
Public Class Interfaces
Interface IOrders
... more >>
Exposing properties of a class within a class
Posted by Yuk Tang at 2/15/2006 1:32:38 PM
Intellisense doesn't sense it, and I get the squiggly error
"Reference to a non-shared member requires an object reference".
Here's the property I want to expose.
Public Class Commands
Property FileName() As String
Get
....
Set
....
End Property
Public Sub New()
FileName = ""
End Su... more >>
Multi Line Text box
Posted by amruta at 2/15/2006 1:17:27 PM
I need to write something like this in the multi line text box dynamically as
the value is obtained.
how can i do it
example:
abce 1232 qwert asdfg qwqw
ghdjhfj 685678 fkjdjfkd hh hjhjjhjh
and so on
Thank you... more >>
Windowed command prompt AX component in VB6 ?
Posted by Marc at 2/15/2006 12:53:42 PM
Is there an ActiveX object that exists that would allow a legacy MS-DOS
program to run in a "windowed" state, but from within a form ? I have
found a number of utilities that allow VB to modify the "shell"
function, but the "shell" function opens up a new window. I would like
to have the progr... more >>
Com+ and asp.net?
Posted by Dav at 2/15/2006 11:43:36 AM
>From what I know you can use com+ in asp.net via interop. If I convert
these com+ objects to .NET (VB.NET) do I still need MTS or does the
..NET framework handle the object pooling and other features of MTS? So,
instead of a bunch of COM+ objects on MTS that my asp.net can
reference, can I co... more >>
DimeAttachment save to disk
Posted by Lee Blue at 2/15/2006 11:31:05 AM
I've been having difficulty in finding a good example of how to save a
DimeAttachment out to disk in VB.Net. I've got past getting the attachment
into my <WebMethod> from a VB6 Soap Client using the low level API. Now it's
on the server in a Web Service written in VB.NET you'd think it would be
... more >>
Bug ? on Checkboxes ? (checkedChanged)
Posted by Marc R. at 2/15/2006 11:20:13 AM
Hi all,
on the checkedChanged on my checkbox,
checkbox.checked always returns true and checkbox.checkstate always returns
1
Got any clue?
thanks
Marc R.
... more >>
Windows Services works for years/months/weeks, then chokes
Posted by Trevor at 2/15/2006 11:09:09 AM
This is driving us mad - please help!
Back in 2003, I coded a Windows Service in VB.NET for framework v1.1.4322.
I deployed it in Nov. 2003, and it worked fine until the end of May 2005,
when it choked (see below). We restarted it, and it worked fine for another
7 months until it choked ag... more >>
array - how do you get the number of dimensions?
Posted by Mad Scientist Jr at 2/15/2006 11:08:16 AM
I want to check that an array passed in has a certain number of
dimensions - is there a way to check for this in framework 1.1 ?
... more >>
Barcode Reader Application -- HELP
Posted by neilphan NO[at]SPAM gmail.com at 2/15/2006 10:54:44 AM
Hi all,
I have an application that uses input from a barcode reader via a USB
port. My application works fine only if the application HAS FOCUS.
If the user opens up another application (not mines) such as
notepad/word, etc, the Barcode Reader reads data into the applicaton
that currently h... more >>
Connection Properties Dialog Box?
Posted by DaveS at 2/15/2006 10:52:02 AM
Hi! I am creating a Windows app in VS2005 which will allow the user to
choose from different SQL data sources. I could hardcode a selection of
connection strings, but I'd rather not (in case a new database is
created, etc.). I'd like to use the common dialog box which appears
when you navigat... more >>
Using a Structure in a Class
Posted by Ren at 2/15/2006 10:49:06 AM
Hi all,
I'm still rather new to .NET so I hope you'll bear with me as I try and explain
my question.
I am writing an ASP.NET application using VB.NET. I am accessing a web method
from a webservice that returns a structure. On the client side I have added the
webservice as a reference and ... more >>
Lost Toolbox pin, how to autohide?
Posted by John at 2/15/2006 10:36:29 AM
I pinned the toolbox window down and moved it around, right clicked and
selected "Tabbed document" and changed it back to "Dockable".
While attempting to move it back to the left side, it did not want to snap
back and dock there. It also lost the pin. It simply "sits" there! Autohide
is greye... more >>
Opening word with Process.start
Posted by Thomas Beyerlein at 2/15/2006 10:21:00 AM
I am trying to open word with process.start but when it opens word it
give me a error that says:
Word experienced an error
Try suggestions:
* check the file permissions
* Make sure there is sufficient free memory
* Open the file with the text recovery
I think it is some thing with word. ... more >>
Resize problem (in IDE)
Posted by Galen Somerville at 2/15/2006 10:11:13 AM
My original program was targetted to Win98 when 800 x 600 was popular.
Now converted to VB2005 pro and minimum will be 1024 x 768.
I know about the autoresizing at run time but I want the form designer to be
at 1024 x768. Naturally, after conversion from VB6, it is at 800 x 600
(actually 8... more >>
split a string into an arraylist?
Posted by Mad Scientist Jr at 2/15/2006 9:30:54 AM
If I try splitting a string into an arraylist
Dim arrList As New ArrayList
arrList = Split("a,b,c", ",")
I get this error: Value of type '1-dimensional array of String' cannot
be converted to 'System.Collections.ArrayList'.
How can I split a string into an arraylist?
T... more >>
New bee:How do i make an .exe file in VS 2005?
Posted by Learner at 2/15/2006 9:29:27 AM
Hi there,
Ours is an automotive inspection business. All our inspectors inspect
the vehicles and took picures as need and upload them to the webserver
from where every body will have access to these pictures on the web.
As pictures are bieng added on to the webserver onto the webserver
an... more >>
printing with rawprinter helper
Posted by J-Rod at 2/15/2006 9:09:50 AM
Hi all. I am getting this error in the rawprinterelper class,
specifically the sendBytesToPrinter Function. Is it a problem that i
am trying to print a .dat file? or what could be throwing it off? I
am new to teh printer helper, especially within the VB.net 2005
environment. AnySuggestions?
... more >>
Problems with Excel Object Library
Posted by Sergio Gallardo Contreras at 2/15/2006 8:28:22 AM
Hi,
I´m using Microsoft Excel 11.0 Object Library in an ASP.NET web
application to generate a XLS file. It works fine but sometimes the
EXCEL.EXE process remains in the computer, and when I try to kill it,
the message "Access denied." is showed. I try to kill the process with
the System.D... more >>
MDI Flicker
Posted by Jon Turner at 2/15/2006 8:27:17 AM
I have a MDI app with a treeview that controls the displaying/activation of
a MDI Child. Problem is that
when activating/showing the MDI child, I get a flicker caused by the
Repaint of the activated child.
Question is: How do I turn off the repaint until the child has rendered
all of i... more >>
Broken References
Posted by Bill Schanks at 2/15/2006 7:37:14 AM
I created an Excel Automation Windows Application (VB.Net 2003) and it
works on the development machine fine.
However when I run it on another machine I get this error:
System.IO.FileNotFoundException: File or assembly name
Microsoft.Office.Interop.Excel, or one of its dependencies, was not
... more >>
Zoom in Cephalometric system
Posted by Ricardo Furtado at 2/15/2006 7:09:28 AM
I've been with a problem for about two months and i've bought books and
search the internet for an explanation, and haven't found one.
I'm developing a cephalometric software, that needs to capture an image from
the scanner, mark the image with dots in order to find distances and angles.
Every... more >>
Can't Figure Out Correct Syntax
Posted by Wayne Wengert at 2/15/2006 7:03:20 AM
I am trying to code a Sub to store some custom values in a profile for a new
user registration (ASP.NET 2.0 environment). I copied the basic code from an
example I found in a great article
(http://weblogs.asp.net/scottgu/archive/2005/10/18/427754.aspx ) but one of
my controls is a calendar c... more >>
Count lines in multi-line textbox
Posted by zoneal NO[at]SPAM yahoo.com at 2/15/2006 6:07:33 AM
I have a multi line textbox with word wrap enabled. Is it possible to
write code to check if the text of the textbox has continued into the
next line and then count the amount of lines?
If not possible in a textbox is it possible in a richtextbox?
Thanks
... more >>
How can I change attribute value via reflection
Posted by Giò at 2/15/2006 1:29:31 AM
Someone knows if is possible to change the value of a property
attribute at runtime, via reflection? I'd change the value of
DescriptionAttribute, but I don't know if is possible. If isn't, is
possible add a custome attribute via reflection?
Thanks in advance.
Gi=F2
... more >>
Invoking a PictureBox click ?
Posted by Cerebrus99 at 2/15/2006 12:00:00 AM
Hi all,
The Click event handler of a button control can be invoked using the
Button.PerformClick method. But I have a Picturebox, whose click event
handler I want to invoke. RaiseEvent doesn't seem to apply in this case. I
could set up a Custom method and call that method instead, but it would... more >>
ThreadPool.QueueUserWorkItem
Posted by James at 2/15/2006 12:00:00 AM
i uses the above to send some thread to many machines and perform a ping and
return results to my event log
Is there a way to determine when the *last* thread returns, and i can
terminate my console program automatically. ?
If i terminate my program *early*, the thread that return results ... more >>
Noob Question - Best Control for a TV Guide?
Posted by Nonee at 2/15/2006 12:00:00 AM
Hello-
I am writing a program that loads a tv guide listing into a
control. I looked at the datagridview control but it doesn't seem to
have the ability to overlap columns. Basically, I would like a
control to list the tv channel on the left side, the time at each half
hour at the top of... more >>
MethodInfo or MethodBase?
Posted by Phill W. at 2/15/2006 12:00:00 AM
For some time, I've been adding "trace level" logging to my code using
Imports System.Reflection
Private Function XYZ( a1 as A, b1 as B, c1 as C, ...
TRACE.Log( MethodBase.GetCurrentMethod().Name _
, a1, ba, c1 )
but recently, I noticed one of my colleagues using this instea... more >>
Registering 2005 dll for COM
Posted by Chubbly Geezer at 2/15/2006 12:00:00 AM
I am trying to register a 2005 created dll for use with COM.
In .Net I would install the dll and then use regasm. This does not seem to
be the case in 2005.
Any ideas would be appreciated.
Chubbly
... more >>
Form with no titlebar
Posted by Keith at 2/15/2006 12:00:00 AM
Hello all
Does anyone know how to produce a windows form with no title bar that is
resizeable but also shows text on the taskbar button.
I can get what I need by creating the form, making the border sizeable,
removing the control box and removing anything from the 'Text' property.
Only pr... more >>
console.write
Posted by James at 2/15/2006 12:00:00 AM
vb.net 2003 - console program
i've read a array of machines and i wishes to display on console the
machines name on the *same line.* How do i do this ? This is what i want
say i got a text file that contains
machine001
machine002
it shld display in console as
computer : machine001... more >>
|