| |
thread by: Arne Beruldsen |
last post Nov 21 '06 by: Arne Beruldsen
I'm new to vb.net. In my vb6 app...I had a timer on the first form...and
elapsed time would should on all the succeeding forms. It was easy with the
timer on the first form.
I need to accomplish the same thing in vb.net...but I'm not sure about the
best approach.
Any suggestions and code would be helpful.
Thanks
|
thread by: Elliot |
last post Nov 21 '06 by: Elliot
I am using the following code to launch Sql Server and execute a query:
Process.Start("c:\query.sql")
where query.sql contains "Select * from Table1"
The result is a read only result-set but I would like to have a
result-set interface that allows editing of the rows as you can when
you Right-click a table in Sql Server and select Open...
|
thread by: Peter Stojkovic |
last post Nov 21 '06 by: Michael
I have a form named form2
Everything is ok now. I can work in codeview and designerview
But when I program a namespace like above
_____________________________
NameSpace namespace1
public class form2
end class
|
thread by: Henry Jones |
last post Nov 21 '06 by: guy
VB.NET Windows Forms VS 2005
I would like to give the user the option of changing the background color of
the textbox to anything they want. Can someone provide code how to save the
textbox1.BackColor to a string and then convert it back to a color that I
can assign to the textbox?
I have looked at colorconverter class which can inherit...
|
thread by: lord.zoltar |
last post Nov 21 '06 by: Tim Patrick
Hello
I'm trying to programmatically set a listbox to have several items
selected when it is loaded. Which items are selected is based on a
saved user setting.
Right now, I'm trying:
Me.my_ListBox.SelectedIndices.Add(item)
This throws exceptions.
What is a safe way to add indices to the SelectedIndices list?
|
thread by: fniles |
last post Nov 21 '06 by: Michael C
I need to store information in a 2 dimensional array. I understand ArrayList
only works for a single dimensional array, is that correct ?
So, I use the 2 dimensional array like in VB6. I pass the array into a
subroutine, and inside it I "Redim Preserve" the array to increase the
number of item in the array. I got the error "Redim statement...
|
thread by: mattdaddym |
last post Nov 21 '06 by: Chris Dunaway
Hi all,
I've taken a couple of hours to read what is available, and I still
cannot figure out how to do a very simple task in vb .net...lol.
All I need to do is read an xml file and parse out specific information
based on simple criteria. Let's use this as the xml file:
<?xml version="1.0" encoding="utf-8" ?>
<sites>
|
| |
thread by: Bubba |
last post Nov 21 '06 by: Cor Ligthert [MVP]
Has anyone ever run into a problem converting a text version of number to
it's whole number equivalent? If so, can someone please post an example in
2005 of how this is handled?
ex. "Four" to 4 or "Forty-Five" to 45
Thank you
|
thread by: Ajak |
last post Nov 22 '06 by: Ajak
Hi,
How do I retrieve my application icon (set in the project properties)
through code (using Framework 1.1).
Using Icon constructors is possible but I don't know the icon name to pass
to it.
Thanks
|
thread by: Bob |
last post Nov 22 '06 by: Robert Dufour
I had code to use connection strings using integrated windows security and
that's been working OK for years, Now in my testing environment ( a W2k
server and 4 computers on a small LAN all with fixed IP's) I had to change
my IP address ranges from 192.168.1.xxx to 192.168.0.xxx. That should not
affect any connections since my network worked...
|
thread by: Andy |
last post Nov 22 '06 by: Jay B. Harlow
Just instaled the new Office 2007, and the new layout is really cool. Will
there be any upgrades to VS 2005 Pro that will include new controls whith a
smilar look and feel as that you get in Office 2007?
/A.
|
thread by: FredG |
last post Nov 22 '06 by: FredG
I've followed several examples for using the framework for printing,
using a RichTextBox to write to. Using the PrintDialog I can send my
output to the printer and it looks fine on normal 8.5 x 11 paper. But
when I use the PrintPreviewDialog the scale is off, i.e., my printing
looks very small on the print preview, as if the preview is a...
|
thread by: Rico |
last post Nov 22 '06 by: Rico
Hello,
I have an application that uses SQL Server express. I'd like to be able to
package the SQL Server Express set up file and deploy it with my application
but all the searching I've done only tells me how to deploy SQL Server
Express manually (i.e. how to set it up yourself). I can script my set up
to see if an instance of SQL Server...
|
thread by: 01423481d |
last post Nov 22 '06 by: Spam Catcher
Hi all
Here is a segment of code used to find out all running processes
Imports System.Diagnostics
....
Dim myProcesses() As Process
Dim myProcess As Process
|
thread by: Sharon |
last post Nov 22 '06 by: Cor Ligthert [MVP]
hello Everyone,
Is it possible to select data from the datagrid, i have a populated
datagrid with three columns FirstName, LastName, Email. When the user
selects one row i want the values of the selected row to be copied into
a text box ie firstname copied to textbox1, lastname copied into
textbox2, email copied into textbox3.
I am not...
|
| |
thread by: RallyDSM |
last post Nov 22 '06 by: Cor Ligthert [MVP]
Hello,
I'm currently trying to read a .CSV file and get all the data into an
array so I can work with it in the program.
Here is what I currently have.
Private Sub IntializeData()
Dim AL As New ArrayList
|
thread by: 01423481d |
last post Nov 22 '06 by: Tom Shelton
Hi all
The question is simple:
How can I find out if an executable is running apart from verifying
process name, path, program title etc which does not ensure uniqueness?
I think classid (GUID) could help but I dont know if it is the right
direction and how to achieve this. Any advise is welcomed!
Thanks
|
thread by: Travis |
last post Nov 22 '06 by: k
When I use the code below , I encounter the login error. But I am sure
I am using the correct login and password and I was test using Query Analyzer
Set crReport = crApp.OpenReport("C:\report1.rpt")
Call crApp.LogOnServer("P2SSQL.DLL", "(local)", "Northwind", "sa", "sa")
crReport.Database.Verify
Please tell which part I am doing wrong ..
|
thread by: Zile |
last post Nov 22 '06 by: Cowboy \(Gregory A. Beamer\)
How to add css in asp.net 2.0 aplication. On label control I have some
property named CssClass, but if I add some class name, it doesn't work. How
to add css class for label control?
Thanx
|
thread by: Scott |
last post Nov 22 '06 by: Scott
VB GUI source code for developing please see below web site.
GUI Ver. 1.0 Is a very fancy pull down menu, toolbar multi tabbed GUI
menu interface for any version of Visual Basic should run and compile
from versions VB 1 to V6 (VB 1, VB2, VB3, VB4, VB5, VB6), Has pull down
menus, toolbar, tabbed form, image list, dialog boxes, (open, save,...
|
thread by: herpers |
last post Nov 22 '06 by: herpers
Hi,
I read about the three different coordinate spaces and even though I
thought I understand the concept I still can't get the result I am
looking for.
Here is what I want to do, maybe you can help:
I draw a string onto the background of a control using its graphics
context. The string should have a size relative to the size of the...
|
thread by: Sandy |
last post Nov 22 '06 by: aaron.kempf
Hello -
I am looking for recommendations for courses/seminars regarding VB .Net and
Visual Studio .Net, preferrably in the Northeast. Has anyone attended
something they have been particularly impressed with?
Also, any suggestions for good books, CDs, will be appreciated!
--
Sandy
|
thread by: Learner |
last post Nov 22 '06 by: Brian Tkatch
Hello,
I have a situation that I need to be able to identify if there are
any numerical values in a string variable that might have numerics
including charecters.
For instanse Dim strValue as stirng
strValue = "Inside Diameter=9"
then how to identify the numerical value 9 in it.
|
| |
thread by: Jay |
last post Nov 22 '06 by: Phill W.
Is there a difference between using Call ProcName vs just using ProcName?
If not, is it considered proper to use Call when calling another proc?
Thanks.
|
thread by: Jay |
last post Nov 22 '06 by: Phill W.
What is the replacement for Application.Run in a Windows Service?
|