all groups > vb.net > november 2006 > threads for wednesday november 22
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
Come on everybody - lets piss our pants with excitment about *text files*
Posted by Master Programmer at 11/22/2006 8:37:37 PM
Come on everybody - lets piss our pants with excitment about *text
files*
I am so fucking sick of the hype in this industry. How on earth did
everyone get fooled into being excited about XML. Its a fucking text
file that holds data for christ sake - BORING !!!!
I wonder if 10 years ago eve... more >>
get values from asp pass to batch file !!!
Posted by Ahmad Sabry at 11/22/2006 8:27:14 PM
Dear Sir,
i'm new to asp.net
i'm looking to How to get values (Variables) pre Declared in web form & pass
it to a batch file
coz i've to get this values to be added to the batch file to Automate the
process of creating records & Zones in our DNS server
May you Help ?
... more >>
Web servicve problem
Posted by Jaye at 11/22/2006 7:46:01 PM
Hi All
Now i am using VB.net 05 write a window form application, and i have
using serveal web service resource. In VS studio 2005, I need to add web
reference before i access the web service in program. However i would like to
control connet different web service by switch program. I w... more >>
helpfiles and vb.net 2003
Posted by JR at 11/22/2006 6:58:20 PM
Hi,
I need to add contect help in my application. in the paste I used vb6 and
shalom helpmaker. that worked fine contectid was the same as the pagenumber
Now with the helpprovider i can't figer it out how to do it. almost no
examples wher i find(or i don't look fine)
who can help me. i ... more >>
A Modest Question
Posted by Tim Patrick at 11/22/2006 6:44:03 PM
Friends and MVPs,
I have enjoyed taking part in these public forums. For years I lurked on
the sidelines, scavanging the technical information I required for my own
projects. Perhaps my own fear of making mistakes kept me from participating.
But now that I have provided a few feable answers... more >>
Hiding header on datagrid
Posted by reidarT at 11/22/2006 6:41:02 PM
I have 2 datagrids
When I select a line in datagrid one, the second datagrid is filled. How do
I hide the header in datagrid two until it is filled
reidarT
... more >>
embem Excel in winford using vb.net
Posted by Thomas at 11/22/2006 6:39:52 PM
It sounds a piece of cake but I was suprised how frustrating it is to
do it. I have a winform which receives data from database and present
them as Excel chart and spreadsheet. It is required by the client. I
can use Office Web Control to generate chart. However the chart can
only be export to a... more >>
SQL connection problem
Posted by Robert Dufour at 11/22/2006 5:43:04 PM
This is my connection string, the syntax is I think quite correct. The name
of the computer is my local machine, the database exists and I can connect
to it with the enterprise manager,
data source=WINXP1;initial catalog=SGIIMSTransNetPartner; Integrated
security=True
The error I get back ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Quick question about Vista....
Posted by Robinson at 11/22/2006 5:36:22 PM
Will Vista come with file system transactions, or was this only a
consequence of the now not-shipping winFS?
i.e. will I be able to:
Try
FileSystem.BeginTransaction()
File.Delete ( myFile )
File.Copy ( fileA, fileB )
FileSystem.CommitTransaction ()
Catch Ex... more >>
Textwidth question
Posted by Joe NO[at]SPAM aol.com at 11/22/2006 5:32:28 PM
I am rewritting a vb6 application and Iam stuch on how to replace the
textwidth command. Any suggestions?... more >>
Automatic Form Fill in
Posted by Anil Gupte at 11/22/2006 2:46:53 PM
I am playing a Windows Media File which is protected by their DRM. I want
to be able to automatically fill in the form asking for payment with my
saved parameters. Is there any way to do this? Note, this is not on the
web - this is a desktop app that has an embedded player or using
mciSen... more >>
CLS specs?
Posted by Smokey Grindle at 11/22/2006 2:32:51 PM
Is there a good explination of what would cause a CLS warrning in .NET 2.0
out there anywhere? like list of reasons and examples of what cause an
object or type to not be CLS complaint? thanks!
... more >>
Restart a Sub and keep loop going
Posted by Jay at 11/22/2006 2:03:43 PM
In a sub procedure how do I recall/restart the sub and maintain the position
in a loop?
Eg (this doesnt work how I need it to work)...
sub Get_Language()
'code here to prompt the user to do something
'...
dim i as integer
dim k as whatever
for i = 1 to 3
if whatever <> "someval... more >>
Inherited handler problem.
Posted by kosecki at 11/22/2006 12:55:51 PM
Hi,
I've problem with button click handler.
In a short brief my program looks like this:
there is form invoice with is base class for invoice_edit form.
invoice form has public button "save" with modifers option set to
public
invoice_edit form has method which handles save.click and ... more >>
Is VB.NET Stable??
Posted by Tony Van at 11/22/2006 11:46:16 AM
I'm using Version 8, learning the language and writing some
code.
It seems every session, especially when programming Crystal
Reports, the program stutters and sends a message off to
Microsoft. Sometimes I've lost code, other times the system
sets off on a build that never finishes. Very... more >>
Adapter Update...Syntax error
Posted by Arne Beruldsen at 11/22/2006 11:45:01 AM
I have a simple Access database and I'm using VB.net. I'm getting a syntax
error on the update line. Any idea what needs to be fixed
Dim CX As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source= " &
Application.StartupPath & "\zAdmin.mdb;User Id=admin;Password=;"
Dim PWConn As ... more >>
Wrong Margins - How To ?
Posted by Antonio Paglia at 11/22/2006 11:38:53 AM
On VS2005:
I define my own print document class like this
Class MyPrintDocument
Inherits PrintDocument
Private Sub PrintDocumentPrinter_PrintPage(ByVal sender As Object, ByVal
e As System.Drawing.Printing.PrintPageEventArgs) Handles Me.PrintPage
e.Graphics.DrawRectangle... more >>
Crystal Reports in VS 2005
Posted by Charlie Brown at 11/22/2006 10:45:04 AM
The following code is what I have been using in .net 1.1 for years.
Now upgrading to .net2.0 and Crystal reports for vs2005, it no longer
works, although as far as i can tell it is still supported. The error
I receive tells me that I did not provide @Location parameter with a
value. Also to no... more >>
ListView ListItems - can they be hidden?
Posted by Phill W. at 11/22/2006 10:44:14 AM
Is it possible, in a VB'2003 ListView control to hide specific
ListViewItems?
I have a ListView that I've loaded with stuff but it would be useful to
be able to view these items as
(a) the complete list,
(b) a subset that matches a given criteria, or
(c) the complementary subset that doesn... more >>
CSS In .NET
Posted by Zile at 11/22/2006 10:37:50 AM
How to add css in asp.net 2.0 aplication. On label control I have some
property named CssClass, but if I add some class name, it doesn't work. How
to add css class for label control?
Thanx
... more >>
create a keystroke logger
Posted by Steve Y. at 11/22/2006 10:15:51 AM
I've been asked by senior management to create and deploy a keystroke logger
application (log to a local or network folder). Active directory already
blocks the target users from opening task manager (they won't be able to see
it running) so it needs to be straight forward and just capture ke... more >>
newbie: releasing memory (if necessary?) with WMP SDK embedded in WinForm?
Posted by Keith at 11/22/2006 9:59:53 AM
Using 2005 VB.net express; I've also downloaded WMP SDK and put a single WMP
player control on my (Windows application) form.
I'm going to be playing multiple AVI videos in the WMP control, using other
controls on my form to select which AVI file is "loaded" (associated) with
the WMP contro... more >>
Need to create link between DataSet tables to show matching records
Posted by mike11d11 at 11/22/2006 9:49:05 AM
My program has to tables in it. One is the Accounts table with all
personal information and then there is also my Memos table with all the
notes for each account. My program displays one record at a time for
each account in the dataset table. I now want to show only the notes
in the memo file... more >>
DCPROMO on Remote Site 1st Server
Posted by Michael D. Ober at 11/22/2006 8:35:28 AM
When running DCPROMO on a "first" server at a remote site, I being told that
the forest needs to be prepared. The DNS entry on this server points to a
W2003 SP1 FSMO master (all 5 roles). The forest does have Exchange 2003 SP2
installed and the link between the sites is a T1.
Any ideas?
Tha... more >>
Simple Data UPdae Question
Posted by Arne Beruldsen at 11/22/2006 8:28:03 AM
I have a very simple Access data base. No new info is going to be
added...the only changes are to existing fields. I have 2 tables both with
one row each. I'm using vb.net.
I can easily retrieve the data via "Reader"...but how to I update for changes?
Thanks... more >>
Odd databinding behavior
Posted by Ben R. at 11/22/2006 8:19:02 AM
Hi all,
I’ve got a databinding inquiry. I’ve got a very simple example: a VB.Net
winforms app, with 3 components:
2 textboxes, and a button. Here are the handlers:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
... more >>
Why must I cast when I put type safe generic objects in the combo box?
Posted by dmac at 11/22/2006 3:47:43 AM
Below is some really simple code - its just a trivial class used to
populate a combo box from which I want to pull out one of the
properties of the selected object. I am just curious to know why - or
better yet how to eliminate - the need to cast from an object when I
have specifically filled th... more >>
Exception handling, Retry, Resume Next
Posted by Adil Akram at 11/22/2006 3:11:01 AM
There are situations where you want to retry/rerun the same code again (if
user wants) for unlimited times for a particular exception thrown. For
example in situations like there's no CD in the drive or some file is locked
by another process you want to display message dialog to user with "Ret... more >>
SQL UPDATE query help please
Posted by si_owen at 11/22/2006 12:34:15 AM
Hi all,
I have a SQL query that worked fine in my project until it came to
testing. I found that the NvarChar fields I have wont accept the use of
an '
My code and query is here does anyone know how to change the query to
accept an ' whilst keeping the data true.
Dim dbCon... more >>
Help needed in using FSO's, TextStreams, etc. --- Code Review and Advice requested
Posted by Hexman at 11/22/2006 12:28:02 AM
Hello All,
I'd like your comments on the code below. The sub does exactly what I want it to do but I don't feel that it is solid as all. It seems like I'm
using some VB6 code, .Net2003 code, and .Net2005 code. I'm developing in vb.net 2005.
This test sub just reads an input text file, writ... more >>
Russian text output
Posted by Aleks Kleyn at 11/22/2006 12:24:20 AM
I use vb code to show information from SQL Server on the screen. I have
Russian text in this data. Everything is fine, but when I save this
information into file using code
streamwriter1.write(...)
But when I look into file I see text which is different from text that I
wrote. How I can fix ... more >>
|