all groups > vb.net > february 2005 > threads for monday february 14
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
a little help please...
Posted by rodchar at 2/14/2005 10:53:01 PM
hey all,
i have a task to automate a simple process of once a week downloading a
zipped file (updated weekly but given the same file name) from a website and
processing the file.
How can i make sure that the next file my app tries to download, isn't a
file it's already processed?
I wa... more >>
Process.Start for .WAV file
Posted by genojoe at 2/14/2005 10:07:02 PM
The following command plays a wave file and opens a media application:
Process.Start("C:\Windows\Media\tada.wav")
I would like to play a wav file without opening the default media player.
How do I do that?
... more >>
Printing contents of an RichTextbox
Posted by Urs Vogel at 2/14/2005 9:57:32 PM
Hi
When printing coloured text from a RichTextbox, it turns out to be a quite
and timeconsuming job to position all differently coloured strings on the
Page with DrawString(). Is there a better method of achieving this, or are
there samples somewhere? Couldn't find anything on MSDN.
... more >>
How do I restrict a user to enter a parameter in a list of values ?
Posted by Alex Nitulescu at 2/14/2005 9:17:39 PM
Hi. A newbie question, please:
I have a function which gets some values from a database, based on a
CategoryName. My function looks like this:
Public Function GetProducts(ByVal CategoryName As String) As DataSet.
I would like to be able to restrict the user to enter only one of the
EXISTI... more >>
Making an image look disabled?
Posted by Don at 2/14/2005 9:01:22 PM
Does anyone have any code for making an image look greyed out, similar to
the way images on buttons are grayed out when the button is disabled?
- Don
... more >>
How to get best fit on row height
Posted by Tor Inge Rislaa at 2/14/2005 9:00:46 PM
How to get best fit on row height
I have a datagrid that I want to make sure that the row height is large
enough to show the text in cells containing multiline text. Is that
possible?
TIRislaa
... more >>
inputbox
Posted by about:mozilla at 2/14/2005 8:53:32 PM
I'm just a newbie in vb.net and I have this terrible problem.
I want to use inputbox to get number.
-User can give numbers starting from 0
-If cancel is pressed then default number stays
-If text is given then messagebox gives error
Thanks in advance...
Newbie
... more >>
No more debugging
Posted by Lloyd Sheen at 2/14/2005 8:38:04 PM
Well it happens again. I hate this IDE. No more debugging. F8 doesn't
work. Setting breakpoints doesn't work. Worked last week. And yes the
project is marked as debug. And yes it was rebuilt.
Code in the form_load cannot be debugged with F8 and well I can't wait for
2005.
Any new ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
DataSet object not releasing memory
Posted by Mark Rae at 2/14/2005 8:20:11 PM
Hi,
I'm encountering a strange phenomenon whereby a DataSet object is not
releasing its memory when it's being disposed and/or set to Nothing.
It is part of a Windows service written in VB.NET which fetches data out of
a mySQL database, interrogates each row individually and takes various ... more >>
.NET DLL to VB6 project?
Posted by Marty at 2/14/2005 8:09:44 PM
Hi,
I've been askaing previously if a .NET windows control library (DLL) was
handled by VB6, the answer was and is still no.
But, I have a project library (an API) made in .NET, and my project is
in VB6. I really need a .NET component that could wrap my .NET project
library and make i... more >>
Number of seconds within current day
Posted by Marty at 2/14/2005 7:41:26 PM
Hi,
is there a variable in VB.NET that return the actual number of seconds
(or milliseconds) in the current day? Something like the variable Timer
in VB6?
I can calculate it, but I wanted to be sure if this var exist.
Thank you
Marty... more >>
Getting short error description from ThreadExceptionEventArgs
Posted by Gigi at 2/14/2005 7:23:32 PM
Hello,
I'm trying to get from the ThreadExceptionEventArgs, but using the
t.stacktrace I get a long error description. I want to get only the error
class and error line.
Is there a Way?
Thank you
... more >>
PROPER CASE IN VB.NET
Posted by Lal at 2/14/2005 6:10:55 PM
Dear all,
Is any method to covert to proper case?
like
STORE 'VISUAL FOXPRO' TO gcExpr2
? PROPER(gcExpr2) && Displays "Visual Foxpro"
please help
Regards
K R Lal
... more >>
Using ADOX to create a JET Database
Posted by gaffar at 2/14/2005 6:04:19 PM
Hello Sir,
i need the funtionality of Using ADOX to create a JET Database and tables in
it and one to many relationship between the tables.
Thanks for your help
Gaffar.
... more >>
user interface thread
Posted by John at 2/14/2005 4:15:04 PM
In my windows form (VB.Net), I have a lengthy operation and a Stop button
that allows the user to stop the operation. However, the Stop button will be
available only after the operation is finished. The operation involves
subs/functions from serveral classes, and I have problems to make it a
... more >>
oldDBConnection
Posted by Rod at 2/14/2005 3:33:49 PM
I know my around VBA but am struggling to move over to .NET
I have an application which has several forms with DataGrids filled from
Access tables.
In addition the user may choose to jump in and out of the same form several
times.
It seems to me that I have to set up a new OleDbConnecti... more >>
Change system date
Posted by Richard at 2/14/2005 3:07:29 PM
How can we change/reset the system date.
Thanks in advance.
RC
... more >>
Export to Word
Posted by Arvind P Rangan at 2/14/2005 3:06:08 PM
Hi all,
Have you worked on any project or example where in we can export data to
Word Format with Page Brakes and Header & Footer Template.
This is very important for my assignment.
Thanks
Arvind
... more >>
How to get the path to the users default browser?
Posted by Darious Snell at 2/14/2005 2:35:48 PM
I need to be able to get the path to the users default browser from within my application.
I am in a situation where I can't easily use System.Diagnostics.Process.Start to start
their browser with the URL I want and I must resort to using "Shell". Of course, shell
wants to know where the brow... more >>
Using windows registry
Posted by Sam at 2/14/2005 2:27:28 PM
Hi All
I'm looking for some tutorials on registry (what it is and how to use it)
for VB.Net. Does anyone have any articles or know any websites where I can
read about it. Thanks in advance for any suggestions
Regards,
Sam
... more >>
disabling error reporting
Posted by Bob at 2/14/2005 2:19:27 PM
Crystal 9.2 causes my application to crash when the user is on a slow
computer, gets bored waiting for the reports COM components to load and
switches focus to another window. It locks my app up hard and the user is
forced to kill it with Task Manager. I'm so getting rid of Crystal the first
cha... more >>
Rearranging the row position in a datagrid
Posted by Tor Inge Rislaa at 2/14/2005 1:45:15 PM
Rearranging the row position in a datagrid
Hi I have a datagrid that I fill from a dataset. When the data is displayed
in the grid I want the user to be able to move the position of a row. E.g.
with a button move active row one position up each time the button is
clicked or maybe drag the row ... more >>
Global function
Posted by Geoff Jones at 2/14/2005 1:37:44 PM
Hiya
Where does a function have to be placed so it is accessible to all the
projects in a solution?
Thanks in advance
Geoff
... more >>
VB.NET COM DLL's and the app.config
Posted by Jeremy Lambert at 2/14/2005 1:33:09 PM
I have a .NET COM dll being called from another .NET service (.exe).
I've added an app.config file to the dll, but it's not reading in the
values. I've read on a couple of other posts that you need to add the
key/value pair to the .NET app doing the calling, but this does not
seem to work when ... more >>
GMT Time Difference
Posted by Richard at 2/14/2005 1:30:04 PM
Hi,
Is there any way to get the time difference between Central(US) and GMT in
vb.net.
I'll appreciate your help/suggestion.
Thanks
RC
... more >>
Thread.Sleep
Posted by Chris Dunaway at 2/14/2005 1:19:25 PM
According to the docs, calling Thread.Sleep(0) causes the thread to be
"suspended to allow other waiting threads to execute."
What happens if I call Thread.Sleep(500)? Do other threads not get a
chance to execute during this time? What is the difference between the
two?
I have code that r... more >>
Help with search and compare of field in dataset
Posted by cjh999777 at 2/14/2005 12:46:32 PM
Hi,
I am new to using databases in vb.net and i have created a access=
database called employee it has a key field called employeeID. I=
have gotton as far as creating the dataconnection, the=
dataadapter and the dataset and I have bound it to a datagrid=
just so that i can see that the d... more >>
Upgrading code from VB6 to VB.Net
Posted by Casper at 2/14/2005 12:44:05 PM
Hi there.
I've been searching the internet for weeks now trying to find out the
fix to
my problem (below) but I don't seem to be getting anywhere!
I'm using Visual Basic 2005 2005 Express Edition (Beta) and am having
some
problems upgrading code from VB6 to VB.Net.
I'm pretty much a new... more >>
How to resolve links?
Posted by Brett at 2/14/2005 12:08:35 PM
If I have the code below and I want to check the link:
http://abc.com/test_formRelative.cfm?DoProcess=1
How can that be done? The form link is relative and I'll need to somehow
build the link. Also consider the relative path may look like this:
../test_formRelative.cfm?DoProcess=1
.../test... more >>
New item in Propery Window
Posted by Chris, Master of All Things Insignificant at 2/14/2005 11:08:44 AM
I have a control that inherits from TextBox class. I'm trying to add a
AllowBlank property to the class. How can I get AllowBlank to show up in
the properties window at design time? Can't find the right key words to
find this in Google. Thanks guys.
Chris
... more >>
Compressing/extracting cab file
Posted by Leszek at 2/14/2005 10:49:45 AM
Hello!
I'm trying to create a cab file and extract it.
XP is using a library for it, but i cannot find anything about it....
I don't want to use 3rd party's tools like cabarc/compress/extract.
Can someone give me a tip for it?
... more >>
Sizing controls
Posted by Alan M Dunsmuir at 2/14/2005 10:00:56 AM
I have a VB.NET Windows Forms application which uses as a splash screen
a Form which I want to cover, exactly and entirely, with a specified
..jpg PictureBox.
So I specified the Form, the PictureBox and the .jpg image as having
exactly the same sizes - 820 wide by 460 deep.
This works pe... more >>
Combobox SelectionChangeCommitted not firing
Posted by Kalvin at 2/14/2005 10:00:50 AM
I have a combobox, when I use the mouse and click an item, then the
SelectionChangeCommitted event fires. However, if I use the arrow keys
and move up or down the list to a new item, then this event doesn't
fire. Is there a way to capture it either way. Or, is this what the
lost focus event i... more >>
what is type library?
Posted by Tee at 2/14/2005 9:54:35 AM
Hi guys,
I have a problem with my VS project, it keeps saying COM Interop
registration failed. Could not find a type library for assembly 'Class1'.
If I choose to continue, everything still work fine.
If I type regasm class1.dll /tlb, it will create a .tlb file and solve the
problem, but th... more >>
Textbox events
Posted by VB User at 2/14/2005 9:51:02 AM
I need to validate the text in the textbox as the user enters them. If there
is a wildcard character the user's entry should be cleared. How do I do
this? I am having a problem in setting the keychar/keycode to vbkeyclear as
they are readonly. When I used VB6, I set keyascii to vbkeyclear.... more >>
MS Access AutoNumber
Posted by Nitin at 2/14/2005 9:50:08 AM
How can I reset(Start again from 1 after I delete all records from the
table) the 'Seed' of an AutoNumber field in a MS Access database.
Thanx
Nitin
... more >>
How to make a note show when the mouse hovers
Posted by Just Me at 2/14/2005 8:40:42 AM
I want to make a small window popup when the mouse hovers.
I've looked in the Help but can't find any info (probably can't think of a
good keyword)
Are ToolTips control used for that?
Any suggestions?
Thanks
... more >>
Error starting Windows Service written in VB.NET
Posted by amirmira at 2/14/2005 8:35:14 AM
I have developed a service in VB.NET that accepts startup parameters.
Everything works fine on my machine, but when I deploy the service on another
machine, I get the following error when I try to start the service:
Specified argument was out of range of valid values. Parameter name:newAddres... more >>
Database Question
Posted by Steven S Tuma at 2/14/2005 7:59:06 AM
In eVB I am able to use Pocket Access for my standalone application. Can
Pocket Access be used in .NET compact framework using VB.NET? What is the
best option to use for a database? I am not trying to create an enterprise
application, but rather one for a home user and wasnt sure if SQL Ser... more >>
How to show second form in a windows app
Posted by twnety0ne NO[at]SPAM yahoo.com at 2/14/2005 7:37:02 AM
Hey guys,
I have multiple forms in my windows app, and in my startup form i am doing
the following in order to navigate to a different form:
Dim myform as New frmsecondform
frmsecondform=mynamespace.originalsecondformname
myform.show
As soon as I try to run the application, the main form ... more >>
Querying a DataSet
Posted by Dave Prouten at 2/14/2005 7:25:08 AM
Hi All,
I am building an application which needs to search for an address within a
SQL database. The principle is that when you enter the first Alpha charecter
it creates a search string to query the database, there for if you typed in
"10 b" you would retreave all the entries that started... more >>
Sensitive search
Posted by DC at 2/14/2005 7:09:05 AM
Hi all,
I want to implement a search in a DataGrid.
My datagid is bounded to a DataTable.
I know that there is a DataTable.DefaultView.Find() method, but this method
only searches exact matches. I want a sensitive search.
E.g.:
Suppose I've a "Danny" value on the sorted column and I searc... more >>
System.Runtime.InteropServices.COMException
Posted by JohnB at 2/14/2005 5:57:02 AM
i have an application in VB .NET. I am trying to get UserName and Domain from
my Computer using the following code and it was working properly until i
reinstalled Visual Studio .NET (i had an other problem). I am not sure tha
this action generated the problem, but i don't know what to check to... more >>
Outlining
Posted by Art at 2/14/2005 5:29:05 AM
Hi!
Perhaps this is a silly question -- I have a number of .vb files that
contain mulitple related classes. I'd like to collapse them - which I can
do. The problem is that when I close and re-open the solution the classes
begin all expanded again. I must be missing something.
Can some... more >>
how to get icon in richtextbox......
Posted by Supra at 2/14/2005 4:49:28 AM
how do i get icon in richtextbox's control in vb.net similar to msn chat?
... more >>
is there a way to determine which TreeView node we are hovering over?
Posted by Just Me at 2/14/2005 4:44:55 AM
With a TreeView control and a MouseHover event
is there a way to determine which node we are hovering over?
Thanks in advance
... more >>
is there a way to determine which TreeView node we are hovering over
Posted by Just Me at 2/14/2005 4:40:57 AM
With a TreeView control and a MouseHover event
is there a way to determine which node we are hovering over?
Thanks in advance
... more >>
Data Binding
Posted by Dave Prouten at 2/14/2005 3:35:05 AM
Hi all,
Hope some one can help me.
I am trying to databind a dataset field to the form text property.
I am using the following code which works fine.
me.databinding.add("text",dsAddress("Address"),"PropRef")
However what I really want to do to add the work "Found - " before the
addres... more >>
|