all groups > vb.net > march 2006 > threads for thursday march 16
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
How to append record in binary file in vb.net
Posted by ashwini.chaturvedi NO[at]SPAM gmail.com at 3/16/2006 11:24:23 PM
hi frnds,
can anyone tell me how to append record/records in a binary file in
vb.net
thax
... more >>
HelpMaker Question
Posted by Don at 3/16/2006 8:17:10 PM
After seeing a recent post "Re: Best value Help file builder" I
downloaded and installed HelpMaker on WinXP Pro (no SP) and am
receiving the below error when I try to run it. I emailed Vizacc
support but haven't heard from them yet.
Aby help will be appreciated.
Application error:
... more >>
Zip files using VB6
Posted by y2kbug at 3/16/2006 6:04:56 PM
I would like to zip files (all sub-folders and files inside a folder,
but not including that folder).
I have read several articles on the Internet, teaching me using .dll
like Info-zip, Zlib, C..., PKZip, etc.
However, I always meet run-time error!
And one more problem is that, I don't want fut... more >>
Intellisense reference
Posted by Andy at 3/16/2006 5:55:19 PM
Hi
I wonder if anyone could point me to where I can find some kind of overview
that explains what icons represents what functions in intellisens?
Let me explain:
if I make a textbox on a windows form, in the code window I can type
textbox1. and after the period I have a lot of options displ... more >>
From ASPX page, can't access file on another PC on network
Posted by Ronald S. Cook at 3/16/2006 4:59:49 PM
In my .aspx page, I am trying to read file that is on a different on the
company network.
When I map a drive to it and call from within my .aspx page, I get this
error:
Could not find a part of the path 'Z:\Events.nss'.
Description: An unhandled exception occurred during the exe... more >>
CSV File Import
Posted by William Foster at 3/16/2006 4:22:54 PM
Good morning all,
I have an issue where I am importing a large CSV into Visual Studio 2005
- Visual Basic; as always the creators of the CSV have included the
details of the data at the end file (Some 1.6 million records from the
beginning). I am doing some evaluation on the file before I unde... more >>
select a Folder
Posted by M at 3/16/2006 4:10:49 PM
The Visual Basic 6.0 DirListBox control allow you to select a Folder.
How to select a Folder in VB.NET?
... more >>
error detection
Posted by cj at 3/16/2006 4:02:52 PM
I'm working on error handling in my program and need some input.
Dim errorsFound As Boolean = False
Dim respstr As String
Try
respstr = proxy.validate(soapmesg)
Catch ex As Exception
errorLabel.Text = ex.Message
errorsFound = True
End Try
If Not errorsFound .....
I'd rather no... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Q: Closing a form
Posted by G .Net at 3/16/2006 3:53:35 PM
Hi
How can I tell if a form has been closed using the red cross in the top
right of the form rather than, for example, pressing an OK button?
Geoff
... more >>
Web App Redirect
Posted by Stan Canepa at 3/16/2006 3:32:42 PM
I have a web app that works fine on the development machine and on several
servers running Win2k IIS 5 and Windows2003 IIS 6. But I am having an issue
on one particular erver running Win2k IIS 5, but has an Apache server
sending redirects to this server.
My problem is when I try to do a
Res... more >>
DataGridView validation to underlying DataSource
Posted by Pieter at 3/16/2006 2:45:11 PM
Hi,
I'm using a DataGridView with a DataGridViewCheckBoxColumn. When the users
checks or unchecks the checkbox, some actions have to happen in the
underlying DataSource and other objects. But the underlying DataSource gets
only the new value (True or False) on the moment the users leaves th... more >>
Retaining Checkbox values during postback (ASPX)
Posted by Scott H at 3/16/2006 1:05:57 PM
I have a page with several server controls placed on there at design
time, including a blank table control.
During runtime I add some controls to the table, including some
checkboxes, which I called ch() as checkbox. the user would then
check some of them and click a button.
the event ha... more >>
InitiateSystemShutdownExA
Posted by oembuilders NO[at]SPAM gmail.com at 3/16/2006 12:24:49 PM
Can anyone help. I have been trying to write a little app using
advapi32.dll and if I
use a dwResaon other than SHTDN_REASON_FLAG_PLANNED as int32 =
&H80000000
I get a error. I have tried using "SHTDN_REASON_FLAG_PLANNED +
SHTDN_REASON_MINOR_CORDUNPLUGGED" or "SHTDN_REASON_FLAG_PLANNED &
SHT... more >>
Datagridview Conditional Formatting in .Net 2005
Posted by jbehrne at 3/16/2006 11:49:22 AM
Hi all,
I am using a datagridview in .Net 2005 to display data from a stored
procedure using a System.Data.SQLClient connection. After the stored
procedure dumps the data into a dataset and the datagridview is displayed I
need to conditionally format the backcolors of the rows (this will be... more >>
time expressions
Posted by cj at 3/16/2006 11:39:30 AM
How do I say 1 hour in VB.Net.
I'm trying to find out if now - starttime > 1 hour
If Now().Subtract(starttime).ToString > ???????? Then... more >>
Domain search like setting file permissions
Posted by Scott M at 3/16/2006 11:12:46 AM
I would like to create the shell dialog box that opens the search box that
allows a user to search for groups, users and or computers on a local
machine of on a domain (Like choosing domain users when setting file
permissions). Does anyone have a nice .Net wrapper that I can use to
accompli... more >>
For Each... statement
Posted by Ronin at 3/16/2006 11:05:21 AM
group,
please help with the following codes below.
why would this not work... would it require casting/reflecting? if so, does
anyone show me the right codes?
Dim chk As System.Windows.Forms.CheckBox
If Not MsgBox("Are you sure you wish to clear?", MsgBoxStyle.YesNo +
M... more >>
checking for EOF
Posted by Dave Cullen at 3/16/2006 10:43:10 AM
How does one check for end-of-file while using the Streamreader class
methods?
File opened like so...
inputstream = File.OpenRead(Infile)
Dim SrRead As StreamReader = New StreamReader(inputstream, _
System.Text.Encoding.ASCII)
I intend to do-while not EOF using SrRead.Rea... more >>
Proble about "send"
Posted by Sweet.mhtrq NO[at]SPAM gmail.com at 3/16/2006 10:21:46 AM
I want to use "send" to send a string
like
Code:
send "p" & OutputString
if OutputString is "1234" , "p1234" will be sent.
but it is sent too fast, my robot' cpu cant receive the whole string.
Sometime it
get "p123" . Can we set some delay between them in this code?
... more >>
Random Number between 0-86
Posted by pmclinn at 3/16/2006 9:34:54 AM
Is there a way to use the
System.Security.Cryptography.RNGCryptoServiceProvider to create a
number that is between 0 and 86?
-Peter
... more >>
Using AxWebBrowser in VB 2005
Posted by Doe at 3/16/2006 9:32:04 AM
Okay, I've given up on using the "new" WebBrowser in 2005 to do what I
want to do -- tabbed browsing. It seems I really need RegisterAsBrowser
and Application to get each instance of a browser working on each tab
(and those methods are not available in 2005).
I found some code on MSDN forums, ... more >>
Confusion on Protected Overrides
Posted by Ron Dahl at 3/16/2006 9:06:48 AM
I'm very confused on how the Protected Overrides works.
I created a new project with a new form1 and a new datagrid called
myDataGrid.
I created a simple DataTable and put 5 rows and 5 columns of data into it.
I bound the DataTable to the DataGrid.
The example at the end of this post is exac... more >>
Text on Image Resolution
Posted by CG3000 at 3/16/2006 8:12:06 AM
I create a .PNG image ( in Macromedia Fireworks ) which has an gif in
it in the top left corner and a lot of empty canvas space to the right.
I use about 10 text boxes on a form to populate that empty space with
text.
I then print the image ( from a picture box on my form) on a UPS
Ther... more >>
Win Form
Posted by Ronin at 3/16/2006 7:57:28 AM
Peep,
i need help with a form.
i set controls beyond the size of the form, but when i click on the controls
that are beyond it, it auto scroll to the top. is there anyway to have it not
auto scroll?
the forms auto scroll property is set to false.
please help... more >>
Loop through columns of all datarows in a dataset
Posted by Philip Wagenaar at 3/16/2006 3:06:27 AM
I have a dataset that I queried from an excel sheet. I want to loop through
the rows, then loop through the columns and write them to a file. But I got
stuck pretty quickly:
So far:
For Each dr As DataRow In Order.Tables(0).Rows
Next
In this for each I want to start a second for eac... more >>
my form cannot from from network
Posted by Lynn at 3/16/2006 2:38:53 AM
Hi,
I have created a form from vb.net. It runs well if i copy it to
computer's local drive. But when i run it from network drive it gives
this error:
Application has generated an exception that could not be handled.
Process id=0xc3c (3132), Thread id=0xe84(3716)
how can i know what is went... more >>
I can't find the error here....
Posted by Radu at 3/16/2006 2:09:54 AM
Hi. I have the following:
___________________________________________________________________________________
Public Class SquareDictionary
Inherits System.Collections.DictionaryBase
Default Property Item(ByVal key As String) As Square
Get
Return CType(Dictionary.Item(key), Squa... more >>
ReadOnlyCollectionBase, Collection, DictionaryBase in VB2005 ?
Posted by Radu at 3/16/2006 1:21:22 AM
Hi,
I have VS.NET 2002 and I'm reading about ReadOnlyCollectionBase, Collection,
and DictionaryBase. In the following reference regarding VB2005, I can't
find them:
http://www.dotnet2themax.com/dotnetbrowser/ShowNamespace.aspx?asm=System&ns=System.Collections.Generic
http://www.dotnet2the... more >>
Problems using HasMorePages with oleDbDatareader
Posted by Rave_T at 3/16/2006 12:54:55 AM
Hi all!
I want to loop through my datareader and print out 5 rowns on each page
but i cant get it to work...
Heres my code:
Dim curr_X=20
Static intItem As Integer = 0
Dim y As Integer = 0
Dim bDraw As Boolean = True
Dim g As Graphics = e.Graphics
Do Until Not bDraw
myReader.Read
... more >>
Serial Date
Posted by Peter at 3/16/2006 12:33:39 AM
What is the easiest way to convert serialdate (like excel has) into real
date in VB.NET?
Thank You
Peter
... more >>
Reading Stream After RedirectStandardOutput=True Blocks
Posted by Charles Law at 3/16/2006 12:00:00 AM
If I open a DOS console window (CMD) and enter "Netdiag /v", I get periodic
output showing the progress of the diagnostic tests being run.
If I create a Windows Forms app to run Netdiag using
System.Diagnostics.Process I can only get the output in a single block. That
is to say, if I redire... more >>
SQL Server 2000 inutizado ... ¿Qué puedo hacer?
Posted by XTV at 3/16/2006 12:00:00 AM
Hola, tengo un problema un tanto "raro".
Tenia instalado un SQL Server 2000 Developer en mi XP Pro que me funcionaba
perfectamente y me ideal para las pruebas de aplicaciones; pero ayer me
descarge la demo de 180 dias de SQL Server 2005 y la instale; pues bien, hoy
ya tenia mucho problemas ... more >>
Net and Bar Codes
Posted by Tull Clancey at 3/16/2006 12:00:00 AM
Hi, can anyone suggest a good bar code add in for VB.Net, I need printing
functionality only.
I would need all the most popular codes including 2D, PDF and DataMatrix.
Cost is an important consideration!
Thanks,
Tull.
... more >>
Crystal report problem
Posted by Agnes at 3/16/2006 12:00:00 AM
In my program,(vb.net ) If I want to let the user choose "printer setup
"directly, without preview,
How can I do that ??
Thanks a lot
... more >>
Question re byte arrays and strings
Posted by Steve Marshall at 3/16/2006 12:00:00 AM
Hi all,
This is probably a real dumb question, but I just haven't come across the
answer...
Is there a simple way to treat a byte array as a string, or to convert it to
a string? And the converse would sometimes be useful too, i.e.
convert/treat string as byte array.
Thanks
... more >>
|