all groups > vb.net > october 2005 > threads for thursday october 20
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
Releasing Assembly After Retrieving Version
Posted by Gary Townsend at 10/20/2005 9:36:09 PM
I am working on an auto update feature for my program and basically it gets
the assembly information for the main application and compares that against
the database the problem is that when i try to rename the main files it says
it can't becuase the file is still in use.
So once i have opened ... more >>
What's better then somestring=""
Posted by **Developer** at 10/20/2005 8:21:45 PM
I understand that
If somestring.length = 0 Then
is faster then
If somestring = "" Then
and is equivalent to
If (somestring is Nothing) AndAlso (somestring = "") Then
Is that correct???
Also is there something better then:
somestring = ""
Thanks
... more >>
Q: Deleting rows in a DataView
Posted by Geoff at 10/20/2005 8:17:54 PM
Hi
I'm hoping somebody can help me with the following.
I'm trying to delete all the rows in a dataview. There are 200 rows.
Everything works fine until I delete half way through and then I'm told in
an exception that
"There is no row at position 100"
The code I'm using is:
For Eac... more >>
VB.Net Date Code
Posted by Paul Ilacqua at 10/20/2005 7:32:39 PM
Is there a site that offers Date Code functions for VB.net like MondayDate,
Workdays , FirstdayinMonth etc.
It helps me learn date coding. I'm a VB6 convert.
Paul
... more >>
Killing VB softly with his song, Killing VB softly...with a song.............
Posted by clintonG at 10/20/2005 5:23:44 PM
This is not about starting a fight but an observation that seems to be
proving itself on its own merit and is therefore simply a point of
conjecture.
I did not get serious about writing software until I learned ASP/VBS (if
that can be called writing software) as my focus was and remains for... more >>
Can you recommend a book?
Posted by ProfitMaxTrading.com at 10/20/2005 4:31:49 PM
Greetings.
I'm a VB6 programmer that has just installed the VB.Net. I would like to
learn VB.NET as quickly as possible. Already I'm finding simple issues such
as the Print object not supported in VB.Net. Wish to port my programs over
to VB.Net before I continue on them.
Was wondering wh... more >>
small convertion to .net (last one)
Posted by Ryan Epinos at 10/20/2005 3:21:58 PM
"get" statement does not support by .net
any ideas on converting this one
vb6
Open FileName2 For Binary As DestinChan
DestinLen = LOF(DestinChan)
DestinFile = String$(DestinLen, 0)
Get #DestinChan, , DestinFile
Close #DestinChan
*** Sent via Developers... more >>
Gettype problem when invoked from a different project
Posted by Jennyfer Barco at 10/20/2005 3:21:22 PM
Hello I have a question. I have a project called "Primary" and in that
project I have a reference to a Com application called "engine". In "engine"
I have a function that does many things and calls other local functions for
several purposes. In one of those functions I have the code:
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Remote Installation Program
Posted by Peter Avalos at 10/20/2005 2:51:20 PM
My goal is to create a remote installation program to rollout program
installs and updates. We're a small company with about 60 workstations, so
it's not worth the investment in SMS. I have the first part working which
used the directory services namespace to enumerate the workstations in a ... more >>
Pointer Comparision
Posted by I Don't Like Spam at 10/20/2005 1:38:35 PM
I know this should be simple but I can't find it.
Dim A as new object
Dim B as object
B = A
Do Bunch of stuff
Check if B still = A
This is basically pointer comparision in C++ days. how do I check that
A and B still point to the same object?
Chris... more >>
Datagrid
Posted by Geoff at 10/20/2005 12:19:09 PM
Hi
Does anybody know how to freeze the first column of a datagrid so it stays
visible when scrolling the grid?
Geoff
... more >>
best way to wait for async delegate calls to complete
Posted by ryan at 10/20/2005 11:38:36 AM
Hi,
I've omitted a large chunk of the code for clarity but the loop below is how
I'm calling a delegate function asynchronously. After I start the each call
I'm incrementing a counter and then making the main thread sleep until the
counter gets back to zero. The call back function for each ca... more >>
TreeView
Posted by pmelanso NO[at]SPAM uwaterloo.ca at 10/20/2005 11:06:52 AM
Hello,
Is there a free tree view class for Visual Basic .net???
Thanks,
Pam
... more >>
Textchanged event, controlling editor cursor position
Posted by Adriana Camargo at 10/20/2005 10:51:09 AM
Hi
I have to change automatically the text inside a textbox.
I need to add thousand separator when I am writting in the textbox.
I am using TextChanged event and when I insert a new number, i have a
function that formats the complete text with thousand separator.
For example, if textbox1 c... more >>
Microsoft.Office.Interop not defined
Posted by Tory Collum at 10/20/2005 10:33:09 AM
My code works as a VB.NET executable file. So I'm trying to "adapt" it to a
..NET XML Web Service. As a VB.NET file, I used Microsoft.Office.Core as the
reference, and everything was fine, but when I try to do the same thing as an
XML Web Service, VS.NET says my syntax is not defined.
Can... more >>
Help me! the Timer could not be enabled!!!
Posted by yxq at 10/20/2005 10:31:49 AM
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Timer1.Tick
Timer1.Enabled = False
CheckThread = New Thread(New ThreadStart(AddressOf MyThread))
CheckThread.IsBackground = True
CheckThread.Start()
End Sub
... more >>
SQL Parameters
Posted by TS at 10/20/2005 10:25:04 AM
I configured a data adapter and a dataset to connect to a SQL database. Also
I wrote a code to setup a currency manager for data binding on the form load
event.
On a button click event, I want to show the client's data based on the
client's first and last name typed in 2 text boxes (filterin... more >>
VB.NET & Win2K Users Security
Posted by Amjad at 10/20/2005 9:56:01 AM
Hi,
I have installed a VB.NET application on a Windows 2000 computer. The
application writes to the hard disk under the its folder and writes to the
Registry under "LocalMachine\Software".
I want to allow Windows 2000 users to run this application using their
limited user accounts (i.e. ... more >>
DataGridViewButtonColumn with REAL button! (image-property)
Posted by Pieter at 10/20/2005 9:54:22 AM
Hi,
I want to use the DataGridViewButtonColumn of VS.NET 2005, but this button
isn't a n'ormal' button, but some minor and inusable version fo the
button-control. I want to show an image in my button, which is normally I
standard proeprty of the button, but it doesn't have this proeprty.
... more >>
multithread and database connection problem
Posted by Sam at 10/20/2005 8:45:49 AM
Hi,
When I load my form I start a new threads that creates a datareader,
which gets data from my database.
The problem is that I'd like to be able to abort the thread when
clicking on another button, otherwise there is an attempt at creating a
second datareader, while the thread is still run... more >>
Compare Files like SourceSafe
Posted by pjsimon at 10/20/2005 6:26:04 AM
I want to compare two files like MS Visual SourceSafe's Show Differences
feature. Is there a way to access methods in VB.Net that will let me use
existing MS code to show the differences between two files using the same
interface that MS VSS uses?
Are there other methods that can be expose... more >>
re: How to convert the email date in header to the date of vb.net?
Posted by Chad Z. Hower a.k.a. Kudzu [msft] at 10/20/2005 5:23:34 AM
Its not very easy actually because the dates can be in a variety of formats as per the RFC, not just the ones you've listed. They can be in UTC, GMT, and others.
You might try using Indy (Its free) from http://www.indyproject.org and use its date conversion routines that it uses for mail parsing.... more >>
Why does graphics disappear
Posted by Rohan at 10/20/2005 3:47:03 AM
Hi There,
If I switch from the Form i have drwan my graphics like Rectangle to some
other Window and come back to my graphic window the drawing is disappeared.
How should I go abt it? Can if u can explain me why it happens also it'll be
gr8.
:)
Regards
Rohan... more >>
Active Directory Woes
Posted by Thomas Cameron at 10/20/2005 2:23:07 AM
I have an application that connects to several domain controllers and
enabled a specified user account. The reason for this is that my company
required that administrative accounts be disabled at midnight every day,
and that a ticket be provided and logged before our operations staff will
enable... more >>
vb.net windows service
Posted by Saran at 10/20/2005 1:58:01 AM
I have a windows service which instantiates the Powerpoint Application using
PIA. When I am running this windows service am not able to open the Microsoft
powerpoint application. This problem happens in XP and win 2000, Where as the
same works fine in win 2003 server. Any suggestions to make t... more >>
turn on/off usb lamp
Posted by Zabby at 10/20/2005 1:56:03 AM
hi,
i want to turn on/turn off a usb lamp via a vb.net button...
i think i would have to turn on/turn off the power for this usb port....
how could i do this?
kind regards... more >>
How to Format a TimeSpan Without the Decimal Part of the Seconds
Posted by Charles Law at 10/20/2005 12:28:31 AM
If I display a TimeSpan I get something like
00:05:17.6217891
when what I would like to see is
00:05:18
Is there an easy way to get this output? Try as I might I just can't find
it.
TIA
Charles
... more >>
OOP: Best practice?
Posted by Fredrik Melin at 10/20/2005 12:00:00 AM
I have a "Inventory" Object that contains the product and all its fields.
The problem is that I am getting soooooo many functions under main Inventory
class so it becames impossible to initalize a new programmer into this code.
For sample, I have Add_AllowAccess, Add_DisallowAccess, Remove_A... more >>
How to Get Image send by API
Posted by AAVarda at 10/20/2005 12:00:00 AM
Hi,
I have a device that scan's a doc and send's the doc image back. Below is
the function in API to get the Image:
ULONG MTMICRGetImage (
char *pcDevName,
char *pcImageID,
char *pcBuffer,
DWORD *pwdLength
);
Example of using the function
===================
//Get the imgae size fro... more >>
Vb.net forms run in Web page
Posted by Agnes at 10/20/2005 12:00:00 AM
I had complete my vb.net application.. and want to plug several forms on
Webpage, Let theuser input it thr web pages.
Does anyone know how to do ??
THanks a lot
... more >>
How to convert the email date in header to the date of vb.net?
Posted by yxq at 10/20/2005 12:00:00 AM
Hello,
I found there are some date formats in the email header,
for example:
Fri, 23 Sep 2005 08:51:56 +0800
Sat, 17 Sep 2005 09:08:07
Wed Oct 19 13:40:23 2005
19 Oct 2005 13:40:23 +0000
19 Oct 2005 13:40:23 -0400
How to convert these date formats to VB.NET date? Thank you!
... more >>
using some pages in c#
Posted by wally33 at 10/20/2005 12:00:00 AM
Hi i would like to use some C# in an other wise vb.net project.
How do i tell the complier that some pages are in c#
THanks!... more >>
|