all groups > vb.net > september 2006 > threads for wednesday september 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
Handle Worked - can someone please double check
Posted by Miro at 9/27/2006 11:37:58 PM
I wanted certain text boxes ( only certain ones ) to always be Trim'd so
that spaces are not in the begining,
nor the end of the text entered.
I created my own "Handle ?" - i hope thats the right terminology,
and it works. Is this the right way to do this?
I had to use DirectCast to get the... more >>
Multiple child forms - updating the right one
Posted by Kevin at 9/27/2006 9:25:09 PM
I've got an mdiParent form. I open an instance of a child form like
this:
Dim frmChild as New frmCustomers
frmChild.Show()
I've got a few of these open at a time. On each frmChild I open
another form that displays customer data. When I make changes and save
the customer data, I need the up... more >>
Export array from vb.net to excel
Posted by michealmess NO[at]SPAM bigpond.com at 9/27/2006 8:59:05 PM
Can anyone help me. I wish to export an array from vb.net to excel
ranges. This will happen for multiple files. The ranges names will not
be start and end in the same cells on all files. How do i do this?
... more >>
File converting/sending help
Posted by Bonzol at 9/27/2006 8:19:47 PM
vb.net 2003 VB
Hey there, I have a program that uses remote connections and it can
send strings to the clients and from clients to server.
Now we need to send files this way, is there anyway to convert files
such as images,, exes,, anything? to a string and send it? then
recomplie it as a f... more >>
Getting form properties from another running application
Posted by Andrew E Chapman at 9/27/2006 7:53:02 PM
I would like to retrieve properties such as position and size of another
application running at the same time as my .NET application. The other
application may or may not be .NET. I understand how to retrieve the handle
and window name, using, eg:
Dim proc() As Process
proc... more >>
Ftp Client Help
Posted by jonathandrott NO[at]SPAM gmail.com at 9/27/2006 4:36:52 PM
Hi, all. new to this ftp stuff. i found this information on the msdn,
but i don't understand some things. why won't this code resolve to a
IP based ftp server? how can i download everything at this site
without a GUI? Thanks ahead of time.
Imports System.IO
Imports System.Net
Imports Sy... more >>
XML to save some settings
Posted by Eric bouxirot at 9/27/2006 4:11:01 PM
hi there,
i never used XML beforre, i prefere INI files, but i want do same
things with XML file format..
before i can save/read some element of INI files without the need to
parse or read all the file.. juste like getxxxxINI("Section", "Key")
and it return a string...
same for writing.... more >>
Q: select (case insensitive)
Posted by G .Net at 9/27/2006 3:00:27 PM
Hi
I'm using the Select member of a DataTable in vb.net. In the datatable I
have a field which holds a string. I want to do something like:
Dim name As String = "mike"
Dim rows As DataRow() = dt.Select("[Name] = " & name)
This returns all rows which have "mike" but not "MIKE" or "Mike".
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Permanent Rectangle on Form.
Posted by T Clancey at 9/27/2006 1:36:31 PM
Hi, I have some code that will draw a rectangle on my form, does what I
need, but it's simple code that just draws, therefore menus and other items
clear the drawing.
Has anyone got a way to draw the rectangle permantently? I need to change
the size of the rectangle from time to time so I ... more >>
Date as Null
Posted by Jay at 9/27/2006 1:14:40 PM
Hi ,
I am trying to assign a NULL value to a date (datatype). I am using VB
NET 2003. I know that date cannot be assigned a null value in 2003. I
cannot change the datatype as I am submitting the data to a web service
and it accepts only date (datatype). I dont want to display 01/01/0001
on the... more >>
How can I to fill a polygon?
Posted by Carlos VillaseƱor at 9/27/2006 12:57:16 PM
Hi everybody!
I'm still new in VB and need to fill a polygon with a color ¿does exist some
code to help me to do that?
I appreciate some help.
Thank you
Carlos Villaseñor
... more >>
filter dataTable/datagridview to show top 1 row for duplicate IDs?
Posted by Rich at 9/27/2006 11:19:01 AM
Hello,
I am just checking if there is a property or technique for displaying or
retrieving from a dataTable the top 1 row(s) for rows containing duplicate
keys (IDs). I have to pull data from a sql server DB. The resultset
contains 10 distinct rows but the keys are duplicate - like record... more >>
Bug in Datagrids
Posted by mfleet1973 NO[at]SPAM yahoo.ca at 9/27/2006 11:16:13 AM
Hi.
When testing my app I believe I found a bug in datagrids (or is it just
me).
Here is the scenario:
Grid is attatched to a dataview. Dataview has a filter. I enter a new
record within the datagrid and when I click on the fixed column (the
grey bar on the left with an arrow pointing ... more >>
DirectX and Sound
Posted by Jovo Mirkovic at 9/27/2006 9:03:35 AM
Hi,
We are working on some application in DirectX, and we are using
DirectSound, like this
Public Sub playSound(ByVal isloop As Boolean, ByVal fileName As
String)
Try
stopSound()
sound = New
Microsoft.DirectX.DirectSound.SecondaryBuffer(fileName, sou... more >>
Finding a control on a form with a text reference
Posted by lisa NO[at]SPAM starways.net at 9/27/2006 8:08:46 AM
This is incredibly frustrating.
I have a VB6 app at work that we're upgrading to .NET. In the VB6
code, I'm able to get a reference to txtText by using
frm.Controls(txtText). In ASP.NET, we have Page.FindControl(txtText).
But in WindowsForms, there doesn't seem to be any equivalent.
Now, ... more >>
Are you a C# Developer in Buckinghamshire?
Posted by TestRecruit at 9/27/2006 7:28:35 AM
You will be a C# Developer with at least 2 years commercial experience
in C#, ASP.Net, webforms, XML/XSLT, ADO and SQL Server. You will also
have experience of stored procedures and will have good analysis,
design and documentation skills. Along with this you must have strong
verbal communicatio... more >>
overflow detection without try-catch
Posted by AMercer at 9/27/2006 6:43:02 AM
I want to detect if multiplying two integers or two longs will cause an
overflow without using a try-catch block. I know how to do it with
try-catch, but the performance hit is too much. I want an efficient test so
I can program like
if CausesOverflow(x,y) then
' do one thing
else
... more >>
text encoding problem in GridView .Net 2.0
Posted by Lucky at 9/27/2006 3:35:23 AM
Hi guys!
i've got very interesting problem. the problem is like this.
i've 2 webpages.
-- page1 contains DataGrid control of .Net 1.1 and
-- Page2 contains GridView control of .Net 2.0.
-- both grid displays same data and same function is used to fetch data
from the database.
the grid o... more >>
MODI problem
Posted by hangdee at 9/27/2006 12:50:01 AM
I am trying to use MODI (Microsoft Office Document Imaging) viewer control in
my VB 2005 application.
But when I drag the MODI viewer control into my form, it prompts that
"Failed to import the ActiveXcontrol. Please ensure it is properly registered"
What is the problem? I want to use the M... more >>
Redirecting standard output
Posted by mhmtzdmr NO[at]SPAM gmail.com at 9/27/2006 12:23:39 AM
Hi,
I want to run an application and capture its standard output. But the
following code does not generate any output. Can anyone see something
wrong?
Public Sub RunApp(ByVal myprocess As String, ByVal param As String,
ByVal workingDir As String)
Dim p As Process = New Proc... more >>
How can I create a Shortcut (with parameters) on a user-desktop with vb.net?
Posted by leerstring at 9/27/2006 12:18:34 AM
Yeah, that's my Question:-)
Thanks in advance....
... more >>
VB Program - CHM help integration
Posted by al jones at 9/27/2006 12:00:00 AM
I have the program, I have the help file. I've drug a helpprovider into
the project - now I'm not sure what to put into the properties to make the
connection. Does anyone know of a tutorial on how to actually integrate
them. I thought I saw the obvious but all I ever brin up is the first
page... more >>
Button with dropdown style like on a toolbar
Posted by Flemming Dahl at 9/27/2006 12:00:00 AM
Hi all,
I want to create a button like this one....
open Microsoft Word
select Edit
select Replace
clik on "More" button
look at the "Special" button - now you've found it...
How do I create a button like that one... looks like a real button without a
toolbar, and have the toolbarbutt... more >>
Getting nodes from an XML-document
Posted by Klaus Jensen at 9/27/2006 12:00:00 AM
Hi
Using Xml.XmlDocument I need to get all <rfd:li>-elements below
<photoshop:SupplementalCategories> in the below XML-sample.
I normally use GetElementsByTagName, but since there are other <rfd:id>
elements other places in the doc, I cant.
How do I navigate the tree and get the right n... more >>
|