all groups > vb.net > january 2004 > threads for saturday january 3
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
Converting variables
Posted by Gene at 1/3/2004 11:52:48 PM
I try that ctype(1.1, integer) will turn it to 1
and ctype(1.8, integer) will ture to 2
but how to convert 1.1 to integer but to 2?
is there any method to do this?
... more >>
Need to print out RTF text into a PictureBox in VB.NET
Posted by Neal at 1/3/2004 10:01:43 PM
Hi,
I saw the VB6 Code to do this at this link:
http://www.dotnet247.com/247reference/msgs/11/56581.aspx
The VB6 Code reads as follows:
Private Type Rect
Left As Long
Top As Long
Right As Long
Bottom As Long
End Type
Private Type CharRange
cpMin As Long ' First character of rang... more >>
Problems on Creating many arrays on the same time
Posted by Gene at 1/3/2004 9:46:38 PM
I want to create many different arrays on the same time,
so I think of the following:
dim "Staff" & "Num" & "(10)" as integer
Can i do the similar things???
because I want to increase the "Num" from 0 to 10,
so I have 10 arrays with different names.
but i find the above statement is not work.
... more >>
HashList or Array/Arraylist
Posted by Jarod_24 at 1/3/2004 8:14:27 PM
Does anyone know how efficient the HashList is to lookup values compared to
an Array?
I know that on large amounts of data, the HashList is better, but i got a
list that dosen't seem to get any bigger than 150 items.
And is it better to make your own Array or using ArrayList?
... more >>
do while
Posted by zymotic NO[at]SPAM bigpond.net-dot-au.no-spam.invalid at 1/3/2004 6:08:02 PM
Hi,
I'm just starting out with vb.net and programming in general. Can
someone tell me why that when i run this code and enter any number
into txtAnnualSal (other than 0) that i get an infinite loop
happening?
Private Sub btnCalcTax_Click(ByVal sender As System.Object, ByVal e As
System.Eve... more >>
Supressing Form Popup
Posted by Tim at 1/3/2004 6:03:58 PM
Hi,
I have have a program containing two forms that are
open at the same time. The main form updates the second
when the user enters input by adding a control to it. My
problem is that when the second form (which is in the
backgroud) is updated it suddenly jumps to the top of the
z-o... more >>
Timed Interval Coding
Posted by Slonocode at 1/3/2004 6:03:09 PM
I need to perform some updates such as retrieving a web page every 1 hour
or so. Is the timer control approriate for this kind of thing? Are there
other ways to do something like this?
Thanks
Slonocode
... more >>
Square bracket usage
Posted by Daniel Klein at 1/3/2004 5:00:29 PM
In the MSDN documentation I see examples like:
Dim val As [String]() = {"a", "b", "c"}
If I remove the brackets, ie, Dim val As String(), it seems to work
the same way.
What are the brackets for? And what is the difference when they are
used/omitted? I can find no mention of this anywhere... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Receiving a function parameter
Posted by Yaron at 1/3/2004 3:05:22 PM
Hi,
I have a procedure in which I need to receive a parameter
which is actually the address of another procedure to
call. For example:
createEditBox(onSuccess, onFailure)
The onSuccess and onFailure paramaters are procedures to
call if the createEditBox function was successful or not.... more >>
Video fullscreen or in form
Posted by sgier NO[at]SPAM dplanet.ch at 1/3/2004 2:22:57 PM
Hello
I've only code for VB5 which doesn't seem to work in NET.
Anyone could help me out here? Simply for outputting a video
any format to a form in a Visual Basic.NET program or maybe
fullscreen. Copy and paste code would be most appreciated.
Many thanks Michael... more >>
Sending e-mail VB.Net with win98
Posted by marcvries NO[at]SPAM home.nl at 1/3/2004 12:59:15 PM
Hello!
I will send a e-mail with a VB.Net application from a Win98,winMe platform.
Can any help me to fix this?... more >>
Timeout expired. The timeout period elapsed prior to completion of the operation
Posted by Manoj K at 1/3/2004 12:32:55 PM
Environment:-
Framework 1.1
DB: SQL Server 2000 (SQL Provider)
OS: Windows 2000
Language: VB.NET
I'm trying to do mass inserts/updates. Using Transactions.
The table hierarchy contains 3 levels (TL1, TL2, and TL3):
Here is what I'm trying to accomplish:
1) Start Begin Transaction (i... more >>
Web site
Posted by Lance Geeck at 1/3/2004 12:00:50 PM
Is there an example someplace of how I can turn a web site into a string =
of text so I can parse it?
I am trying to extract a returned value from an existing website that I =
have no control over. Specifically =
http://www.ffiec.gov/ratespread/default.aspx
I am trying to pull the rate spr... more >>
Declaring control array
Posted by Nathan at 1/3/2004 11:41:49 AM
If you're wondering why I post so many questions, it's because I want to
make an entry in the Guinness Book of World Records. But because I post so
many, I try to make them simple. Here is (I hope) a simple one:
I've declared a "control array" just after the WFD generated code like this:
D... more >>
Check if SQL Server started?
Posted by Dursun at 1/3/2004 11:35:52 AM
How do I check if the SQL Server is started?
If not started, can I start it proramatically? How?
THANK YOU!
Dursun... more >>
Setting the Location of a Tab Page
Posted by Newbie! at 1/3/2004 11:14:09 AM
Hey Group,
I carn`t find this anywhere:(
Anybody know how I could set the location of a TaB Page by codes?
Ta
Si
... more >>
ListView text alignment
Posted by Simon Abolnar at 1/3/2004 11:01:12 AM
I am using VB.NET 2003
Framework 1.1
I have a question of ListView.
Is it possible to align text in header centered, and text of items left?
I also seem that there is a bug. I can't align 1.st column header centered.
I solve the problem by aligning text left and then manually add spaces in
h... more >>
Drawing.Bitmap.FromFile ever work for WMF files
Posted by active at 1/3/2004 10:53:45 AM
I find Bitmap.Save works for WMF files but Bitmap.FromFile does not.
If I use FromFile on a WMF file that came with VS I get an exception.
If I use it on a WMF file created with Bitmap.Save I don't get an exception
but it appears the Bitmap is blank.
Can anyone share some knowledge on ... more >>
Vb.Net Standard Edition and SQL Server
Posted by Mike at 1/3/2004 7:36:39 AM
I am using the standard edition of VB.net. I am trying
to connect to a SQL database on our server using the
built in Sqlconnection object in the Data toolbox. When
set up the connection and test it, it tests OK. But then
I get the following error:
"Unable to connect to database. It is... more >>
Yet another, but this time a small WhoIS problem.
Posted by vjay77dkjk NO[at]SPAM hotmail-dot-com.no-spam.invalid at 1/3/2004 7:29:37 AM
As a result from who is I am getting this:
>
> NOTICE AND TERMS OF USE: You are not authorized to access or query
our WHOIS database through the use of high-volume, automated,
electronic processes. The Data in Network Solutions' WHOIS database
is provided by Network Solutions for information... more >>
HTML ContentParser in vb.net
Posted by seven777stars NO[at]SPAM hotmail-dot-com.no-spam.invalid at 1/3/2004 7:05:00 AM
Hey Guys, I have the code for this html content parser, see bellow.
My program should go to google and extraxt all refferencing link to
the link I insert.
So if I ask my app to find all links to www.mysite.com then it should
go to google with this parameter: "links: www.mysite.com".
Problem is ... more >>
Deployemnt- class or library not registered
Posted by NO[at]SPAM at 1/3/2004 6:56:13 AM
Have fully operational software package developed on VB.NET that worked until Jan 1 2003, with early stage deployments on Oct 10, Oct 23, Nov 11, Dec 12 and Dec 30.
When attempted final deployment on Jan 2, 2004 got following messages and errors...
I reset everything and tried several times ag... more >>
Status Bar Updates
Posted by Dave at 1/3/2004 6:51:20 AM
Hi,
I have developed an MDI program, and simply wish to update
a text panel on a status bar situated on the MDI from from
a child form. In VB6 this was as easy as pie!
How do you achieve it in Vb.net?
I've tried a public property, referencing
me.mdi.parent.controls etc etc and nothin... more >>
email first file in a folder then move the file
Posted by Max Bialystock at 1/3/2004 6:16:31 AM
Is it possible to take the first file in a folder (as sorted by name), email
it to someone, then move the file to a separate directory?
Any help at all will be much appreciated.
Thanks,
Max
... more >>
Printing Multiply Pages
Posted by James Proctor at 1/3/2004 3:39:34 AM
Hi there, im creating a print out or a report but when it
gets to the bottom off one page, or a set position on
that page i want it to go onto another page. How do i
tell .net to move onto a new page. I cant seem to see it
anywhere. Hopefully someone can help.
Regards
JP... more >>
Unicode data storing in SQ Server
Posted by Seshadri at 1/3/2004 2:45:07 AM
When we update a unicode value in SQL Server database that
has datatype as nvarchar, we use the prefix "N" before the
unicode data and it stores the data in the respective
language. Is this the correct way to store unicode value
in SQL Server database? In ORACLE, the unicode value is
store... more >>
Piddy Prediction!!!
Posted by MrTurnipHead at 1/3/2004 1:23:39 AM
Whatever happened to piddy, Ive been trying to be
a good fake, but no one is buying piddy stock?
comments?
... more >>
|