all groups > vb.net > may 2004 > threads for monday may 31
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
What does this do?Option Explicit?
Posted by ken at 5/31/2004 11:36:01 PM
hi All
What does this command dot
Option Explicit... more >>
rounding decimal place..
Posted by Ken at 5/31/2004 9:26:02 PM
HI all
I would like to round up a double number, for example, 100.689 and round up to 100.6
i know i can do it with Round function. However, it doesn't show the any decimal place if the number is 100. I would like to show the decimal places even though they are 100.00.
Thanks... more >>
SQL Database column has 2 decimals - Textbox displays 4????
Posted by Mike at 5/31/2004 7:13:04 PM
Hi All;
I have created a MSDE SQL table with a column set to money, format is
standard with 2 decimal places. Into the field I put 12345.67. When
you view the data it shows 12,345.67. When I run the form, fill the
dataset the Textbox shows 12,345.6700.
Do I need to reformat the Textbox aft... more >>
Share CDO Session Among Threads
Posted by Gary Lee at 5/31/2004 6:43:43 PM
In VB.NET using CDO, I'd like to allow multiple threads to share a single
MAPI.Session object. If I declare and instantiate sessions within each
thread, I'm OK (although this negates the efficiency I'm looking to add).
But when I declare, e.g.,
Public objSession As MAPI.Session
I can'... more >>
HttpChannel
Posted by David at 5/31/2004 6:25:19 PM
What is the namespace of HttpChannel type in VS.NET 2003?
I'm using System.Runtime.Remoting.Channels.Http, but there is error while
compiling.
Error Message:
"The type or namespace name 'http' does not exist in the class or namespace"
... more >>
XML Tables?
Posted by Able at 5/31/2004 6:25:12 PM
Dear friends
The XML format for reading from .Net is as this:
<?xml version="1.0" standalone="yes"?>
<dataroots>
<Table1>
<ID />
<Name />
</Table1>
</dataroots>
Is it possible to impment one more table, ex. Table2 in the same XML file
and if so how is the format?
Regards... more >>
RowFilter Help, Please ...
Posted by Jeff at 5/31/2004 5:19:30 PM
Hi -
For my VB.NET app, I have a SQL2K database that I use to create a dataset
with multiple data tables. I've created a dataview (dvReportsTo) of one of
the tables, SCPMaster, and I've bound a combobox control to that dataview.
I'm trying to filter the dataview based on values in a second ta... more >>
Newbie question: Windows Forms
Posted by Adriano at 5/31/2004 5:11:52 PM
hello,
i want to create a frame in a windows form and call other pages inside that
frame using main menu or buttons,
can anyone help me how to do that?
it would be great if you could send me sample project files,
thanks in advance,
Adriano
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
[ Need Info ] Complied VB.NET in Windows 98 ??
Posted by Martin at 5/31/2004 5:11:17 PM
Hi All,
Im looking forward for info whether VB.NET complied application would =
run in Windows 98 or not ? Does any one have tried to do so ??
Regards,
Martin... more >>
DirectDraw Tutorial
Posted by Tyson Ackland at 5/31/2004 4:39:13 PM
Is there a good site folks know of that leads a beginner through DirectDraw
using VB.NET?
TyBreaker
... more >>
DeleteCommand.executenonquery with ADO.NET - How do I know if a record was deleted?
Posted by Rodger Dusatko at 5/31/2004 4:32:31 PM
After entering the sql statement da.deletecommand.commandtext = "Delete from
Users where username = @username" I set the parameter to the username I wish
to delete.
This successfully deletes the user. However, even if I enter an non-existant
user, I cannot discern whether a user was deleted or... more >>
System.Activator.CreateComInstanceFrom
Posted by scorpion53061 at 5/31/2004 3:13:37 PM
Hello to all and hope everyone on holiday is enjoying themselves!!
I am studying this namespace and method. In the docs it says:
"Creates an instance of the COM object whose name is specified, using the
named assembly file and the constructor that best matches the specified
parameters."
T... more >>
Sockets Server / Sockets Client - unable to read data from the transport connection
Posted by m_doolio NO[at]SPAM hotmail.com at 5/31/2004 2:37:04 PM
I'm working on a client - server application based on the 'How to
Sockets Server and How to Sockets Client' code from the Visual Basic
..NET Resource Kit.
Since I want to be able to send 'big strings' instead of 'one liners'
I check the streams for terminators.
I'm having problems with the co... more >>
Handling Enumerations
Posted by Joe H at 5/31/2004 2:18:48 PM
Enumerations are pretty useful. But the one recurring problem I have had
with using them is the inevitably, the list of options being enumerated
grows. Then the program has to be recompiled to account for the new
options.
For cases like this where the list of options can change over time, is... more >>
Reading a form control from a text file
Posted by GeneJoe at 5/31/2004 1:46:05 PM
Shown below is code for a very simple form. It has a single button that shows a "Hello World" message. I have this code in a file named: MyForm.tx
================================
Public Class Form
Inherits System.Windows.Forms.For
Private components As System.ComponentModel.IContaine
... more >>
Problem with IndexOf
Posted by Richard L Rosenheim at 5/31/2004 1:38:43 PM
I'm having a problem with IndexOf on a large string. The string contains an
ASCII file which is about 45K. IndexOf is not finding substrings that I
know are in the string. Yes, I double-checked my typing. I'm also able to
locate the strings using a text editor. One substring is about 38K
ch... more >>
COM 1
Posted by André Almeida Maldonado at 5/31/2004 11:36:58 AM
Hey guys, I'm trying to send some data to a printer trough COM 1 but I'm not
having success. How can I do it?
Thank's...
... more >>
Making a Decision BEFORE Form Load
Posted by jcrouse at 5/31/2004 11:11:03 AM
I have a post about two below this that describes a logical decision. I would like to perform this when the app launches and before a form loads then load a form based on the returned criteria. What is the best way to do this?
Thank you,
John... more >>
Set a icon to a web application
Posted by ruca at 5/31/2004 10:57:57 AM
Hi,
I would like to set an different icon, than explorer icon, to my web
application. When we visit a web page, usually in address bar appears IE
icon before the address. What I want is to substitute that icon to another,
like happens when we visit, for example, http://www.codeproject.com .
H... more >>
String Search Woes Continue
Posted by jcouse at 5/31/2004 10:26:06 AM
I am trying to find if a string exists in a file. If it doesn’t, it should return a “-1†and I’ll make my decision based on that
Here is a sniplet of the text file
game
name mapp
description "Mappy (US)
year 198
manufacturer "Namco
history "\nMappy (c) 03/1983 Namco. \n\n- TRI... more >>
Ask about the resource file
Posted by Ray at 5/31/2004 10:23:11 AM
Hi,
I would like to ask while a resource file is added to a form. Can the
resource file be shared by other forms?
Thanks a lot,
Ray
... more >>
Message in toolbar
Posted by Sammy at 5/31/2004 9:51:03 AM
H
Using vb.net 2003 standard version how can I display basically the tooltip messages for any (and all ) controls in a status bar
What I want is to have the text displayed for a control's tooltip, show up in the status bar instead
I do not believe that vb.net 2003 standard version has the extende... more >>
deploying crystal dlls with a vb.net project
Posted by neilnewton001 NO[at]SPAM yahoo.com at 5/31/2004 9:20:16 AM
Hi everyone,
I recently wrote a vb.net app which includes some crystal reports.
The user has very little money in their budget and have been without a
working application for quite a while. This being the case I worked
with what was available: I used vb.net and crystal 8.5. The crystal
rep... more >>
Game port
Posted by jscholz NO[at]SPAM mail.com at 5/31/2004 7:42:01 AM
Hi all,
How do you read data from the game port? Specifically, I want to read
the analog values from the port. Does VB.NET have a function to do
this? Thanks for any help.
J... more >>
Show records
Posted by Joachim at 5/31/2004 5:46:01 AM
Hi,
Als a beginner, I am looking for a way to show records
My code is
Private sub Connection(
Dim odbconn_Pro As OleDbConnectio
Dim odbcomm_Pro As OleDbComman
Dim odbdare_Pro As OleDbDataReade
Dim DataFile as Strin
DataFile = "H:\Production\Prod.mdb
... more >>
Setting Special Folders
Posted by Quemasda at 5/31/2004 5:43:39 AM
Hi,
The application I'm working on should set the Special Folders (Favorites,
My Documents, ...) but I can't find the way to do it. So far, I've been able
to get the path of those Special Folders but not set them. Does anybody know
how?
Thanks in advance, Que_Mas_Da.
... more >>
Problem setting a group of radio buttons from a dataset
Posted by greg at 5/31/2004 4:46:28 AM
I'm trying to set a group of radio buttons based on the
value of a text field in a dataset. This is my code:
Dim ds As DataSet
ds = dtsVideo
Dim dt As DataTable = ds.Tables
("tblPeramItems")
Dim dr As DataRow = dt.Rows(0) 'first row in
data... more >>
Losing patience with .NET... one thing after another... .Update Method..
Posted by graham at 5/31/2004 3:33:41 AM
Hi all,
<bitching and moaning section>
I am asking for any help I can get here... I am at the end of my tether... I
don;t consider myself a genius in any way whatsoever, but I do believe I
have a logical way of thinking that has served me well during my years of
application development with v... more >>
Empty field in Access
Posted by Joachim at 5/31/2004 2:51:06 AM
Hi
I am a beginner in VB.NET, and have a problem with empty field in Access
I have transfered a worksheet in Excel to Access table. Some of the cels are empty
I use VB.NET program to acces this Access table (product.mdb)
One of the statements is to validate whether the field empty or not
My ... more >>
How to display VB.NET ActiveX Control including more than one dll in IE
Posted by mpiu NO[at]SPAM hotmail.com at 5/31/2004 2:45:26 AM
Hi,
For developing ActiveX Control hosted in IE, "classid" setting is like
that:
"<component-name>.dll#<namespace>.<usercontrol-name>".
However, if my main control includes other ActiveX Control libraries
(*.dll), nothing can be displayed with such settings. Are there any
solutions?
Rega... more >>
Hi all i am facing kproblem withe netscape
Posted by suresh chowdary at 5/31/2004 2:42:02 AM
In internet explored my Asp.Net proect is working properly. but the same
is not working in Netscape. Tell me any solution please
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!... more >>
|