all groups > vb.net > march 2005 > threads for tuesday march 15
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
New Control Not showing up in Add/Remove Coponents List
Posted by Zorpiedoman at 3/15/2005 9:05:03 PM
Horay!
I have just put the finishing touches on a new User Control...
The" Jelly Button"
I created a setup program which runs fine. I see the .dll nicely in the GAC.
How come it does not show up in my Add/Remove componenets list when I try to
add it to the toolbar?
--
--Zorpi... more >>
inserting a record into a datagrid?????what is wrong in my code???
Posted by Hyphessobrycon at 3/15/2005 7:46:24 PM
Private Sub btnrubriekbij_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnrubriekbij.Click
'insert hier
Dim cn As New OleDb.OleDbConnection(constr)
Dim dc As New OleDb.OleDbCommand
dc.Connection = cn
dc.CommandText = "insert into tblVast ( soort, kosten,... more >>
StringReader: How to determinethe number of lines before using ReadLine
Posted by Howard Kaikow at 3/15/2005 7:20:36 PM
How does one determine the number of lines before using ReadLine.
This would enable the ReDim to be out of the loop.
sReader = New StringReader(xxx.GetObjectText_)
If Not (sReader Is Nothing) Then
i = -1
Do Until sReader.Peek = -1
i = i + 1
ReDim Preserve yyy(i) '... more >>
Non rectangular forms, help needed!
Posted by Marcos Beccar Varela at 3/15/2005 6:37:55 PM
Hello to all! first, sorry for my bad english, but I´ll do my best.
I´m testing the 2005 VB.NET Express, and I need to make a Form with a non
rectangular shape.
I saw some somples where said this operations should be made to accomplish
that task.
I done them, but no transparency was made a... more >>
Gather the runtime of a process
Posted by Federico G. Babelis at 3/15/2005 6:22:25 PM
Hi All:
I need to gather the runtime in format "HH:mm:ss" of certain processes from
its start to its end, any ideas ?
thanks,
Federico
... more >>
Datagrid formatting
Posted by John Dann at 3/15/2005 5:57:00 PM
I've got what seems to be a common problem with the DataGrid control -
I want to display a dataset one of whose columns (always the first
column) is a datetime column. But only the date displays not the time.
The dataset structure is only defined at runtime so I want to set the
format of just ... more >>
Fill 3 data sets at one time or copy one dataset to another
Posted by chreo at 3/15/2005 5:55:41 PM
Sorry for weird title and sorry for my English (I'm from Poland).
This is the problem:
I have form with many controls.
There are three comboboxes - each should have table STREETS as DataSource.
1) If I connect each combobox to one Dataset then if I choose street in one
combobox it changes ... more >>
callback function
Posted by Ralph Heger at 3/15/2005 4:55:45 PM
Hi
I want to use some functions from a C++-Library. I have to problems with
this:
1. I must not use the function-names as declared ('SoThis'), but with some
strange letters around
('?DoThisAEC@@YA?AW4S_RESULT@@QAX_N@Z).
2. The Lib wants to communicate through a callback-function. This ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
ICSharpCode.SharpZipLib.Zip
Posted by Sam at 3/15/2005 4:29:56 PM
Hi all,
Does someone knows if I can use this librairy =
(ICSharpCode.SharpZipLib.Zip) for free ?
It is used to zip files (as you can probably guess).
Thank you very much.
Samuel... more >>
Pasting to Excel sheet (getting desperate!)
Posted by at 3/15/2005 4:19:53 PM
I wrote a class in VB.NET to export the contents of a datagrid to Excel. It
works perfectly on my machine, but it fails on my customers' PCs that have
identical versions of Win XP (SP1) and Excel (SP1) installed.
The error is:
System.Runtime.InteropServices.COMException(0x800A03EC): Exception... more >>
License Key Generator
Posted by Chad at 3/15/2005 4:00:56 PM
Hi everyone,
Does anyone know where I can get a license key generator that I can
integrate into my VB.NET program, which uses the CPU ID, etc? I have seen
several "pay" programs, but I do remember seeing one that told you how to do
it yourself... Can't remember where though.
Thanks!
... more >>
handling exceptions thrown from inside a thread
Posted by Bob at 3/15/2005 3:27:51 PM
Is there some built-in way of handling exceptions thrown inside a thread, or
do I need to pass exception conditions to a delegate (which would force me
to handle all exceptions in the thread itself)?
TIA,
Bob
... more >>
System.Timers.Timer and InvokeRequired
Posted by Michael C# at 3/15/2005 2:59:57 PM
Hi all,
I set up a System.Timers.Time in my app. The code basically just updates
the screen, but since the processing performed is so CPU-intensive, I wanted
to make sure it gets updated regularly; like every 1.5 secs. or so. I only
ran into one issue - the MyTimer_Elapsed event handler w... more >>
Outlook Monitor Inbox of multiple mailboxes is it possible?
Posted by Roger at 3/15/2005 2:47:53 PM
I currently have an application that can monitor the Inbox of one mailbox
running on a client using Outlook 2003. This is a standalone application
that needs Outlook to be running in order to see all mail coming into the
e-mail box.
This is using Interop.Outlook
Example of code...
Private... more >>
Connect to POP3 and IMAP4 through proxy using TCPClient...
Posted by WATYF1 NO[at]SPAM gmail.com at 3/15/2005 1:52:02 PM
Hello. I'm writing a VB.NET app to check email message counts for both
POP3 and IMAP4. I'm using TCPClient to connect, and a NetworkStream to
send simple commands. It's a very simple bit of code, actually... the
problem is, if the user is behind a proxy, then the Connect method
fails (times out)... more >>
Rich text box justify.
Posted by JoErickson at 3/15/2005 1:41:06 PM
Hello, I'm in trouble trying to figure out how can I justify text in a rich
text control on my Visual basic 6.0 aplication. Or.. is there any other way
to do it?. Please help. Send you my cordial regards.
Juan Erickson.... more >>
converting string to object
Posted by excelleinc.com at 3/15/2005 1:11:34 PM
Hi,
I want to have a sub that takes string as argument and then opens a form
that has that string as a class name.
Say:
Class users
Inherits System.Windows.Forms.Form
'display form content
End Class
Sub functions(str As String)
Dim frm As New str 'this is want I'm tryin... more >>
Help - Registering CDOSYS.dll for System.Web.Mail problem
Posted by aRBee at 3/15/2005 12:53:03 PM
I got the all too typical Unable to access CDO.Message object error. I
checked the registry for HKEY_CLASSES_ROOT\CDO.Message\CLSID and the default
value was blank. I unregistered all CDO dlls:
C:\WINNT\system32\cdosys.dll
C:\WINNT\system32\cdonts.dll
C:\WINNT\ServicePackFiles\i386\cd... more >>
passing an array to a module
Posted by Erik Foreman at 3/15/2005 12:45:45 PM
this is what I have
'variables defined as arrays
Dim ceday(), ceti(), ceto(), ceproj(), cenotes() As String
Dim cerow As Int32
Private Sub cboEmpName_SelectedIndexChanged(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
cboEmpName.SelectedIndexChanged
Dim en... more >>
Read contents of outlook
Posted by Qwert at 3/15/2005 12:29:56 PM
Hello,
I would like to read the contents ( mail ) of my outlook program. I assume
these messages are kept in the files "Inbox.dbx" and
"microsoft.public.dotnet.languages.vb.dbx".
Is there anyway to do this in VB.NET. Something like:
MyMessageCollection = OpenDBX( "c:\Inbox.dbx")
For Ea... more >>
VB 2002 updates download
Posted by FinnJohn at 3/15/2005 12:05:46 PM
Hello!
Where can find microsoft Updates to VB .NET 2002.
VB 2002.NET Programs update function not work (in menu)
Can anyone help please?
... more >>
Daten aus einer Website einlesen
Posted by Maximilian Hofer at 3/15/2005 11:03:38 AM
Hallo NG,
zum erstellen einer Anfrag an eine Website benutze ich folgenden Code:
Dim encoding = New System.Text.UTF8Encoding
'Daten zum Posten zusammenbauen
Dim postData As String
postData = "username=" + TextBox1.Text
postData += ("&password=" + TextBox2.Text)
'in ein Byte-Ar... more >>
Comboxbox.height = textbox.height?
Posted by MATT at 3/15/2005 10:43:24 AM
Is there any way to get a combobox to be the same height as a textbox?
The combo defaults to 21px and text defaults to 20... and I see no way
to change either one to match the other.
Thanks,
Matt... more >>
Problem with SQLParameter data type (because 'System.Data.SqlClient.SqlParameter' is not derived from 'StoreBO.StoreBackOffice.SqlParameter'. )
Posted by Stacey Levine at 3/15/2005 10:39:06 AM
I have a webservice that has the below procedure. Basically a procedure to
called a stored procedure and return the results. When I try to call the
webservice from my program I get the error. Both my calling code and the
webservice code are below. Thanks for your help.
D:\Projects .NET\St... more >>
Overload resolution vs. Enum's
Posted by Phill. W at 3/15/2005 10:27:56 AM
I have two routines
Public Sub Log( ByVal e as eLogLevel, ByVal saMsg as String )
Public Sub Log( ByVal i as Integer, ByVal saMsg as String )
(eLogLevel is a Public Enum)
(We started off with the Integer method, then wanted to add the
Enum overload to clarify the values that should be fed i... more >>
html to pdf
Posted by Brent at 3/15/2005 10:01:15 AM
I have a table full of dynamic content in my .net web
application. I would like to be able to save the html
that is generated into a pdf. Can anyone direct me to a
turorial that might help?
Thanks,
brent... more >>
Crystal Report - LoadSaveReportException: Load Report Error
Posted by Crystal Report - LoadSaveReportException at 3/15/2005 9:59:03 AM
I have a web system which will display a crystal report for clients. It is
written in Visual Studio 2003, VB.Net and Crystal Report which comes with VS
2003, and it is running on Windows 2000. It works very well. Now we moved to
Windows XP and I cannot run the report again at design time. Ther... more >>
Use Speech
Posted by Nitin at 3/15/2005 9:47:47 AM
How can I use Microsoft Agent for speech enabling my windows application
Regards
Nitin
... more >>
Importing .csv file into a datatable VB.NET
Posted by Jonathan at 3/15/2005 9:33:04 AM
How do you tell the .csv file that you are to import that it has no row
headers as I went to the web site http://www.connectionstrings.com/ and under
text file it says:
"HDR=Yes;" indicates that the first row contains columnnames, not data
So i have done HDR=No but this does not work as.... more >>
Removing localization bug
Posted by Nick at 3/15/2005 9:30:27 AM
Hi there,
What does someone have to do to remove localization from a form?? It
just keeps coming back again! I would like to try to assure that the
property stays to "False" and the language stays to "Default", but it
doesn't. Surely this is some kind of bug because if I set a proper... more >>
Newbie question on collections
Posted by aaj at 3/15/2005 9:21:53 AM
Hi all
this is the first dip of my toe in to and OO type language and I'm having a
little problem
I have 4 classes
1) an infterface class with a button on it (frmmain). The button
instantiates the following..
2) a control object nameCTL
3) an entity object called nameCLS
4) a collect... more >>
How can I use API to do.....
Posted by Husam at 3/15/2005 9:19:11 AM
Hi EveryBody:
How can I use win32 API to destroy or close spicfied window ?
any help will be appreciated
regard's
Husam... more >>
Console replication of old CHOICE DOS command - how to timeout? - choice.vb (0/1)
Posted by Mark A. Nadig at 3/15/2005 9:10:58 AM
I've got a console application in vb.net to replicate the behavior of
the old DOS command CHOICE. I've got a timer event successfully
firing, however the main thread is stuck on the console.read(). How
can I interrupt that and have it return the default errorlevel?
Any suggestions? I appreciat... more >>
Simple Component Timer Question
Posted by pmclinn at 3/15/2005 8:54:35 AM
I'm trying to figure out why my timer math is off:
If an interval of 1,000 = 1 second
then shouldn't 1,000 * 60 = 1 minute
and 60,000 * 60 = 1 hour?
3,600,000
I'm using the elaspsed method and my code is not firing.
... more >>
loading DLL's from single location
Posted by ECathell at 3/15/2005 8:53:32 AM
I have several programs in development that all use the same DLLS. Many =
of which will be the new enterprise library objects. While in =
development and initial launch I do not want to add these to the GAC of =
each machine. I want to make a single directory on each computer to hold =
the dlls ... more >>
Hiding a Progress Indicator Modal Form
Posted by Keith Rebello at 3/15/2005 8:44:02 AM
I am writing a program that analyzes a reinforced concrete column section.
The main form has an "Analysis" menu item that calls the main analysis
routines in a ColumnSection class. It also opens a modal form containing a
progress bar which shows the progess of the analysis.
i.e. FormProgres... more >>
Change LANA number on Windows XP
Posted by Manoj Nair at 3/15/2005 8:41:51 AM
Hi,
Is there a way to change the LANA number through code .Without using Lanacfg
Thanks
Manoj
... more >>
Catching ConfigurationException when the config file is corrupted
Posted by Atara at 3/15/2005 7:34:33 AM
My application starts with:
Module mmcMain
Public Sub Main()
Debug.WriteLine("Main begin")
Dim splashForm As New mcDlgs.cmcDlgSplash2
splashForm.Show()
....
Accidently I corrapted my config file (missing quote sign -> not valid
xml file) and I got unHandled Except... more >>
.gif images
Posted by CorSchutz at 3/15/2005 7:21:02 AM
I have a question regarding the use of .gif images in visual basic 6.0. I am
a high school senior doing independent study of Visual Basic. I am quite
experienced in computer use and i love programming. My question is: Can you
use animated .gif images in Visual Basic 6 and actually have the ... more >>
Variable values not showing = nothing
Posted by csgraham74 NO[at]SPAM hotmail.com at 3/15/2005 7:12:16 AM
This is probably something small but when i am debugging my vb.net
class library code im not able to see the values of any of the
variables when i hover my mouse over them. instead the value = nothing
the only way that i can view the value of a variable is to write it to
the event viewer using... more >>
Clipboard
Posted by Clipboard Junkie at 3/15/2005 7:00:48 AM
I have a user that usually has a bunch of stuff on the
clipboard, and I'm looking for a quick method this user
can use to wipe everything from the clipboard. At this
point, I'd prefer a VB.NET solution, but if I have to use
API and/or VBScript, I don't care! It's causing some
real proble... more >>
Function Parameters
Posted by hharry at 3/15/2005 6:51:24 AM
Hello All,
Is it possible to force a function argument to fall with a range of
values ?
For example:
I have a function which searches a database table and accepts a query
type argument which I would like to be either 1 or 0.
Public Function IsFound(iQueryType As Integer, sName As Strin... more >>
Collection Object Preferred
Posted by Jack at 3/15/2005 4:59:02 AM
Hello everyone,
Just a general question. Is the Collection Object a dinosaur from VB6 with
another more useful object preferred for VB.NET? Or, has its stature remained
unchanged with .NET?
Thanks in advance!
Jack
... more >>
Is Windows Service what I need?
Posted by BobAchgill at 3/15/2005 4:06:38 AM
I have a Form that on a timer uses FTP to update data on
the local disk.
I would like this Form to start on boot of the computer
and stay running still shutdown.
Like putting it in the startup folder?? Or is that old
Windows 98 terminology?
For an XP machine is Windows Service for th... more >>
Very slow code...
Posted by ?BOT at 3/15/2005 3:00:59 AM
Why is the following code so slow? I have a listView that must refresh it's
processes data every 3 seconds. However, this sometimes goes beyond 5
seconds and crashes the application. I have tries multi-threading, also
ListView.BeginUpdate + EndUpdate(), but the code is sooo slow. Try it for
your... more >>
vbFormControlMenu
Posted by kd at 3/15/2005 12:47:02 AM
Hi All,
Is there any vb.net equivalent for vbFormControlMenu?
Thanks.
kd... more >>
|