all groups > vb.net > february 2004 > threads for friday february 13
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
what's teh link between developerdex and this newsgroup?
Posted by Ray Martin at 2/13/2004 10:46:08 PM
I have sent posting to this newsgroup, and notice that if it's answered on
developerdex, the posting is removed from this newsgroup forcing me to goto
develoersdex. Why is this?
... more >>
HOWTO: Do Print-to-Screen Statments in a .vb file
Posted by Dan Sikorsky at 2/13/2004 10:20:50 PM
How can you print values in variables to the screen in a .vb file when the
page loads? The Response.Write won't work
--
Dan Sikorsky, MSCS BSCE BAB
... more >>
HOWTO: Use C# File (.cs) In VB.NET Solution
Posted by Dan Sikorsky at 2/13/2004 10:17:02 PM
I've included a .cs file in my project that has all .aspx.vb and .vb files,
but can't dim a variable in a .vb file as a .c# class.
Dim objCard as DotNetNuke.CreditCardPurchase
this fails because CreditCardPurchase is not seen in namespace DotNetNuke
Here's the c# file:
namespace DotNetNuk... more >>
Updating the dataset
Posted by jy836 at 2/13/2004 8:52:36 PM
When you change a query at design-time using the OleDbDataAdapter wizard,
you're supposed to re-generate the dataset to reflect the changes (such as
the addition of a table in your query) by right-clicking on the data adapter
and clicking Generate DataSet (correct?). But if you change a query at
... more >>
sizing datagrid columns
Posted by flast at 2/13/2004 8:51:58 PM
I have a datagrid with 4 columns, how can I set the width of any particular
column at either design or run time? I'm tired of constantly having to
manually re-size a particular column every time I open the form
Thanks,
Brian.
... more >>
Help with breakpoints
Posted by flast at 2/13/2004 8:28:06 PM
I'm new to VB.NET and I'm trying to get my application to break at a
particular point.
I have set the breakpoint on the line I want by simply clicking in the grey
section to the left of the line of code (the line is then highlighted in
brown). I checked the properties of this breakpoint and s... more >>
I got a job...
Posted by Terry Williams at 2/13/2004 7:51:25 PM
I received a job offer today... It means moving 150 miles away, and
making a 20% less money than I was making at my previous job. But It's
more than un-employment :)
I would like to take a moment to thank all the people that emailed me
with job leads and info. It really mean't alot to me.
... more >>
Database ??
Posted by RedBean at 2/13/2004 7:46:05 PM
I'm thinking about buying Basic .NET Standard edition. Does it come
with some sort of database or do I need to purchase that separately
What do you recommend for just a small windows application
Thanks
Crai
RedBean12@msn.co
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
convert points, pixels & millimeters
Posted by T.Jackson at 2/13/2004 7:24:20 PM
Hi guys,
Does anyone know the conversions for the above (relationship between each of
the above).
Ie how many points makeup a pixel & how many pixels make up a point.
--
Besty Regards,
TJ
... more >>
Error: No default member found for type MyClass
Posted by Andy Eshtry at 2/13/2004 6:55:09 PM
Dear Friends
I have a urgent problem to solve. I have created a class and its
collection and then bind it to a datagrid but got the following error.
Please help. Thanks in advance. Andy Eshtry
No default member found for type 'clsAgentPostalCode'
Line 44: Dim oAgentPostalCodeC... more >>
About constructors & Destructors
Posted by ElanKathir at 2/13/2004 6:31:17 PM
Hi All !
I want to know about the constructors & Destructors,
constructors ---> New=20
Destructors --> What ? (Which keyword to use for Destructor)
Thanks & Regards,
ElanKathir.S.N,
ASM Technologies,
B'lore.... more >>
Attributes.Add
Posted by Mark at 2/13/2004 5:48:09 PM
Where can I find information on what can be added as an attribute. IE
onmouseover, onmouseout and the syntax.
Thanks
Mark
... more >>
Windows Service and MailItems
Posted by Dima Protchenko at 2/13/2004 5:22:26 PM
Hi,
I am building a windows service, which monitors a mailbox and parses =
email messages into the db. When I wrote the SAME code in windows forms =
application, everything worked fine, but I am having a problem in the =
Windows Service project and I can't figure it out.
For i As Integer =3D ... more >>
USB 2.0 (High Speed) & VB (6.0) Using Windows API. Is it Possible?
Posted by Nirupam Gupta at 2/13/2004 5:06:06 PM
Hi
I have been assigned a Project to develope the interface of DLP Projector
the interface should be able to control the functions of Projector lik
Contrast
Brightness,
Volume
Mute,
Keysone correction et... more >>
Trying to play a wav file with wmplayer.exe using Shell()
Posted by felechaji NO[at]SPAM yahoo-dot-com.no-spam.invalid at 2/13/2004 4:37:49 PM
I can get Windows Media Player to start, and play a wav file just fine
using a command line
"C:\Program Files\Windows Media Player\wmplayer.exe" c:\Temp\temp.wav
But I want it to come up from a VB.Net application, so the user will
select the recording he wants and click a button and code wil... more >>
Help needed: TCP Server questions/problems
Posted by Matthew Speed at 2/13/2004 4:20:03 PM
(About me: I know very little about writing server applications. I
have done plenty of VB6 desktop app work but this is my first server
program. I got it to work by modifying examples. I understand what
it is doing but not much about what is involved in extending it. )
I am not necessarily ... more >>
Content Types
Posted by Nuno Monteiro at 2/13/2004 3:40:22 PM
Hello!
Anyone knows how to see a file, such as pdf or doc from memorystream
with content types?
--
Cumprimentos,
Nuno Monteiro
nuno@rcsoft.pt
RCSoft, Desenvolvimento de Software, Lda
Telefone: 239708708
Fax: 239708701
... more >>
Dereferencing
Posted by Michael Maes at 2/13/2004 3:38:45 PM
Hi,
How would I handle Dereferencing in vb.Net 2003.
Something like:
Dim txt As TextBox =3D DirectCast("txt" & someStringVariable, TextBox)
This sadly won't work because a type of string cannot be casted to a =
textbox.
The "txt" + someStringVariable concatenation would represent a valid... more >>
StackOverFlowException
Posted by CJ Taylor at 2/13/2004 3:36:11 PM
Hey everyone,
I randomly get a StackOverflowException when trying to do a
System.Array.CreateInstance. Well I'm not trying to. C1 is trying to do it
on a Dataset update... My question is... what can I do to get around it?
Thanks,
cJ
... more >>
Scope of structure declarations
Posted by John Dann at 2/13/2004 3:26:21 PM
I'd like to use the same different variables of the same structure in
multiple classes etc. But even though I declare a structure as eg:
Public Structure ExampleStructure
Dim A as short
Dim B as short
etc
End Structure
in one class and works OK within that class, I'm getting a 'Type
'... more >>
putting parameters into XML and than in collection?
Posted by DraguVaso at 2/13/2004 3:22:34 PM
Hi,
I have application A giving 1 string containing some parameter to
application B. I guess it would be 'nice' if I made that parameter-string in
XML-format.
In my application B I need a way to find out easily which parameters are put
into the XML-string, and I need to be able to work easi... more >>
Finding current Procedure
Posted by Tor Inge Rislaa at 2/13/2004 3:08:41 PM
Finding current Procedure
I want to write errors to a log-file, where the error log contain the
description of where the error occurred and what kind of error it was.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
On Error GoTo ... more >>
Simple XML question
Posted by Brian Henry at 2/13/2004 3:00:14 PM
I have an XML file formated as this
<?xml version="1.0" encoding="utf-8" ?>
<settings>
<databaseServer>Dell5100</databaseServer>
<defaultDatabase>bene</defaultDatabase>
</settings>
relateively simple file... I want to be able to say which attribute of the
settings group I want to read in ... more >>
Completely off topic.. but anyone know why?
Posted by Rigga at 2/13/2004 2:54:51 PM
Hi all,
I know this is nothing to do with microsoft.public.dotnet.languages.vb.. but
it's the only news group it happens on...
I use Outlook Express newsreader, and have set this newsgroup to get new
message headers and body.. and mostly it does exactly what I want.. i.e.
download all the n... more >>
User Define Error - Passible in VB.NET
Posted by ElanKathir at 2/13/2004 2:41:48 PM
Hi All !
How to create the User Define Error Object and how to Genrate the Error (How
to through the Error?) in VB.NET ?
Please Reply ASAP.
Thanks & Regards,
ElanKathir.S.N,
ASM Technologies,
B'lore.
... more >>
Entering single quote into a database expl (O'Hare)
Posted by Bob E at 2/13/2004 2:31:08 PM
How can I insert a field name like O'Hare or O'Conner into a table. I would rather not have to check every field entered to see if the character ( ' ) is in the field. I'm entering Streets, Names, Clients, etc. into a table. Everything was going fine until the Name field (O'Hare) was entered. Ca... more >>
How do you format a DateTime in Spanish?
Posted by Robert Dobson at 2/13/2004 2:28:43 PM
The .Net documentation at
ms-help://MS.VSCC/MS.MSDNVS/vsent7/html/vxconFormattingIssues.htm#vxconforma
ttingissuesanchordates has this wonderful list of examples of *why* you
should use the provided APIs for date formatting but neglects to actually
explain *how* to use them :-) Will somebody pl... more >>
Programatically set file permission
Posted by Ashraf Moollan at 2/13/2004 1:26:13 PM
Hi all,
I was wondering whether anyone would know how to programatically set file
permission?
Basically I am having the same problem as described on:
http://www.vbdotnetforums.com/?f=7&m=601
which is codes from MSDN
http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q818362
Hope ... more >>
API Help please - How do I find the owner of a file or folder using
Posted by John Regan at 2/13/2004 1:25:03 PM
Hello All
I am trying to find the owner of a file or folder on our network (Windows
2000 Server) using VB.Net and/or API. so I can search for Folders that don't
follow our company's specified folder structure and naming conventions and
then send a Net send message to those users telling them t... more >>
Data Adapter and Listboxes - general questions
Posted by amber at 2/13/2004 1:01:14 PM
Hello
I'm new to VB.net and have a question about using data adapters
I have 3 text boxes and a list box on my form. The text boxes are search fields that query a SQL database and return a list that populates the list box. The user would enter text into any 1 of the text boxes, or none at all, the... more >>
Searching a RichTextBox
Posted by Tim Smith at 2/13/2004 12:46:07 PM
Hi
I have a richtextbox and I want the users to be able to search for text within the control. I would think that the richtextbox.find() would work, but I can't figure out how to get the textbox to scroll down and highlight the search text. Any suggestions?... more >>
Multithreaded System Service
Posted by Sonya Erb at 2/13/2004 12:45:37 PM
Hi to all!
I have a bit of a problem. I am new to multithreading, but it is necessary
for me to use it in a service that i am developing.
I am receiving numerous messages through a UDP port and need them to be
processed in the order that they arrived.
I would prefer it if they could be proce... more >>
VB.NET Custom Controls for VB 6?
Posted by Marc at 2/13/2004 11:26:06 AM
Is there any way to develop a Windows Forms Control in VB.NET and use it in VB 6 (as an .OCX)?... more >>
conceptual question re delegates and the firing of events
Posted by Bernie Yaeger at 2/13/2004 11:18:12 AM
I know I'm not getting this clearly: I set up a delegate to execute a
method. I've done this with no problem re validating methods. For example:
I set up the delegate like this:
Delegate Sub callm_dropdown(ByVal sender As Object, ByVal e As
System.EventArgs)
Dim delegd As callm_dropdown
... more >>
What do I need to run the program
Posted by Roe at 2/13/2004 11:09:49 AM
Hello,
I have create a little program in vb.net. I have build the solution and I
have no problem to run the program on my own pc. The problem is when I try
to run on other pc so my question is; what do I need to run the program on a
new installed win2k/xp pc?
Roger
... more >>
Problem with the event log
Posted by RandyJ at 2/13/2004 11:01:08 AM
I created a custom log by following a walkthrough. It created NewLog1. I logged several things successfully. I then tried to delete it and send my error messages to the Application log. The problem is that they still go to NewLog1 which doesn't show up in the Event Viewer because I deleted it. ... more >>
Sub - return values
Posted by PAul Maskens at 2/13/2004 10:55:30 AM
Every other language I've worked in, you can return a value from a
subroutine/method/function.
Unless I've missed something basic (no pun intended) you can't do that in
VB.NET
AFAICS I can do it in C#, but not in VB, am I right?
--
PAul
... more >>
VB.NET, you must be desperate if you use it
Posted by Peter at 2/13/2004 10:40:41 AM
Good luck learning quite a new language, good luck with your 21MB+ programs,
good luck with the distribution of your applications, good luck when
Microsoft releases another new version of Framework!
Some people never learn...
... more >>
Process, ProcessStartInfo fail to run large batch file
Posted by Leo Heska at 2/13/2004 10:36:06 AM
Hi
I haven't seen the following problem mentioned anywhere
We have an application written in VB.NET which executes a batch file (named startJob.cmd). We have discovered that if that batch file is too big, the last lines of the batch file will not run. For example, the following one-line batch ... more >>
Add-in development resources?
Posted by Rob Richardson at 2/13/2004 10:09:44 AM
Greetings!
What resources are available for people trying to learn to write VB .Net
add-ins? The help files are too disconnected to give a coherent picture of
the process. Are there any newsgroups dedicated to them? Yahoo or similar
E-mail lists? Web sites? Books?
Thanks again!
Rob
... more >>
debug.write
Posted by Laurence Nuttall at 2/13/2004 9:45:29 AM
I have opened the Immediate window, but
my debug.write and debug.writeline results
are nowhere to be found in the immdediate window.
Does anyone know where ther results of the debug.write
and debug.writeline go?
Thanks in Advance,
Laurence Nuttall
Programmer Analyst III
UCLA - Division... more >>
Controls not displaying on form in design as well as runtime
Posted by ppopat NO[at]SPAM mimhp.com at 2/13/2004 9:40:10 AM
Peculiar problem,
All of a sudden today in one of our forms a few of the controls have
disappered. The code behind the scenes still exists. No errors ,
nothing. The controls just don't show for user input.
any ideas ? Tried almost everything.... more >>
Delete more then 1 file
Posted by y1799 NO[at]SPAM yahoo.com at 2/13/2004 9:16:06 AM
Hi,
Class File contains Sub Delete.
I can delete one file: File.Delete(1.txt)
But I can not delete a few files : File.Delete(*.txt)
Of course I can use loop and delete every file : File.Delete(strCurrentFile)
or run : Shell("del *.txt, AppWinStyle.MinimizedFocus, True)
But maybe exist S... more >>
Scoping in VB.Net
Posted by John K. at 2/13/2004 9:11:04 AM
I have the following
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Clic
Dim aform As Form
aform = New Form
aform.Show(
End Su
since aform is a local variable, when the function ends, aform goes out of scope (or I t... more >>
OT: How many newsgroup posters does it take to change a light bulb?
Posted by Ot at 2/13/2004 9:05:58 AM
How many newsgroup posters does it take to change a light bulb?
1 to change the light bulb and to post that the light bulb has
been changed
14 to share similar experiences of changing light bulbs and
how the light bulb could have been changed differently
7 to caut... more >>
Change value during debug
Posted by y1799 NO[at]SPAM yahoo.com at 2/13/2004 8:32:22 AM
Hi,
I have variable strText, with value "Hello World"
I see this value at Watch window. Can I change this value to "World
Hello" and continue work or I need to stop program , assign new value
to variable and run program again.
At VB6 I can do it, but can not find such opportunity at VB.Ne... more >>
How can I post a xml file to a gateway?
Posted by xie NO[at]SPAM proexam.org at 2/13/2004 8:13:29 AM
Hi,
How can I post an existing xml file to a gateway? The idea is that I
create an xml file on my end and then I upload(or post) it to a
company for them to verify the information and then they give me back
another xml file and then I parse it..But now , I am having problems
post my xml file ... more >>
Does anyone know of an extended webcontrols.datagrid?
Posted by Trint Smith at 2/13/2004 8:02:32 AM
I need a webcontrol datagrid with extended capabilities...to show
thumbnails and hyperlinks..etc.
Like this one does that is just a windowscontrol:
http://dotnet.leadit.be/extendeddatagrid
But I need mine for a webproject.
Any help is appreciated.
Thanks,
Trint
.Net programmer
trintsmit... more >>
Setting NTFS permissions
Posted by Jeff Bunting at 2/13/2004 7:56:06 AM
I'm trying the VB code in KB article 818362, but keep getting a "member not found" exception on this line:
objSecDes.DiscretionaryAcl = objDAcl
any idea why this would happen?
link to code
http://support.microsoft.com/default.aspx?scid=kb;[LN];818362
... more >>
dataset not getting data of the the datagrid
Posted by anandsaha NO[at]SPAM rediffmail.com at 2/13/2004 7:51:48 AM
hi,
let:
dataSet1 is having some data from database.
dataView1 = dataSet1.table(0).defaultView
dataGrid1.dataSource = dataView1
[.. programatically construct a tablestyle for the grid ..]
dataGrid1.TableStyle.add(myTableStyle1)
ok, now i show the datagrid on a form. the use left clicks ... more >>
How do you determine the reason for an UNLOAD
Posted by Michael SL at 2/13/2004 7:31:09 AM
When a client requests to leave a Web Page, I want the web page to check for a certain condition. If that condition is met, I want to prompt the user to make sure they want to leave
The method I am currently using is
<HTML><HEAD
..
<script><!-
function PageBeforeUnloadCheck(
... more >>
How to position web server contols at run time?
Posted by andrew at 2/13/2004 7:12:20 AM
Quite possibly a simple one.
I wish to build a web page which will encompass multi
functionality (i.e. it wil accept relevant entries to
perform a variety of procedure against my data base).
When I call the form I pass a query string and use select
statements to determine what the form is ... more >>
Conversion
Posted by scorpion53061 at 2/13/2004 7:10:40 AM
"selectedprice" exists as a string
$5.23 for instance
in this statement I need to convert it to double
CDbl(selectedprice)
how can I do this? It throws an invlaid cast exception.
... more >>
Form doesn't show
Posted by mike at 2/13/2004 6:56:07 AM
the following code doesn't seem to work. Does anyone know why my form isn't showing?
Dim pickarea1 As New PickArea
pickarea1.Show()
... more >>
Help connecting to remote Sql server
Posted by bill NO[at]SPAM emerging.com at 2/13/2004 5:44:38 AM
I am having difficulties connecting to a remote Sql server database in
VB.net.
Lets say my remote server is found at 255.255.255.255 and its name is
MyServer. The database is called MyDatabase.
I drap my SQLDataAdapter on to the form and set up a new connection at
the wizard. I am putting t... more >>
Detecting Another Application's Events
Posted by scorpion53061 at 2/13/2004 5:42:38 AM
In some situations MS Word is started in another thread by the end user.
I am trying to figure out how, if possible, to detect if the user has shut
down MS Word so I can kill the thread and clean up the instance.
Any ideas?
... more >>
Controlling Webcam
Posted by Pat Mac at 2/13/2004 3:45:15 AM
Hopefully this is a good group to ask this question. I'm trying to
programmatically control a micro innovations IC50C webcam with VB.NET.
Specifically I'm using the Kodak scanner control. My problem is, despite
setting the control's ShowSetupBeforeScan property to false, when I execute
the Sta... more >>
Automation server can't create object
Posted by Jeff Ostapchuk at 2/13/2004 2:09:32 AM
Every time I go to create a New Item, i get this msgbox, "Automation server
can't create object" why can't I add anything to my project? O.o
... more >>
migration guidelines
Posted by Mike Smith at 2/13/2004 1:14:31 AM
hey ppl,
my company wants to basically migrate our vb6 applications onto the new .net
platform.
Was wondering if theres any documentation on this process ? Some sort of
checklist ?
Would it be right to just attend trainings on vb.net and asp.net and then
start coding.. or should we look at... more >>
How to handle deleted rows?
Posted by Ray Martin at 2/13/2004 12:03:15 AM
I have two tables in the dataset:
-Invoice header which contains invoice total (Parent table)
-Invoice line which contains line item details (Child table)
I am using a data adapter to update the actual database
There are appropriate table relations
Here is the problem: If I delete a row fro... more >>
|