all groups > vb.net > february 2006 > threads for friday february 3
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
accessing blob fileds from oracle
Posted by Chenna Sudarsan at 2/3/2006 8:20:28 PM
Hello,
I am connecting to Oracle9.2 database from VB6.0 using MSDAORA provider. I
am using ADO2.5.
When I try to access a blob column of oracle I am getting the below
mentioned error.
--------------------
Run-time error '-2147467259 (80004005)':
Data type is not supported.
-------------... more >>
Additional information: Cast from string "" to type 'Double' is not valid. error
Posted by dc15 at 2/3/2006 8:15:54 PM
For an intro to VB project I have to write a program which takes an
amount of Miles, Yards, and Inches.....and converts it to metric (KM,
M, and CM) when all values are entered to the input text boxes it works
fine, but if there is a number missing I get the following error:
An unhandled excep... more >>
IIS
Posted by Coach at 2/3/2006 7:53:30 PM
running xp home
have visual studio.net
sql server developer edition
installed sometime ago, and managed to create a virtual network, if you know
what I mean.
now sql runs, but as I want to learn asp.net, when I try to start a new
project, it cant find the server? from memory, something lik... more >>
Need Help with Windows Messages
Posted by Brien King at 2/3/2006 7:08:11 PM
I would like to allow other applications to send my application (via Windows
Messages) a string and based on the content of that string I want to return
an integer response.
I figured I would use WM_USER and intercept that in the WndProc sub of the
Form.
However, there are two things I'm... more >>
Degrees Symbol
Posted by DAL at 2/3/2006 6:52:01 PM
How do I add a "Degrees" symbol to my code. I don't have the symbol
available on my keyboard. Thanks.
... more >>
WebBrowser.DocumentText only returns 4096 characters.
Posted by annieorben NO[at]SPAM gmail.com at 2/3/2006 6:32:55 PM
I'm trying to view HTML code by examining the .DocumentText property of
a web browser. But I can't get any more than 4096 characters to show
up. I'm using VB 2005 Express edition. Any ideas what might be causing
this and how to get the entire page displayed in the browser?
Thanks.
... more >>
PostMessage ComboBox
Posted by easoftware NO[at]SPAM gmail.com at 2/3/2006 6:05:32 PM
In my ComboBox, I am trying to post the CBN_EDITCHANGE message after
the
CBN_SELCHANGE is received, but I am having no luck. I can trap for the
CBN_SELCHANGE message, but I cannot post the CBN_EDITCHANGE message. I
think
my PostMessage parameters are wrong, but I cannot find what they should
b... more >>
StreamWriter and BinaryWriter (same problem better explained)
Posted by philip at 2/3/2006 5:12:41 PM
If I execute that :
Dim Temp as string = "This is a text"
Dim sw As StreamWriter
Dim fullFileName as string = "c:\text.txt"
sw = New StreamWriter(fullFilename)
sw.Write(temp)
sw.Close()
the resulting file 'Text.txt' has the same length than the string 'temp'.
Sam... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
StreamWriter and BinaryWriter
Posted by philip at 2/3/2006 4:52:14 PM
If I execute that :
Dim Temp as string = "This is a text"
Dim sw As StreamWriter
Dim fullFileName as string = "c:\text.txt"
sw = New StreamWriter(fullFilename)
sw.Write(temp)
sw.Close()
the resulting file 'Text.txt' has the same length than the string 'temp'.
Ide... more >>
filtering data view with row filter using boolean value
Posted by Brian Henry at 2/3/2006 3:27:53 PM
say i have a dataset called dv
and i have a boolean value i want to filter by "b_DoesWork"
while the column name in the data view that i want to filter on is called
"Works" how would i filter this since the rowfilter is a string? i tried
dv.rowfilter = "Works = " & b_DoesWork
and get e... more >>
Printing using margins
Posted by tm at 2/3/2006 3:27:34 PM
I am trying to print a form using the following code, everything works fine
but the margins are not acted upon. What I am I doing wrong?
Private Sub CaptureScreen()
Dim myGraphics As Graphics = Me.CreateGraphics()
Dim s As Size = Me.Size
memoryImage = New Bitmap(s.... more >>
Variable declarations.... in VB.Net
Posted by Pete Smith at 2/3/2006 3:22:24 PM
In my program I will be using the common structure repeatedly in a module.
Ex Member.FirstName, Member.LastName..
How to declare it in one common place, so that I can create an instance of
this variable and use in sub procedure or function as local variable.
Currently I am declaring these s... more >>
Advice needed on programming style
Posted by Martin Horn at 2/3/2006 3:15:54 PM
Hi,
I am looking for advice on how best to approach a particular programming
situation using VB 2005 Express.
Here is an example of what I am trying to do and how I have solved it.
Although it works, I'm not happy with my solution so I would welcome any
suggestions as to how I could bett... more >>
Allowing access to controls from another thread
Posted by NickP at 2/3/2006 2:17:19 PM
Hi there,
This might sound like a stupid question but this whole exception being
thrown when accessing user controls from another thread is extremely over
the top!
Just looking at the index property of a listviewitem from another thread
throws an exception! Is there any way to a... more >>
combobox displays [Namespace].[ClassName]
Posted by Matt at 2/3/2006 1:55:52 PM
Here is my code:
lstEditEventTypes.DisplayMember = "Name.Value"
lstEditEventTypes.ValueMember = "ID"
lstEditEventTypes.DataSource = m_EventTypes
m_EventTypes is a collection.
This worked fine until I changed the Name to a propertyholder. So, to
access the name value, I have to use Name... more >>
Binary file
Posted by kate2006 at 2/3/2006 10:49:31 AM
I made a program that will create binary file in C language and now I
want to Plot that value ( contained in Binary file ) in VB. NET !! Can
anybody help me how to do that !! I dont have any experience of opening
of binary file and plotting it (TreeChart )..!! thank you
... more >>
project source design question
Posted by Jon at 2/3/2006 7:54:56 AM
I'm trying to decide where to put some globally accessible declarations for
my project. Say you have several enums, one for message types, one for email
formats, one for import method, etc...things your various programs do. You
obviously will have need to use these enums in the actual class th... more >>
over write running .exe
Posted by BobAchgill at 2/3/2006 7:42:16 AM
I am using FTP built in to my application to update the application and data
from a server...
What is the normal method folks use to over write the application while the
program is active? What I am running into is that the FTP code will not over
write the .exe while the application is run... more >>
How to initiate dial up sequence
Posted by BobAchgill at 2/3/2006 7:39:58 AM
I need some VB .Net code that will automatically cause the user's machine to
begin the dial up process to connect to the internet if no connection is
found active.... more >>
Dynamic controls, menuitems, windowlist
Posted by YYZ at 2/3/2006 7:39:50 AM
In my program, a user can open up many different "Loans" -- each one is
loaded into a dynamically created usercontrol (ucLoan) -- in order for
them to be able to switch between the ones they have open, I have added
a Window menu item -- just like in Word or any one of a thousand
different applic... more >>
some ways to do this
Posted by rodchar at 2/3/2006 7:13:48 AM
hey all,
I'm trying to automate a download process. the file is a zip file. i'm using
webclient.download to download the file. what the best way to determine if
i've already downloaded this particular file?
thanks,
rodchar... more >>
Object reference error running exe on different machine
Posted by craig.melbourne NO[at]SPAM gmail.com at 2/3/2006 5:45:58 AM
I'm getting a strange bug with my of my applications
When I build and run the app on my develpment machine all works fine.
Once I move it to another machine I get a typical Object Reference
error reported to the Even Viewer.
Any thoughts appreciated.
... more >>
Open and print web document
Posted by Wendy at 2/3/2006 3:28:45 AM
I read Herfried Wagner's code from 12/05. I can get the following to work to
open a web page:
Dim psi As New ProcessStartInfo()
With psi
.FileName = "iexplore"
.Arguments = "-new http://dotnet.mvps.org/"
End With
Process.Start(psi)
Next, I need to be able to print the web page t... more >>
PostMessage and Combobox
Posted by EAdolphson at 2/3/2006 3:19:17 AM
In my ComboBox, I am trying to post the CBN_EDITCHANGE message after the
CBN_SELCHANGE is received, but I am having no luck. I can trap for the
CBN_SELCHANGE message, but I cannot post the CBN_EDITCHANGE message. I think
my PostMessage parameters are wrong, but I cannot find what they should... more >>
Cast from string "" to type 'Date' is not valid
Posted by zafzal NO[at]SPAM gmail.com at 2/3/2006 1:42:25 AM
Hello all,
I have a textbox in my asp.net (vb.net) aplicattion, I need to
assign it's value to a Variable of type DATE, but it's not a required
field, so sometimes I want to send a blank field.
I declared a variable as a date datatype and when it=B4s going to
receive
the content ... more >>
Executing a DTS package
Posted by Reggie at 2/3/2006 1:17:12 AM
Hi and TIA. What I'm trying to do is create a DTS package in SQL
Server(2K). What I then want to do is have my users locate the
database(Access2K) file, upload the file to a virtual directory, and then
fire off the DTS package to import the data from the access tables into
existing tables ... more >>
PropertyBag in VB.NET?
Posted by HKSHK at 2/3/2006 1:11:24 AM
Hello everybody,
I am trying to re-write a VB5-ActiveX-control in VB.NET. I googled for
"PropertyBag in VB.NET" and found that the only way is serialization
(and writing the properties into a file). Now I wonder...
a) Do I have to include this file with my application?
b) If I use one con... more >>
Search Arraylist in Arraylist.
Posted by Simon Says at 2/3/2006 12:00:00 AM
Hi all,
I've an arraylist A1 that contains {0,1,2,3,4,5,9,8,7}
I've another arraylist A2 that contains {4,5,9}
I would like to search whether if A2 is present in A1 and maybe return the
first occurance index. Can anyone advise on this?
Thanks,
Simon
... more >>
Question about Control Collection in VB.net
Posted by matthew ware at 2/3/2006 12:00:00 AM
Hi.
I've got a form and I want to iterate through the controls on it. I've
tried:
For intCounter = 0 to Me.Controls.Count -1
' do something
next intCounter
But the Me.Controls.Count only evaluates to 5, even though there are alot
more controls on the form.
Any Ideas?
thanks,
... more >>
Using Named Pipes ?
Posted by Jarrod Morrison at 2/3/2006 12:00:00 AM
Hi All
Im looking for a way use named pipes between a service app and an app run
when a user logs on and be able to pass string based data, im hoping that
the service can contact the app that is running in the user session and tell
it a path of an app to launch as the logged on user. Does anyb... more >>
Accessing controls from another thread
Posted by Nick Pateman at 2/3/2006 12:00:00 AM
Hi there,
Previously in 1.1 .NET Framework if you were to access a control from
another thread you would not recieve an exception by default, instead it was
down to you and/or the control to prevent anything untoward happening.
Anyway, in 2.0 an exception is thrown the second you a... more >>
|