all groups > vb.net > may 2005 > threads for wednesday may 18
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
Web design
Posted by Nathan at 5/18/2005 9:37:42 PM
I want to begin learning web design with VB.NET and ASP.NET, but I don't
have a website yet. I'm running WinXP Home and using VS 2002. Is it
possible for me to set up a "local" web site that runs only from my
computer?
... more >>
DataGrid + Access-DB - display date-values grouped by date and time?
Posted by Olaf Rabbachin at 5/18/2005 9:25:42 PM
Hi folks,
I have a table in an Access-DB that has a date-field (date + time). I'd
like to use a DataSet + DataGrid to achieve a grouped/hierarchical display
where the user would work his/her way from years to months therein (rows
with items only) and finally the data-rows themselves.
My firs... more >>
Strong Names for assemblies with COM dlls
Posted by David Parker [Visio MVP] at 5/18/2005 9:14:21 PM
I have written a vb.net COM addin for Visio 2003, and want to apply the COM
Shim Wizard. However, I need to add a strong name to my assembly first.
The problem is that my code references to non managed third party dlls. I
must be using tlbimp wrong because the interops do not end up with stro... more >>
How To Invoke the OLE DB Data Link Properties Dialog Box in Visual Basic Code
Posted by David Parker [Visio MVP] at 5/18/2005 8:46:25 PM
I have used the following article
http://support.microsoft.com/kb/286189/EN-US/
in my vb.net code, but now realise thatthis is intended for pre-.net
So, what is the equivalent in vb.net?
... more >>
Trying to add an image to a control...
Posted by YYZ at 5/18/2005 5:50:22 PM
I'm trying to do something kind of strange...what we want is a textbox
control, but that has a "New" image inside of it, always on the far right
edge of it. This image needs to be clickable and also let the text appear
over it.
I am trying to create a usercontrol to handle this, but I can'... more >>
Raising event to a different thread
Posted by jrh at 5/18/2005 5:34:03 PM
Hi,
I am relatively new at threads. I have a windows form and a class running
on the same thread. The class has a background task that needs to be done
every minute on a background thread. I am still deciding on whether to use
System.Threading.Timer or Thread.Start/Thread.Sleep. The backg... more >>
insert mutiple rows
Posted by Irfan at 5/18/2005 5:05:49 PM
hi,
I tried to google 'sql to insert multiple row MSaccess' but coudnt get a
proper link.
This is roughly what i want to do.
..
I have Material, Load & filename as Columns in a table.All i want to do is
copy all the rows having filename as 'x' in the same table.
any help is appreciated... more >>
reserved words
Posted by JFB at 5/18/2005 4:47:59 PM
Hi All,
Does anybody know if it is a list of reserved words that vb.net use?
Tks in advance
JFB
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Trying to see if a user is in a certain group
Posted by Ricky at 5/18/2005 4:22:04 PM
Hello,
Does anyone know how to compare a username to a group and see if they are in
there.
Say the power users group.. I want to check if user A is apart of the power
usrs group and if so, they can use a dropdown or a button on the form,
something like that?
Any help or suggestions w... more >>
serilization & dataset
Posted by Irfan at 5/18/2005 4:01:59 PM
hi, all
I created a dataset using dataadpater.fill and then serilized it to a
filestream using
binaryFormatter.serialize(fs,ds).
After deserlizing i want this dataset to be attached to a dataAdapter to do
some updates in the the actual .mdb datatable. so my question is how do i
attach a... more >>
parent child grandchild grids
Posted by Richard Fagen at 5/18/2005 3:43:17 PM
Hi,
I wondering if someone can explain the best way to show three datagrids
in a parent/child/grandchild relationship?
For example:
Take a simple form with 3 datagrids - the top for the customers, the
middle for the orders, and the bottom for the items of the order.
I'd like to know th... more >>
Best practice to filter data?
Posted by Richard Fagen at 5/18/2005 3:35:37 PM
Hi,
What are the best practices to filter a datagrid based on user input?
For example:
I want to display a grid with rows of sales information and allowed the
users to specify options (ex: customer and date ranges), then when they
click the 'apply filter' button, I want the rows filtered.... more >>
Can't delete control
Posted by Babber at 5/18/2005 3:04:17 PM
Hello,
I have a project that ever time I go to delete a control the IDE adds
it back in when I run the program.
I have tried everything I can think of. It seems that when the control
is deleted the IDE does not remove the code it has auto generated to go
with it.
Any help on how to fix ... more >>
Threading Issue
Posted by Brad Brening at 5/18/2005 2:00:54 PM
I am building a class that has a function that I would like to run
asycronously. When the function is complete I would like to notify the
calling thread by raising an event or using a delegate. The handler for the
event (or the delegate callback) should run in the parent thread - not on
the ... more >>
Retrieving "Next" file in a folder
Posted by johnb41 at 5/18/2005 1:53:34 PM
In my application, the user opens up a Tiff image. (The file does NOT
necessarily have to be the first file in the folder; it could by
anywhere.) When i'm done viewing (doing whatever) with the image I
need to open up the "Next" Tiff file in the folder. This should be
done by clicking a butto... more >>
* * * Important Please Read * * * May 18, 2005 4:07:32 pm (Best Viewed at 1024x768) * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Posted by Ron4512324 NO[at]SPAM yahoo.com at 5/18/2005 1:07:10 PM
Best Viewed at << 1024x768 >>
http://groups-beta.google.com/group/alt.religion.christian/browse_thread/thread/73352e0ed6923d23/1ea6c7a1ea6923ab?hl=en#1ea6c7a1ea6923ab
*******************************************************************************************
************************************... more >>
Disabling a Window
Posted by victorsk at 5/18/2005 12:40:09 PM
Hello,
I've posted a similar questione earlier but have narrowed down the problem
so I guess it's better to start a new thread. Basically, I was wondering how
it is possible to disable an active window when a user clicks outside of it.
I have a custom DLL app running inside a main app. ... more >>
How to know if running under the ide
Posted by JeremyGrand at 5/18/2005 12:20:24 PM
I know this has been answered, but can't find it. When running under the
ide I want to load my crystal rpt from where the designer put it, not from
the bin folder.
... more >>
Late binding syntax error with Option Strict On
Posted by Dean Slindee at 5/18/2005 12:17:55 PM
Not sure how to fix this syntax error when Option Strict On is enforced.
Can anyone help?
Dim ctl As Control
Dim sa() As String
For Each ctl In pnlParameter.Controls
sa = ctl.Tag.Split("="c) 'late binding error
Next
Thanks,
Dean Slindee
... more >>
How to make treeview node display several column
Posted by barbara_dave NO[at]SPAM yahoo.com at 5/18/2005 12:03:01 PM
Hi all,
I like to dispaly treeview node text with several columns as window
explorer does and put buttons on the top. When I click a button, the
nodes text can be sorted by date, file size, etc.
Is there a way to do that?
Thanks a lot!
... more >>
XML Node Wildcard?
Posted by Terry Olsen at 5/18/2005 11:49:53 AM
I'm using the following to pull a string from an XML Log file:
Public Sub ReadXMLFile()
Dim xmlDoc As New XmlDocument
xmlDoc.Load("d:\test.xml")
Dim DriveError As String =
xmlDoc.SelectSingleNode("/joblog/backup/set/directory/directory/director
y/drive_error").InnerText
MsgB... more >>
System.Configuration.appsettingReader returns weird error
Posted by RD at 5/18/2005 11:42:04 AM
This code builds without errors, the line is in my declaration section of my
form.yet when I execute it I get an unhandled error.
Weird thing is I been testing this app all day yesterday, made no changes to
my dev machine and now all of a sudden it goes out to lunch.
Anybody have any ideas w... more >>
Editing a DataTable from a DataGrid
Posted by Art at 5/18/2005 11:32:02 AM
Hi,
I need help -- again --
I have a DataGrid with a DataTable as its source. It displays wonderfully
when I put in some test data (withinin the code).
Now, I'd like to change one of the values in the Grid, and have the
DataTable change. I've tried using a Validating (and Validated) e... more >>
MDI child and tool widows - always on top?
Posted by Mitchell Vincent at 5/18/2005 10:45:32 AM
I have an MDI child window that pops open it's own tool windows. I would
like for the tool window to stay on top of that MDI child so that if
they open the MDI child back up they *have* to dismiss the tool window
to continue working.. I don't want this tool window to stay on top of
others, t... more >>
AppDomains, the Hair Puller
Posted by Tibby at 5/18/2005 10:08:38 AM
I have searched far and wide and still have a few blank spots to fill.
Here's what I'm after:
I have my main assembly in the main AppDomain. I have my plugins that
I want to load into a seperate AppDomain and run them there. Then,
when there's an update to one of the plugins, I just have to ... more >>
Working with DLLs
Posted by victorsk at 5/18/2005 10:01:09 AM
Hello,
With the help from people here, I've managed to make VB export functions and
make my DLL app work from within another application. Now I am required to
implement a functionality that when a user minimizes the main application,
the VB DLL application will get minimized also. So, if ... more >>
Datagrid tablestyles - must be done programmatically?
Posted by JeremyGrand at 5/18/2005 9:08:04 AM
I'd just like to confirm that one really can't use the ide to configure
tablestyles & columnstyles in a datagrid. I've tried it and can't make it
"take". The examples I find all show this done in code. In the help, I see
that tablestyles actually take effect at the time they are applied to t... more >>
Help File Authoring
Posted by Ron L at 5/18/2005 9:00:05 AM
I am at the beginning of a new project, and want to have my developers work
on the Help files as we are developing the new application forms. Since
most of my previous work has been in the ASP arena, I am not familiar with
Help file authoring tools and process. Can anyone point me to a good ... more >>
How to screen capture
Posted by Nikolay Petrov at 5/18/2005 8:46:58 AM
I want to capture the windows desktop from a windows service.
Also how to avoid capturing when screensaver is active or the computer
is nop used?
tnx
... more >>
Application Command Switches
Posted by John Wildes at 5/18/2005 8:36:03 AM
Hello All,
I've got a VB.net windows form app that I have created to solve some
recurring maintenance tasks. What I would like to do is build
functionality into this application so that accepts command switches
like. C:\FooApp\Foobar.exe /quiet that the application will load and
process ... more >>
A list of field type names
Posted by Daniel Kaseman at 5/18/2005 8:22:32 AM
Where can I find a reference guide that lists the different field types, and
the names (ex: NVarchar)? What if I want to make Date field? How do I
know how to programmatically create a Date field? is it NVardate?
See what I mean? Heres an example:
Dim cmd As New OleDb.OleDbComma... more >>
wrong cast ?
Posted by Sam at 5/18/2005 7:21:05 AM
Hi
I have a cast issue, I can't figure out why:
txtTabId.Text = DirectCast(Value, String)
Value is of type Integer and txtTabId.Text expects a String.
I get the error :
'DirectCast' operand must have a reference type, but 'Integer' is a
value type.
... more >>
Overriding Item in Inherited Arraylist
Posted by Mykl at 5/18/2005 6:36:49 AM
I'm trying to derive a class from ArrayList. When I try to use the
Overrides keyword on the Item property, the IDE underlines Item in my
Function definition and says "Item conflicts with a property by the same
name declared in ArrayList"... what gives? Am I out to lunch? I should
add tha... more >>
Database Connection
Posted by Ef Dublio at 5/18/2005 6:19:28 AM
I am writing the following code, but it say invalid connection
Dim str As String
Dim query As String
Dim cmd As OleDbCommand
Dim cn As OleDbConnection
Dim dr As OleDbDataReader
str = "Provider=SQLOLEDB.1;Persist Security Info=False;User
... more >>
Convert XML String to Dataset
Posted by Marc at 5/18/2005 5:42:02 AM
I have used XMLDataToString = DataSetForXML.GetXml() to get an XML string
from a dataset. I am looking for a way to create a dataset from this XML
string. I tried DataSetForXML.ReadXml(XMLDataToString) but I received error
messages. Does anyone know how to do this without creating a file (d... more >>
compiler error when using a cule.net assembly in vb.net
Posted by Chris Litschauer at 5/18/2005 2:15:29 AM
hi,
I've a problem with vbc
I've created an assembly with the new dotnet language cule.net
(http://www.culeplace.net/) and tried to use the class of this assembly
in a vb.net class.
but I always get an error:
vbc : Befehlszeilenfehler BC2010 : Die Kompilierung ist fehlgeschlagen:
"0x... more >>
drag and drop of items between listboxes
Posted by Sam at 5/18/2005 1:47:42 AM
Hi,
I've done the method described here :
http://64.78.52.104/FAQ/WinForms/FAQ_c87c.asp#q565q
It works well for items added at design time. However if my source list
is filled with a datasource, the items are properly displayed but the
method
private void OnDragEnter(object sender,
Syst... more >>
Filename Under Cursor
Posted by Crouchie1998 at 5/18/2005 12:00:00 AM
How do I get the filename of the file under the cursor without clicking on
it & returning it to my application using VB.NET 2003?
Example:
Imagine the 'MyCursor.cur' is embedded
PictureBox MouseDown Event:
--------------------------------
Me.Cursor = New Cursor(Me.GetType(), "MyCursor.... more >>
ListiView Item - Highlighted vs Unhighlighted
Posted by A_PK at 5/18/2005 12:00:00 AM
Basically what I want to do is same wtih pocket pc...Inside ListiView, when
I click the white pot on listview, then highlighted item will become
unhighlight...
but when click the on highlighted item or any item, then will fire the
event.
Just wonder how to detect if my click is click on t... more >>
iterate through a set of controls
Posted by romy at 5/18/2005 12:00:00 AM
Hi
In VB.net
I have a set of linkButtons controls in a form , which I want to iterate on
them and change their text property.
How it's done ?
thanks
... more >>
Visual Basic.net Passing arrays in procedures
Posted by Michael at 5/18/2005 12:00:00 AM
Is there a way to pass only a sub-matrix (part of a larger) matrix in a
procedure by identifying the leading row/column element similar to what is
done in Fortran
I am trying to convert several linear algebra fortran routines over to VB
net and this is a problem area. I realize that i can ... more >>
RichTextBox Control Conversion
Posted by Ike at 5/18/2005 12:00:00 AM
In converting a VB6 app over to .NET, I encounter a particularly troublesome
element regarding RichText.
Private Sub mnuEditCopy_Click()
Clipboard.SetText ActiveForm.rtfText.SelRTF
End Sub
Public datobj As New System.Windows.Forms.DataObject()
Public Sub mnuEditCopy_Click(ByVal e... more >>
Connecting to network shares
Posted by JohnFol at 5/18/2005 12:00:00 AM
I have some code working that uses the API WNetAddConnection2. The code is
used from a Windows Form and on my PC it works. If I package the code and
deploy to a server the code fails with an error
"The following exception has occured: Unable to connect network drive. Win32
error code is: 67... more >>
System.Reflection.Assembly.GetExecutingAssembly
Posted by Greg Bell at 5/18/2005 12:00:00 AM
Hi why does first bit work and 2nd doesn't:
1.
Dim m_Trademark As SR.AssemblyTrademarkAttribute
m_Trademark =
m_AssInfo.GetCustomAttributes(GetType(SR.AssemblyTrademarkAttribute),
False)(0)
2.
Dim m_Version As SR.AssemblyVersionAttribute
Try
m_Version =
m_AssInfo.GetCustomAttri... more >>
Sample Application of ASP.net
Posted by Abdul Azeem at 5/18/2005 12:00:00 AM
Hi All!
I am new to ASP.Net and want to work on some sample application of ASP.NET
application, Can anybody suggest me any website or a link where I can find
sample application.
If this is not the right news group for asking ASP.NET sample application
then I do Appologise.
Thanks in Ad... more >>
.NET DevEnv Freezing up
Posted by boB at 5/18/2005 12:00:00 AM
When I try to run a program - any program - my environment all of a sudden starts freezing up. Even an empty solution. It will build, but never run the built program and the GUI won't respond and needs to be killed with Task Manager. It was running fine until I experimented with VBPowerPack copyi... more >>
|