all groups > vb.net > may 2006 > threads for friday may 12
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
style xp button
Posted by Jose at 5/12/2006 11:29:21 PM
It's possible a button with image and style xp in vb.net 2003?
Thanks a lot
... more >>
Design Question for Factory Pattern and Casting Types
Posted by GarrettD78 at 5/12/2006 6:45:01 PM
Accidently posted this to the wrong group so I am reposting.
This is probably a newbie question but I am a little confused about how to go
next with my code. I think I want to use a factory pattern in this situation
but I am having trouble getting access to properties at the presentation
lev... more >>
Getting the Parent firectory of a file
Posted by Paulers at 5/12/2006 5:05:12 PM
hello.
how do I get the file's parent directory name out of a path like this?
c:\test\myDirectory\file.txt
Im looking to extract the "Directory" from the path so I can create
myDirectory in another directory and copy the files.
what I am really trying to accomplish is to move the pare... more >>
int64 or double
Posted by cj at 5/12/2006 5:02:16 PM
VB2003. I need a large positive integer. Which is larger int64 or double?
I see int64 also apparently is known as long and will hold
-9,223,372,036,854,775,808 through 9,223,372,036,854,775,807.
But I'm not good with the E+??? notation so when I'm told double holds
-1.79769313486231570E+3... more >>
Can't Access an mdb file from the web.
Posted by Bob Palank at 5/12/2006 5:00:48 PM
I created a windows application, added a Grid Control and connected to the
Pubs.mdb Access database locally with no trouble. Next I copied Pubs to a
WebServer, changed the connection string by providing the IP address of the
web server but the error below occurs. I tried the domain name ( li... more >>
OpenFileDialogue question
Posted by PJ6 at 5/12/2006 4:56:53 PM
I just want the name of the file selected - I have no use for opening it up
in a stream.
Is there a built-in dialogue I can use to select a file, or do I need to
write my own? If so, are there any simple examples out there?
TIA,
Paul
... more >>
Adding modules from another project
Posted by Bill Nguyen at 5/12/2006 3:50:04 PM
I would like to include a module from another project. When I added existing
item, VS copied the module to the current project's folder so that whatever
I did to this module doesn't reflect in the original module. this is NOT
what I expected.
Is there a way to share a module (.vb) among mu... more >>
Advice on Training
Posted by lucidxile NO[at]SPAM gmail.com at 5/12/2006 3:29:45 PM
I currently know very little about VB code and want to learn for use in
MS office applications such as Access and Excel, while also learning
how to write some login scripts using VBS. The only option as far as
company paid training that I have locally is an introduction class to
VB .Net programm... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Unhandled exception
Posted by NickP at 5/12/2006 2:43:26 PM
Hi there,
Im experiencing an unhandled exception that seems to be impossible for
me to catch. I am launching an assembly of mine from within another
assembly using the Process object. Once the process finishes it causes an
unhandled exception, even though both host and child process h... more >>
remove xml node in xml document
Posted by Que at 5/12/2006 2:11:07 PM
hi
i have the following xml document
<root>
<item>
<key>
<scode></scode>
</key>
<scode></scode>
<desc></desc>
<pc></pc>
</item>
<item>
<key>
<scode></scode>
</key>
<scode></scode>
<desc></desc>
<pc></pc>
</item>
<item>
<key>
<scode></scode>
... more >>
serializing data to a file
Posted by PJ6 at 5/12/2006 1:50:24 PM
OK I haven't ever done this before... I'm going to need to create "project"
files to which my application can save and retreive data. Rather than
worrying about the details fo the format too much, I'd like to just have
everything saved as a serialized collection so whatever I chose to store in... more >>
Custom List casting
Posted by Goran Djuranovic at 5/12/2006 1:48:57 PM
Hi all,
I have a custom made list (MyList) that inherits from CollectionBase. Is =
it possible to prohibit the casting of that list into other objects? I =
would like to get an error at design-time.
For example,
Dim myList As New MyList
Dim yourList As New IList =3D CType(MyList, IList) <... more >>
file associatoin with application
Posted by PJ6 at 5/12/2006 1:17:16 PM
How do I, in my (2005) application, cause a file with a certain extention to
be associated with my application?
Paul
... more >>
Vs 2003.Net Compile Error
Posted by Jason at 5/12/2006 12:47:20 PM
Anyone seen this type of error?
Program
c1xx : fatal error C1083: Cannot open source file: 'C:\Program': No such
file or directory
Microsoft
c1xx : fatal error C1083: Cannot open source file: 'Files\Microsoft': No
such file or directory
Visual
c1xx : fatal error C1083: Cannot open source f... more >>
how to invoke my VB.net form from a COM application?
Posted by mrmagoo at 5/12/2006 11:07:01 AM
How do I make my VB.Net form callable from an Excel application? It's a
utility independent from Excel, but I want to be able to call it from Excel.
I know a lot about VBA but don't know how to get a handle on the .net form
and make it visible.
thx
... more >>
Console Application - Exit Code
Posted by Mythran at 5/12/2006 10:54:30 AM
What is the correct way to set the exit code from within a console
application? Currently we do:
Public Function Main() As Integer
...
Environment.ExitCode = ...
Return Environment.ExitCode
End Function
Should we use Environment.ExitCode And/Or return the exit code?
Thank... more >>
***add crystal reports refence 9.2.0.448 or 11***
Posted by Jose at 5/12/2006 9:58:20 AM
How add a reference in my project vb.net 2003 windows form.
Please step by step. I am new in .net
Thanks a lot
... more >>
Formating Text in a text box
Posted by amruta at 5/12/2006 9:39:01 AM
I have the following statements
TextBox19.Text &= "ID" & ControlChars.Tab
TextBox19.Text &= "Requirement Name" & ControlChars.Tab
TextBox19.Text &= "Status" & ControlChars.Tab
TextBox19.Text &= "Owner" & ControlChars.NewLine
I want to Bold and Underline only the above text and not the informa... more >>
How to move a control contained within a usercontrol at design time
Posted by p_cranfield NO[at]SPAM yahoo.co.uk at 5/12/2006 9:01:50 AM
Hi
I am trying to work out how to move controls contained within a user
controls at design time using the mouse in the IDE.
Consider the following:
Project A contains usercontrol1 with several panels.
Project B contains a form with usercontrol1
I would like to be able to click on a pane... more >>
datatable.import row bug/issue
Posted by hharry at 5/12/2006 8:56:28 AM
hello all,
i have 2 datatables and am trying to transfer rows from datatable a to
datatable b
i use the datatable.importrow method.
the importrow method fails (but does not throw an exception) when
importing a datarow that has numeric columns. columns of type string
are imported fine.
e... more >>
Write to Standard Input
Posted by rzaleski NO[at]SPAM gmail.com at 5/12/2006 8:55:35 AM
For some reason my application is not writing to Standard Input. Here
is my code:
Dim pInfo As ProcessStartInfo
Dim errors As String = ""
Dim errorEntry As ThreadStart
pInfo = New ProcessStartInfo("C:\Program
Files\GNU\GnuPG\gpg.exe", "-r rzaleski@airsep.co... more >>
Tooltip on Datagrid Cell
Posted by Bill Nguyen at 5/12/2006 8:51:04 AM
I would like to display tooltip for the currenCell (selected).
For example
Col1 = storeID
Col2 = Store name.
Since Col2's width is 20 characters, some of the tore names are truncated.
The tooltip should help showing the full store name when user hover the the
mouse over the currencell.
... more >>
How to copy a form
Posted by mrmagoo at 5/12/2006 8:35:17 AM
If I create a form and add add a bunch of controls and code, etc to it, I
can see that Visual Studio adds all of the requisite "creation" code behind
the form.
If I wanted to create a 2nd copy of the exact form, how would I go about
that? Could I just copy the code from the first form, includi... more >>
DataGridView and ComboBox
Posted by Art at 5/12/2006 7:35:02 AM
Hi,
Forgive me for posting this message in 2 groups -- it appears that the Data
Access group isn't very active, so I'm posting again here:
I have a DataTable that I want to fill using a DataGridView. I've set the
DataSource of the DataGridView to my DataTable. My problem is that I want
som... more >>
DataAdaptor Bug!
Posted by marcmc at 5/12/2006 7:05:02 AM
When I configure the dataAdaptor i get "Could not determine which columns
uniquely identify the rows for TableName" and so the update and delete
statements are not built.... more >>
Updating Data from a dataGrid
Posted by marcmc at 5/12/2006 4:04:02 AM
Hey, I have never used a datagrid/dataset/adaptor/table method for updating
data, I have always used direct updates to the database so ADO is quite new
to me.
I have a datagrid and I change a value in one of the fields.
I hit save and the following code runs...
Dim da As SqlClient.SqlData... more >>
Inherent encryption in .NET 2.0?
Posted by Adam Honek at 5/12/2006 3:16:27 AM
Hi all,
Is there any inherent basic encryption available in the string namespace
in .NET 2.0???
Thanks,
Adam
... more >>
Vb.Net 2003 Quirks
Posted by OhWhite NO[at]SPAM hotmail.com at 5/12/2006 2:44:47 AM
In an off-line Vb.net 2003 application, is there any reason why the
following would happen.
1) Minimize button doesn't function.
2) Button and DataGrid widen beyond Design time settings.
Thanks
... more >>
Graphs in VB 2005
Posted by Suresh Bansal at 5/12/2006 1:01:51 AM
Hi all
using MSCHART object in VB.NET requires to register at client node for plotting graphs in VB 2005.
Using Drawing namespace of Framework 2.0 provides rich functionality for plotting but still great work needs to be done for plotting graphs. Any shortcut to plot graphs using framework 2.0... more >>
Sending an Email from .net?
Posted by rj at 5/12/2006 12:16:50 AM
Hi All,
How do i send an email from a vb.net form? I have a text box with the
email address, another with the email body, and I want to use standard
text for the subject. Is there a way for me to automatically open a
"new mail form" from outlook, and automatically put these values in?
Thank... more >>
Translate Visual C++ to VB.NET
Posted by M. Bruil at 5/12/2006 12:00:00 AM
I tried to do some 'DLLImport' on a DLL. The actual source code was written
in Visual C++. Unfortunately I can't get the VB.NET syntax right for this
function call. Can someone provide me with the correct VB.NET syntax?
----------------------------------------
#define S00X_ANTICOLL_A... more >>
How to create a new sheet in EXCEL-File via OLEDBProvider
Posted by Peter Stojkovic at 5/12/2006 12:00:00 AM
I am importing data from an EXCEL XLS-File via OLEDB-Provider
The command is SELECT * from [sheet1]
Everything works fine if the first sheet is named sheet1
How can a create a new sheet inside the XLS-File
What command I must program ??
... more >>
How to import always the FIRST available sheet from EXCEL-File
Posted by Peter Stojkovic at 5/12/2006 12:00:00 AM
I am importing data from an EXCEL XLS-File via OLEDB-Provider
The command is SELECT * from [sheet1]
Everything works fine if the first sheet is named sheet1
But sometimes the name is not known by my application and the import =
failes.
Is it possible to import always the FIRST ava... more >>
Closing all forms at once
Posted by Adam Honek at 5/12/2006 12:00:00 AM
I'm using the below code but having little luck even though
it looks right to me:
Dim aForm As Form
For Each aForm In Application.OpenForms
aForm .Close()
Next
Where should this be? I put it in form_deactivated() and nothing, same for
form_finalize().
In VB6 I believe it was... more >>
|