all groups > vb.net > september 2004 > threads for wednesday september 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
.NET email
Posted by S Shulman at 9/22/2004 11:52:11 PM
Hi All
I don't have smtp server and my email is hotmail and I am looking for smtp
server so I will be able to send emails using .NET.
Is there any server out there that I can use?
Thank you in advance,
Shmuel
... more >>
Dateset question
Posted by Agnes at 9/22/2004 11:14:59 PM
I am doubtful about some point or confuse on design program.
User A run Invoice form, Load the current month data into the dataset.
ADMIN want to lock some invoices , so ADMIN just update the dataset in his
"admin form"
Now, if USER A never exit the form, He can amend the record everytimes.
Doe... more >>
Commenting source code is for amateurs
Posted by Marian F. at 9/22/2004 11:10:46 PM
The 12 years old genius function to count english words in a sentence:
' This is my function to count english words in your string
' s is the string with your words to be counted
' Returns an integer as the number of words found
Public Function iCW(ByVal s As String) As Integer
... more >>
Retrieving a system serial number...
Posted by Terry Olsen at 9/22/2004 10:39:19 PM
Does anyone know how to retrieve the system serial number? I'm writing an
auditing program and need to grab that little bit of info.
Thanks!
... more >>
problem with data grid after clicked the columns header
Posted by Jeff at 9/22/2004 10:03:00 PM
hi there,
Does anyone know which event is been called after any column hearders had
been clicked?
My problem is that the data grid lost selected the row and started an
endless loop after I clicked any columns header in the data grid.
thanks
Jeff
... more >>
BinaryFormatter Serialize DirectCast Class
Posted by JZ at 9/22/2004 9:18:32 PM
Hi,
I'm using a class and binary formatter to store data in files.
For example..
Dim FPs As New StuctureDataFile()
Dim FileStream As Stream = File.Open(pfile, FileMode.Open)
Dim FileFormatter As New BinaryFormatter()
FPs = DirectCast(FileFormatter.Deserialize(FileStream), StuctureDataFil... more >>
array bound listbox
Posted by rodchar at 9/22/2004 9:13:07 PM
Hey all,
I was wondering, can I databind my text box to an array, if so what would my
datasource and member look like?
thanks in advance,
rodchar... more >>
Keyboard Hooking in VB.NET 2003
Posted by William Hughes at 9/22/2004 7:15:04 PM
Hi,
After doing a bit of googling, it seems everyone refers to the article
"Managing Low-Level Keyboard Hooks in VB .NET" Written by Paul Kimmel -
http://www.developer.com/net/net/article.php/11087_2193301_1/
When I implement this in a VB.NET Windows Forms application in Visual Studio
2... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
iterate Enum
Posted by John A Grandy at 9/22/2004 6:43:07 PM
how to iterate through the members of an Enum ?
Enum EnumAction
None = 0
Action1 = 1
Action2 = 2
Action3 = 3
Action4 = 4
End Enum
Dim vAction As EnumAction
For Each vAction In Enum1 ....
Next vAction
triggers error " 'EnumAction' is a type and cannot be used in an expr... more >>
listbox events
Posted by rodchar at 9/22/2004 6:07:02 PM
Hey all,
I noticed that the listbox event "SelectedIndex_Changed" runs on form load
by default. Is there a way to by pass this until you actually have data in it
and are ready for selected index change event in your code or am I missing
the point?
thanks in advance,
rodchar... more >>
Make DB move with EXE
Posted by Barkster at 9/22/2004 5:35:22 PM
I don't usually create installers for my projects cause we have dotnet on
all our machines and I normally just copy the exe and any required Dll's to
the folder where I want to run. Normally I just stick
application.startuppath to create dynamic paths but I can't seem to get this
to work on my ... more >>
Time Problem
Posted by scorpion53061 at 9/22/2004 5:31:47 PM
What I thought would be pretty easy has turned out not to be.
I have three variables. Actiontime is formatted as 08/11/2004 11:03PM
Actiontime
JobStreamStart (11:00:00PM)
JobStreamEnd (2:00:00AM)
If (Format(CDate(ActionTime), "t") >= JobStreamStart AND
(Format(CDate(ActionTime), "t") < ... more >>
Minimizing application memory footprint
Posted by Bob Dufour at 9/22/2004 5:28:49 PM
We got a windows form application that we wrote in VB.Net.
Essentially its a manager for a list of persons and their contacts and some
other info about the persons. No rocket science but lots of textboxes and
comboxes to use lookup lists, some tab controls allow viewing of data about
a person ... more >>
Nebie - want to do something like Outlook's calender
Posted by K.K. at 9/22/2004 4:30:16 PM
Hi all,
I'm wondering is it possible to retrieve (or save) data from database and
display it in a calender format? If it can be done can you post a sample
code or point me to some web site with tutorial/exapmle? Thanks~
K.K
... more >>
Elementary Graphics Question
Posted by eBob.com at 9/22/2004 3:13:29 PM
This real novice VB.NET programmer wants to put a "scatterplot" (just
a bunch of dots) on his form. There'll be other stuff on the form
too, but it's the scatterplot which I need your help on. Is
PictureBox the way to go? If so I am not finding any SIMPLE examples
using PictureBox in VB.NET. ... more >>
Diagramming Component
Posted by Dave Taylor at 9/22/2004 3:04:33 PM
I'm looking for a .NET diagramming component to draw process flowsheets in a
WinForms app. My first idea was to use the Visio ActiveX drawing control,
which has proven to be kludgy at best. I've also looked at two purely .NET
components, Syncfusion's Essential Diagram and Northwoods GoDiagra... more >>
MD5 hash on very large files 500mb to 4gb+
Posted by pspielvogel NO[at]SPAM insightvideonet.com at 9/22/2004 3:01:25 PM
I need to compute the MD5 hash on VERY large files 500mb to 4gb+
I have found two ways but neither one of them does what i need.
Private Function ComputeDataMD5(ByVal path As String) As String
Dim fi As New FileInfo(path)
Dim fs As FileStream = fi.OpenRead()
fs = fi.... more >>
show google results
Posted by Joe Scalise at 9/22/2004 2:54:09 PM
I need to create a program that searches google automatically with the
search phrase i enter and return the results. Does anyone know of any
existing source to search these engines and display or log the results? Or
any information on how to achieve this?
Thanks!
-Joe
... more >>
Zip and copy file
Posted by simon at 9/22/2004 2:42:09 PM
I would like to create the program, which will zip one file on computer,
copy it to the disk on the other computer and unzip it there.
How can I do that?
Any example?
Thank you,
Simon
... more >>
Module vs Class
Posted by A_PK at 9/22/2004 2:40:45 PM
Hi,
I am a VB.net beginner, I do not know what are the major difference between
Module vs Class.
Could someone guide me when is the best situation to use Module or Class.
I have no idea when should I use module or class, because no matter i use
module or class, i always could get the re... more >>
Domandina
Posted by Spr at 9/22/2004 2:24:02 PM
Ciao a tutto il ng.
Ho una domandina bella bella e magari stupida, ma non so come fare.
Ho progettato una classe e vorrei che quando la si utilizzi compaia una
descirione degli argomenti richiesti.
E' possibile?
Se si come?
Grazie
... more >>
Basic question...on switching windows
Posted by John Clark at 9/22/2004 1:56:48 PM
If I know the "title" of an open window of an application running on the
same PC that my application is installed, say for example "Window abc",
what's the best method of getting my vb.net to "switch" to that window as if
I'd clicked on the taskbar or pressed ALT+TAB?
It should be simple, b... more >>
Array of Objects
Posted by Altman at 9/22/2004 1:54:41 PM
In vb 6 you use to be able to create an array of objects and I can't seem to
figure this out in .NET. I figured you can't make this but I was wondering
how I could do it if I had for instance 3 objects named Object1, Object2,
and Object3. Then I would do something like this
For n = 1 to 3... more >>
OR Statement??
Posted by B-Dog at 9/22/2004 1:48:44 PM
This has to be really simple but I can't figure it out. I'm trying to check
to make sure the dataset in not null and a single character string doesn't
equal two characters. I want it to stop if it is null and stop if the
string doesn't equal i or or? If either one is true then run sub. What ... more >>
Get RecordCount or HasRows from SQLDataAdapter?
Posted by Jack Black at 9/22/2004 1:40:39 PM
Hi, all! What is the method for either testing for rows in a
recordset or returning the number of rows in a recordset from a
populated Adapter or from a DataSet? I know you can use HasRows with
a Reader, but I can't use a Reader in this particular instance...
Thanks!
Jack
... more >>
Unlocking file when assigned to PictureBox
Posted by Mark at 9/22/2004 1:25:03 PM
Hello,
Say I write a picture file to: 'c:\test.jpg'
Then I assign this picture to a picturebox
PbFoto.Image = Image.Fromfile("c:\test.jpg")
Next I want the overrwrite the file test.jpg with another picture.
When running, he says the file is in use when I want to overwrite it.
(if not a... more >>
Two utilities needed
Posted by Mike Labosh at 9/22/2004 12:54:38 PM
I know there are lots of these out there, but I'm looking for two source
code utilities:
1. Something that can sift through source code and dead code, unused
variables, analyze inheritance, dependency and calling chain structures and
give me diagrams.
2. A comment-driven documenter for V... more >>
XML parsing error with double quote character.
Posted by Terrence Chan at 9/22/2004 12:23:37 PM
I have try the below and the problem is my xmlstring is something like
"<employee name="Joh"n">
strXML = Replace(strXML, "&", "&")
strXML = Replace(strXML, "<", "<")
strXML = Replace(strXML, ">", ">")
strXML = Replace(strXML, "'", "'")
strXML = Replace(strXML, """", "&quo... more >>
hashcode
Posted by Frank at 9/22/2004 12:23:21 PM
Hi,
I save the hashcode of a datatablerow. How do I use that hascode to get to
the original datarow?
Thanks
Frank
... more >>
MsgBox Problem
Posted by Anne Richmond at 9/22/2004 12:14:00 PM
I have just returned to my first vb.net project after a few weeks and find I
have a problem with Msgbox.
The commands I added earlier work OK but any new ones fail to show the
prompt value or a narrative on the button.
So the line MsgBox ("Hello World",0,"My App") displays a box which do... more >>
Uncatchable Exception
Posted by ZorpiedoMan at 9/22/2004 12:13:31 PM
Well, I'm still wondering around in the "land of the lost exception"...
It seems that controls that are bound to a class and the class throws an
error in the SET method of the bound member, the exception cannot be
caught. I have wrapped my entire application in all the global
exception handlers... more >>
check for any files in a directory
Posted by DC Gringo at 9/22/2004 12:03:37 PM
How do I check to see if a file directory is empty?
If (System.IO.File.Exists(*.*)) Then
pnlMyPanel.Visible = True
End If
--
_____
DC G
... more >>
Tag Value of a Tool Bar Button
Posted by Bob at 9/22/2004 11:23:03 AM
In a tool bar click event procedure, how do I access the tag value of a tool
bar button to determine which button has been clicked. I know how to access
the index value to identify the button but I want to use the tag value
instead.... more >>
Map Network Drive in VB.NET
Posted by Johnny Fugazzi at 9/22/2004 11:05:16 AM
I am working on a windows service that will do the following:
Run at a predetermined time
Map a network drive
Run several DTS packages on a SQL server.
I am having problems coming up with a way to map the network drive via code
using vb.net. The mapped drive is required for the DTS tasks ... more >>
Transparent Control
Posted by Altman at 9/22/2004 10:43:35 AM
I wish to make a user control and i want the background to be transparent so
if I put it on top of something it doesn't show gray. How can I do this?
... more >>
Need tool that shows unused methods
Posted by Adam Nowotny at 9/22/2004 10:37:51 AM
I want to make some cleanup in my application. Is there any tool that
would show me methods that are NOT used in my solution ?
--
Adam Nowotny
JID: daft@chrome.pl
GnuPG key 0x42D56D98 at hkp://blackhole.pca.dfn.de... more >>
pop3 to db
Posted by Craig Buchanan at 9/22/2004 9:34:35 AM
Is there a mechanism to montior a POP3 mailbox, then add the messagesa to a
database? If not, I'm assuming that I'd need to build a service that would
poll the POP3 account periodically, then process accordingly.
Thanks,
Craig
... more >>
Length of a multidimensional array
Posted by OpticTygre at 9/22/2004 8:35:53 AM
If I have a multidimensional array, such as array1(5, 3), and I want to find
the length of the first section (the 5), can I just use array1.length, or
would that return 15 (5 * 3) instead of 5? Thanks in advance.
... more >>
MS Access need to be installed on Remote server? When connect through VB.Net
Posted by http://www.visual-basic-data-mining.net/forum at 9/22/2004 4:32:53 AM
Hi, I am new here. I am facing a problem that I can't connect to MS Access
with my Web application written in VB.Net.
It gives me this kind of error:
The Microsoft Jet database engine cannot open the file 'E:\DATA1.mdb'. It is
already opened exclusively by another user, or you need permission ... more >>
hiding of inherited properties doesn't work
Posted by Thomas Ott via .NET 247 at 9/22/2004 4:04:24 AM
Salve,
having inherited from Inherits=
System=2EWeb=2EUI=2EWebControls=2EWebControl, I want to hide some=
properties and methods=2E So I set<Browsable(False),=
EditorBrowsable(EditorBrowsableState=2ENever),=
DesignerSerializationVisibility(DesignerSerializationVisibility=2E=
Hidden)> _ i... more >>
Need help with runtime error
Posted by peak at 9/22/2004 2:09:11 AM
What's wrong with this:
Dim myip() As Byte = {127, 0, 0, 1}
Dim ip As New System.Net.IPAddress(myip, portNum)
I am getting a runtime exception with additional information "address" ?... more >>
need a better solution to use images in application
Posted by Dayne at 9/22/2004 1:01:09 AM
Hi Everyone!
Currently, I am writing an application that uses a lot of bitmaps. I would
load a image by specifying "a path" on my hard drive. I would however like a
better solution --- don't like the fact that the images are exposed so
publicly. Any ideas?
Dayne
... more >>
|