all groups > vb.net > march 2005 > threads for thursday march 10
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
Variable scope in nested classes - can't get to my variable
Posted by JohnR at 3/10/2005 11:26:43 PM
in VB.NET I'm trying to access my variable without resorting to SHARED
scope.
Here's the situation: class MYLABEL inherits LABEL and has an additional
property called MYVAR. In MYLABEL I set an ADDHANDLER for ME.MOUSEDOWN event
to ME.MYHANDLER. PRIVATE SUB MYHANDLER (part of the MYLABEL cl... more >>
odd behaviour double click label v button
Posted by Neil Wallace at 3/10/2005 11:23:48 PM
Hi,
This is an odd one. I've been struggling to get "double click" to work well
for my controls.
The same event handler works perfectly for buttons, but not for labels.
Can anyone tell me why not?
Below is an working VB.Net example to illustrate what I mean.
regards
Neil.
>>>>... more >>
Moving a VB.Net Project
Posted by BG at 3/10/2005 11:21:17 PM
Hey All,
I use VB.Net Standard 2003. I'm having trouble getting a project onto my
laptop. Can someone please enlighten a humble old man with the prescribed
method of accomplishing this?
Thanks,
BG
... more >>
Couple of VB.NET questions
Posted by punt at 3/10/2005 10:36:25 PM
I've got a couple of questions about a deployed VB.NET application.
Firstly can a deployed application remember any variables(single string)
after being closed down and re-opened, without the use of a database?
Secondly I've been looking at inserting bookmarks into a word template like
shown i... more >>
controls position
Posted by krishna murthy at 3/10/2005 10:22:14 PM
hi,
i would like to display the controls at a specified
postions in asp.net.for
ex at (200,300) position and how to handle the controls
which are designed
in the run time.
can any one help me Plz.
Regards,
Krishna.
... more >>
SMTP CLASS
Posted by SStory at 3/10/2005 8:04:54 PM
Is the SMTP class in .NET, as I suspect, dependent on CDONTS/CDOSYS?
If so, does anyone know of a really good free SMTP class that is easy to use
and does authentication?
Thanks,
Shane
... more >>
Can I use InStr to find newline codes?
Posted by Claud Balls at 3/10/2005 6:09:39 PM
if I read the following into a variable:
010203
020103
030201
could I use something like instr(variable,/n & "02")
to return the position where 02 starts the line?
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!... more >>
Clasic ASP Connection String
Posted by Prabhat Nath at 3/10/2005 4:08:17 PM
Hi All,
I have BIG Problem in ASP.
I have a ADO Connection that I Want to Connect to DBASE IV.
The DBASE Database is located in anothe system then the IIS System in the
Network.
When I Try the Connection String:
ConStr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source = \\raddb\dbase\;
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Screen Shot
Posted by Richard at 3/10/2005 4:04:09 PM
Hi Gurus,
I want to capture the screen(ctl+Print Screen) and save it to a file using
vb.net.
How do I do it.
Thanks,
RC
... more >>
printing
Posted by iwdu15 at 3/10/2005 3:47:02 PM
how can i get something to print, like the entire page, its going to have
pictures and text and labels... more >>
TCPCLIENT and timeout
Posted by Peter Stojkovic at 3/10/2005 3:19:08 PM
I have an TcpClient. System.Net.Sockets.TcpClient
Everything is working fine.
But when the IP-Address is wrong, I DON'T want wait 20seconds for timeout
( seems to be standard )
Is there any possibility to configure the timeout ??
Tnaks Peter
... more >>
Xml Node exists
Posted by Gene Vangampelaere at 3/10/2005 3:01:53 PM
Hello,
How can I check if a parameter (node) already exists in my xmldocument?
If it does not exists I have to add it
example:
If ExistsNode("SID") Then
'add the node
End If
I need some help for the "ExistsNode" function
<xml version="1.0">
<parameters>
<parameter>
<paramName>p... more >>
When to use MSDE/Sql Server (when using VB.NET)
Posted by DraguVaso at 3/10/2005 2:56:35 PM
Hi,
I'm just wondering when I better should use an Sql Server or when a MSDE.
Whet are the advantages of one to another en the limits etc. And this
espacially when using them as databases for VB.NET-applications.
Any information would be great!
Thanks a lot in advance,
Pieter
... more >>
open file?
Posted by iwdu15 at 3/10/2005 2:45:03 PM
how can i have my program open a file? what would the code be?... more >>
Need to read the contents of a text file while it is open in another application for writing...
Posted by coxnews at 3/10/2005 2:44:47 PM
Hiya,
I need to open and read a text based log file in real time as it is being
written to by another application. Am using VB.NET in a windows forms
application.
I have attempted to use a streamreader, but get a error.
Any kick in the right direction is most appreciated!
Dave Bornem... more >>
save file dialog?
Posted by iwdu15 at 3/10/2005 2:43:07 PM
how can i create a code to make my program create an rtf file? heres what i
have so far, any help would be appreciated:
Private Sub MenuItem2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles mnuSave.Click
Me.SaveFileDialog1.ShowDialog()
Me.SaveFile... more >>
green
Posted by ari at 3/10/2005 2:11:05 PM
hello all,
when you say 32Bit-Windows vs. 64Bit-Windows, does that encompass hardware
and software differences? What does this mean?
thanks,
ari... more >>
Thread safety for a read-only object
Posted by Chris Dunaway at 3/10/2005 2:00:09 PM
I have a main process that will spawn several threads for processing.
Before this happens, the main process creates an instance of a class
that hold configuration data. This configuration data does not change
for the life of the program. Are there any thread synchronization
problem if the data... more >>
Scrolling
Posted by John Wels at 3/10/2005 1:47:30 PM
Hi.
I woul like to ask.
I have 2 listboxes.
And Would like to do this: When I 'm scrolling in listbox1 I want that
listbox 2 was scrolling two?
How Can I do this.
Thank you very much for answers.
... more >>
Refreshing a datagrid and it flashes
Posted by Scott M at 3/10/2005 1:26:46 PM
I have a datagrid that is bound to a typed dataset.
I also have a time on my form and during it I an filling a table on the
dataset using the FillDataset method on the Data Application Block (v2).
This is great and works fine except that the datagrid that I'm bound to has
scroll bars that a... more >>
file object on the clipboard
Posted by Patrick Porter at 3/10/2005 1:17:01 PM
I've been reading the recent posts about using the clipboard, and wanted to
try something where i could copy and paste files and directroies using the
clipboard instead of the copto() function. the problem is that there is no
data format for it. filedrop isnt supported.
so far ive been using ... more >>
can't assign value to me?
Posted by Terry Heath at 3/10/2005 1:16:10 PM
Hi -
I've tried different ways to write to the variable me, but with no
luck. I've tried passing it to other methods as a byref parameter, and
even though it looks like it's written to the variable in the method,
when the method exits the variable is unchanged. Here is some code:
Module Mod... more >>
Can Process.Start("app.exe") be used in a .NET Web Application
Posted by bwalke NO[at]SPAM lbrspec.com at 3/10/2005 1:08:06 PM
I was wondering how the Process.Start() command can be used in a VB.NET
Web Application. I have used this command in a Windows Application
before successfully. I want the client side to envoke the .exe
application by clicking a button and want the .exe to run on the
server. I have read in groups... more >>
StreamReader vs BinaryReader - Upload and save image files in a Web App
Posted by Fred Nelson at 3/10/2005 1:06:25 PM
Hi:
I'm writing a VB.NET web application where I would like to upload an image
file from the user's computer and either insert it into a database as a BLOB
or save it as a file in a directory that the web server has permission to
write to.
So far I'm not having much luck!
Should I be usi... more >>
how to check the checkbox easily ?
Posted by Agnes at 3/10/2005 10:58:06 AM
I got 30 checkboxes in one Page, the user need to click at least one of it
and then , the user can go to next step.
Any simple method to check the checkboxes ?
I don't want to use the following approach.
If Me.chk1.checked = false .and........................Me.chk30.checked =
false
messag... more >>
Windows Service Timer Woes
Posted by John David Thornton at 3/10/2005 9:55:19 AM
I've got a Windows Service class, and I put a System.Threading.Timer, and
I've coded it as shown below. However, when I install the service and then
start it in MMC, I get a peculiar message:
The MyService service on Local Computer started and then stopped. Some
services stop automatically ... more >>
Multiple Key Relations
Posted by Randy Fraser at 3/10/2005 9:49:36 AM
How do I create a relationship on muliple columns in an untyped dataset.
Why does this not work.
da.Fill(ds)
ds.Tables(0).TableName = "DesignSummary"
ds.Tables(1).TableName = "FormulaSummary"
ds.Tables(2).TableName = "MaterialSummary"
ds.Ta... more >>
Watch Window question
Posted by Woody Splawn at 3/10/2005 9:21:56 AM
In a watch window; what does it mean when the value turns red? I have
supposed that it means the value has been changed from it's pristine value.
However, in code I see the number changing from black to red, BUT THEN, back
to black. What does this mean?
... more >>
reload only changes in dataset
Posted by Peter Proost at 3/10/2005 8:30:34 AM
Hello group,
what would be the best way to do the next thing: I've got a grid form with
about 15000 records, when I double click a row a detail form is opened and
the user can modify and save the record, this all works just fine, then the
user closes the detail form and ofcourse I want to show... more >>
VB.NET Database DesignView
Posted by thowle at 3/10/2005 8:23:04 AM
Is there any simple way I can create a Design View for a Table in VB.NET..
For an example of what I need is in Microsoft Access.. when you create a new
table, is has the field name, data type, description, etc.
How can I do this in VB.NET, a datagrid and make my own data collection
(That w... more >>
forms do not repond
Posted by Irfan Mumtaz at 3/10/2005 6:47:02 AM
I am trying to use the standard code for showing the form.
dim msgForm = New Form1()
msgForm.Show()
although it does show the form, but it is a just a blank white background
and when i take the mouse their it changes to an 'hour glass' i click the
mouse on it and the form just stops to rep... more >>
Determining which Menu Item is Clicked
Posted by Elliot at 3/10/2005 5:45:21 AM
The code creates two menu items at runtime and I want to be know which
menu item was clicked in the Menuitems_Click procedure.
Sender.Gettype.Name returns the value "MenuItem" only.
Any help is appreciated.
Private Sub
Dim mainMenu1 As New MainMenu()
Me.Menu = mainMenu1
' Crea... more >>
Adding a dataset
Posted by BobAchgill at 3/10/2005 5:17:11 AM
OK.
I drag a Dataset over from the Toolbox and drop on the
form...
How do I get that dataset connected to my XML file?
I know how to do this programmatically but how to do it
in the form designer?
Thanks!
Bob... more >>
|