all groups > vb.net > april 2005 > threads for tuesday april 19
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
Transparency Revisited...
Posted by Rlrcstr at 4/19/2005 11:20:26 PM
I've seen posts all over the place that talk all around this, but I haven't
seen anything that resolves the issue.
Is it possible to make a picturebox have a transparent background? I've
tried every combination of setting I can find, but to no avail. I'm writing
a drawing program and I have ... more >>
Load text file to textBox
Posted by Husam at 4/19/2005 11:04:02 PM
Hi EveryBody:
How can I load data from text file to textBox ?
any help will be appreciated
regard's
Husam... more >>
Common Regex.IsMatch expressions
Posted by Dean Slindee at 4/19/2005 10:53:25 PM
Anyone have a link to a list of Regex.IsMatch expressions for commonly used
edits, like phone number, date, ssn, etc. An example below was copied from
a book source, but is returning false on "01/01/2005" in strDate. (Just
starting into regular expressions).
Return (Regex.IsMatch(strDate, "^... more >>
Windows Service Status
Posted by SQLScott at 4/19/2005 8:14:01 PM
In searching this site, i have seen plenty of posts and answers detailing how
to check the status of a service.
Many services, however, will "hang". Their status says that are running,
but in reality the service is non-responsive.
In light of this, I am using the ExecuteCommand method of ... more >>
Web1.Document.All("submit").Click in VB.NET 2 (Express) B2
Posted by cleanfunNOSPAMgmail.com (Quick) at 4/19/2005 6:34:02 PM
.Value is now .setattribute & .getattribute("name", "value")
What took the place of .Click?
I see .Click is still stated as a method of Forms. I have a
reference "xForm" to the exact form I want to click. (A simple
submit button at my web site.)
xForm is an object that traverses though ... more >>
determining object type
Posted by Jan Warning at 4/19/2005 4:49:31 PM
Hi,
how can I determine (at run time) the type of an Object and how can I use
the obtained result to do a type conversion with CType?
I tried something like:
dim myType as type
myType = sender.GetType
CType(sender, myType)
This however generates a compiler error: Type 'myType' is not defined... more >>
winforms vb.net asp.net conversion
Posted by marfi95 NO[at]SPAM yahoo.com at 4/19/2005 4:45:00 PM
Hi all,
We have a vb.net app (WinForms) that has been running for a while now
in production. We'd now like to make it into a thin client by moving
to a web-based application and asp.net.
I'm not very familiar with asp.net, but am very familiar with vb.net.
Does anyone have any recommendati... more >>
Close file handle to rewrite in teh same VB session
Posted by Bill Nguyen at 4/19/2005 4:36:42 PM
When my app attempts to save a particular file in
the same VB session, I got an error message . If I
close the app and run again, the file is overwritten ok. I guess I need to
close the file handle somehow to avoid this error but don't know how.
Any help is greatly appreciated.
Thanks
Bill ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Can't run project on shared drive.
Posted by Brett at 4/19/2005 4:16:43 PM
I have an app that works with MS Access. In Access, I select a record from
a drop down. This creates a temp table and calls the VB.NET app. The app
then takes the data in the temp table, writes it to a CSV file and uploads
that to a FORM POST. This works fine locally.
I have a mapping... more >>
vb compiler
Posted by BW at 4/19/2005 4:16:16 PM
Hi all!
In C# we have the Microsoft.CSharp.Compiler class.
This class can be used to compile C# code at runtime.
Is there I similar class implemented for the VB compiler?
TIA
BW
... more >>
Access HKCU from an app with another set of credentials
Posted by MSDN Account at 4/19/2005 3:55:43 PM
I have looked at the documentation for 'Microsoft.Win32.Registry' and
'System.Security.Permissions.RegistryPermission' but am still stuck, hoping
some can give me a nudge in the right direction.
I would like to be able to modify the GPO Policy keys under HKCU for the
logged user from an applic... more >>
Updating a DataGrid using an ArrayList
Posted by Jeffrey Spoon at 4/19/2005 3:53:41 PM
Hello, according to the docs you can update a DataGrid with an
ArrayList. I have created an ArrayList and I add these objects:
Dim patient1 As New Person
patient1.Reading = 1
patient1.ReadingValue = 50
myArray.add(person1)
Dim patient2 As New Person
... more >>
source control
Posted by Ilyan Mishiyev at 4/19/2005 3:35:09 PM
Are there any tools in VS.Net, like in VB6( "checkin, checkout") for source
control, embedded into the IDE, or sourceSafe should be used externally?
... more >>
Open a URL or .htm file from a windows application main menu
Posted by lukegregory at 4/19/2005 3:29:02 PM
On the MenuItem1_Click action what code do I need to open either a URL or
..htm file?... more >>
Getting bytes from a string
Posted by Chris Leffer at 4/19/2005 2:59:55 PM
Hi.
My application has a textbox that can receive a lengthful string from
the user. I need to separate this string into blocks of 50 bytes and
process each block to compose a text file. I have the majority of the
routine ready, but how can I divide the string into blocks of 50 bytes?
Regard... more >>
deriving COM class compiles in C#, doesnt in VB.net
Posted by Jozsef Bekes at 4/19/2005 2:55:31 PM
Hi All,
I need to derive a class in VB.Net from a COM interface declared in an idl
file in a VC++ project. Here is the interface declaration:
-----------------------------------------------------
[
uuid(FC567B40-956B-11e1-9996-008765B53180),
helpstring(""),
version(1.0),
nonextens... more >>
Merging data from two datasets
Posted by Josh at 4/19/2005 2:45:18 PM
I'm trying to merge two datasets together, but not in the normal
fashion. I have 2 instances of SQL db's. Due to constraints, I can't
create a db link between the two. So, I'm forced to do 1 request to
each. The problem is I would like my final result set to be merged
together using foreig... more >>
disable datagrid insert
Posted by greg_chu NO[at]SPAM wendys.com at 4/19/2005 2:27:55 PM
Hi, is there a way to disable the insert of the last row of datagrid?
I do not want it even show up.
Thanks!
Greg
... more >>
weird problem ... Single
Posted by Jon at 4/19/2005 1:43:04 PM
Hi,
I have 2 single variable.
i.e Var1 is 6 and Var2 is 5.94, both are As Single.
but when I do Var1 - Var2, the answer give me 0.0599994.
and when I do Var1 + Var2, the answer give me 11.94
How can i make it so when Var1-Var2 should be = 0.06? how come it is giving
me 0.0599994???
... more >>
Embedding Visio in VB.Net WinForm?
Posted by Dursun at 4/19/2005 1:39:02 PM
Is it possible to embed Visio into a Windows Form in VB.NET? So that we can
have the end user draw free form graphics and save them within a single
Windows application that we developed. Thank you in advance for the info.
... more >>
Need tip from GRID expert
Posted by Marty at 4/19/2005 1:36:49 PM
Hi,
I'm evaluating the Component One grid. I would like to know if this
grid support my scenario, and secondly, what do I need in term of
objects to achieve it.
My application will receive a stream of data from a tcp/ip connection.
This stream will be parsed and many datafields will be ... more >>
Drawing on VB.Net user forms
Posted by Dursun at 4/19/2005 1:21:02 PM
Collegues, is it possible to do the foloowing:
Let end user draw specific shapes (a circle that has a number within it and
a connector that points to a specific area on the background image) using
Windows Forms and controls. To be more specific, I want to design a VB.Net
Windows form where ... more >>
VB.NET and sorting
Posted by Tmuld at 4/19/2005 12:39:27 PM
(using vb.net)
Finally got paging working...not sorting taunts me...
For sorting on a datagrid - do you HAVE to use a dataview?
I used the msdn example and now get his error:
DataTable must be set prior to using DataView
So I have a dataset created from the input of the user and an SQ... more >>
Loading the Clipboard in .Net (i.e. how to what I used to do in VB6?)
Posted by T-Man at 4/19/2005 12:04:15 PM
Hey All,
In VB6, one could the following:
VB.Clipboard.SetData frmSubmit.picToolbarIcon.Image
or
LoadPicture(App.Path & MY_PIC_PATH)
I've tried the following but it does not work:
Clipboard.SetDataObject(MyApp.frmSubmit.ActiveForm.Icon.ToBitmap());
Doe... more >>
How do I show a form?
Posted by Daniel Kaseman at 4/19/2005 11:00:08 AM
Why won't this work?
Dim frm As New Form1()
Me.Close()
frm.Show()
HELP!
... more >>
wait while processing
Posted by krgatez at 4/19/2005 10:46:24 AM
I've developed a Windows form application, and it takes a while to
startup. Right now there is no indication that there is any activity.
I'd like to establish some kind of hourglass, or processing box on
startup. I've tried the cursor.current = cursors.waitcursor, but
it's not being initialize... more >>
Breaking up a large .exe
Posted by Earl at 4/19/2005 10:29:49 AM
I have a VB.Net program that has gotten much bigger than I expected and
thus, I'd like to break it into a smaller compiled .exe with multiple .dlls.
Any advice on what sections of code are best (or easiest) to break out in
this manner?
... more >>
How To add a comment to a Function/Sub Parameter??
Posted by Omar Rojas at 4/19/2005 9:47:02 AM
Hi
I want to know how to add a comment to a parameter function, so when I call
that subroutine I can obtain a comment/hint about what is that parameter for?
Many subroutines on the .net Framework have this comment. How can I put it
on my Subroutines?
Thank you!
--
Omar Rojas
... more >>
2 small questions about a project
Posted by TBK at 4/19/2005 9:29:06 AM
I'm trying to finish up an assignment I had for a class and basically I'm
stuck. The program is supposed to take information you've entered, put it
into an array, display it in a listbox and then average the total of numbers.
Right now I have 2 questions. How do I get numbers from my array that... more >>
inputting a database path/file and how to use connection in 2nd fo
Posted by HarryMangurian at 4/19/2005 9:23:05 AM
I set up an OLEDB connection, adapter, and dataset on my opening form.
I want to input the Data Source and replace the DS supplied at design time
with a string variable (I will probably use an OpenFileDialog). Where do I
put the file dialog ? Another question, how do I make this
connection/... more >>
Expanding File Folders
Posted by hharry at 4/19/2005 8:47:49 AM
Hello All,
I have a ListView control which displays files from a remote server.
Some ListViewItems are folders which have an undetermined number of
sub-folders.
What I need to do is programatically expand all folders/sub folders and
download the files within.
Has anybody coded a function... more >>
I NEED A SAMPLE
Posted by Daniel Kaseman at 4/19/2005 8:41:30 AM
I'm looking for a good coding example program. Something that has buttons,
listboxes, textboxes, etc... Do While Loops, For next Loops, etc..
Select Case blocks, etc...
You know what I mean? Something I can refer to so I know the best methods
to use when faced with a challenge to create ... more >>
Send email and Fax from VB.NET app
Posted by Bill Nguyen at 4/19/2005 8:37:37 AM
I'm looking for sample codes to send email & fax from a VB app. We have SMTP
server setup.
As to faxing, I'm looking for a reliable and affordable faxserver.
ANy suggestion is greatly appreciated.
Thanks
Bill
... more >>
Do You Want To Know For Sure That You Are Going To Heaven? The reason some people don't know for sure if they are going to Heaven when they die is bec
Posted by RonGrossi382681 NO[at]SPAM yahoo.com at 4/19/2005 8:20:55 AM
The reason some people don't know for sure
if they are going to Heaven when they die
is because they just don't know.
The good news is that you can know for
sure that you are going to Heaven which is
described in the Holy Bible as a beautiful
place with no death, sorrow, sickness or
pain.... more >>
Continuation of issue from 4/16/05
Posted by Gary Paris at 4/19/2005 7:46:41 AM
Cor,
I made the changes you suggested by I get an error message saying "Incorrect
syntax near the keyword 'trigger'.
What is wrong?
------------------------------ Last message from
4/17/05 -----------------------
Gary,
There are at least two things what makes that your update doe... more >>
Writing an app to monitor a Windows service
Posted by Chris Dunaway at 4/19/2005 7:14:24 AM
I am writing a Windows Service that reads and processes files on a set
schedule. I want to create a second app that can monitor the Windows
service. The Windows service will write trace messages at certain
points while executing. The monitoring app I want to write will be
very simple, just pic... more >>
Change Project name
Posted by Hugh at 4/19/2005 6:45:22 AM
Hi there,
An existing solution is used to create a new solution. It
is easy to change the names of individual forms and
modules. However, how to change the name of project
folder? Thanks in advance for your help.
Hugh
... more >>
pb with .selectedvalue of a combobox
Posted by Sam at 4/19/2005 5:47:35 AM
Hi,
In this code my combobox is properly filled with all the records in my
dataset. But when I want to set it to a value using selectedvalue, it
just don't work as cboViewTable.SelectedValue will always be equal to
Nothing, although ds.Tables(0).Rows(m_curRow).Item("ViewTable") is
equal to "s... more >>
valuemember and displaymember for a combobox
Posted by Sam at 4/19/2005 3:30:54 AM
This code does not work :
With m_frmCtrl.cboMode
.DataSource = m_dsCtrl.Tables(4)
.ValueMember = "ModeID"
.DisplayMember = "Description"
.SelectedValue = ds.Tables(0).Rows(curRow).Item("ModeID")
End With
The line .DisplayMember triggers the ... more >>
Parent form of component
Posted by james henderson at 4/19/2005 3:28:04 AM
I have a form on which I drag a
self made component, it appears under the separater below the form.
When I call me.Container or me.Site in the component they return nothing,
how can I get access to the parent form?
... more >>
how get the menu names
Posted by Carlos AZ at 4/19/2005 3:05:03 AM
how can I get the names of all menus in a form
Can anyone send me the code please
tanks... more >>
Looking for control that displays HTML
Posted by Ray Cassick (Home) at 4/19/2005 12:14:41 AM
I am looking for a control that displays simple HTML text (just basic tags,
not active content needed).
I know I can use the IE ActiveX control but really want to stay away from
the headaches if I can. There has to be some type of lite control out there
that can handle this. I am hacked off... more >>
Stupid Error on VB.NET IDE
Posted by João Santa Bárbara at 4/19/2005 12:00:00 AM
Hi all.
i have a funny error in the IDE but only in one form. :(
i have declare a Method like this "Private Sub MyTransGForms(ByVal sender As
Object, ByVal e As EventArgs)"
and i have an handler to it.
and in the same form i have this calling
AddHandler frm.TranslateForm, AddressOf Me... more >>
fastest way to ReadXmlSchema, ReadXml and WriteXml
Posted by DraguVaso at 4/19/2005 12:00:00 AM
Hi,
I should use XML to synchronize the data from different (VB.NET)
applications, and I was just wondering which Overloads of these functions
( ReadXmlSchema, ReadXml and WriteXml) goes the fastest? I don't think the
ReadXMLSchema would give a lot of difference, but maybe the overlaods of
Re... more >>
datagrid click in cell
Posted by Saladin at 4/19/2005 12:00:00 AM
Hello
Trying to make winform which includes datagrid ...
1) Customer wants to be able to click on particular dg cell which will open
another form and copy the value to a textbox. Something to do with 'e' I
think!
2) Also need to be able to type quantity (number) directly into cell which... more >>
parse XML to array of objects?
Posted by kingski at 4/19/2005 12:00:00 AM
Hei,
Can y provide me with example of how to parse XML to array of objects?
thanks
... more >>
Testing small snippets of code
Posted by aaj at 4/19/2005 12:00:00 AM
Hi all
Is there anyway I can instantiate a class from the command window for
debugging purposes. InVB6 you could just call name of the function/sub you
wanted to run and debug. Now I am getting to grips with classes, I need to
do something similar.
I have a small self contantied control ... more >>
|