all groups > vb.net > november 2003 > threads for monday november 10
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
'less than or equal to' signs
Posted by Murt at 11/10/2003 11:46:23 PM
Hi,
when writing equations in vb .net,
how do you enter the signs "less than or equal to" etc.
thanks
Murt
... more >>
Printing Existing GIF Files in ASP.NET
Posted by Leeman Schmidt at 11/10/2003 11:35:28 PM
I seem to having a problem printing an existing GIF file to my default printer. I do not want to display the file in the browser, I just want to print it! Can someone help with a routine to accomplish this? Thanks!
Leeman Schmidt
kreuzmarket@bluebon.net... more >>
printing in black and white
Posted by Brett Baisley at 11/10/2003 11:02:13 PM
Can someone tell me where to find the setting to print all print outs in
black and white, instead of trying to print out in color?
I can't find it in Options
... more >>
System.ArithmeticException
Posted by tom k. at 11/10/2003 10:36:05 PM
H
I have XP and can't run any of my Visual Basic .net projects. I get this error every time I try to run one:
An unhandled exception of
type 'System.ArithmeticException' occurred in
system.drawing.dl
Additional information: Overflow or underflow in the
arithmetic operation
I should note th... more >>
Click event can not be found error
Posted by Cal at 11/10/2003 9:30:53 PM
I have textboxarray txtRatio and the following routine to handle the click
events.
Private Sub txtRatio_Click(ByVal eventSender As System.Object, ByVal
eventArgs As System.EventArgs) Handles txtRatio.Click
Dim Index As Short = txtRatio.GetIndex(eventSender)
mlngHasFocus = mlngCODE_FOR_RATIO
... more >>
How to change the sequence of the Nested DataRelation XML elements/attributes
Posted by Thu at 11/10/2003 7:58:51 PM
Hi,
I create a Dataset to link three tables in my Access
database. E.g. The three tables are [Order], [Customer],
[Product]. I then create 2 DataRelations, 1st relation
(Order_Cust_Rel) links [Order] and [Customer] using
CustomerID field that exists in both tables and 2nd
relation (Order... more >>
Master/Detail Binding with datagrids
Posted by erniej at 11/10/2003 7:38:36 PM
as per instructions in the walkthrough, I have managed to
create a master/detail relationship between two datagrids.
However I have a requirement to apply this to three
datagrids and the third datagrid does not seem to reflect
the selected row on the second datagrid using this method.
The... more >>
getting createDocumentFromUrl() to work
Posted by Pat Mac at 11/10/2003 7:27:23 PM
Does anyone have a working example of the HTMLDocument.createDocumentFromUrl
function?? The few examples I found on the net don't seem to work. Here's
a piece of code that seems to go through some unnecessary steps but was
supposed to work, but for me it throws an "unknown error" exception.
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How to receive the click event when running very long procedure?
Posted by Mrkrich at 11/10/2003 7:23:37 PM
I have one procedure that will take very long time before
it finishs. During its running, I provide users a button
to cancel this process if they don't want it to run
anymore.
I have one varible for process status if user click the
cancel button this variable will change to False and the
... more >>
Adding itens into a combobox
Posted by Marco Roberto at 11/10/2003 6:55:57 PM
Hi,
is there anyway to add itens into a combobox after this
control be bound with a dataset?
Regards,
Marco
... more >>
Select text multiple?
Posted by Able at 11/10/2003 6:51:19 PM
Dear friends
It exist a number of various apps displaying multiple selected text.
Normally every search function displays all hits as selected text in some
sort of text-control. Do somebody know how to manage this in VB.net and what
control to use? Is this possible with RichTextBox-control?
... more >>
Optional Paramter
Posted by Gene Ariani at 11/10/2003 6:09:36 PM
Is there an elegant way to have an optional parameter in sql string like
Select * from Name where (mytextbox is empty select everyone else select
lastname=mytextbox)
Any direction is appreciated it.
Thanks
Gene
... more >>
validating input controls
Posted by Osmosis at 11/10/2003 5:07:09 PM
I have a form with several controls, which all have their validating and
validated events in my code.
However, if these controls don't get focus, these events don't get called.
When my OK button is pressed, I need all the controls to be validated.
How can I get this done ? Do I have to ca... more >>
kernel32
Posted by Mark Field at 11/10/2003 4:01:42 PM
When I insert the code below, it claims that there is a User Defined Type
Not Defined. In the cases below, it's refering to SYSTEM_INFO and
OSVERSIONINFO. I have matched the reference libraries up, and it still does
not compile. Any ideas? Thanks!
-Mark
** THESE TWO DO NOT WORK ***
Priva... more >>
VS NET 2003 - controls like in Win Xp
Posted by Rado at 11/10/2003 3:34:43 PM
Hello.
Somewhere I read that In visual studio 2003 will be posible set in controls
e.g. : button like button in Windows Xp ......., without makeing manifest
file.
Thank for answer.
... more >>
vb.net modal form
Posted by Chris Thunell at 11/10/2003 3:29:51 PM
I have a form with information on it, when a button is clicked, another form
is opened with the following code:
Dim myForm As New ReqVendorSelect
myForm.Visible = True
Once i'm done manipulating some data on the 2nd form, the 2nd form is closed
and the original form is now visible. Is there ... more >>
HTTPMail / WebDav Question...
Posted by MJB at 11/10/2003 3:14:53 PM
I'm trying to execute a MOVE command via WebDav for my Hotmail account (
trying to move a message into my trash folder ). I'm getting an
authorization exception. I am pretty sure that I'm not getting/setting the
proper cookies. I was hoping someone out there may have an example of how
to do a... more >>
Graphics painting VB.NET
Posted by Dafü at 11/10/2003 2:48:38 PM
Hello!
I have an application that paint graphics in VB.NET.
Each graphic is painted after a long calculation process.
My problem is when another windows pass over my graphics
or I resize the window all graphs disapear.
How can I maintain the graphics?
I use to draw the graphics lines... more >>
Creating Stand-Alone / Single EXE VB.NET Applications
Posted by William Hughes at 11/10/2003 2:46:56 PM
I'd like to be able to create a VB.NET application that is
a single .EXE file -- obviously with the requirements that
the .NET framework and any other dependancies are already
installed on the PC.
My previous efforts havn't been too successful.
Any information would be greatly apprecia... more >>
How to get system constance???
Posted by zurg at 11/10/2003 2:46:37 PM
Many function uses system constans like S_OK or
RPC_E_NO_GOOD_SECURITY_PACKAGES...
Where should I look for them?
Propably it's obvious - but not for me...
Please help
zurg
... more >>
How to identify the tables in a dataAdapter?
Posted by Geoff Pennington at 11/10/2003 2:27:49 PM
I have a class method that returns a DataAdapter. I want to access the
table(s) contained in the DataAdapter. Of course, accessing the DataSets
would be good enough, because I could get the tables from there. I can't
find a way to do this. Am I missing something?
Much obliged.
... more >>
Packaging VB.NET Application with Framework
Posted by Mr Utkal Ranjan Pradhan at 11/10/2003 2:24:59 PM
Hi Friends
I've developped a vb.net application. Now i want to deploy the application
to an Windows 98/Me/2000/XP machine which donot have .NET Framework
installed. Now I want to package my application and the framework into a
single exe file. So that when the installation of my application star... more >>
Problems with Process Class after WaitforExit
Posted by Christian Billig at 11/10/2003 2:24:50 PM
Hi,
well i've a problem and i don't know how to solve it.
I wrote a function, which starts a Process for a user by using the API
CreateProcessWithLogon.
Afterwards i want to know if the process already ended and with what
exitcode it has finished.
So i created an process class object a... more >>
IP Address Control
Posted by Mr Utkal Ranjan Pradhan at 11/10/2003 2:18:40 PM
Hi friends
I want to use the IP Address control which is avilable to VC++. So how can i
use the ip address control in vb.net without using any third party controls
????
Thanx
Mr Utkal Ranjan, New Delhi.
... more >>
Need Fast help pls... Format issue!
Posted by Ali Eghtebas at 11/10/2003 2:10:50 PM
Hi,
Need fast help pls:
Format (1 "###,###.##") = "1" <<<<----- OK!
Format (0, "###,###.##") = "" <<<<----- WHY?
How can I make this work with Zero?
I need to use Format, otherwise it will be a time consuming work to process
0 in a If of some kind.
--
Thanks in advance
Ali Eghteb... more >>
ListControl question
Posted by Mike Caputo at 11/10/2003 1:32:55 PM
Does anyone know why the ListControl base class doesn't have an Items
property in Windows Forms, but does in Web Forms? This seems kind of
pointless and is really annoying when trying to write a generic procedure
for adding items to a ListControl in Windows Forms (I know I could use the
DataSou... more >>
Re: DotNET Help?
Posted by Webmaster at 11/10/2003 1:29:34 PM
Why is it that people are ignoring me? What did I do? All
I want is to get some help about closing a form after
another opens. All of the options given to me do not
work! Give me something that does work!!... more >>
Whidbey UInt Support?
Posted by SuperRider at 11/10/2003 1:12:40 PM
Any chance MS will implement better UInt support in Whidbey? I'm tired of
converting DWORDs into Int64s before I can use operators on them.
C# does not suffer from this GLARING limitation.
Thanks.
... more >>
Hiding topmost form when parent form deactivates
Posted by Max at 11/10/2003 1:10:28 PM
Hello,
My VB.NET application displays a Windows form in a panel
on my main form. While my application has the focus, I
want the form in the panel to have the "topmost"
position, even if it is not the active form.
Everything works as expected, but if the user selects
another applicatio... more >>
Browser Helper Object in VB.NET
Posted by Joe Johnston at 11/10/2003 1:08:20 PM
I need a Browser Helper object written in VB.NET Please
point me at a good example.
Joe
MCPx3
~ Hoping this MSDN ng three day turnaround is true.
Additional info:
What is a BHO? In its simplest form, a BHO is a COM in-
process server registered under a certain registry's key.
Upon s... more >>
Iterate through members of a class, without knowing how many are
Posted by Crirus at 11/10/2003 1:04:54 PM
I have a class.
I need to write a routine in this class, that loop through it's members (in
a instance of the class) and concatenate all members values as string.
I need to filter does members with a custom attribute (found a way), so only
some of them are considered to be added to final string.... more >>
print message box
Posted by fbouabcha at 11/10/2003 1:01:32 PM
Hi
It possible to display a message box with possibility to print.
thanks
... more >>
SecurityException in Console Application on GetCommandLineArgs()
Posted by jwgoerlich NO[at]SPAM quantaonline.com at 11/10/2003 12:50:28 PM
I wrote a simple VB.Net console application. It accepts command line
parameters and creates a folder structure. It works on the local file
system without a problem
If I run the console app from a UNC or network share, I get a
SecurityException on the following line:
Dim args() As String = E... more >>
Best way to store data
Posted by Crirus at 11/10/2003 12:41:43 PM
Hi
I have about 1000 records of users to store.. I dont like the ideea of a
database server...
How to store does data in a structured way?
An XML?
How big can became such an xml, because I whould like to load it and search
for data.
Can I search for some data without loading all xml into memo... more >>
Data Binding From VB6 to VB.Net
Posted by Trevor Fairchild at 11/10/2003 12:17:59 PM
I have been programming (rather comfortably) in VB6 for
about a year. I work almost entirely with databases.
I have just purchased VisualStudio.Net and am trying to
wade through the totally different database connections.
I have read through numerous websites about it, but every
example... more >>
Re-implementing ISerializable.GetObjectData() on DataTable derived class
Posted by Frans Bouma at 11/10/2003 12:06:23 PM
Hi,
I have a serious problem with VB.NET and a DataTable derived class and I
can't figure out how to solve it. I have implemented it in C# where it
works perfectly, but I can't port one statement to VB.NET and this is
crucial: re-implementing ISerializable.GetObjectData() in the DataTable
... more >>
SmtpMail Problems
Posted by Russell Stevens at 11/10/2003 11:55:50 AM
I generate pdf files on my server and allow users to access them via a
browser and also email them. Most files work fine whether the user uses his
browser or gets an email with a pdf attachment which he can then open with
Acrobat. All my pdf files work fine via a browser, but some are corrupted
... more >>
Please, help me to solve this problem
Posted by Mat at 11/10/2003 11:40:49 AM
I am developping multi-user windows application. i use Access database.
user edit, add and delete data from database.
Request:
when an item is deleted ,added or modified by an user, all others user in
the network which has application running should automatically see the
change. in case of r... more >>
Instaling service
Posted by zurg at 11/10/2003 11:36:37 AM
Hi!
Using VB.Net I've created a Windows Service and it's installer. I need
service to be interactive with the descop - I'm sure that's just something
easy inside instaler (for example: Intreactive = True) but I simply can't
find it...
Anybody?
It's very important for me - please help!
... more >>
Unit testing tools for .NET ?
Posted by gicio NO[at]SPAM web.de at 11/10/2003 11:35:13 AM
Hi!
I'm looking for unit-testing tools for .NET.
Somthing like Java has --> http://www.junit.org
regards,
gicio
... more >>
Crazy ideea, but who knows!!
Posted by Crirus at 11/10/2003 11:29:07 AM
Hello
I'm looking for this:
A custom attribute I can mark my class members as NonSerialised or
something.
After all marks are done, I whould like to write a method that can iterate
through that members and do something with them...
Any chance?
--
Ceers,
Crirus
--------------... more >>
IE Control
Posted by krygim at 11/10/2003 11:02:20 AM
In VB6 I put a web browser control on my form to display web pages. In
VB.NET, will there be any framework class for the job or I have to use the
same web browser control?
TIA
... more >>
remote control problem
Posted by Gita George at 11/10/2003 10:31:53 AM
What is the best way to control, from a VB .NET program, another
apllication, for example a Windows service, written also in VB .NET, that
has no user interface.
The purpose is to create an user interface for another application.
Thanks.
"Equal bytes for women"
... more >>
delay with vb.net and sql 2k server?
Posted by T Perkins at 11/10/2003 10:24:00 AM
no matter how i code it, there is always 3-5 second pause on retrieving data
from an sql 2000 server. this pause only happens on the first try, after
that every access is back to being normal. is there a known issue with this
or am i doing something dumb?
im using the following code:
what im ... more >>
For..Next--How to count Backwards
Posted by Eric Cathell at 11/10/2003 9:54:19 AM
I am using an arraylist to process data....the unique problem i have run
into is that if I delete one of the indexed values the arraylist is
reindexed and i get an exception thrown. I need to start at the last item in
the arraylist and go backwards....a for next loop doesnt seem to let me do
thi... more >>
type casting mystery
Posted by Jon the Blind at 11/10/2003 9:44:19 AM
I would greatly appreciate if someone could shed some light on this.
In a class inherited from CollectionBase, I have a function something like
this:
Public Function ToArray() As Widget()
Return CType(MyBase.InnerList.ToArray, Widget())
End Function
This is meant to retur... more >>
Obfuscator
Posted by Crirus at 11/10/2003 9:41:14 AM
I need a good and tested obfuscator free...there is one available somewhere?
--
Ceers,
Crirus
------------------------------
If work were a good thing, the boss would take it all from you
------------------------------
... more >>
How backup or copy form
Posted by Woody Splawn at 11/10/2003 9:09:42 AM
I am somewhat new to VS.net in general. As a result I am prone to make
mistakes. When adding some new feature to a a form it would be nice if I
could back it up before trying something that might mess things up. Also,
there are times when a new form is enough like an old one that the best way
... more >>
which font has same width?
Posted by kathy at 11/10/2003 8:46:52 AM
I want to alignment the text output. Some font(arial,
Time New Roman, etc.) characters do not have the same
width. Could anyone tell me which font has same width?
Thanks.... more >>
Listview Keypress
Posted by MattG at 11/10/2003 8:16:27 AM
Is there any way to change the column that the Listview uses for the
keypress event?
Item 0 is the employee number, Item 1 is the Last name... I want the
keypress to scroll through last name.
Thanks!
Matt
... more >>
Network Programming
Posted by Satish at 11/10/2003 7:39:48 AM
Hi Friends
I am quite familier with .NET
also i am working ASP.NET for quite some time.
I would like to learn network programming in .NET.
I am new to network programming, i did not do any network programming till
now. So where i should start from, coz the .NET SDK information expects some
kin... more >>
Datagrid column width and row height
Posted by salih ataoz at 11/10/2003 6:46:42 AM
i have a form1
and i put Datagrid1 on it
and i want to change its column width and row hight
ex:
datagrid1.column(0).width=200
datagrid1.row(0).width=100
or
datagrid1.allcolumnwidth=200
and
datagrid1.allrow height=300
its not tru upstairs but how can i write that to see the
datagr... more >>
Append text file
Posted by Amjad at 11/10/2003 6:11:50 AM
How can I append a text file to another?
Amajd... more >>
DataGrid - EditCommandColumn
Posted by Tom at 11/10/2003 4:54:09 AM
Does anyone know of a way to format this column at run
time?
I have a datagrid with one bound column plus the Edit,
Update and Cancel buttons.
When I press the Edit button, the text box surrounding my
one column field does not size itself to the content
returned from the database.
i... more >>
Easy one I guess... ADO.Net & Access
Posted by BY at 11/10/2003 2:44:49 AM
Hi,
This is my code and it works fine...
Dim Conn As OleDb.OleDbConnection
Dim Cmd As OleDb.OleDbCommand
Dim Reader As OleDb.OleDbDataReader
Dim i As Integer
Conn = New OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:\SAMPLES\Northwind.mdb;Persist Security Info=Fal... more >>
WHY BUY NOW
Posted by Menon at 11/10/2003 1:26:27 AM
Hi fellows,
May be this is not the general discussion group but
looking at the road map for development tools... please
let me know whether its a good option to buy the visual
studio 2003 when the microsoft is coming up with major new
versions in 2004 and 2005, which will make us upgrade ... more >>
sending e-mail via smtp server
Posted by Wojciech Kowaluk at 11/10/2003 1:14:00 AM
i want send e-mail usimg smtp server. i wrote this code:
Dim wiadomosc As Web.Mail.MailMessage = New Web.Mail.MailMessage
Dim config As Web.Mail.MailAttachment = New _
Web.Mail.MailAttachment(sciezka)
wiadomosc.Attachments.Add(config)
wiadomosc.From = "ktos@gdzie... more >>
|