all groups > vb.net > march 2006 > threads for thursday 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
How select from 2 ADO.NET DataTables?
Posted by Ronald S. Cook at 3/9/2006 10:30:56 PM
Let's say I have 2 ADO.NET DataTables (tblAuthor and tblBook) within an
ADO.NET DataSet (dstPublish).
tblAuthor has DataColumns AuthorID and AuthorName, tblBook has DataColumns
BookID, BookTitle, AuthorID (assume a book can be written by only one
author).
tblAuthor
---------
... more >>
Collections challenge (MRU)
Posted by CMM at 3/9/2006 10:03:40 PM
First let me say that maybe I'm having a "duh" moment and perhaps I'm
missing something... but it seems to me that no one thing in the
System.Collections namespace (even in .NET 2.0) even comes close to the
still-useful-today VB intrinsic Collection. Here's the challenge (I know I'm
totally ... more >>
Single event handler for menu
Posted by Martin at 3/9/2006 9:21:01 PM
I have a menu, a rather big one. It contains about 150 items. Normally this
would mean that I'd have about 150 event handlers:
Private Sub Menu1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Menu1.Click
However, I would like to get the associated form name fro... more >>
Gridview and mouseover
Posted by Matt Colegrove at 3/9/2006 8:13:46 PM
Is there a way to apply a "mouseover" command to the cell level of a
GridView? I can do it at the row level, but I want to be able to do it at
the cell level.
I was able to do it with the DataGrid by doing it at the Item level.... more >>
Enum and Database question
Posted by Nicolas at 3/9/2006 8:09:01 PM
What would be the Select Query for the following case.
I scratch my head but i'm only loosing my hair so far.
2 Records in tables
table Person
[Name] [FavSports]
Nicolas 12
Frank 2
John 10
Those entries and specialy the FavSports are based on an enum with
FlagsAttibute which all... more >>
Events with return types
Posted by ebustamante NO[at]SPAM xstratacoal.com at 3/9/2006 7:54:56 PM
I am using a library provided by a software supplier. One of the
examples in the user's guide shows this:
A class level variable with events:
Private WithEvents EvalIterator As Evaluator
Evaluator is a class that exposes only one event.
This is the definiton of the event in Evaluator Class ... more >>
Createing the Domain searce dialog
Posted by Scott M at 3/9/2006 7:35:44 PM
I would like to create the shell dialog box that opens the search box that
allows a user to search for groups, users and or computers on a local
machine of on a domain. Does anyone have a nice .Net wrapper that I can use
to accomplish this or know where I can find it online?
Thanks much
... more >>
Retrieving 1 large sql record - progress bar possible? vb.net 2005 sql2000
Posted by Chris Thunell at 3/9/2006 6:39:46 PM
I have a sql database that stores documents (word and excel files) inside a
field. These documents can be 10mb or larger in size. When running on my
local network the files load very quickly, but on remote networks it runs
quite slow. I'm wondering is there a way to measure how much data ha... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
RegisterAsBrowser (VB 2005)
Posted by Doe at 3/9/2006 6:34:24 PM
Rather than repeat the whole thing, here is a url:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=283565&SiteID=1&mode=1&PageID=1
It's all there, plus my laments. :-(
Lots of smart minds in this newsgroup, so maybe someone has an answer.
Without RegisterAsBrowser, tapped browsing se... more >>
Form Designer generated code
Posted by pmclinn at 3/9/2006 5:47:32 PM
In version 2003 of visual studio you could see the vs form code. In
vs2005 I do not see it. How do I fix this issue?
... more >>
Added Checkboxes Dynamically now I want change there state
Posted by Dan H at 3/9/2006 3:43:03 PM
I have been able to add controls dyanmically to a windows application.
And I can get the Click event working beautifully. But now I want to
use an another event to change the state of the check box but I can
seem to figure out how to work with the control.
So in the code below I create a bunch... more >>
Changing the checked state of Dynamically added checkboxes
Posted by Dan H at 3/9/2006 3:18:19 PM
I have been able to add controls dyanmically to a windows application.
And I can get the Click event working beautifully. But now I want to
use an another event to change the state of the check box but I can
seem to figure out how to work with the control.
So in the code below I create a bunch... more >>
Refresh my memory on datatables, datasets etc.
Posted by cj at 3/9/2006 2:54:16 PM
I've used datatables and datasets before. Datasets being able to hold
more than one table and datatables being only one table. My mind keeps
coming up with recordsets. I can't remember how they fit into the picture.
I'm going to be reading some records from a table in a sql db.... more >>
No DataGrid control Property dialog in vs.net 2003
Posted by nrflores at 3/9/2006 2:48:47 PM
I have both vs.net 2003 & vs.net 2005 Proffesional installed. Now I can't
open the DataGrid property dialog in vs.net 2003 using vb.net. It is not
there anymore.
Any help??
... more >>
Can you insert elements into an XML file that exists as a string?
Posted by pat at 3/9/2006 2:30:58 PM
Given:
Dim r As String = WS.getInfo("arg1", "arg2", "arg3")
Dim dsTest As New DataSet
Dim srTest As New System.IO.StringReader(r)
dsTest.ReadXml(srTest)
This is how I currently populate a DataSet. The web service "WS"
returns a single string,... more >>
Enum and FlagsAttribute
Posted by Nicolas at 3/9/2006 1:59:23 PM
How do I set a FlagsAttribute to a run time created enum
I really need a FlagsAttribute for the enum as it will be use to trigger =
multiple choice
Thanks for the help
Function BuildEnum(ByVal EnumName As String, ByVal args As Hashtable) As =
Type
Dim ad As AppDomain
Dim an As New AssemblyN... more >>
WebBrowser Control Printing
Posted by Alex Clark at 3/9/2006 1:55:17 PM
Greetings,
(.NET 2.0, WinXP Pro/Server 2003, IE6 with latest service packs).
I've decided to take advantage of the layout characteristics of HTML
documents to simplify my printing tasks, but of course it's thrown up a
whole host of new issues...
I'm generating a multi page printable doc... more >>
Garbage collection, Unmanaged code and SafeArrays
Posted by R. MacDonald at 3/9/2006 1:23:50 PM
Hello, all,
I am currently working on a .Net (VB) application that invokes routines
in unmanaged (Fortran) DLLs. The unmanaged routines then communicate
with the .Net application by means of a call-back mechanism. These
calls pass a string that contains a "command" and a pointer to a
Sa... more >>
MIDI guitar sheet music player in .net
Posted by tony.held NO[at]SPAM gmail.com at 3/9/2006 12:24:33 PM
Hi all,
I would like to develop software that displays guitar sheet music and
play it via midi. I plan on using visual studio .net 2005 (probably VB
but maybe C#). I was thinking about having the stanza illuminate notes
as they are played and allow the user to adjust the playback speed for
... more >>
ASP.net 2.0 Users (aspnet_Users table) create constraint problem
Posted by ibiza at 3/9/2006 11:41:46 AM
Hi all,
I am using ASP.NET 2.0 Membership system, which is driving me nuts. I
have my users, which I create correctly. Then I have a table "Models"
which contains models, created by different users. So I obviously need
to create a relationship between the users and the models. I wanted at
fir... more >>
Reads XML node from App.Config and populates a Class
Posted by PH at 3/9/2006 11:36:38 AM
Hi guys;
I got the following problem to solve, hope you can help me.
I got a XML node in App.Conf;
<CUSTOMERS>
<CUSTOMER>
<NAME =”Frank” />
<LASTNAME =”Smith”/>
<AGE= 34 />
</CUSTOMER>
<CUSTOMER>
<NAME =”Lisa” />
<LASTNAME =”Tucker”/>
<AGE= 42 />
</CUSTOMER>
<CUSTOMERS/>
I... more >>
creating independant application vb 2005 express edition
Posted by sweet_dreams at 3/9/2006 9:14:30 AM
Hi all,
I have such a problem:
I would like to create an application in Visual Basic 2005 Express
Edition. This application will connect with data base created in MS
Access 2003.
This application will do some operations on tables in database: select,
insert, update, delete. And my question i... more >>
DataGridView's Column.Visible property being changed to True from False
Posted by Crazy Cat at 3/9/2006 9:11:43 AM
Here's a weird problem. I have a DataGridView in Visual Basic 2005
where I've set one of the columns Visible properties to False. However
when I run the application the column will inexplicably be displayed.
I've steppedthrough the code and determined that the state of this
column changes from F... more >>
Access digital camera
Posted by Stupid48 at 3/9/2006 8:40:23 AM
I have this Pentax Optio camera and I want to access it via vb.net. I
would like to write something where I can snap the picture from the
application and it automatically acquires the image from the camera and
displays it. I found a couple sample apps out there. One is a WIA app
but it does n... more >>
How to.... Question.....
Posted by Pete Smith at 3/9/2006 8:37:24 AM
How to query the printer about out of paper or paper jam or any other error
message.
I have written a print application which does the printing.
VB.Net and .Net Framework 1.1. Windows 2000 Professional/Windows 2000
Server.
Thank you,
Pete
... more >>
VB6 Driver App with .Net DLL ERROR
Posted by PJSimon at 3/9/2006 7:40:35 AM
I have an application written in VB6 that calls a DLL written in .Net. On
the first run of the program, everything works fine. If I stop the program
or close it, then run the program again, I get the following error when
calling a function in the .Net DLL:
The callee (server [not server a... more >>
Can't modify instance of a class from within the class!
Posted by pat at 3/9/2006 6:57:27 AM
Group,
I have a class that has properties:
[...]
Private _lastUpdated as String
Property lastUpdated() As String
Get
Return _lastUpdated
End Get
Set(ByVal Value As String)
_lastUpdated = Value
End Set
End Property
[.... more >>
System.Drawing exception
Posted by Kyjan at 3/9/2006 6:30:12 AM
Greetings to all!
I was wondering if anyone had ever seen this error before:
Exception message: Invalid parameter used. (source='System.Drawing',
method='GetHeight')
Portion of the stack trace: System.Drawing.Font.GetHeight(Graphics
graphics)
at System.Drawing.Font.GetHeight()
at ... more >>
Regular Expression Question
Posted by Wayne Wengert at 3/9/2006 6:22:51 AM
I hope this is an appropriate group for this question - if not, let me know
where I should take this question.
I want a regular expression that will validate a date in the format
mm/dd/yyyy. I actually want to verify that the date is between 1/1/1900 and
1/1/1960 but I cannot get past the b... more >>
Fastest way to load jpg images ?
Posted by jordi_ramis NO[at]SPAM hotmail.com at 3/9/2006 6:20:59 AM
Hi,
I'm currently using image.fromfile to load jpg images in my
application. I've noted that this procedure is very slow compared to
some aplications I have seen. Is there any way to load a jpeg image
into an image or bitmap object faster that image.fromfile?. Prefereably
one method or com... more >>
HelpProvider Issue
Posted by Jason at 3/9/2006 1:35:26 AM
I have a windows application that has been developed in VB.NET 2003. As part
of this application I have included a help (chm) file that can be called from
the main application menu, or using F1 on one of the data entry screens.
I am having a small issue in navigating within the help file when... more >>
Defining data types for fields, when you a create a file
Posted by mesut demir at 3/9/2006 12:50:52 AM
Hi All,
When I create fields (in files) I need assign a data type like char,
varchar, money etc.
I have some questions about the data types when you create fields in a
file.
What is the difference between data type 'CHAR' and 'TEXT'?
When do you use 'VAR' in your datatype word? e.g. VAR... more >>
Problem sending Report as EMail - wrong attach. name "untitled.txt"
Posted by Matthias Haberkorn at 3/9/2006 12:00:00 AM
Hello,
I haved used VS2003 and send some Reports as EMail attachmend with vb.net.
The code looks like this:
Dim pdfOpts As PdfRtfWordFormatOptions = _
ExportOptions.CreatePdfRtfWordFormatOptions()
Dim MailOptions As MicrosoftMailDestinationOptions = _
ExportOptions.CreateMicrosoftMailDesti... more >>
close Form1 & open Form2
Posted by Karan at 3/9/2006 12:00:00 AM
I am calling finalize when form2 loads and deactivates form1 which closes
form1. However, same thing is not happening in form2 because finalize is
already called. Does anybody has solution to it. This code works well for
splash screen. I searched alot on net for codes but they don't work. for ... more >>
UDPState
Posted by NickP at 3/9/2006 12:00:00 AM
Hi there,
Maybe it's my imagination but I don't appear to be able to locate the
UdpState object for use with Asnc callbacks in the UDPClient class... Even
with the object browser I can't find it, although it's mentioned in the
docs. Any ideas or am I totally blind??
Cheers :-$
... more >>
Image into SQL Server 2005 Table
Posted by Ivan at 3/9/2006 12:00:00 AM
Hi.
I've a dream ... !!
How could I adding and retrieving images from SQL SERVER 2005 table??
I would make it from vb code without stored procedure!!
Bye
Cris
... more >>
How to Create an Evaluation version of the application
Posted by vighnesh at 3/9/2006 12:00:00 AM
Hello Everyone
I developed a .NET application and now I need to create a setup of that for
distribution. But here I would like to
distribute my application as a trial version for certain period of time and
then promt the user for registration. If it is
not registered after that period the a... more >>
Getting a short filename in vb.net
Posted by matthew ware at 3/9/2006 12:00:00 AM
Hi.
I have a long filename and am trying to get the appropriate shortfilename. I
have looked at the FileSystemObject but there doesn't seem to be anything
there.
Any help would be most appreciated.
thanks,
Matt.
... more >>
|