all groups > vb.net > november 2003 > threads for friday november 21
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
SQL server database
Posted by EMW at 11/21/2003 10:23:04 PM
How can I create a SQL server database in my VB.NET program?
I've MSSQLServer installed and running.
If a database is created, where is it stored?
I used the following code, didn't get any errors, but cannot find a new =
file:
Dim con As SqlConnection =3D New =
SqlConnection("server=3D(l... more >>
Displaying Text File in a Table
Posted by Amjad Farran at 11/21/2003 10:05:13 PM
What is the easiest way to display in a table, a delimited
text data saved in a text file?
I need an idea so that I can research it!
Amjad... more >>
Enumerate windows domain in local network
Posted by Mat at 11/21/2003 6:03:27 PM
How to enumerate windows domains in LAN. How to do it?
... more >>
Differences between a class and a component class???
Posted by Daniel at 11/21/2003 5:56:19 PM
Basically I want to create a data access dll that will be referenced and
used in multiple projects. When I go to create a new class it asks what
type of class should I use?
--
Daniel
... more >>
Datagrid clear
Posted by Alan at 11/21/2003 5:26:01 PM
I have set the datasource of the datagrid to a datatable.
How do I clear the datagrid contents before refill the datagrid everytime ?
... more >>
Get value from cell in a DataGrid
Posted by James at 11/21/2003 4:36:26 PM
I would like to get a value in a cell for the currently
selected item in a DataGrid. The catch is I do not want
to use an index number to access the cell. I want to use
the DataField property of the column for the cell I want
to access for the current row.
I don't want:
objDataGrid.Selec... more >>
Disk Full error...on certain file and driectory create/copy methods
Posted by VJ at 11/21/2003 4:34:32 PM
I have these functions in my application.
FileInfo.CopyTo
DirectoryInfo.Create
File.Copy
Directory.Create
Do these methods generate a exception when the DISK is full were they are
trying to create a directory or copy a file? If so what is the exception?
VJ
... more >>
Simple thead question .... what am I doing wrong?
Posted by M O J O at 11/21/2003 3:24:52 PM
Hi,
I have a little test project. I spin up a thread, lets it sleep for a
second and then the thread makes a button visible ... or at least should
make it visible, which it doesn't do.
---------------------------------------------------------------------------
Here's my thread class:
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
how can i load all filenames in a folder in a listbox??
Posted by Little Man at 11/21/2003 3:23:23 PM
any samples??
thanks
... more >>
Check out these error messages
Posted by active at 11/21/2003 3:02:41 PM
ANYONE HAVE ANY IDEA WHAT IS CAUSING THESE ERRORS.
HAPPENS ONLY IF I "START' NOT IF I "START WITHOUT DEBUG"
I HAVE NO IDEA WHERE TO LOOK FOR THE BUG
An unhandled exception of type 'System.InvalidOperationException' occurred
in system.drawing.dll
Additional information: The object is currently... more >>
help, TabControl1_SelectedIndexChanged fires on form initialize
Posted by ujjc001 NO[at]SPAM mail.crk.umn.edu at 11/21/2003 2:49:11 PM
Hello all. Please please help me come up with a solution to this
problem.
Here it goes-
--- code snipit---
'TabControl1
'
Me.TabControl1.Anchor = System.Windows.Forms.AnchorStyles.Left
Me.TabControl1.Controls.AddRange(New
System.Windows.Forms.Contro... more >>
open file dialog
Posted by Mike at 11/21/2003 2:45:12 PM
I have a app that allows users to select a file and upload the file to a
server. When the user hits the Select File button they get a permission
error, and not allowing them to search for a file with the OpenFile Dialog
box. I can search for a file on my development machine.
What do i need to ... more >>
vb.net - event handler
Posted by Bob at 11/21/2003 2:31:45 PM
In the VB.NET Page_Load() function , how can I know which control causes the
page postback?
... more >>
How do I get the position of a char in a string? Thank you.
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 11/21/2003 2:25:15 PM
I have a descripion of a card that includes name and
denomination preceded by a $ sign like this:
Better card $5
Better card $10
Better card $02
and I need to be able to get the numbers after de $ sign,
any Ideas please.
Thank you very much.... more >>
Databinding manager
Posted by Alan at 11/21/2003 2:15:08 PM
I have a form with text boxes bind with dataset of a table like Customer
with a CustomerID field.
I bind the dataset with binding manager and I want to add new record.
I called the AddNew() of the binding manager to add a new record, however, I
need to know the MemberID of the last record and ad... more >>
Display text
Posted by Troy Wilson at 11/21/2003 1:51:07 PM
Is there an existing control for Visual Basic that allows
me to display text in that control, but also lets me append
text to it. The application I have in mind for this
control is something like a status page that updates with
new information without wiping out the previous info.
Thank you.... more >>
Urgent help please
Posted by Catherine Jones at 11/21/2003 12:42:44 PM
Hi,
We are using MSCHRT20.OCX in our software it is working fine with in our
application if we load the chart in a view. But if i try to load a html file
in a webbrowser control from within the appliaction it is not loading the
chart. We have registered the MSCHRT20.OCX. Is there any pro... more >>
LoadDataRow Issues
Posted by VJ at 11/21/2003 12:39:06 PM
I have 2 datasets, each with a DataTable. Each table has the same primary
key, and columns. I am trying to copy rows from one dataset to another,
based on an event from my application.
It all works fine when the row is not present in the destination DataTable.
Now when the row is present in th... more >>
blob in database from url
Posted by geertm at 11/21/2003 12:28:26 PM
How can I put a jpg from the web url http://website.com/test.jpg
into a blob field from a dataset as a bmp?
Is this possible?
... more >>
Beta Question :-)
Posted by Stan Sainte-Rose at 11/21/2003 11:57:52 AM
Hi there,
I was happy for testing my first vb.net application...
But I am disappointed to see how slow it is...
So before I die silly, I would like to know if I had to include in all my
forms the Import Section when I use datagrid, databases, etc...
Or do I miss something.. because it's ver... more >>
HOWTO - measure a function execution
Posted by Crirus at 11/21/2003 11:49:19 AM
I need to measure how long a function take to execute... or a sequence of
code within
--
Ceers,
Crirus
------------------------------
If work were a good thing, the boss would take it all from you
------------------------------
... more >>
newb: help me troubleshoot this regex plz? (c'mon it'll be fun!)
Posted by lover at 11/21/2003 11:42:58 AM
\({0,1}(?<areacode>[0-9]{3})\){0,1}( /-){0,1}(?<prefix>[0-9]{3})(
/-){0,1}(?<suffix>[0-9]{4}).*
for matching phone numbers and replacing them with
(${areacode}) ${prefix}-${suffix}
it works awesome! if i type '8005551212' i get '(800) 555-1212'
the problem ... more >>
how to search a string?
Posted by John at 11/21/2003 11:38:36 AM
Hello,
I want to be able to search for a keyword within a string to see if
exists how can I acomplish this? Thanks in advance.
string = "this is a string and I want to see if I can test for a key word
like er324"
I want to see if er324 is within the string.
John
... more >>
VB.NET - Send WinXP Fax
Posted by Scott Johnson at 11/21/2003 11:33:53 AM
Hi!
I have been looking for a way to send a fax using Visual Basic .NET through
the built in Fax of Windows XP.
I was able to get it to work in VB6, but I want to rewrite the application
in VB.NET. Anyone got any ideas?
Thanks!
--Scott
... more >>
Timers, threads, and windows services
Posted by jeff at 11/21/2003 11:31:05 AM
Greetings;
Newbie here, please forgive my ignorance of the vb.net
threading model.
I am developing a windows service which is driven by a
variable number of timers. All timers use the same event
handler, and each invocation sends a command to another
service. What are the threading c... more >>
Problem calling DLL from webform application
Posted by James Radke at 11/21/2003 11:11:39 AM
Hello,
I am using VB.NET to call an unmanaged DLL which contains some functions.
When I call the DLL from a windows application, it all works fine. When I
place the same code in a webform application, my call to the first
initialization routine simply hangs (i.e. in debugger it shows the code... more >>
app.config + MANY SQL string
Posted by Mart at 11/21/2003 11:05:09 AM
Hi everybody,
I plan to have a LOT of SQL string in my app. So I need your advice for
this.
Is it a good idea to store all my SQL string in the app.config file?
For a maintenance point of vue it would be easy to access and change any
SQL squery without having to open/edit any forms.
... more >>
check if file path is valid
Posted by thorung NO[at]SPAM mailcity.com at 11/21/2003 10:53:51 AM
Hello All -
Is there a way to check if a file path string is valid? I.e. is there
a function that takes some string, say 'c:\somedir\subdir' and returns
TRUE if it is valid or FALSE if no such path exists?
Thanks!
Brian... more >>
VB NET Profiler
Posted by Crirus at 11/21/2003 10:43:34 AM
Is there any way to make a profiler report in VB NET?
--
Ceers,
Crirus
------------------------------
If work were a good thing, the boss would take it all from you
------------------------------
... more >>
Dynamically highlighting items in a rich textbox
Posted by Fool at 11/21/2003 10:26:41 AM
Hi,
I want a rich textbox that dynamically highlights particular words
immediately after they are typed. Just looking for some general
tips...
I tried putting some code in a sub that handles the textchanged event
for that textbox. The issue here is that the focus jumps to the words
to be h... more >>
Question to b answered in 10 minutes or less
Posted by Erik at 11/21/2003 10:10:14 AM
Ok. I have a project that figures out payments of an
item. I just can't find the code to only get rid of the
negative balance in my list box if there is a negative
balance. Help Please.... more >>
Good book
Posted by Sivaprasad at 11/21/2003 10:08:45 AM
Hi
Can anyone suggest me a very good book to have very good knowledge about
"Common Language Runtime"
Thanks
Siva
... more >>
menuitem name
Posted by Edwin Bach at 11/21/2003 9:49:28 AM
how can you get the name of a menuitem programatically and return is as a
string, for example if
Friend WithEvents mnuExit As System.Windows.Forms.MenuItem
is defined how can you go get the mnuExit
TIA
Ed
... more >>
services and console apps...
Posted by Daniel Bass at 11/21/2003 9:35:24 AM
Forgive me if this is in the wrong place, I couldn't find a suitable .net
services newsgroup to post in.
I read in services that they are designed to have no UI, but I'd like to
create one that can be run from the command line, and in doing so would act
as a console application for debugging p... more >>
Need to display file processing status
Posted by Geoff Pennington at 11/21/2003 9:25:46 AM
My VB.Net app reads an Excel file, processes it one row at a time, and when
processing is complete writes the row to a database. The typical file will
have several thousand rows and may take a couple minutes to process. I would
like to display a running count of the number of rows processed. It i... more >>
Passing Pointers to Structs
Posted by Bryan G at 11/21/2003 9:17:47 AM
Hi, I'm working on a VB project which involves using C
library functions which take struct pointers as args, and
I keep running into this error when trying to pass either
an IntPtr or a Structure ByRef to the functions.
An unhandled exception of
type 'System.Runtime.InteropServices.Marsha... more >>
Retriving the last row in a MSACESS table
Posted by LM at 11/21/2003 9:15:53 AM
Hello,
Is it possible to get only the last row of a table=20
(MSACESS) without have to load the complete table?
Thank=B4s in advance.
L. Mendes... more >>
Toolbars
Posted by Steven Smith at 11/21/2003 9:11:54 AM
How can I make my toolbars float any snippets of code or
just some explanation on the subject would be helpful
Thanks in advance
Regards Steve... more >>
Drag and Drop onto an .Exe file
Posted by Pete Mitchell at 11/21/2003 8:47:58 AM
I have an application that parses a file and creates a new
one based on the contents of the original file.
What do I need to do so that a user could drag the source
file from Windows Explorer and drop it onto a desktop
shortcut icon of my .exe and have it execute ?
Thanks in advance..
Pe... more >>
Sharing class between projects
Posted by Susan Landgraf at 11/21/2003 8:39:11 AM
I am new to VB.net. I have a solution that contains 2
projects, both converted from VB 6. I have a class in one
project that I would like to use in the second project.
How do I do this?
Thanks a lot.
Susan... more >>
Refresh
Posted by Toggles at 11/21/2003 8:01:00 AM
Does anyone know of an easy way to get a page to
automatically refresh after a period of time (e.g, 5
minutes)? I have something already set up (with a hidden
text box, etc.), but was just curious if there was an
easier way.
Thanks,
Toggles... more >>
crystal report refresh update ide
Posted by aldous scotch at 11/21/2003 7:42:16 AM
I designed a Crystal Report .rpt from within Microsoft
Development Environment 2003 Version 7.1.3088 (VB .NET
IDE).
I selected database fields from the left side Field
Explorer onto the Details (Section3) of the .rpt.
Also, I added a new web form myWebform.aspx and a web
object CystalRep... more >>
Creating INI file
Posted by Grace at 11/21/2003 6:43:55 AM
Hi,
How do I create/access an INI file in VB .NET? I
appreciate any help you can give me...
Thanks!... more >>
Free Space
Posted by Eldiablo at 11/21/2003 6:42:18 AM
How to visualize the space rimanate on one disk drive in
VB.NET?... more >>
REPOST: More Reference problems & custom controls disappearing
Posted by sjamesNO_SPAM NO[at]SPAM mhapensions.com at 11/21/2003 6:28:41 AM
Hi all,
I'm reposting this message as I'm experiencing this problem more and
more frequently :
I really hope someone out there can help me as I've been tearing my
hair out on this one for a good while and I'm getting really
frustrated now!
My problem is this - my custom controls periodic... more >>
Any alternative to SendKeys?
Posted by Pete at 11/21/2003 6:25:37 AM
I'm trying to use SendKeys to send a 'close' key sequence
to an application popup. Unfortunately, I'm running into
the classic timing issues with SendKeys at it sometimes
hits the wrong app (even though I'm using AppActivate).
Is there a more intelligent way of sending keystrokes to a
spe... more >>
Is an array of Objects in vb.net a good equivalent for an array of Variants in v
Posted by WayneM at 11/21/2003 5:12:03 AM
I have a vb6 app that uses an array of variants, like a
database table that I would like to convert to vb.net.
Does it make sense to use an array of objects in vb.net?
Any other suggestions?
Thanks,
WayneM... more >>
Need Help - "Circular" string comparaison
Posted by Rogers at 11/21/2003 5:10:05 AM
I want to compare strings of numbers that have a circular boundary
condition. This means that the string is arranged in a loop without an
end-of-string. The comparaison of two strings now becomes a different
operation than with regular strings because the circular string can be
"rotated", lik... more >>
Can any one help me with these three problems?
Posted by Daz at 11/21/2003 4:26:46 AM
Can any one help me with these three problems?
1) How to I open and/or run a Microsoft PowerPoint
presentation?
2) How do I copy and past a file from one location to
another?
3) I am using the Drive-list-box component from Visual
basic 6. If a disk is not present when a drive is click... more >>
vb,net
Posted by tommy at 11/21/2003 2:43:37 AM
i need to read the vb.net executable file from the pc that
without the vb.net software....
how can i do that ?
is that using the runtime ?
please reply me as soon as possible..
10s... more >>
vb.net
Posted by tommy at 11/21/2003 2:40:46 AM
how to read the vb.net programme from the pc that without
the vb.net program ?...
... more >>
|