all groups > vb.net > february 2005
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
Restart a Windows Service using vb.net
Posted by Sean at 2/28/2005 11:42:38 PM
Greetings,
Is there a sample code that shows how to restart a windows service using
VB.Net?
Sean
... more >>
How to access Locals, Autos...programmatically?...
Posted by G.Ashok at 2/28/2005 11:26:06 PM
Hi All,
I'm posting this again!
How can I can access all of the debugger aids (like Autos, Locals, Me
(This), MemoryLists, Threads, Modules, Register) programmatically? I want to
use them in my program to log the exact picture of the error and its
condition like the values of the each var... more >>
How to create new folder by code
Posted by RitaK at 2/28/2005 10:57:02 PM
Hi everyone,
Have been using vb.net for a while but am really stumpped on how to
programatically create a new folder to store some app config data. I know I
must be missing something blatantly obvious but really I am stumpped.
Any pointers or examples would be appreciated.
Thanks... more >>
Printing.
Posted by vincentgoh75 NO[at]SPAM hotmail-dot-com.no-spam.invalid at 2/28/2005 9:46:42 PM
Hi,
I am trying to churn out some statistical data from database and
print it out by using printdocument and printdialog, but I realised
that the alignment of the data is gone, for instance, I use "vbTab",
but seems like it does not take effect on preview screen.
I am vex on this iss... more >>
Download Speed/Download Time
Posted by Crouchie1998 at 2/28/2005 8:15:04 PM
How do I work out the download speed in KB/Sec & how many hours/mins &
seconds left?
Thanks in advance for any help... more >>
VB Conversion Keywords And .NET Conversion Routines
Posted by rawCoder at 2/28/2005 8:14:56 PM
Hi,
Just wanted to know if there is any speed difference between
VB conversion Keywords like CInt, Clng, CStr, CDbl, CBool etc.
..NETs Convert.To<...> methods.
And which is better to be used and why ?
Thanx
rawCoder
... more >>
VB Conversion Keywords And .NET Conversion Routines
Posted by rawCoder at 2/28/2005 8:14:29 PM
Hi,
Just wanted to know if there is any speed difference between
VB conversion Keywords like CInt, Clng, CStr, CDbl, CBool etc.
..NETs Convert.To<...> methods.
And which is better to be used and why ?
Thanx
rawCoder
... more >>
File Download/Resume
Posted by Crouchie1998 at 2/28/2005 8:13:03 PM
How do I download a file & resume from where it left off at a later time/date?
Any ideas?... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Downloading file without knowing the corrent filename
Posted by Crouchie1998 at 2/28/2005 8:11:01 PM
On the following page is for Symantec Antivirus updates:
http://www.sarc.com/avcenter/download/pages/US-SAVCE.html
Todays virus definition filename & path is:
http://definitions.symantec.com/defs/20050228-024-x86.exe
Notice the filename is: 20050228-024-x86.exe
I can get the '20050228... more >>
outlook add in, read mail
Posted by Borza Paul Valentin at 2/28/2005 7:57:37 PM
Hello,
I am a beginner in outlook interop. But i want to create an outlook add in,
which can be able to add some menu items, but most imprtant I want it to be
able to read the source of the emails, when a users is viewing them.
Can anyone help?
Vali
... more >>
Comunicating vie serial port problem
Posted by dzemo at 2/28/2005 7:39:00 PM
I have to program analyzer from my software made in vb.net installed on lab
computer connected to analyzer with RS232 control and my knowledge on serial
protocols is 0 (zero) and in replay I have *.PDF in attachment with
explanation I understand what I have to send (I think so) but I can't fig... more >>
need help finding cursor coordinates ?
Posted by aam at 2/28/2005 7:15:02 PM
Hi. I am trying to find the cursor coordinates inside of a window, not a
form. I would like to display the coordinates of the cursor when you click
inside of the window. Either that, or have the current coordinates of the
cursor displayed as you are moving it around inside of the window. Thank... more >>
TCPlistener and tcp client
Posted by Sumit Gupta at 2/28/2005 6:33:25 PM
Hi,
i am fairly new to TCP network programming...
I have write a code from some example code to open a tcplistener and than
try making the tcpclient that send data to the listener..both application
works fine...but the problem is that I doesn't find that how my tcplistener
or server code se... more >>
Possible to optimize this?
Posted by Robin Tucker at 2/28/2005 6:01:45 PM
I have a slight bottleneck in my code, the simplicity of which leads me to
believe it is either insurmountable, or easily speeded up. I have an
ArrayList of numbers (integers, which are in fact database primary keys).
In order to pass all of these keys into a stored procedure, I generate on... more >>
calculating the amount of days between 2 dates...
Posted by Scott at 2/28/2005 5:56:45 PM
Hi All
I have an application that has a start date and a finish date I need to
calculate the number of days from the start date to the end date and then
display this in a read only text box... How might I code this?...
Regards
Scott
... more >>
Check if program is running
Posted by Nikolay Petrov at 2/28/2005 5:49:23 PM
How could I check if my app is running.
I would like to check if my app is running for specified user, because it is
used in Terminal Server.
I want the program to somehow check if another copy is running for the user,
and if so to display a warning message, them exit.
TIA
... more >>
Office Automation
Posted by Kuups at 2/28/2005 5:14:01 PM
Hi to everyone!
How to use the AutoCorrect and Check Spelling method using word
in VB.Net? is there any article on how to code that in form please
share to us.
Thanks and Regards!
... more >>
Option Strict and .Save with an Image
Posted by jmhmaine at 2/28/2005 5:01:02 PM
The following code works when Option Strict is off:
Dim thumbSize As New Size
thumbSize = CType(NewthumbSize(g.Width, g.Height, 100), System.Drawing.Size)
Dim imgThumbOutput As New Bitmap(g, thumbSize.Width, thumbSize.Height)
imgThumbOutput.Save(Server.MapPath(ThumbnailPath), thisFormat)
When... more >>
auto update feature vb.net
Posted by marfi95 NO[at]SPAM yahoo.com at 2/28/2005 3:56:11 PM
I want to implement into my application a mechanism to retrieve the
"latest updates" to my app. I'm looking for various ways to accomplish
this and how to get around the fact that you are running the app and
when you download/copy a new version, the app is in use.
How do you get version info ... more >>
How to kill thread?
Posted by Brett at 2/28/2005 3:55:09 PM
I'm trying to kill a thread spawned this way:
Form1 spawns Class1 via Thread.start()
Here's my code to kill the thread:
If (t.ThreadState.ToString = "SuspendedRequested, WaitSleepJoin") Or
(t.ThreadState.ToString = "Suspended") Or (t.ThreadState.ToString =
"WaitSleepJoin, Suspended") Then... more >>
Outlook Access
Posted by Matt at 2/28/2005 3:11:12 PM
I'm trying to do the following, pulling from Outlook with an independent
project:
1. The day's Outlook appointments, with person that the appointment was
scheduled with
2. Add a list of people from my project's end into the list of possible
logins on the Outlook end
Is there some book/... more >>
Change label text on another form
Posted by Roger Ries via DotNetMonster.com at 2/28/2005 2:45:45 PM
I'm trying to change the text in a label from another form.
lblInfo.Text = "ABC"
Works for the form your currently in but how the heck do you change that
label information from another form.
Later
--
Message posted via http://www.dotnetmonster.com... more >>
Help Files
Posted by Richard at 2/28/2005 2:38:39 PM
I have attached a help file to a form(help1.Html).
Dim hlp As New Windows.Forms.HelpProvider
hlp.SetShowHelp(Me, True)
hlp.HelpNamespace = "c:/temp/Help1.html"
On a button click I want to change the help to a new help file(Help2.Html).
Dim hlp As New Windows.Forms.HelpProvider
hlp.SetShowH... more >>
Streamwriter not creating file -- sometimes
Posted by Selden McCabe at 2/28/2005 1:55:43 PM
I'm using the following code to write some text to a file:
objWriter = New StreamWriter(FullPath, True, System.Text.Encoding.ASCII)
For nRow = 1 To sData.Length - 1
objWriter.WriteLine(sData(nRow))
Next nRow
objWriter.Flush()
objWriter.Close()
When I run this in the IDE, it works. W... more >>
Parse Address
Posted by Michael C# at 2/28/2005 1:42:26 PM
Hi all,
I'm about to start writing a routine to parse "standard" U.S. Addresses (if
there is such a thing...) Before I jump off into this, I was just wondering
if maybe someone out there had already seen some similar logic already
implemented somewhere? Here's basically what I'm trying to... more >>
Calling VC++ From VB.NET
Posted by Mark Jerde at 2/28/2005 12:39:02 PM
I have been searching google, google groups and MSDN but haven't found any
simple examples yet. Suggestions and/or URLs would be appreciated!
I need to write some ISO C++ functions to verify data streams. (It is
expected these will also eventually be run in Linux.) The application also
n... more >>
Datagrid data value
Posted by Kenneth H. Young at 2/28/2005 11:51:49 AM
How do I get the value of a spcific field in a datagrid. On a double
click of a given row I would like to get the value of that rows email field.
Private Sub DataGrid1_DoubleClick(ByVal sender As Object, ByVal e As
System.EventArgs) Handles DataGrid1.DoubleClick
Dim mailVal As String
... more >>
overriding user control properties
Posted by softweb70 NO[at]SPAM hotmail-dot-com.no-spam.invalid at 2/28/2005 11:46:40 AM
Hello all
I have created a user control of a simple label. It is added to my
user controls on the tool bar. I can drag it out on the form, but can
not change the text to fit my needs much like you can do with vfp
visual classes. How can I change the text on the user control that
has been "dragg... more >>
Pad Middle of string with zeros
Posted by Ben at 2/28/2005 11:21:29 AM
Hi
I have a string which is at least 4 characters but can be more which I need
to pad, with zeros, to a full length of 15 after the 3rd charactor.
Eg '1234' to '123000000000004'
How can I do this?
Also how can I truncate this back to 4 or however many charactors (e.g.
123000000000400... more >>
How to make Set File In Dot Net
Posted by pramod NO[at]SPAM luxoroffice.com at 2/28/2005 11:15:38 AM
Dear All,
I am just trying to make Set Up File. But I am not able to get it. Plz.
help!
Regards,
Pramod
... more >>
Screen Magnifier
Posted by Nikolay Petrov at 2/28/2005 11:05:13 AM
I want to make a screen magnifier which follows the mouse pointer.
Is it possible using the Framework or I should use WinAPI?
... more >>
KeyPress Event on DataGrid Not Firing?
Posted by Bruce D at 2/28/2005 10:59:15 AM
I've tried to Google for the answer...and I'm sure it's something
stupid...but for some reason if I try something as simple as this...I never
see a messagebox. I have created the columns programmatically using
'DataGridTextBoxColumn' and such. I can click on the colums and type over
what is di... more >>
Crystal Line Chart
Posted by Scott H. at 2/28/2005 10:17:05 AM
Hello:
I am trying to use Crystal Reports from VS.NET 2003 to produce a simple line
chart, where the x axis represents the number of measurements taken and the y
axis represents the range of measurement values. There are two sets of points
or measurements, so I would like a line on the char... more >>
HELP: How can I timeout a TCP Client?
Posted by Matthew Speed at 2/28/2005 10:08:16 AM
I have written a TCP/IP server and a program to monitor whether the
server is running. To determine whether or not the server is running
I simply attempt to connect to the port on which the server listens
and jump out to a Catch block if the connection fails. I have
discovered that there are t... more >>
Is there a way to clear system tray during VB.NET app crash?
Posted by Tom at 2/28/2005 9:47:32 AM
Hello,
System tray icon informs users that the apps is running in the background.
However, there are instances that the app might crash and after that the app
icon in the system tray is still displayed. It goes away when the mouse is
pointed over the icon.
I wonder if there is any way to f... more >>
Problem with my DB Connection... HELP!!!
Posted by simonnormand NO[at]SPAM maisonlaprise-dot-com.no-spam.invalid at 2/28/2005 9:42:33 AM
I'm Working with VB.net and i Use this connection function (see code
below). It's working perfecly, but sometime it's to long before to
have a result. Please help to optimise my code.
Best regard!
SimF1
'OpenConnection CODE(start)============
[color=blue]Public Sub OpenConnexion()[/color]
... more >>
starting from 0
Posted by sean sobey at 2/28/2005 9:38:14 AM
Hi everyone! I am trying to teach myself VB and am starting from 0. Where
can start off with online tutorials? I already know SQL scripting and I
want to use VB with SQL.
Thank so much for your help.
sean
... more >>
LDAP query error
Posted by Kenneth H. Young at 2/28/2005 9:24:49 AM
I am having difficulties with an LDAP client I'm writing. What I have
discovered causes the error is when the client queries the LDAP server and a
record contains two values entered in one field that is semicolon ";"
separated. i.e. A telephone number. In RED below.
How can I handle thi... more >>
Edit Checkbox (in DataGrid) when enter cell?
Posted by Bruce D at 2/28/2005 9:24:29 AM
I have added a checkbox to my datagrid (programatically with
'DataGridBoolColumn'). It works great...except one thing...when I first
click on the checkbox in my grid it doesn't do anything...it's like its only
getting focus (it's not grey). After the initial click, I can toggle the
checkmark. ... more >>
Help converting Buffer of Bytes to string
Posted by David at 2/28/2005 8:34:17 AM
I note that you can null teminate a string by adding controlchar.null.
Is there a way of adding a null to a Buffer of Bytes and converting it to a
string.
I have packets coming in from a serial ports as bytes and some of these
represent strings. (Like the Packed BCD date/time stamp etc).
... more >>
Form load @ runtime
Posted by Christian Hamel at 2/28/2005 8:00:00 AM
Hello.
Here's my problem. I have a Treeview with many options and in the TAG
property of these nodes, I have a form name (frmDetail, frmheader, etc..).
In the doubleclick event of my Treeview, I would like to open the proper
form based on the value in the TAG property. This must be easy bu... more >>
the project location is not fully trusted by .net runtime
Posted by Quan at 2/28/2005 7:59:09 AM
I have a solution with several vb.net projects in it. I
developed the code in one machine then copied all the
files in the other machine to continue the development.
The projects are on the local drivers (E driver on the
first machine and C driver on the second). When I try to
open the pro... more >>
Reference Error
Posted by Elena at 2/28/2005 7:03:05 AM
On the top of my form I have Microsoft.Office.Core and I get this task error:
Namespace or type 'Core' for Imports 'Microsoft.Office.Core' cannot be found.
When I checked the references, It says the refernces is already added.
When I posted this Friday, someone suggested that I may have a new... more >>
creating combobox
Posted by kees NO[at]SPAM baardman-dot-nu.no-spam.invalid at 2/28/2005 5:46:49 AM
I'v always build my applications with MS Access /VBA . Starting today
I'm trying to work with vb.NET.
I'm building my first form and try using a combobox.
Is their a'n example how to build and bind a combobox?
regards
Kees
Posted Via Usenet.com Premium Usenet Newsgroup Services
-----... more >>
renaming a project
Posted by vic_ngreply NO[at]SPAM xs4all-dot-nl.no-spam.invalid at 2/28/2005 5:42:32 AM
Perhaps this is obvious to everyone but me, but how do you rename an
existing project when using the .NET IDE? It allows you to save the
current form as something else, but not the whole project. Am I stuck
with going through all the files and directories and renaming them?
regards, boops boops ... more >>
Checking whether a process is in execution
Posted by kd at 2/28/2005 5:31:02 AM
Hi All,
If the name of a process is known, is it possible to check whether it is in
execution?
What I did was to fetch all the processes running on the system using
Process.GetProcesses() and traverse through the array looking for the Process
name.
Is there a shortcut or easier way to... more >>
Retrieving values from an attribute of an object which is in an arraylist.
Posted by Frustrated Newbie via DotNetMonster.com at 2/28/2005 5:08:15 AM
I need to get the values of an attribute of each of three objects that I've
stored in an arraylist. Each object has three values, and one of those
values is an integer.
I'm able to "get" the values when from the objects when I instatiate an
object from the class I created, so I know each objec... more >>
Detecting total and free disk/memory space
Posted by schwortschik NO[at]SPAM gmx-dot-de.no-spam.invalid at 2/28/2005 3:43:00 AM
Hi there!
I want my VB.NET-program to detect the total and used amount of disk
space and memory of the system. How can I do that?
I know there is WMI, but I don't know which SELECT-Statement I have to
build in order to get these information.
Best regards
RobinSword
Posted Via Usenet.... more >>
Folder.Exists method??
Posted by BobAchgill at 2/28/2005 12:22:54 AM
Is there a special method to find out if a folder exists?
The File.exists method for some reason did not work for
me to see a folder. So I thought maybe there is another
way to see if a folder exists.
Bob... more >>
Inline functions
Posted by kd at 2/27/2005 11:49:05 PM
Hi All,
Does vb.net support inline functions?
kd.
... more >>
|