all groups > vb.net > january 2005 > threads for monday january 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
Class Pointer
Posted by David A. Osborn at 1/10/2005 10:40:24 PM
I have a set of classes that each have an enumeration in them, and based on
dynamic input I need to access a different enumeration. For example
Three classes Class_A, Class_B, and Class_C that all have a different
enumeration in them called Properties. I want to basically have a variable
... more >>
2 Preguntas impresion y multimonitor
Posted by Ch0rY at 1/10/2005 10:38:37 PM
Hola, He hecho en VB.NET, el juego del bingo al completo, osease, el
juego propiamente dicho y un generador de cartones.
1) Y he pensado que podria controlar el juego atraves del ordenador en
su monitor, y los resultados ( las bolas, el tablero) mostrarlos en el
televisor, para es... more >>
Three tables to one
Posted by EMW at 1/10/2005 9:55:30 PM
Hi,
I have an Oracle database with different tables of data.
They all have one common field.
I need to combine some fields from three tables.
i.e.
field1 and field2 from table1
field3 and field4 from table2
field5 from table3
Alltogether I want to produce a dataset with one table with th... more >>
printing multiple pages
Posted by Bill at 1/10/2005 9:00:27 PM
Hi
I am trying to get my listbox items to print if they stream past the one
page mark. my code is working for one page of information (if the
e.hasmorepages) is not there.
But I am having trouble getting it to print on multiple pages. The second
page will not print at all.
Thanks in... more >>
interact with web page ?
Posted by aam at 1/10/2005 8:41:03 PM
How can i set up vb.net to read and interact with a web page ? the web page
is actually a game screen of a free online game i'm playing. using a winform,
i'm trying to write a program that will assist me with playing this game. ... more >>
VB.NET vs C#
Posted by SStory at 1/10/2005 8:35:55 PM
I have been having a debate with a coleague at work about C# vs. VB.net.
He is determined that VB is a toy and that C# is so much better on
performance wise.
I told him that I don't believe that and from all that I had seen in
conversations/research, the differences seem to be trivial, yet V... more >>
Error 713
Posted by Wayne Wengert at 1/10/2005 7:10:03 PM
I have a VB6 app that has been running fine. I modified some features and
re-built it. Now when users run it they get
Run-time error '713': Application-defined or object defined error
How can I determine what the system is looking for?
Wayne
... more >>
HELP! - FileSystemWatcher Problems
Posted by kmcnet at 1/10/2005 5:45:04 PM
Hello Everyone and thanks for your help in advance. I have been battling a
problem for nearly a month with the FileSystemWatcher component. Basically,
what I am trying to do it to monitor three separate folders on a Windows 2000
server for activity. In my code, I have set up three separate ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
NEWBIE - Determine or Set location in a StreamReader
Posted by Dave at 1/10/2005 4:46:01 PM
Greetings,
If I want to determine the line number in the text file that I am currently
reading (In a StreamReader.ReadLine process), how can I do that?
If I want to start a StreamReader.ReadLine process at a certain line number
in a text file, how can I do that?
Thanks,
-Dave
... more >>
change backcolor of controls which have focus
Posted by Stefan at 1/10/2005 4:35:14 PM
hello,
Just a sort of newbie question.
How can i change the backcolor of the controls which have the focus
(textbox/combobox/datetimepicker) and
set it back to white when they lost focus.
thanx in advance
Stefan
... more >>
Automatically Getting IP address of computer on network
Posted by Al at 1/10/2005 3:59:02 PM
Hi
I need to get the IP address of a computer on the network that uses dynamic
IP addressing. Is there anyway I get the address but providing the name of
the computer?
Thanks in advance
Al
... more >>
Object Reference not set to an instance of an object
Posted by Lou Civitella at 1/10/2005 3:45:03 PM
I created a VB.Net program that runs a SQL 2000 DTS package via code.
Created the DTS package in SQL 2000 and then saved it as a vb file. Imported
into VB.Net. Everything works OK except when the code tries to run the dts
package code twice. The first time everything runs OK. When it has to run
... more >>
Running an executable from my .Net code
Posted by STom at 1/10/2005 3:04:24 PM
I am trying to find a way to run a .Net executable from within my vb.net
code. I need to pass parameters into the executable and wait for a return
and check the return value for an error before continuing.
Is this possible to do?
STom
... more >>
Inheritence and Interfaces.
Posted by Elephant at 1/10/2005 2:58:10 PM
Hello,
is it possible to inherit a class and give it an interface and then let the
interface methods point to the methods from the base class?
class BaseClass
....
end class
interface MyInterface
....
end interface
class ComeTogether
Inherits BaseClass
Inherits MyInterface... more >>
Need a way to tell if a System.Windows.Forms.Button is "depressed" (pushed down)
Posted by jrhoads23 NO[at]SPAM hotmail.com at 1/10/2005 2:55:01 PM
Hello,
I am trying to find a way to tell if an .NET windows forms Button
(System.Windows.Forms.Button) is "depressed" (pushed down). For my
application, I can not use a check box control set to button style, I
must use a System.Windows.Forms.Button. I can not find a way to tell
when it is momen... more >>
Split a string into an array on space OR carriage return
Posted by Dave at 1/10/2005 2:45:36 PM
Greetings,
Is there a way I can split a string into an array on a space OR a carriage
return? What would the code look like for this?
Thanks,
-Dave
... more >>
NEWBIE - Pause loop process with button click
Posted by Dave at 1/10/2005 1:56:23 PM
Greetings,
I have a button on a form that, when clicked, loops through all the words in
a .txt file and displays them on the form one at a time. Some of the text
files are large, and I cannot click any other buttons in my form or anything
until the process concludes.
I want to have a "p... more >>
Suspend DataGrid update while Filling
Posted by BobAchgill at 1/10/2005 1:46:28 PM
I am getting poor performance while I am dumping multiple
MDB's into a single table of my DataGrid. Is there a way
to temporarily suspend the auto sorting of the DataGrid
till all the Fills have completed?
Thanks!
Bob
... more >>
Form Variables
Posted by sympatico at 1/10/2005 1:46:06 PM
I have a form (form1). I made a dialog box for it called (Dialog1). Form1
has 2 initialized classes. I need to be able to modify the value of a
variable in form1 from form2 when the OK button is clicked. I know how to do
this in visual basic 6 (which i no longer use very much because .NET is much... more >>
Install with no Framework??
Posted by BobAchgill at 1/10/2005 1:45:21 PM
I noticed a Free ware CDBurnerXP Pro 3 that boasts
having changed over to VB .Net on his latest release. I
downloaded the 15MB install file. Before I loaded it I
uninstalled my .Net Framework. Then I installed his
VB .Net CD burner. It worked fine with out .Net
Framework!
Does th... more >>
Understanding singletons?
Posted by Binary Poet at 1/10/2005 1:10:19 PM
I have a project that is a DLL which is nothing more than a VB Module with a
number of public classes inside of it. From what I have read, it is possible
to have this DLL be only started once.
For example, I have to different applications that use this DLL described.
What I need is for both t... more >>
new year;stupid question?
Posted by Peter Proost at 1/10/2005 1:06:54 PM
First a happy new year and best wishes to everyone here, I know I'm a bit
late but I've been on a 2 week christmas holiday :-)
but now the question, when I got back at work (today) I noticed that our
msdn files have been moved, first they were stored localy on our development
machines but duri... more >>
How to use Deserialized output?
Posted by Ed Bitzer at 1/10/2005 1:00:17 PM
Obviously a newbie to vb.net and attempting to read an arraylist and then
use. No problem outputting and Serializing but, and the dumb question - how
to I extract something from the obj retrieved below (which debug shows has
values for the Person structure) and place in a text box?
Appreci... more >>
how to assign primary key to more than one field
Posted by gaffar at 1/10/2005 12:52:12 PM
Hello Sir,
How to assign more than one primary key to table by this below following
code. i am able assign to a single field only. how to assign primary key to
more than one field. the primary key assigning code line is symboled kept
with in the *************** in the below code.
'Creating d... more >>
Need Window Form Ex. retrieving from Northwind.
Posted by SteveInBeloit at 1/10/2005 12:27:02 PM
Hello,
I am trying to learn how to manipulate a table via a Windows Form in vb
..NET. I am able to create the form1, and in the load event, I can put in the
necessary ADO connection statements to query Northwind. So the environment
is set up correct.
Can anyone point me to an example whe... more >>
Easy question working with strings
Posted by Brad at 1/10/2005 12:20:46 PM
I have a Name field where I need to extract just the person's last name. I
did not originally set up the database as I would have separate fields for
first and last name, but this data is being pulled from an AS400 where it is
just one field.
I was thinking of something like trying to find... more >>
Rule Wizard?
Posted by Fredrik Melin at 1/10/2005 12:15:26 PM
Hi,
Does anyone know how I can make a rule wizard simular to the one in outlook
when you create rules for your mailbox. (Somethings in line with a
CheckListBox with part of the text as underlined links to create clickable
input fields)
Is this at all possible in VB.NET?
Regards
Fredr... more >>
Using mutex or semaphore
Posted by Chris at 1/10/2005 11:53:47 AM
I have an app that is run periodically using Winsows Scheduled Tasks.
Occasionally, the app will still be running by the time the scheduled
task rolls around again.
I don't want the task scheduler to start another instance of my app,
but instead check for an existing instance. If there is alr... more >>
vb.net and access
Posted by Stephen at 1/10/2005 11:21:15 AM
Greetings all
I have a form that reads a access memo field. I can query the database to
get the info in the memo field without a problem...but when i try to update
the data i get a exception. The text in the memo field can be large. It
seens to throw the exception only when large amounts of da... more >>
Multi string reading in
Posted by Ithaqua at 1/10/2005 10:51:04 AM
How do I do this?
--
Cheers
Ithaqua... more >>
Extreme Customizing of the menu
Posted by Peter Stojkovic at 1/10/2005 10:34:34 AM
I want do something like in MS-Outlook 2002
There is the text for the main menues AND on the right side there is a
input-Field / ComboBox for
searching help . the text that appears is "type a question for help"
Example
File Edit View Tools Action Help
type a question for help
How ca... more >>
Create DataGrig ButtonColumn Dinamically
Posted by ruca at 1/10/2005 10:17:18 AM
Hi gurus,
I need to create a ButtonColumn in my code for using in my datagrig. What
happens is that I create this button in code, but then when I click him,
nothing happens.
I have this in my vb code:
---------------------------------
Dim bc As New ButtonColumn
bc.HeaderText = ""
bc.Text... more >>
A-Control Array ?
Posted by Jim Burns at 1/10/2005 10:06:46 AM
I just started with vb.net and I don't understand why there are no control
arrays.
what replaced them.
I was trying to do drag and drop(What happened with that) and it looked like
with no control array I have to write code in for every control?
That cant be possible.
I looked at the help files... more >>
disable monthcalendar refresh
Posted by steven at 1/10/2005 9:39:27 AM
A monthcalendar checks every 2 minutes if theres a new day. Does anyone
knows how to disable this ?
The problem is that, everytime a monthcalendar checks this, the form
where the monhcalendar is on, gets the focus, which is VERY annoying.
Thanks,
Steven... more >>
StreamWriter.Write and WriteLine?
Posted by Nina at 1/10/2005 9:35:03 AM
Hi there,
What is the maximum length that one line can hold in a text file using
StreamWriter's Write or WriteLine method? If the string is too long for one
line to hold, what will Write or WriteLine do? In order me to retrieve data
correctly from the text file later, I have to know the ... more >>
Isn't there a more DotNet approach to comparing a character to see if it's a CR.?
Posted by Just Me at 1/10/2005 9:33:27 AM
Below is the result of the wizard conversion from VB6.
Looking at the Help doc I can find an example that uses Chaw()
If e.KeyChar = Microsoft.VisualBasic.ChrW(13) Then
e.Handled = True
End If
But isn't there a more DotNet approach to comparing a character to see if
... more >>
Serialization of class instance stored in database
Posted by Mark at 1/10/2005 9:08:29 AM
I'd like to take an instance of a class and store it in a database. I've
marked my class as [Serializable] and am using the binary formatting code
similar to
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconserializationconcepts.asp,
although I'd be happy to us... more >>
Initialize OpenFileDialog
Posted by barbara_dave NO[at]SPAM yahoo.com at 1/10/2005 8:46:59 AM
Hi, All,
I want to use the openfiledialog to open different extension files in
different directory( only one type files at one time). I set the
OpenFiledialog InitialDirectory and Filter property for ".dat" files at
first time, it works. When I try to use openfiledialog to set different
Initi... more >>
Is it possible to get the ip address for the login name?
Posted by rs at 1/10/2005 7:44:07 AM
Hello everyone,
Is it possible to get the IP address of a machine on the network if we
know the windows login name. I am assuming NO. If anyone knows a work
around or how this can be done, please let me know
... more >>
C++ dll inheritance in VBA projects
Posted by MrT at 1/10/2005 3:03:03 AM
Hello,
I have a VBA project (P1).
I have a second VBA project (P2) that has a reference to P1.
I have some c++ dlls that are used in P1 and P2.
Is there a way I can make P2 inherit from the references of P1? I know I can
do that easily if the DLL is in VB (Public MyObj as New ProjectName... more >>
DataGrid Query
Posted by Ian at 1/10/2005 2:51:05 AM
I am using a DataGrid Control with a collection of TableStyles to customise
input. All my table styles are of DataGridTextBoxColumn type. At the end of
the last row, I need to force the row to update when the user presses return
on the rightmost column. How do I do this?
For some reason, th... more >>
How to deploy a COM+ by using a MSI file
Posted by Li Pang at 1/10/2005 2:03:04 AM
Hi,
My app uses a COM+ which I created manually. I'd like to deploy this COM+ by
using a msi file to simplify the task. Anybody has a sample code or a link I
aprreciate.
... more >>
|