all groups > vb.net > march 2004 > threads for monday march 1
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
Is there a function which takes string converts it to decimal WITHOUT rounding ?
Posted by CobraStrikes NO[at]SPAM al.com at 3/1/2004 11:15:54 PM
eg. "19.121" to 19.12 decimal
eg. "12.567 " to 12.56 decimal
... more >>
What is the equivalent to writing to the server?
Posted by Trint Smith at 3/1/2004 10:52:09 PM
Ok, I know this is for local:
Dim sw As StreamWriter
sw = New StreamWriter("D:\files\text.txt", True)
What can I use to do the same write to the same directory, except on the
server please?
Thanks,
Trint
.Net programmer
trintsmith@hotmail.com
*** Sent via Developersdex http://www.develo... more >>
Install WMI with a Setup
Posted by andi rickenbach at 3/1/2004 10:28:54 PM
Hello,
can anyone tell me how i can install WMI with a vb.net
Setup?
On a win98 machine there is no WMI on it. I would like to
install WMI directly with a vb.net setup. How can I do
that?
thank you very much.... more >>
Database Connectivity
Posted by SREEJITH at 3/1/2004 8:51:07 PM
I have VB.NET application. I have to connect it with PostgreSQL database resting at Linux Server. How is it possible?. Plz anybody forward me the ans.... more >>
Inheriting from UserControls
Posted by Charles Law at 3/1/2004 7:44:04 PM
I want a set of controls that all have a border, like a group box. I thought
I would create a base control containing just a group box from which my set
of controls could inherit. Assuming that this is the right approach (please
tell me if it is not), how then do I make it so that the group box c... more >>
Form Closing Event
Posted by Tracey at 3/1/2004 6:46:10 PM
Hi, ther
I met a problem in my application. I have a starup modal winform, say, Form1, and a modal winform Form2. Form2 is displayed when user clicks a button on form1. My problem is I wish to take an action to refresh a control in Form1 right after Form2 is closed.
Can someone give any advic... more >>
Newbie: Carn`t figure this one out:(
Posted by Merlin at 3/1/2004 6:43:25 PM
Hey Group,
Could somebody tell me why this command won`t work:
retval = Shell("Netsh int ip set add name="Local Area Connection"
source=static addr=10.12.220.254 mask=255.255.0.0 gateway=10.12.200.1
gwmetric=1, vbNormalFocus")
VB is telling me it expects a ")" after Local, however its a c... more >>
Re: popup blocking
Posted by anonymous NO[at]SPAM coolgroups.com at 3/1/2004 6:03:12 PM
To learn, Herfried... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
data bind list view?
Posted by Brian Henry at 3/1/2004 5:44:43 PM
is there any way to bind a list view to a datatable? rignt now i am filling
it by looping through a datatables row's adding each row one by one to the
listview... takes up a good amount of process time... is there any way
around it? thanks
... more >>
Setup project returning error
Posted by Simon Jefferies at 3/1/2004 5:38:29 PM
Hello,
I've created a fresh VB.NET Setup project using the wizard.
When I build the project I get the following error message:
ERROR: An error occurred while validating. HRESULT = '80004002'
Any ideas?
TIA
Simon Jefferies
... more >>
popup blocking
Posted by anonymous NO[at]SPAM coolgroups.com at 3/1/2004 4:53:49 PM
Does anyone know where I can find some VB source for
blocking popups in IE?
... more >>
how pass variables within diferent assemblies ? w/t
Posted by Alberto GarcĂa at 3/1/2004 4:53:08 PM
Array Syntax?
Posted by gregory_may at 3/1/2004 4:37:56 PM
I feel silly for posting such a simple question, but here goes.
What is the difference between these statements - Case 3 doesnt work ... why
not?:
CASE 1
Public Case1 As Byte()
CASE 2
dim Case2() As Byte
Case 3
dim Case3 as new Byte()
I am trying to get somet... more >>
Starting / Stopping a Windows Service
Posted by Stu at 3/1/2004 4:28:09 PM
Hi,
I have been asked to write a little app the restarts a windows service under
certain conditions. It is not a service written in .Net?
thanks in advance,
Stu
... more >>
Constructors with arguments
Posted by SamSpade at 3/1/2004 4:09:53 PM
A while ago I tried to use arguments in usercontrol constructors but the
designer didn't like it so I worked around not using them.
However the code would be much cleaner if I could use arguments.
Is there some way that people use both the designer and arguments?
I suppose I could comment ... more >>
distributing .net framework
Posted by Brent Burkart at 3/1/2004 4:01:24 PM
Has anyone had the situation where they want to deploy an applicaiton
companywide, but the .NET framework is required for the application to work.
How did you address this situation? Is there some way to package the .NET
framework in with your application to be downloaded from a website?
All ... more >>
SelectSingleNode and Regular Expressions?
Posted by Craig Buchanan at 3/1/2004 3:46:39 PM
Is it possible to use regular expressions in an XMLNode.SelectSingleNode
method?
Thanks,
Craig Buchanan
... more >>
Calling Javascript Function from within VB Procedure?
Posted by Martin Feuersteiner at 3/1/2004 3:42:02 PM
Dear Group
I'm using VB to write an aspnet application. I would like to call a
javascript function from within a VB Sub or VB Function, is it possible? My
code is something like this:
VB Code:
Public Sub VBProcedure()
..
..
Run some VB Code...
..
..
Now call the javascript function
... more >>
how do i get the value of my primary key in datagrid?
Posted by jaYPee at 3/1/2004 3:41:59 PM
i'm wondering how can i get the value of primary key in datagrid.
thanks in advance... more >>
threads, forms, and com automation
Posted by Richard Bell at 3/1/2004 3:12:04 PM
I'm working on a VB.net app that uses IE, some forms, and multiple
execution threads. I'm unclear on a couple of threading related
matters and hoped that someone could provide some insight.
From within a thread of execution, if I do a form.show, what thread
does the form process execute on? ... more >>
ListView Double Click not Firing
Posted by Tom at 3/1/2004 3:11:47 PM
Hi
I have a listview with an event for mousemove and double click. Since
implementing a handler for the mousemove event the double click event
never gets fired, can anyone tell me how i should implement both, so
that they both get fired correctly:
....
Private Sub ListView_MouseMove(... more >>
Default Images for ImageList??
Posted by Parveen at 3/1/2004 3:11:09 PM
I'm trying to add icons to the toolbar that I have on my VB.NET form.
I know that I do this by using an imagelist. But I was wondering if there
are any common images that are already given to developers - such as
the file icon for a save button, the printer image for a print button?? If
so, w... more >>
Hosting Windows App via Browser
Posted by Rick at 3/1/2004 2:51:08 PM
I created a simple Windows app in VS.NET on Windows XP
I copied the "AppName.EXE" and the "AppName.Exe.Config" to a folder on a "WINDOWS 2003 Server"
The application opens fine over the browser but fails to access/read the "AppName.Exe.Config
ERROR: The remote server returned an error: (401) U... more >>
execute string
Posted by TJS at 3/1/2004 2:48:41 PM
in vbscript there was a command called "execute" which would process a
dynamic string
vb.net dropped that feature ...
does anybody have a solution for how to execute a string in vb.net through
perhaps an assembly or ???
--------example code-------------
for i = 0 to 2
dim vString... more >>
Argh!!!! Extended data grid!!!
Posted by CJ Taylor at 3/1/2004 2:12:14 PM
Alright, so I've found the error in Jan's grid,(much thanks to to Lutz
Roeders Reflector.NET) and its when it calls the CellValue setter in a
custom control... It's throwing that null reference exception.
Is this a problem with Jan's control? Is something not binding to it
correctly? Anyone... more >>
use splitter with datagrid on form?
Posted by B at 3/1/2004 2:08:39 PM
Hi,
I would like to split up an mdi form using a splitter
where a datagrid would be on the left side and child forms
on the right side. So far, I have placed a splitter on
the form, dragged it to the right just wide enough to drop
a datagrid control onto it. I don't know if this is even... more >>
I'm shocked
Posted by Rob Panosh at 3/1/2004 1:43:21 PM
I posted the message below last Friday and nobody replied, once again it
would be greatly appreciated if somebody could elaborate on the message "The
thread '<No Name>' (0x94c) has exited with code 0 (0x0)." that appears in
the output window as my application runs.
Should I worry about this me... more >>
Replace methode, Replace Function, Stringbuilder replace, Regex Replace, Split
Posted by Cor at 3/1/2004 1:34:55 PM
Hi Newsgroup,
I have given an answer in this newsgroup about a "Replace".
There came an answer on that I did not understand, so I have done some
tests.
I got the idea that someone said, that the split method and the
regex.replace method was better than the string.replace method and replac... more >>
NET controls
Posted by Viktor Zadro at 3/1/2004 1:15:16 PM
Where downloads the best free NET controls?
... more >>
Attributes for Enumerations - Friendly Name
Posted by Mythran at 3/1/2004 12:58:11 PM
I have an enum such as the following:
Public Enum MyEnum
EnumValue1
EnumValue2
EnumValue3
End Enum
I have bound, at run-time, the enumeration to a combo box. The combo box now has
three values, EnumValue1, EnumValue2, EnumValue3.
What I want is to display a friendly name f... more >>
Assembly Reference Problems
Posted by Ryan Gregg at 3/1/2004 11:24:04 AM
I'm having a major problem with assembly references that I keep running
into, and I'm really hoping that someone can help me out. The problem
occurs when I have three projects in my solution, two of which I have
developed in VB.NET and one in C#. When I use Project A (VB) inside Project
B (C#)... more >>
Save DataGrid conetents in a text file?
Posted by Amjad at 3/1/2004 11:11:06 AM
How can I save the contents of a DataGrid (bound by a DataSet) in a text file
Also, how can I "Select All" rows of a DataGrid programmatically
Amjad... more >>
Cant attach to dll error 126
Posted by bclegg at 3/1/2004 10:53:01 AM
Hi,
This is a bit like a house of cards.
At the bottom is a 3rd Party dll which uses pointers to access its
functions.
The next layer up is a C++ dll wrapper that exposes a series of
functions that can be called in the dotnet Framework.
Wrapping this is my component written in vb.net.
... more >>
Login timeout
Posted by Sueffel at 3/1/2004 10:52:39 AM
I have been tasked with yet another goofy thing. I need to make, I'm going
to assume it's a system service, that when a user logs in and walks away, it
will log them out. I'm thinking, using a global hook, if the mouse/keyboard
hasn't been touched in 10 minutes, run whatever is needed for force... more >>
how to access 2 namespace?
Posted by jaYPee at 3/1/2004 10:49:20 AM
i have downloaded some example off the internet. the example includes
namespace. now i want to include the two example in my project in my
vb.net app. how can i access 2 namespace w/ in my 1 form?
in my form i have declared this code...
Namespace DataGridCheckBoxChangeEvent
now i have anoth... more >>
pass form to function
Posted by stanuf at 3/1/2004 10:35:24 AM
Hi!
I am new to vb.net and have a question on how to pass a form to a function.
Could someone point me to an example or give me a quick example on how to do
this.
Thank you
Stacy
... more >>
Strong-Typing? Or Nested Collections
Posted by Atley at 3/1/2004 10:26:04 AM
I am trying to set up a nested collection so I can run statements like this:
me.lblquestions.text = mysteps.item(1).questions(1).Asked
Any ideas on how to do this? I have created a Class(Steps) with a nested
Class(Questions) inside of it and a Collection of that Class(Steps) and it
works fi... more >>
ExtendedDataGrid
Posted by CJ Taylor at 3/1/2004 10:11:09 AM
Has anyone had problems getting custom controls to work in Jan's Extended
Data Grid? I'm just tryin to amke a simple button column extension and keep
getting an exception on the paint.
Tried everything... anyone have some experience with this?
Thanks,
cJ
... more >>
Code to open Indiana Cash Drawer from VB.Net/Crystal Report
Posted by shak17 NO[at]SPAM hotmail.com at 3/1/2004 10:03:59 AM
I have a VB.Net application which is deployed on Citrix. It uses
Crystal Report 8.5 for printing reports. One of my remote users has an
Indiana Cash Drawer connected to the printer port. When the crystal
report is printed the user wants her cash drawer to open. Can anyone
give me ideas as to how... more >>
Excel: Check for borders of cells in all workbooks (vb.net)
Posted by Glen Vermeylen at 3/1/2004 9:28:40 AM
Hi,
For a project at school we have to automate the assignment of seats in
classrooms to students during the exams.
The lady who previously did everything manually kept the layouts of the
classrooms in an excel-document: 1 sheet per classroom, and she marked
the cells which represent the seat... more >>
How PtInRegion works under VB.NET
Posted by wael at 3/1/2004 9:28:32 AM
Hi everyone
Can someone please tell me how do I use PtInRegion? I have been trying for
few days but no success.
Do I have to link any extra library or .net component in order for my code
to run?
I'm running XP Pro and VS.Net ver. 2002
I have included below my latest code attempt
... more >>
Windows Form startup position
Posted by Rich Wallace at 3/1/2004 8:48:39 AM
Hi all,
How can I load a form and display it in the lower right hand corner and have
a 'docked' appearance to the system tray?
TIA,
-Rich
... more >>
Hide a column in a datagrid
Posted by mike at 3/1/2004 8:36:06 AM
I have been looking on different message boards to see how to hide a column in a datagrid. The only thing I have found is the following
RacDataSet.Tables("TableName").Columns("ColumnName").ColumnMapping = MappingType.Hidde
Is this correct? It doesn't seem to be working so I don't know i... more >>
Instructions... Wonderful thing...
Posted by CJ Taylor at 3/1/2004 8:19:08 AM
You know, you can learn a lot about the datagrid control by just reading
about it. =)
BTW, Jan's Grid is amazing... Anyone paying hundreds of dollars for a grid,
take the few minutes out to read how datagrid works, and you will never need
another. =0
Just my input.
-CJ
... more >>
List of all Forms in Project
Posted by jlpraz NO[at]SPAM corobori.com at 3/1/2004 8:14:37 AM
I need to run a code to scan all my forms to retrieve some information
about my controls. I can run it when I am in a form now I would like
to run this code for all my forms in my project so I can collection
that information for all my forms. My sub starts with this: Private
Sub DoIt(ByVal frm a... more >>
Email without SMTP Server
Posted by masoodadnan NO[at]SPAM hotmail.com at 3/1/2004 6:42:30 AM
Hello,
Is it possible to send an email from vb.net application without using
SMTP server? Are there any third-party components that I can use?
Thanks... more >>
Datagrid
Posted by Newman at 3/1/2004 5:56:09 AM
I setup a data grid and figured out that I could select a value by doing the following
DataGrid1.Item(0, 0
However, I don't want to have to specify the cell location. I want the user to be able to select the cell location and get the appropriate value. Does anyone know how to dynamically get th... more >>
Using a datetimepicker in a datagrid
Posted by Robert Batt at 3/1/2004 3:26:06 AM
Hello, I have a bound datagrid that contains the following date column
Dim tcQuoteduedate As New DataGridTextBoxColum
tcQuoteduedate.MappingName = "MYCustomerCustomerTQuoteDueDate
tcQuoteduedate.HeaderText = "Quote Due Date
tcQuoteduedate.Width = 8
... more >>
Assembly language link with VB.NET
Posted by Chin Fui at 3/1/2004 12:38:46 AM
I am writting a CD-ROM Emulator application using assembly language and link
with the VB.NET interface. But, I am not sure whether assembly language is
linkable with VB.NET.
Another question is I am now stuck in the coding, not much idea in
implementing this application. I hope to get some hin... more >>
Reflection from System assemblies
Posted by Paul Hatcher at 3/1/2004 12:32:00 AM
Hi
I'm trying to create an instance of an object that's in one of the System
assemblies; this code works fine for classes in my application, but fails
when the assembly is not in the application directory, e.g when it's in the
GAC.
Private Function Create(ByVal className As String) As Objec... more >>
|