Home All Groups Group Topic Archive Search About

Visual Basic .NET

microsoft.public.dotnet.languages.vb
Score Help with Radio button loop
DrinkyBanjo - 28 Jan 2006 11:11 PM - 4 messages
Hello all. I'm VERY new to VB .Net and I have a bit of a problem.  I need to write a loop around radio buttons.  My program has three radio buttons that perform calculations based on the same two number but the output is in different ...
Score Darn, still does not work!
Bob - 28 Jan 2006 10:36 PM - 6 messages
Vs2003, Winform app, trying to read an application setting Dim MyAppMgr as new System.configuration.AppsettingsReader Me.textbox1.text = MyAppMgr.Getvalue("MyServerName",string) Now when I execute the first line I get a system.dll exception because it says required attiubte 'Value' not found. ...
Score Playing sounds from resources in VB2005
Terry Olsen - 28 Jan 2006 9:14 PM - 2 messages
Using the following routine to play embedded wav files: Private Sub PlaySound(ByVal Sound As Int32) Select Case Sound   Case 1 : My.Computer.Audio.Play(My.Resources.Sounds.GoOnline, AudioPlayMode.Background)   Case 2 : My.Computer.Audio.Play(My.Resources.Sounds.DoorOpen, ...
Score Assign property from db to object property?
Burt - 28 Jan 2006 7:10 PM - 3 messages
I have a large number of name/value pairs in a database I want to loop through and assign the value to an object with the property of that name. Pseudocode would be: while oRec.Read   myObject.oRec("PropertyName") = oRec("PropertyValue") ...
Score User's Mail Editor
Dennis - 28 Jan 2006 6:52 PM - 12 messages
I am using the following code that I got from this newsgroup to start a user's default e-mail editor and it works ok.  However, I would like to attach a file to the editor (like using word as editor) ...
Score How to: Omit Deafulted Elements from XML When Serializing
Charles Law - 28 Jan 2006 6:36 PM - 3 messages
I have a complex object that I am serializing, and I would like to omit elements that have a default value. For example, if I have a class as follows Public Class Test     Private m_Name As String = "George" ...
Score Can't get a value from my app.config file
Bob - 28 Jan 2006 6:33 PM - 3 messages
Winforms, Vs2003 Code is Dim MyAppMgr as new System.configuration.AppsetingsReader Me.txextbox1.text = MyAppMgr.Getvalue("MyServerName",string) The IDE tells me that string is aclass type and so is not a valid expression. I know I'm trying to retrieve a string value so what's the proper syntax? ...
Score convert rtf to html
iwdu15 - 28 Jan 2006 6:08 PM - 4 messages
hi, how can i convert rtf encoding to HTML? i looked at previous posts and i cant seem to find the HTTPUtility in vbexpress 2005. Is it not there, and is there another way? thanks ...
Score Problème data tramsmission from tableadapter to ACCESS database
philip - 28 Jan 2006 1:11 PM - 16 messages
On a form, I have a datagridview. This datagridview is constructed on a dataset filled by a tableadapter. The table adapter do very well what it must do when filling dataset. Insertions, modifications and deletions functions very well in the dataset. ...
Score Odd or Even
William Foster - 28 Jan 2006 11:27 AM - 15 messages
Good evening all, Does anyone know how to find out whether a value is either odd or even in the Visual Basic component of Visual Studio 2005.  I have found the Math and Information tools which provide some of the common functions ...
Score Two combo box with same data adapter in same dataset.
Hardik Shah - 28 Jan 2006 10:42 AM - 2 messages
Hi, I have created a entry module with data binding , I have two combo box with same data adapter with same data set. when I change the first combobox's value, there is automatically changed to second combo box also as it has ...
Score How to: Retrieving BuiltinDocumentProperties from Word Document
Charles Law - 28 Jan 2006 9:23 AM - 4 messages
Word has a property BuiltinDocumentProperties, which (in VBA) returns a DocumentProperties collection. In VB.NET, using Word automation, it returns a _ComObject. I have tried to cast this to DocumentProperties, but I get an invalid cast exception. In Explorer, I can right click a Word document, click Properties, and I get ...
Score Install tool for VBEpress and .Net 2.0?
Al_C - 28 Jan 2006 5:35 AM - 2 messages
Any suggestions? My last installer does not support VB.Express apps......   :( Thanks, Al ...
Score Why is this undefined??
ron.deberry@gmail dot com - 28 Jan 2006 5:20 AM - 2 messages
Hi, I am trying to check for installed services using : Dim services() As System.ServiceProcess.ServiceController gives this compiler error Form1.vb(802): Type 'System.ServiceProcess.ServiceController' is not defined. Intellisense does not list System.ServiceProcess either. Using VS 2003. ...
Score What happen to Find in Files in VS2005?
**Developer** - 28 Jan 2006 1:10 AM - 7 messages
I can't find how to search an entire solution for a string, say "Sub (ByRef" Nor how to search the entire solution using Regular Expressions. These were my favorite things - please don't tell me they are gone! ...
Score late binding problem with option strict
Rich - 28 Jan 2006 12:28 AM - 4 messages
This code worked before I added option strict.  But I should do it correctly. option ... option Strict On Public Structure Itm     Dim mailSvr As String     ...     Public Sub New(ByVal a1 As String...) ...
Score Libraray
Kent - 28 Jan 2006 12:22 AM - 4 messages
Hi All, I have a c++ library that I would like to call from vb6 or vb.net. For instance, the file is called name.lib (and name.h) Is it possible to call the functions in the *.lib from vb6 or vb.net? If so, could you ...
Score Hpow to create a background process/application?
Steve Wertz - 27 Jan 2006 10:36 PM - 3 messages
Is there a walkthrough or how to that describes the general method for creating an application (in Visual Basic Express)  that has no initial UI, but runs in the background with an icon in the system tray.  A context menu from the notify icon will of course bring up ...
Score WithEvent
John\ - 27 Jan 2006 9:02 PM - 2 messages
I have an EXE file that calls a DLL. I would like the DLL to RaiseEvent on the EXE, I have pasted sample code for the DLL and EXE My problem is that the Class doesn't seem to be able to Raise the Event on ...
Score how to set proper case of a word?
Rich - 27 Jan 2006 8:26 PM - 3 messages
Hello, Does VB.Net have a form of strConvert function?  I tried Imports Microsoft.VisualBasic but strConvert not available.  What is the way to set the propercase of a word in VB.Net? Thanks, Rich ...
Score Is It Possible to Retrieve a List of Declared Variables?
Don - 27 Jan 2006 8:18 PM - 10 messages
Say I have a class like so:     Public Class MyClass         Public Prop1 as Integer         Public Prop2 As Integer         Public Prop3 As Integer ...
Score Whats's the problem using a enum like this?
**Developer** - 27 Jan 2006 6:58 PM - 19 messages
If e.Button = MouseButtons.Left Then also from a Dim Answer As DialogResult = MessageBox.Show.. Select Case Answer Case DialogResult.Yes and many other uses of an enum I get Warning 153 Access of shared member, constant member, enum member or nested ...
Score Inheritance and function issue
Curtis Ransom - 27 Jan 2006 6:40 PM - 3 messages
I have a base class, call it house, and two inherited classes:  townhome and condo. I would like to write a function that could return either a townhome or a condo.  Here is how I am trying to implement it: ...
Score FileDownload with WebBrowser Control - disable the Save?
standish22 - 27 Jan 2006 6:09 PM - 3 messages
want to open a word document stored in my database. What I do is save the document locally, and then open a new winform that has the WebBrowser Control on it and navigate to that new file. This allows the user to manipulate the file and save it.  When they ...
Score setting datagrid column widths in code?
Rich - 27 Jan 2006 5:47 PM - 5 messages
Hello, I have a one datagrid that will be based on different datatables.  One datatable may have 7 columns, another 15...  With the tables that have more columns, I have been manually dragging column widths to narrow them.  I want ...
Score A problem with arrays
elmoizwaly - 27 Jan 2006 5:25 PM - 3 messages
hi there i  am new to vb i have a new project (mdi)  with 8 child forms evry form with at least 10 textboxs. the problem is that when building an array for each form textboxs and declaring the array as public i can't get the data enterd in other ...
Score Run from Server or Workstation
Rob - 27 Jan 2006 5:08 PM - 3 messages
What are some pros and cons associated with running a vb.net app from a server and from a workstation ? When run from the server, I assume that each instance that is executed is "its own instance" i.e., variables are not shared ?   Also, when run from ...
Score Detect Concurrent Running Instances
Rob - 27 Jan 2006 5:01 PM - 8 messages
I do not want multiple instances of a vb.net program running concurrently... How may I detect this ? Thanks ...
Score Email
JJ - 27 Jan 2006 4:41 PM - 5 messages
Whats the most compatilbe way of sending an email ?- I need to consider that the OS may be win 98/win NT/Win 2000/winXP. I was constructing a mailto command, but the contents of the text file I am ...
Score How do I maintain paragraph numbers into a new word document
Adam Faulkner via DotNetMonster.com - 27 Jan 2006 4:04 PM - 2 messages
I had a problem before extracting pages from an existing word document and then inserting the content into a new word document. The following code below works with Microsoft Word 2000     Function ParseWordDoc(ByVal Filename As String) As String ...
Score How to Create an Invisible User Control?
Don - 27 Jan 2006 3:57 PM - 4 messages
Is it possible to create a custom control that will show up in the toolbox and can be dragged onto a form, but will appear in that special section at the bottom of the form designer window where things like ImageList controls ...
Score Converted a solution to VS2005 and it is complaining: Variable 'PF2' is used before it has been assi
**Developer** - 27 Jan 2006 3:31 PM - 8 messages
Public Shared Sub junk... Dim PF2 As Wnd.PARAFORMAT2 PF2.cbSize = Marshal.SizeOf(PF2)     'ERROR HERE PF2.dwMask = Wnd.PFM_LINESPACING ....snip I just converted a solution to VS2005 and it is complaining: Warning 22 Variable 'PF2' is used before it has been assigned a value. A ...
Score write Override methods in Code Editor VS2005
mtczx232 - 27 Jan 2006 1:45 PM - 4 messages
in previous versions we can put Override header method into code by choosing Override from upper left dropdown list, and choosing the method from right one. but in VS2005 Override Option disappear? ...
Score Force ASP.NET shadow directory to update?
Oenone - 27 Jan 2006 11:31 AM - 3 messages
I have an application which loads plugin DLLs from various directories on the local disk. To avoid problems with the DLLs being locked by IIS, I have modified my code so that it copies the DLLs to the /bin/ directory if it ...
Score Problem with installer made in VS 2003.NET
Lars Netzel - 27 Jan 2006 11:26 AM - 6 messages
Hi, I have made an applicaiton and also a setup project in Visual Studio that gives me these three files in a folder. Seup.ini Setup.msi Setup.exe If i run the setup.exe and install the program the program installes fine ...
Score Icons on the menus
sonu - 27 Jan 2006 10:24 AM - 5 messages
Hi, Is it possible to attach the icons to the menus in VB.NET. I have read we have to use ownerdraw menus to do this. Does anyone know more than this. Sample application would be a better help. Thanks in advance. ...
Score Good tutorial on Windows API
Jarod_24 - 27 Jan 2006 10:15 AM - 2 messages
I've been using a lot of <DllImports> as of late and i was wondering if anyone could tell me a good tutorial/website/articles/books that explains what System.Marshal** actually does and how to make those ...
Score VB.Net MainMenu Control
savvaschr - 27 Jan 2006 10:13 AM - 2 messages
Hello All I want to ask how is posible to add on a form, that is mdiChild of another form, a MainMenu Control. I just Drag and drop it , and its there on my form , i also put menuItems on it , then i am going to the forms properties on the MENU ...
Score Can we run Vb.Net Application on Apple Macintosh ?
Luqman - 27 Jan 2006 9:39 AM - 4 messages
Can we run Vb.Net Application on Apple Macintosh ? If so, what steps I have to take ? Best Regards, Luqman ...
Score StreamReader does not read all characters...
rVo - 27 Jan 2006 9:15 AM - 3 messages
In a VB.Net application I create a new streamreader and use it's ReadToEnd function to read the contents of a htmlfile. Inside the file there are some signs like  öéèêë..., these signs are not ...
Score READING EMAILS
Savas Ates - 27 Jan 2006 9:03 AM - 14 messages
How can i read email files by using vb.net. Any referance web site or code sample? ...
Score vb .net
mydotnetdoubt - 27 Jan 2006 7:15 AM - 2 messages
i'm a ASP Pgmr, where i can find good online tutorial for VB.NET Nau ...
Score grid editing
surendra.rajput - 27 Jan 2006 6:05 AM - 2 messages
hi i am try to make a grid inthis grid some text box placed and user enter text in grid text box and save it it save in data base and edit also.plz help me i am new programmer in ASP.net ...
Score Null value with memo field, error
toufik - 27 Jan 2006 6:05 AM - 4 messages
Hi, In my table(ms-access) I've a memo field whih is not required, and allow zero length to true. I've in a vb.net form, a textBox bound to this field, - I can leave it as NULL and save. ...
Score Suggestion for DB Connection
Joe - 27 Jan 2006 5:25 AM - 3 messages
Hi I am using Visual Basic 6.0 and Oracle 8 as database for my project. My project is going to be an Multiuser software. The database should be accessible from other computers also. which is the best method to ...
Score Crytal Reports with VS 2003
Dave H - 27 Jan 2006 1:40 AM - 2 messages
Is there a patch I have to apply to get Crystal Reports to work correctly? Trying to hook up to a local SQL 2000 database, I get: Exception Details: CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed. ...
Score MP3 File duration
iwdu15 - 26 Jan 2006 10:36 PM - 3 messages
hi, ive tried using the Windows Media Player control to get the duration of a song, but it comes up with "00:00" when the song is longer than this. How can i calculate the duration of the song? thanks ...
Score Where are on the web the WM constants ??
pamelafluente - 26 Jan 2006 9:48 PM - 13 messages
Hi guys, what are the best place on the web where I can find the list of all thh constants like: WM_QUERYENDSESSION As Integer = &H11 (possibly with some explanations) .... etc ...     to be used for instance with: ...
Score listview rows hiding vb.net
marfi95 - 26 Jan 2006 8:23 PM - 2 messages
Is there a way to hide a row in a listview w/o removing it ? Or if I have to use a hidden listview to store another view, a way to duplicate the contents extremely fast.  there could be thousands of ...
Score what collection obj can hold 3 parameters per index?
Rich - 26 Jan 2006 8:03 PM - 15 messages
Yes,  I need to store some values in an array type collection object that can hold 3 or more parameters per index.  I have looked at the collection object, hashtable object and would prefer not to hassel with a multi-dimensional ...
Score C# to VB.net conversion for "?" conditionals
.Net Sports - 26 Jan 2006 7:54 PM - 16 messages
I need to convert some C# ?Conditionals over to vb.net (most likely in vb.net using If..Then statements), but the C#2VBNETconverter by KamalPatel isn't converting them: string PurchaseType = (Convert.ToString(drwData["DailyItem"]) == "True") ? "ID" : "PID"; XmlNodeList Selections = xdcData.GetElementsByTagName((X == 0) ? ...
Score Cascading list boxes
Tim Ferguson - 26 Jan 2006 7:25 PM - 5 messages
Okay: I know this may not seem like much to you, but I have at last worked out how to connect two database-linked listboxes using ADO dotNet. You know: the first one has countries, and when you click one of them, ...
Score currency manager
Theodore - 26 Jan 2006 7:04 PM - 6 messages
Hi, i have a class "MyClass" with a public property of datatable type. I also have a form with a public property of type "MyClass". The form has a datagrid which binds to MyClass.Table datatable. While navigating through the datagrid rows i can see the current position of MyClass.Table object ...
Score Waiting for a shell command
Hugh Janus - 26 Jan 2006 6:46 PM - 7 messages
Hi group, I am executing a shell command that calls a .BAT file.  I have to wait for this batch file to finish so I use the wait = true parameter in the shell command.  However, this means that my app freezes causing the ...
Score Column names in Dataset
tshad - 26 Jan 2006 5:23 PM - 3 messages
Where do I find the column names in a datatable that you get back from an Sql Select statement, such as Select * from table? If I had a Dataset as: Dim ds as dataset ds.Table(0).? Thanks, Tom ...
Score Creating a dynamic array in VB NET
hien_tran - 26 Jan 2006 4:38 PM - 3 messages
As in VB6, is it possible to create a dynamic array in VB NET and then use Redim Preserve after knowing the index of the array?  Thank you in advance for your help. ...
Score What am I missing??
YYZ - 26 Jan 2006 3:22 PM - 4 messages
Short version:  I've got to a collection of objects based on a certain property of those objects.  Here is the code to know IF I need to swap 2 elements... if cdbl(cCol(i).Balance) < cdbl(ccol(i + 1).Balance) then ...
Score Static linking to unmanaged library
S Wheeler - 26 Jan 2006 3:12 PM - 2 messages
Hi VB.net'ers - I am doing more and more vb.net programming, and was curious to know if there is a way to link a static library (unmanaged C++) with a vb.net app. I know I can call methods in a unmanaged dynamic library (dll), but here I ...
Score ANN: Free PDF books for registered users of Visual Studio 2005
Carlos J. Quintero [VB MVP] - 26 Jan 2006 2:45 PM - 23 messages
Hi all, I just wanted to let you know that if you have registering Visual Studio 2005 finally has some benefits. You can get electronic PDF books about Visual Studio 2005 and some other stuff. For example, the updated book "Working with Visual Studio 2005" by Craig ...
Score Batch update to table from datagrid
Bill nguyen - 26 Jan 2006 2:29 PM - 7 messages
I use  DatagridTableStyle to display data from table WF_Carrier_FreightChart. USers than can add/delete/edit rows in the Datagrid. Since the Datagrid's datasource "dCarrierFreight" is just a copy/view of the table (dataset dFreight.tables(0) ), I need to update the original table to ...
Score remoting in net
Halimaji Nijazi - 26 Jan 2006 2:16 PM - 2 messages
Hi everybody I am trying to access objects of a net-app from my net-app I know that this is possible with remoting. But I have some problems with the samples of microsoft. First they are to complicated for me and second ...
Score Create Access ODBC DSN ?
Tull Clancey - 26 Jan 2006 1:41 PM - 4 messages
Hi all. I've been searching all over the place for a bit of VB Net code that will create a DSN for an Access database.  I've found examples of creating connections for SQL, but not Access. Has anyone done this or acn anyone point me in the right direction? ...
Score beta 3
guy - 26 Jan 2006 1:02 PM - 6 messages
Is the rtm version of studio 2005 actually the beta 3? i was pleasnatly surprised at how robust VS2002 was when it first appeared but vs2005 rtm  feels more buggy than the VS2002 beta 1 (even thogh it had ...
Score New 2 dotnet but Im a vb6 programmer
Dixon - 26 Jan 2006 12:39 PM - 6 messages
Hola all.... Im new to dotnet.....Im a vb6 programmer basically....and i know some java.....Hope i can improve in to get into dotnet.... Help me with resources that i can improve and learn dotnet skills.... Bye & Thanks in advance ...
Score Keydown on load
Dave - 26 Jan 2006 12:06 PM - 3 messages
Hi all, Has anyone got any idea on how to detect if the user is holding down a key when a program starts?  I have tried dealing with the forms keypress event but to now avail... i have tried all key events. ...
Score READING EMAIL DBX FILES WITH VB.NET
Savas Ates - 26 Jan 2006 11:02 AM - 3 messages
I want to read all my email files in a dbx file with header. I dont dont how to do it with Vb.Net. Does it have a class or reference to do it ? Any source web site or sample program ? ...
Score RS 2005: Use a Custom Class as DataSource?
Pieter - 26 Jan 2006 8:43 AM - 5 messages
Hi, Is it possible to use a Custom Class/Object as a DataSource/DataSet for a report? I have now for instance my object MyCompany, and it woudl be nice to just use a MyCompany-instance as the DataSource... Any hints/help woudl be really appreciated, ...
Score Open form in a separate thread
Adriano - 26 Jan 2006 8:17 AM - 4 messages
Hello, I have an mdi form that contains many data objects so it takes too much for loading, I want to use smt. like load progressbar, how can I use threading for that? Please send me some codes or examples... ...
Score Syntax not accepted on my version of VS why ?.
Marc R. - 26 Jan 2006 5:46 AM - 7 messages
Hi All, The newbie strikes back, ;) I have downloaded several examples that contains that syntax : For i as integer = 0 to treeview.nodes.count - 1 Why my Vs 2002 (7.0) will NOT compile as per: "Name i is not declared"? ...
Score need ideas - caching strategy
pitachu - 26 Jan 2006 5:36 AM - 4 messages
hi all, I need some high level and efficient ideas on how caching should be designed in the scenario below. The application and the cache will most likely be in VB.NET. I have a central interface (does not necessarily have to be a website) ...
Score what is the MyApplication.vshost.exe?
Terry Olsen - 26 Jan 2006 5:30 AM - 3 messages
While running my application, either in or out of the debugger, after a while the message box pops up that says "MyApp.vshost.exe has encountered a problem and needs to close."  What does the vshost.exe do?  I don't get any ...
Score Best way to do a connection-oriented Send/Receive.
Simon Says - 26 Jan 2006 4:55 AM - 7 messages
Hi all, I've a message object that is serialized to a xml string and communicating between a client and server with a connection-oriented (TCP) socket. Unlike a UDP, in a TCP socket, the 'Receive' function will try to read in as much ...
Score FileSystemWatcher question
nbrege - 26 Jan 2006 3:40 AM - 2 messages
I am writing a program that watches a certain folder for incoming files & then moves those files to another folder. Here's the problem: if I copy a group of files into the watched folder it works fine, but if I move a group ...
Score Datareader binding to datagrid not working
tshad - 26 Jan 2006 2:41 AM - 4 messages
I am using VS 2003 and trying to build a standalone application.  I have been writing all my asp.net work using DW and am just now trying to build a application that will read some of the tables I had written out from my web ...
Score DataGridView: Preventing deselection of a selected checkbox
Mike - 26 Jan 2006 12:36 AM - 9 messages
Hi all, I have a DataGridViewCheckBoxColumn as one of my columns in a DataGridView. I want this checkbox to only be checked, but not unchecked - it's used by the user to audit that they have "seen" and checked an order. ...
Score Form Focus Issue
Fr15ky - 25 Jan 2006 11:50 PM - 15 messages
First of all, I am using the .NET 2.0 framework with Visual Studio 2005. I have two forms. One is a form with a TreeView control on it (used as a menu - kindof a favorites list) and the other is a form with a ...
Score Launch a program and a function by File Type
bidalah - 25 Jan 2006 11:12 PM - 3 messages
Hi, I have created a program which opens up ".pcfs" files, a kind of text file unique to my program.  I want to be able to click on these files and have the program launch AND load the contents of the clicked file. ...
Score resizing datagrid with form?
Rich - 25 Jan 2006 8:40 PM - 3 messages
Hello, If I place a panel control on a form and place a datagrid on the panel, is there a property for the panel to resize with the form?  I am sure there is.  I just can't remember what the setting is/are. ...
Score what to use to play sound?
djc - 25 Jan 2006 8:18 PM - 6 messages
what choices do I have to play sounds in a program using vb.net? Or, I guess if nothing vb specific what windows API(s) should I look at? I am interested to find out whats needed for playing short wav files for sound effects as ...
Score drawing down arrow
Brian Henry - 25 Jan 2006 7:54 PM - 5 messages
Using controlpaint i can draw an arrorw pointing to the right like this ControlPaint.DrawMenuGlyph(e.Graphics, New Rectangle(0, 0, e.Item.Bounds.Width, e.Item.Bounds.Height), MenuGlyph.Arrow) but i need to draw that same arrorw pointing down for a dropdown menu type ...
Score Using a delegate
Jon - 25 Jan 2006 7:42 PM - 4 messages
I am a little problem deciding when to use delegates and when not to. Is the following a good example? I have an order class and a messenger class (this does things like send emails, pages, faxes). Currently we create the order and in the creation ...
Score What comes with control parenthood
**Developer** - 25 Jan 2006 7:26 PM - 3 messages
Consider two Pictureboxes and the following: PictureBox2.Parent = PictureBox1 What does that do. The only thing I could find in the help relates to Control.ControlCollection but I think there are other considerations. I'm guessing it does not relate the size nor location of the boxes. Right? ...
Score i can't round
Paul - 25 Jan 2006 7:17 PM - 7 messages
I can't round my numbers. i have a single, and i'm trying to round it so that there's only one decimal place. here's what i've tried: ..Val = CStr(Format(sngTimeToTarget, "#0.0")) and i also tried ...
Score Casting a DBNull
.Net Sports - 25 Jan 2006 7:01 PM - 2 messages
I'm trying to match fields from XML feed to a datarow, but I get a "System.InvalidCastException: Object cannot be cast from DBNull to other types" error at the PkgAmount line. This code was converted from original C# code, so I'm wondering if it has something to do with C#'s ...
Score Web activation
Tull Clancey - 25 Jan 2006 6:39 PM - 7 messages
Hi all, hope someone can help point me in the right direction, or maybe just have a chat about the following. Being a bespoke developer I have played about with piracy problems in the past. In most cases where systems are small and very specific there has been ...
Score insert an animated .gif
zoneal - 25 Jan 2006 6:10 PM - 2 messages
I wanted to insert an animated .gif into my VB.net game but the problem is that I don't want to use PictureBox. Is there any other method to insert it? ...
Score FileSystemWatcher UNC Path Invalid
webgreginsf - 25 Jan 2006 5:42 PM - 4 messages
I'm attempting to use the FileSystemWatcher class to monitor a folder on a remote server.  My app is running as a Windows service, currently on an XP machine, but it will be on Server 2003 in production.  Everything works fine ...
Score Using Classes as List Items
zacks - 25 Jan 2006 5:14 PM - 10 messages
I have written a serialized class that has several properties that are typed as a list of type class. When I deserialize an XML file, the list is populated just fine. But I am having trouble manually loading the class for serialization when the class has not been initialized by a ...
Score using Generics dynamically (?)
Gazarsgo - 25 Jan 2006 4:06 PM - 5 messages
This seems to be a bit of a contradiction, but how can I construct a Generic class using a System.Type variable that is assigned at run time?  Is there some parallel to the Generics concept that extends to ...
Score Maximize and ToolStrips
guy - 25 Jan 2006 4:05 PM - 4 messages
If i have an MDI form, with tollstrips such as Menu, ToolBar or Status how do i stop a child form sliding under these toolstrips? eg when dragged or maximized. *guy* ...
Score Multiline comment behavior in VS2005 VB.NET
JohnMSyrasoft - 25 Jan 2006 3:35 PM - 3 messages
Hi, wondering if I'm missing something before I log a minor bug to the VS2005 feedback page. In VB6, you could span multiple lines with comments by using a line continuation character as in 'this is the beginning of my _ ...
Score File upload to website and rezise at the same time
William LaMartin - 25 Jan 2006 3:12 PM - 6 messages
I have a VB ASP.Net application where the user can upload a file using the FileUpload server control.  I also want a thumbnail to be created for this file. Unfortunately I can see no means to determine when the file upload is ...
Score SystemIndexOutOfRangeException error
.Net Sports - 25 Jan 2006 2:47 PM - 5 messages
I'm drawing data from xml file, putting it into datarows, from datatable subroutine (UseXMLDocument) , and I'm getting  a "System.IndexOutOfRangeException: There is no row at position 0" at the <%@ Page Language="VB" debug="true"%> <SCRIPT LANGUAGE=VB RUNAT=SERVER> ...
Score ADO.NET 2.0 TableAdapter Configuration Wizard
Mike - 25 Jan 2006 2:47 PM - 4 messages
Dear Group, When I add a DataTable to a Typed Dataset, and a TableAdapter to the DataTable, I am able to create methods to send updates directly to the database (GenerateDBDirectMethods), however when my TableAdapter Fill SQL contains a WHERE clause which looks up a field from another joined table, ...
Score Using VB code without being in an application
chillynois - 25 Jan 2006 1:48 PM - 2 messages
Hello, I have a question regarding VB code.  Below is a microsoft page that contains code to move the mouse cursor with the keyboard. [link] ...
Score CheckForIllegalCrossThreadCalls ?
Mika M - 25 Jan 2006 1:39 PM - 6 messages
Help link... ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_fxmclictl/html/138f38b6-1099-4fd5-910c-390b41cbad35.htm ....says "You can disable this exception by setting the value of the CheckForIllegalCrossThreadCalls property to false. This causes your ...
Score datagrids columns [vb.net]
Hardik Shah - 25 Jan 2006 1:28 PM - 2 messages
Hi, How can I know how many columns has my datagrid. Thanks in advance. Hardik Shah. ...
Score Conditional statements
Niclas - 25 Jan 2006 1:26 PM - 8 messages
Hi, Is there any performance differences between using If->Then->Else->End if and Select Case -> case Else -> End Select ? Understand that select case appears better when evaluating multiple values, but would like to understand if one is better than the other for ...
Score checkedlistbox and mouseleave event
Huahe - 25 Jan 2006 12:53 PM - 2 messages
Hi, I have an checkedlistbox with a lot of items, so there is a vertical scrollbar in the checkedlistbox. I want to make the checkedlistbox invisible when the mouseleave event goes off. The mouseleave event goes off when I move the mouse to the scrollbar. Can ...
Score date/time fields
Jerome - 25 Jan 2006 12:52 PM - 8 messages
Hallo, I know a lot has already been told about date/time fields in a database but still confuses me, specif when dealing with SQLserver(Express). It seems that sqlserver only accepts the date in a "yyyyMMdd" format? (difference between Express and MSDE2000A ?) ...
Next » 2 3 4 5 6 7 8 9 10