all groups > vb.net > december 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 29 30 31
VB2005: What happened to Color, Font, FontStyle
Posted by Dean Slindee at 12/31/2005 11:10:58 PM
Used to be in System.Drawing in VB2003
Thanks,
Dean S
... more >>
Any hints on how to do frames in ASP.Net 2.0?
Posted by Jim at 12/31/2005 10:08:47 PM
What would be cool as hell, would be a designer interface like Dreamweaver -
with drag and drop elements like frames and such.
Why isn't ASP.Net as easy to use as Dreamweaver. Certainly Microsoft has
looked at them (if nothing more than as competition for FrontPage). What
would be the rea... more >>
Nw Deployment
Posted by al jones at 12/31/2005 8:03:54 PM
I haven't programmed since QuickBasic so I'm taking a fling with VB 2005.
That means my questions are going to be very basic ... pleae bear with.
I have a sample that I'm asking a friend to review, so have run through
deployment with clickonce - targetting a CD - which is created as
0rg-0.0.... more >>
Array of Datagrids troubles
Posted by mark at 12/31/2005 4:18:01 PM
(windows app not web)
I have a procedure to populate a given datagrid (Datagrid1) with a dataset
from an indexed data connection. It works:
Globals: Dim FileName1 As String
Dim DS As System.Data.DataSet
Dim OleDbConnection1(20) As System.Data.OleDb.OleDbConnec... more >>
Displaying info in status bar of main form
Posted by Terry at 12/31/2005 4:03:02 PM
I have a Mainform with a Statusbar. When opening another form or doing some
processing I want to display info in the Statusbar of the Mainform. I have
read a lot of articles on this & have come up with the code below. It seems
to work(!!!) in that when coding the second form I can see the
Di... more >>
how to set the same datatable as the data source for two separate datagrids in a form
Posted by LeAnne at 12/31/2005 2:41:22 PM
I have a single datatable in a form, and two datagrids.
I'd like to display the data in the datatable in both the grids.
How ever, when i navigate (change the record position) in one grid, this
effects the position in the other one as well.
How can i overcome this using the SAME datatable (i ... more >>
Is this control available?
Posted by 180Reef at 12/31/2005 1:32:55 PM
I am using VS 2005 (VB) and was wondering if a control that is being
used in VS 2005 is available. It works as a TreeView, but includes a
grid that allows you to modify the node's values (in child nodes). The
root nodes are used as section headers that do not show values.
The control is used i... more >>
Error
Posted by Cid at 12/31/2005 10:58:12 AM
My.Computer.Network.UploadFile("c:\a.gif", http://IP/miCarpeta/archivo.gif,
"Administrador", "Password")
error "The remote server returned an error (404) Not found",
¿?
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Dynamic Button Array Event Handler
Posted by Peter at 12/31/2005 10:27:19 AM
Does anyone have an example of how to handle double click event in one =
method (all of the buttons in the array would use the same method) for =
an array of buttons that were created dynamically?
Thanks=20
Peter... more >>
Using System.web.mail..
Posted by Husam at 12/31/2005 10:27:01 AM
Hi EveryBody:
I made windows application project by using VB.Net And I want to use
System.web.mail in this project, and as you know this function is provided by
ASP.Net ?
And Also when I want to Imports this function I can't do it I can only
imports System.web ?
So how can I solve th... more >>
Icons is Resource Area
Posted by John Veldthuis at 12/31/2005 9:51:58 AM
I have a program which is using a Notify control for a tray icon. I originally had the icon for this
separate as I have to change it all the time. When the icon was in the directory it worked fine but
since I move it into the Resource area it does not. It looks like the Icon is the full 32x32 on t... more >>
From ShellExcute to Process.Start..
Posted by Husam at 12/31/2005 4:39:02 AM
Hi EveryBody:
Two days ago I post a question about how can I use ShellExcute function in
sending e-mail file ?
I got to Helpfull replayment from Mr.Mattias and Mr.Herfried K. Wagner
which telling me that I can use System.Diagnostics.Process instaed of
ShellExcute Function ?
I read A... more >>
My FIRST Class!! But it doesn't work as expected - please HELP!
Posted by Cap'n Ahab at 12/31/2005 3:55:53 AM
I have used VB3 - VB6, so learning all this OO stuff is reasonably new
to me (although I looked at Java a few years ago). Anyway, I thought I
would write a small class to begin with, with a property and 2 methods,
along with a constructor (where you use New(), I think, yes?).
So, I decided to... more >>
problem using serialport in vb2005
Posted by Jan at 12/31/2005 3:25:17 AM
Hello,
I want to send some simple strings to com1 using vb2005. I want to read
it
in Hyperterminal.
I succeeded to send some data en read it in Hyperterminal, only the data
I
received is not the data I send.
This is the code i used:
Private Sub Button1_Click(ByVal sender As System.Ob... more >>
Web services Change
Posted by Sara at 12/30/2005 10:21:13 PM
How could i detect there is a change to web service that has already
accessed
... more >>
How to check for port response
Posted by Marty Cruise at 12/30/2005 9:10:05 PM
I understand how easy it is to use the my.computer.network.ping command, but
is it as easy to check for a response on a given port?
How can I check for a response for port x at 123.456.789?... more >>
VB2005 - Stop User from Leaving Row in DataGridView
Posted by Matt at 12/30/2005 6:10:28 PM
In many places in my application, I have a DataGridView which users can
either enter data into or use as a method of navigation in a
master/detail form view. I need a method of stopping the user from
leaving a row if there is invalid data in it (e.g., a field that cannot
be null is). Because... more >>
HELP! Trying to migrate from VB6 to dotnet 2003.... with MUCH frustration...
Posted by Alex McMillan at 12/30/2005 6:09:23 PM
Hey - I know a bit about vb, written a few progs, upgraded to .net 2003 but
can't figure it out. Where has everything gone? Am I missing something
really obvious?
I'm trying to create a song-lyrics editing tool, pretty simple - a couple of
textboxes and a button or 2 to save/load from tex... more >>
Format Percentage
Posted by bobdydd at 12/30/2005 5:04:01 PM
Hi Everybody
I am using VB.NET Express with SQL ServerExpress
In VB6 and Access 2000 you could specify a number to display as a
percentage to 2 decimal places.
How can you do this with VB.NET Express with SQL ServerExpress.
I have been into Properties>> Data>>DataBindings>>Advanced and ... more >>
TableAdapter Performance
Posted by Programatix at 12/30/2005 4:41:50 PM
Hi,
Have anyone ever benchmark the TableAdapter performance compared to
DataTable's Load method? I found out that the DataTable's Load method is
about 10x faster than TableAdapter's Fill method.
I used the same SELECT query and DataSet (predefined), for both test.
For the DataTable's Lo... more >>
any know issues in installing VB.NET 2005 Express, VS.NET 2005 Standard, SQL Server 2005 Express and SQL Server 2005
Posted by LeAnne at 12/30/2005 4:32:51 PM
I've installed SQL Server 2005 Express along with VS.NET 2005 Standard.
Just wanted to know whether it would be safe to install VB.NET 2005 Express.
Also, at a latter stage I'll be installing SQL Server 2005
Just need to know if there are any known issues in installing all of the
above.\
... more >>
unRAR in VB.net
Posted by Christian Reizlein at 12/30/2005 3:58:28 PM
Does anyone has a class that allow to manage RAR files in VB.net in a native
way? not using ActiveX controls or DLLs ?
... more >>
VB.Net Application Deployment Wizard
Posted by Dennis at 12/30/2005 3:00:02 PM
When I use the wizard to add the setup project to my applicaiton, it puts a
file called "dotnetfx.exe" in the Release Directory. However, I find that I
really don't need this file to distribute my application as the .msi and
setup files run quite well without it. What is this file used for. ... more >>
Change Text Value on Runtime
Posted by Radek Budaø at 12/30/2005 2:09:13 PM
Hi all,
i have trouble with changing text value of textbox on runtime. I use this
control to display process information about sending e-mail per smtp. I use
external component
>>Imports devBiz.Net.Mail
which can hadle events by sending mail.
>>AddHandler client.OnProgress, AddressOf... more >>
Localizing tooltips, how?
Posted by Bob at 12/30/2005 1:55:26 PM
I can localize controls by selecting another language in the form then
modifying their properties to suit, but I noticed that after I added a
tooltip to the form and then changing the form's language, the tool tip
language stays the same as the default and can't seem to be localized that
way... more >>
Event Driven socket programming
Posted by Michael D. Ober at 12/30/2005 1:55:05 PM
In VB 6 and MFC, the socket classes support event driven architectures such
that when data arrives, the data arrival event is fired and you can process
the code. Is there a similar method in VB 2005 or the .NET Framework 2.0?
Thanks,
Mike Ober.
... more >>
VB 2005 question
Posted by Kevin M. at 12/30/2005 1:44:56 PM
I'm a long time user of VB 5 & 6. I never really messed with VB.net very
much. Is the new VB 2005 more like the old VB6 or is it a newer version of
the .net?
Thanks
Kevin
... more >>
VB2005 - Cannot Change Column Header Font on DataGridView if Default Font is set on Form
Posted by Matt at 12/30/2005 1:08:17 PM
Another interesting issue:
I set the default font on most of my forms to what I want the text in my
controls to show up as (say, Verdana 9pt.), and then just change the
font on labels and buttons when I lay them out (to Verdana 9pt. Bold,
for example). This works for every control I have seen... more >>
Tip of the Day
Posted by Laserson at 12/30/2005 1:06:36 PM
Hi! How can i make "Tip of the day" application to show different tips every
time i started my application?
... more >>
How can I assure that a file is saved with content?
Posted by Ken Sturgeon at 12/30/2005 12:55:53 PM
In VS2005 I have a loop that grabs all of the html from a number of web
pages and saves them as files on a local drive. While all of the files get
saved, several of the files are empty, although I know there is data in the
StreamWriter that creates the files. What is the best approach to assur... more >>
time of day to seconds
Posted by james at 12/30/2005 12:23:29 PM
I am working with a very old database system (building an import/export routine) that stores the time in seconds. I have been
able to convert the seconds to correct time (thanks to a lot of help in this group).
But, I need to be able to write back the time of day to the db in seconds.
Example:
... more >>
About MyForm.Designer.vb
Posted by Mika M at 12/30/2005 12:00:03 PM
I've created my Windows Forms application using VB 2003. I've just
started to use VB 2005, and opened that same project with VB 2005. VB
2005 seems to generate "Myform.Designer.vb"-file for all new forms,
which is good feature in my mind.
Is it possible to generate .Designer.vb-file simple ... more >>
Syntax question
Posted by Ben R. at 12/30/2005 10:39:01 AM
I stumbled across an older post:
http://msdn.microsoft.com/newsgroups/managed/Default.aspx?query=Using+Parameters+in+C%23+Functions+ben&dg=&cat=en-us-msdnman&lang=en&cr=US&pt=&catlist=&dglist=&ptlist=&exp=&sloc=en-us
Which uses the ! in a way I haven't seen before and I'm having trouble
figu... more >>
browser control refresh (re navigate)
Posted by PJSimon at 12/30/2005 10:09:02 AM
I have a VB.Net form with a Microsoft Web Browser control in it. I navigate
to an XML file on my computer, then I change the XML document , then I
navigate to the XML file again. The browser control shows the OLD XML
document.
How do I refresh the control to show the new document?
Is t... more >>
save image to sql server database
Posted by Recep_TARAK=C7I at 12/30/2005 9:11:16 AM
hi
how i can read and write image file a sql server database.
thanks
... more >>
accuracy of warning?
Posted by Ben R. at 12/30/2005 8:36:02 AM
Hi,
I've created a console app in VB.NET 2005 that consists of :
Sub Main()
Dim x As DateTime
x = x.Now
End Sub
I get the following warning:
Access of shared member, constant member, enum member or nested type through
an instance; qualifying expression will n... more >>
Show a timed message
Posted by genojoe at 12/30/2005 8:11:02 AM
To my surprise, I could not find an easy way to show a timed message with
either MessageBox() or MsgBox(). Here is some code that I tried
unsuccessfully:
Dim t As New Threading.Thread(New Threading.ThreadStart(AddressOf
ShowMessage))
t.IsBackground = True
t.Start()
System.Threading.Thre... more >>
How do I set waypoint using VB.net
Posted by zoneal NO[at]SPAM yahoo.com at 12/30/2005 6:11:13 AM
Hi everyone, I have been asked to make a game using VB.net. Now I have
encountered problem such as to set waypoint so that I can create a
predetermined movement for my character to move alon. Hence, I would
like to seek help on how to set waypoint for my character to move
along? Thanks a lot
... more >>
determine if a process is running
Posted by Xero at 12/30/2005 6:09:02 AM
hello.
how do i determine if a process is running?
thanks.
--
Xero
http://www.chezjeff.net
My personal web portal... more >>
System IO download cutting at 20mb
Posted by jcharth NO[at]SPAM hotmail.com at 12/30/2005 6:06:49 AM
Hello I am trying to test the downloader script from
http://www.ondotnet.com/pub/a/dotnet/2002/04/01/asp.html
it seems to work but only for files 20mb
The name of the files is FileDownload.aspx
does anyone know any other code, hope fully simple that will handle
larger files, when i donwlo... more >>
Multi thread stops when opening a new form
Posted by jt at 12/30/2005 1:57:02 AM
Below is the code with the problem (it is just one form):
When you run the code, you hear a beep every second, the beep is on a new
thread.
When you push the button 100 forms are opend, the beep should continue, but
is doesn't.
Sometimes it already stops when you open 1 form, but to make sure... more >>
acmStreamOpen always fails with MMSYSERR_INVALFLAG Why?
Posted by ThunderMusic at 12/29/2005 10:33:56 PM
Hi,
I'm trying to use the acm APIs in VB.NET. acmStreamOpen always returns
MMSYSERR_INVALFLAG. Here's how I use it :
declaration is :
Declare Auto Function acmStreamOpen Lib "MsAcm32.dll" (ByRef phas As IntPtr,
ByVal had As Long, ByRef pwfxSrc As MPEGLAYER3WAVEFORMAT, ByRef pm_wfxDst As
... more >>
Can You Hide A Tab Page
Posted by EdB at 12/29/2005 8:19:01 PM
I have a Tab Control with tab pages. The tab pages are named. As an
example, one of my tab pages is named
tabSubClient
I can code the line
tabSubClient.Visible = False
The line compiles and executes but has no effect. The tab page is still
visible.
I can also do
tabSubClien... more >>
VS 2005 - ComboBox does not reset to blank on moving to record with empty value.
Posted by Matt at 12/29/2005 8:09:50 PM
I'm not entirely sure how to describe this issue. I have a number of
ComboBoxes in my application which have their text properties bound to a
field in a data set. The items loaded in the ComboBox are not data bound
(they just use the built in collection property of the ComboBox), and
they ar... more >>
tabcontrol background color
Posted by matt at 12/29/2005 6:53:20 PM
Hi, i'm trying to change the color of the background of a tabcontrol. i put
images on the buttons and changed the background of each tabpage, and set
the background color or the main tab, but it didn't seem to change this
area. Its the area to the right of the last tab to the right edge of th... more >>
Read and write data to a serialport using vb2005
Posted by Jan at 12/29/2005 5:18:35 PM
Hello there,
I'm looking for a code for using the serialport in vb2005. A want to send
text to windows hyperterminal en read text from it.
Just an example to get me started
Thanx in advance... more >>
retrieving version number in 2005...
Posted by Sam Marrocco at 12/29/2005 3:59:26 PM
How can I retrieve (via code) the version number and other data in the
MyProject/Assembly Information. These don't appear to be in the
intellisense display of the Application class.....?... more >>
2.0 DataGridViewComboBoxColumn Problem.
Posted by Shawn at 12/29/2005 3:20:21 PM
I am trying to use a DataGridView to display one column of textboxes with a
single value from a query and then next to it have a combobox that displays
results from another query. What happens is the second query just returns 1
value to each combobox. So, in other words, for each textbox, the ... more >>
Check whether collection holds a key
Posted by ivan.svaljek NO[at]SPAM gmail.com at 12/29/2005 3:06:53 PM
Is there a way to check whether a key has been inserted into collection
other than try-catch ?
Is there an object better suited to that end ?
... more >>
How can I Debug with no info?!?
Posted by Scott M at 12/29/2005 2:56:09 PM
I rolled out some changes in an application that I'm in charge of and I'm
trying to figure out where the error is. All I get is a "Common Language
Runtime Debugging Services" dialog box telling me the processID and the
thread ID. The application tests fine on my machine, however does not run ... more >>
|