Home All Groups Group Topic Archive Search About

Visual Basic .NET

microsoft.public.dotnet.languages.vb
Score How to catch a right-click
Terry Olsen - 9 Apr 2005 10:21 PM - 12 messages
How can I catch a right-click on a DropDownMenuItem? ...
Score Visual Basic.net
Philipp - 9 Apr 2005 5:55 PM - 22 messages
Hey, did anyone have a good paper about the opject orianteted concept? wishes ...
Score VB.NET books with special focus?
.NET Developer - 9 Apr 2005 5:16 PM - 2 messages
I'm an experienced C++/C# developer, looking for VB.NET books with the following focus: (1) VB.NET WinForm development for C++/C# Programmers (2) VB.NET (or C#) Custom Controls (Design Time) Thank you in advance. ...
Score Access vs SQL
lgbjr - 9 Apr 2005 10:51 AM - 74 messages
Hello All, I've been developing a VB.NET app that requires the use of a DB. Up to now, I've been using Access. It's a bit slow, but everything works. I'm at a point now where I need to decide if I should stay with Access or move the DB ...
Score TAB (key) to next control instead of next column (in datagrid)
chreo - 9 Apr 2005 10:51 AM - 4 messages
Hello. I have datagrid. I found code to select all row in data grid (by mouse or arrow keys). This works great - user can select row and... ....and I want to go to next control. For example: User writes something in textbox - then hits TAB to go to datagrid... ...
Score Writing to Web Server
Glenn T. Kitchen - 9 Apr 2005 10:22 AM - 4 messages
Hello group, I'm new here, my name is Glenn and thanks for working with me. I'm looking to be able to transfer a file to a web server from a Windows program.  I looked at Streams and saw no way to do such.  I Imported ...
Score How can I let the internet explorer start to navigate in the same windwo?
husamal_ahmadi - 9 Apr 2005 5:27 AM - 8 messages
Hi everyBody: I have this question which really drive me cruzy, By using VB.Net: How can I let the internet explorer navigate in the same window either by using win32 API or by using Microsoft Internet Control refreance to ...
Score VB.Net Deployment
Ellis Yu - 9 Apr 2005 3:13 AM - 3 messages
Hi everyone. I have developed a VB.Net application that I want to install on our 2003 server network. I have tried setting it up on a server but it will not open on a workstation. A just in time debugger are shown that an exception ...
Score Multi-dimensional array with variable number of elements in last dimension
Tad Marshall - 9 Apr 2005 2:19 AM - 5 messages
Hi, I'm reading about arrays in VB.NET and I seem to have a few options for my data structure.  I need a multi-dimensional array of structures, and my first thought was Public Structure myStr     Public part1 as Integer ...
Score Legacy Client <--> DotNet Listener
Geoff - 9 Apr 2005 1:09 AM - 4 messages
I need to keep a few VB6 tcpClients active, but have them talk to a dotNet tcpServer/tcpListener.  The "Server"/Listener is running as a Plugin, and needs to respond to "outside requests".  The dotNet versions of the exe's ...
Score Unable to start debuging on the web server
Al - 9 Apr 2005 12:09 AM - 4 messages
Hi, I have ASP.Net application that I have moved to different machine. When I try to run it i get the error "Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be ...
Score Getting reference to an ErrorProvider
J L - 8 Apr 2005 10:12 PM - 4 messages
I have a from with an ErrorProvider on it. I pass a reference of the form to a subroutine where I want to reference the ErorrProvider. I could pass it in the call to the subroutine, but I would like to ...
Score Dropdowns behaving differently on different systems.
bingomanatee - 8 Apr 2005 9:04 PM - 3 messages
I have developed what amounts to a fancy shopping cart wizard for a scientific instrument using VB.NET. We are having some disturbing phenomena relating to dropdown controls. On my system and other XP based systems I can repopulate the dropdowns ...
Score Async Delegates polling for vb.net examples
Viet - 8 Apr 2005 8:58 PM - 3 messages
I have a couple of questions that hopefully someone could clarify for me. I have an app that uses the threading.timer to constantly poll a scanner to scan in documents. I understand that Async delegates can also be used for ...
Score Emailing CheckBoxList content
Gamlyn - 8 Apr 2005 8:43 PM - 3 messages
Can anyone please show me what the VB would look like to get CheckBoxList form results into a oMessage.Body for sending in email? This is an example of my CheckBoxList: <asp:CheckBoxList ID="ckbThings" runat="server"> <asp:ListItem Value="Thing 1">Thing 1</asp:ListItem> ...
Score Easiest way to generate XML in VB.NET
Scott M. Lyon - 8 Apr 2005 8:04 PM - 6 messages
Quick (hopefully easy) question for you guys. What is going to be the quickest/easiest way to generate XML from VB.NET? Note: I don't mean an XML file, but XML in memory somehow (an XML-related object, but one that would have a method for getting the fully-formed XML ...
Score Excaping recursive functions
Michael - 8 Apr 2005 7:09 PM - 8 messages
Hi Everyone, I got the following code from Deborah Kurata's book. I need to return the control that matches the name that I pass into the function. It does iterate through the form but it will not return a control reference. Following the ...
Score Problem with a ListBox in code behind
Mart?n Llanos via .NET 247 - 8 Apr 2005 6:14 PM - 2 messages
I've this problem, in my aspx i put a ListBox, when i add lines to this ListBox and and click de button "Guardar", a java script function is called. In that java script I have this code:                     var lbPozosToAdd    =    document.all.lbPozosToAdd; ...
Score Why do we need Namespace and Module?
Lewis - 8 Apr 2005 5:23 PM - 5 messages
When I add a new module in the project explorer pane, the wizard inserts a Module1 scope, so any variables I will put there can be accessed with a qulification, e.g. dim a as integer will be accessed elsewhere as Module1.a ...
Score Possible values of DTE.ActiveDocument.Kind ?
Samuel R. Neff - 8 Apr 2005 4:31 PM - 4 messages
DTE.ActiveDocument.Kind returns a guid as a string.  I couldn't find any list of what pre-defined GUIDs would be returned and what document types they correspond to. Is there a list available? Thanks, Sam B-Line is now hiring one Washington D.C. area VB.NET ...
Score Serialization Performance
ljlevend2 - 8 Apr 2005 4:25 PM - 3 messages
I've noticed that System.Runtime.Serialization.Formatters.Binary.BinaryFormatter can take a very long time to Serialize and Deserialize a large array of classes that implement ISerializable.  In my test sample the array that I'm serializing contains 100,000 elements (which is similar to the array size in my real ...
Score arraylist copy
Sam - 8 Apr 2005 4:24 PM - 16 messages
Hi, I have the following code : Dim rNodeList As New ArrayList Dim rNodeListNew As New ArrayList For iCntr As Integer = 0 To tvRelations.Nodes.Count - 1             rNodeList.Add(tvRelations.Nodes(iCntr).Text) ...
Score How do you force a thread to run on a specific processor?
kaiteriteri - 8 Apr 2005 4:13 PM - 5 messages
I have a time-consuming VB.net application that i'd like to thread over 2 processors (that's all i've got in my machine!) and, hopefully, get it done in half the time. On running, the application should create a 2nd thread and run ...
Score Register DLL on another machine's VS.NET?
Brett - 8 Apr 2005 4:08 PM - 3 messages
How can I have my DLL register on another machine's VS.NET "Add Reference" section? If I compile it under VS.NET, will it go under the .NET tab in "Add Reference"? Thanks, Brett ...
Score How to remove a window-Icon
Peter Stojkovic - 8 Apr 2005 3:58 PM - 3 messages
I have programmed a window with an icon. Now I want, that this window has NO Icon. But I can not remove the icon within VS.NET. I can only select an other ICON ! How can I remove the icon from the window ? ...
Score treeview and imagelist
Sam - 8 Apr 2005 3:44 PM - 2 messages
Hi again... I'm trying to assign icons to the root nodes of my treeview. I've got an imagelist that contains 6 images. I've assigned this imagelist to be the one of my treeview. (I've used the properties manager for the above) ...
Score bin folder
Sai - 8 Apr 2005 3:17 PM - 3 messages
Hi All, I have written a HTTP Module (Auth.dll) to authenticate pages in a virtual directory. The virtual directory points to a network path (per se \\net1\web). Now I have to place the compiled HTTP Module Auth.dll ...
Score How to detect when items are added to Combobox/Listbox
Don - 8 Apr 2005 3:15 PM - 10 messages
Is there any way to detect when an item has been added to the Items collection of a combobox or listbox?  I am inheriting a Combobox and want to validate items before they are added to the combobox, but I can't find ...
Score Inheriting forms problem
Geraldine Hobley - 8 Apr 2005 3:09 PM - 4 messages
Hello,           In my project I am inheriting several forms. However when I inherit from a form and add additional subroutines and methods to my inherited form I get all sorts of problems. e.g. I sometimes get ...
Score Differences between vb.net listbox and listview
Melson - 8 Apr 2005 3:03 PM - 2 messages
Hi May I know what is the differences between vb.net listbox and listview. When should I use listbox or listview. Regards Melson ...
Score Validate User
Greg - 8 Apr 2005 2:53 PM - 4 messages
I am trying to figure out how to validate a userid against AD.  At the time the user will be logged on as the local admin, right after puuling down a fresh image.  the form asks for the userid and password to attach to a ...
Score Application.StartupPath
rodchar - 8 Apr 2005 2:37 PM - 5 messages
Hey all, I have a project that has been using Application.StartupPath successfully for a couple months now. However, when I pulled up the source just recently the compiler (or code complete) doesn't recognize this method. Am I missing ...
Score Change/assign a value to dataset
Roy - 8 Apr 2005 2:27 PM - 4 messages
Hi all, Would anyone tell me how to change a value of a column in a dataset? Something like this: ds.Tables(0).Rows(0)("Column1") = 1 Tia, Roy ...
Score Opening and Closing a form error : Cannot access a disposed object named "frmImage".
D Witherspoon - 8 Apr 2005 2:26 PM - 4 messages
I use the following code to open up a form. ------------------------------------------------------- If fImage Is Nothing Then         fImage = New frmImage End If fImage.Show() ------------------------------------------------------- It works the first time, but when the form is closed and this piece of code runs again I want to check to see if it is nothing and then if it is nothing then create a new instance of the form and show it.  Otherwise just show the form.  Well when the form is closed by the user the form becmome "disposed" instead of nothing.  Is this the result of ..NET Garbage Collection, and that fImage would eventually become nothing? ...
Score Excel Reports in VB.NET
krallabandi - 8 Apr 2005 1:45 PM - 4 messages
Hi, I am trying to generate Excel sheet using Provider=Microsoft.Jet.OLEDB.4.0; I am always getting the error while inserting data into any cell other than A. An unhandled exception of type 'System.Data.OleDb.OleDbException' occurred in system.data.dll ...
Score TextChanged
Nice Chap - 8 Apr 2005 12:57 PM - 15 messages
TextBox.TextChanged Event fires even when the text is changed programatically. How can I detect that the text has been changed by the user and not changed programatically? Thanks ...
Score A 100% freely FlowChart/Diagram ActiveX Control!
jack zhang - 8 Apr 2005 12:54 PM - 2 messages
Hi, UCCDraw ActiveX Control is an ActiveX control that allows creation and editing of Visio-style charts from within your application. Allows you to create flow charts, vector drawings, raster images and more with the ability to include hyperlinks and various shading and coloring effects. ...
Score stringbuilder replace doesn't work on vbLf , vbCrLf , vbCr
Guy - 8 Apr 2005 12:49 PM - 9 messages
Hi, I'm trying to run this code :   strFileContentsHTML.Replace(vbLf, "<br>")   strFileContentsHTML.Replace(vbCrLf, "<br>")   strFileContentsHTML.Replace(vbCr, "<br>") It doesn't replace newline characters with <br>. Does anyone know how I should do this? ...
Score DATAGRID+SQL: INSERT - works, but SELECT - not :-(
chreo - 8 Apr 2005 12:03 PM - 2 messages
Hello. Does anybody had problem with VB application with MS SQL Database? I have DATAGRID which shows TABLE from DATABASE. Next I add new ROW to TABLE with SQLcommand (stored procedure) Command works everytime - I see in database that new rows are added. ...
Score Sending DTMF Tones
Florian Göttsch - 8 Apr 2005 11:11 AM - 2 messages
Hi, I have the following problem: I must send a DTMF tone "A" for at least 3 seconds. But i can only find solutions for sending tones with a normal length ( about 200ms ). In Details: I have a client that is calling a server. Both are using DTMF-Tones to ...
Score Regular Expression to Parse HTML
Charles Law - 8 Apr 2005 9:33 AM - 27 messages
Does anyone have a regex pattern to parse HTML from a stream? I have a well structured file, where each line is of the form <sometag someattribute='attr'>text</sometag> for example <SPAN CLASS='myclass'>A bit of text</SPAN>, or ...
Score openfiledialog control locks folder
juststarter - 8 Apr 2005 7:23 AM - 4 messages
Hello all, I am using an openFileDialog box to select a file (in order to insert it in a database). When the file is selected i am filling a few textboxes with the actual path, filename and extension of the file, so i no longer need the ...
Score Sending Mail using dotNET
Jon Masterson - 8 Apr 2005 7:12 AM - 17 messages
Hi Guys Another quick question please.  I understand that to send mail using .NET I need to install the SMTP server.  I have two XP Home edition machines here and neither of them show IIS in add/remove windows components.  Do I need ...
Score sending string
notregister - 8 Apr 2005 7:01 AM - 4 messages
hi, how can i send a string to a device which is connected to my PC through a ethernet hub and lan cable?? ...
Score Creating dlls in VB.Net
Jon Masterson - 8 Apr 2005 6:48 AM - 3 messages
Hi All I am using VB.Net 2003 standard edition and would like to put my common library into a dll.  Reading some books on the subject this seems possible but it looks like the option does not exist in the standard edition - is ...
Score sending bytes
notregister - 8 Apr 2005 6:43 AM - 3 messages
Hi, i have an array of data, all in bytes. How can i send it to an device which i have its IP address and Port?? How can i make sure the bytes are send in sequence, as in byte(0) will send out, then byte(1) will ...
Score Any similar comment line like ' TODO :
Prabhudhas Peter - 8 Apr 2005 6:27 AM - 3 messages
Any similar kind of comment line which displayed in task panal like ' TODO : If we add a comment line as " ' TODO : " . it displays in the Task panal... Like that, what are all the other comment lines available in VB.Net or where ...
Score Create Short Cut
Doug Bell - 8 Apr 2005 5:57 AM - 5 messages
Hi, I have a small application with a User Settings form I would like to give the Users the ability to (at any time) set the Application to load when the PC is started. Can someone point me in the direction of how to create a Short Cut and place ...
Score Get and Set screen resolution
Bill Nguyen - 8 Apr 2005 5:30 AM - 5 messages
My VB.Net app requires a minimum monitor resolution of 1024 x 768. How to get user's screen resolution and set it to the minimum at runtime? Thanks Bill ...
Score Why aren't changes on form?
Brett - 8 Apr 2005 3:28 AM - 9 messages
I have a button on a form.  I've changed its text to "Exitl".  However, when I run the app, the button text is "Exit".  How could that happen?  It's the only form in this app. ...
Score How to name a thread?
Brett - 8 Apr 2005 2:16 AM - 3 messages
In form_load(), I do this     Thread.CurrentThread.Name = "MainThread" However, in the debugger thread window, I see: <No Name>  appname.Classname.Form1_load   Normal  0 Why does it still have <No Name>?  Which name is that? ...
Score making a datagrid column not scrollable
Gaurav Goyal via .NET 247 - 8 Apr 2005 1:29 AM - 2 messages
hi,i want to have a fixed column in the datagrid so that it does not move on scrolling. can any one please help me on this. many many thx in advance -------------------------------- From: Gaurav Goyal ----------------------- Posted by a user from .NET 247 ([link]) ...
Score Newbie Question - Please HELP!
mikew - 8 Apr 2005 1:02 AM - 13 messages
The following code isn't working and I don't understand the error.  Would someone please shed some light on what I'm doing wrong.  Thanks. The error I recieve is:     An unhandled exception of type 'System.NullReferenceException' ...
Score Outlook ContactItem.Display and .NET
Michael Tissington - 8 Apr 2005 12:50 AM - 3 messages
I have a VB 6 OCX In .NET I create the object and then pass an EntryID for a CONTACT Item. Then inside the OCX object I do the following code snip Set Namespace = Outlook.GetNamespace("MAPI") Namespace.Logon , , , False ...
Score Reading color from a text file FromArgb
Sam - 8 Apr 2005 12:21 AM - 3 messages
Hi All I'm having problem (which seems to be simple) to convert my color settings using FromArgb method. The colors are saved to a text file as string, using ToArgb.ToString method. For example one of my colors has a value of ...
Score MS Works spreadsheet import into vb.net
chris huff via .NET 247 - 7 Apr 2005 11:16 PM - 2 messages
I have a primary user who does NOT have ms Excel.  He runs MS Works and uses the spreadsheet program within it. My vb.net application is focused around a price sheet that the user updates via their spreadsheet program and then uploads via the software, into the DB table. ...
Score dataset inheritance
pmcguire - 7 Apr 2005 9:43 PM - 5 messages
I have designed a user control (UserControl0) from which several other user controls (ChildUserControl(n)) inherit.  Each ChildUserControl(n) has its own strongly typed dataset.  I would like to include several (overridable) methods in UserControl(0) that act on the datasets (nothing exotic, only ...
Score Invalid Property Value Error
Alex - 7 Apr 2005 8:59 PM - 2 messages
Hi, what's happened to my project: each time I try to change any property of a control, I get an error message: "Invalid property value" and in details: "Object reference not set to an instance of an object. " Could it happened after I'd moved the project to a different location? ...
Score conversion issue
LS - 7 Apr 2005 8:54 PM - 4 messages
I use winpcap in dotnet to capture packets from the wire. I have them in a byte() array. (variable rawbytes()) How do I convert them to a readable string? I have for example following values 0,208,65,11,96,147,0,6,91,184, ... ...
Score How to access aspx page thru the menu control only?
ValK - 7 Apr 2005 8:19 PM - 7 messages
Hello, I'm using a skmMenu control on my asp.net pages. When user login to the application, I display menu items based on user security roles. So regular user will not see 'Admin' menu items, but if you know url for admin page then ...
Score How to Move Mouse to Control with Focus
Michael D Murphy - 7 Apr 2005 8:14 PM - 5 messages
Hi, I have win app in which I need to move the mouse to the textbox field that has the focus and then hide the mouse pointer. Any tips on how to do these two things would be appreciated. Thanks, ...
Score XMLReader and VB.Net
Michael - 7 Apr 2005 6:55 PM - 3 messages
Hi All, I need a few suggestions. I have the following XML segment: <LookUp>     <ControlType>CheckBoxGroup</ControlType>     <DBField>LastMedDate</DBField>     <ControlName>cmbGoal1</ControlName> ...
Score Remote debugging: Unable to map the debug start page URL to a machine name
Tom wilson - 7 Apr 2005 6:38 PM - 2 messages
I've been through everything with this error and cannot get the debugger to work remotely.  The only thing I can trace it down to is that RPC is not communicating between servers. So after many, many hours of searching I found the RPCPing utilitty. ...
Score Reading Output from Shell Command
Kevin Mansel via .NET 247 - 7 Apr 2005 6:36 PM - 7 messages
Ok, basically this is my problem. I'm building a console app to call a dos program.  So i'm using the Shell command to call the program, now depending on what happens, I want to read the output that this program returns.  I'm just missing the steps here.  I know that I can set the Shell command to an integer, but this only returns a 0 to me telling me that it executed, not what is being returned to the console by that application.  Is there a way to find out this information? ...
Score Moving a windows form from a windows app to a class library.
UJ - 7 Apr 2005 6:33 PM - 3 messages
I have a class that makes reference to a windows form. I am trying to make that class a class library and when I include the window file, it says that system.windows.form.form is not defined. How can I make a library the includes a window? ...
Score Dataview Find method, case insensitive?
Tim Frawley - 7 Apr 2005 6:30 PM - 4 messages
I am using the Find method on a dataview.  What I have found is that the method appears to be case insensitive.  I have tested this and it appears to be true. Is there a way to specify case sensitivity for this method? ...
Score Writing TIF to database
Bruce D - 7 Apr 2005 6:24 PM - 3 messages
I have two methods to write to the database.  The first one saves the file to disk the re-reads it and then inserts it.  This way works...at least I'm able to read the image when I retrieve it. ...
Score Type comparisons
Michael Rich - 7 Apr 2005 5:53 PM - 2 messages
I am parsing controls in vb.net and I need to detect if a control is of a particular type - as follows: if control.gettype = system.web.ui.htmlconrols.htmlform then     ' do something here end if I have used TypeOf, Is, and all kinds of other things I could think of, but ...
Score Adding Resources at runtime
Frank Ashley - 7 Apr 2005 5:45 PM - 2 messages
I have found plenty of documentation on how to add resources at design time and write them out at runtime but is it possible to add resources to an assembly at runtime. Thanks Frank ...
Score open binary file and search hex string
Nikos - 7 Apr 2005 5:41 PM - 5 messages
Hi... I would like to search for a hex string (for example: "E903") inside a binary file... Although I open the file correctly, how do I search hex values? Thanks in advance! Nikos ...
Score ASP.net speech
pmclinn - 7 Apr 2005 5:36 PM - 2 messages
I remember using a text to speech plugin in vb6.  Would it be possible to imbed this com into an asp page.  The page will be on a company intranet.  I'm looking to pass the plugin dynamic text and read back a ...
Score Problems with the excel find function in vb.net
pp - 7 Apr 2005 5:31 PM - 3 messages
I have copied this code from Excel VBA, to use in a VB.net application: Dim r as Excel.Range r=Cells.Find(What:="02/01/2001  22:00:00", After:=ActiveCell, LookIn:=xlFormulas, LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:=False, SearchFormat:=False) ...
Score newbie question regarding repeater control
Bruce Dumes - 7 Apr 2005 4:30 PM - 2 messages
Hello - I've got a project where I need to create a table like: The dropdownlist will be populated differently, or could be, for each row. Is the repeater control the right one to use for this?  If so, how do ...
Score Help with some code?
Tmuld - 7 Apr 2005 3:49 PM - 3 messages
Hello, I have designed a simple web page that takes input from a user(from a textbox), then searches for that input in a database, when the Search button is clicked.  Assuming the connection is good - help with the ...
Score for loop ending condition
Ben R. - 7 Apr 2005 3:47 PM - 4 messages
In an article I was reading ([link]), I read the following: "The ending condition of a VB.NET for loop is evaluated only once, while the C# for loop ending condition is evaluated on every iteration." ...
Score i can't get number...
Supra - 7 Apr 2005 3:46 PM - 2 messages
i can't get number to displaying  in row..i got junk character .... Dim sdBrush3 As SolidBrush = New SolidBrush(Color.Black)         Dim myFont3 As Font = New Font(familyName:="Verdana", emSize:=30, style:=FontStyle.Bold, unit:=GraphicsUnit.Pixel) ...
Score How to use Regex to Parse this String
Michael D Murphy - 7 Apr 2005 3:39 PM - 4 messages
Hi, I would like to know how to use Regular Expressions to iteratively return and print the items between the colons in the following string to say the console.. Any help would be appreciated. strInputString = "2:Blue:Green:1,2" ...
Score Optimization
SirPyros - 7 Apr 2005 3:15 PM - 2 messages
I'm building a shopping cart solution. In terms of scalability and perfomance for the server, which is better, only storing a small variable in session state to denote a cart and load information from the database and calculate values for the cart every time they need to ...
Score Update for VS .NET 2003?
Atley - 7 Apr 2005 2:48 PM - 6 messages
I only have: Microsoft Excel 5.0 Object Library (VB.net) and Microsoft Excel 11.0 Object Library (Office 2003) avaliable to me...  is there a service pack or an update that would give me the 8.0 OL?  that would be ideal. ...
Score DataReader in Excel (Better Post than the last)
brix_zx2 - 7 Apr 2005 2:41 PM - 4 messages
I have an Excel Spreadsheet I want to import the records (5 fields) into an access 2000 DB. Went on the net looking and found stuff for SQL (which I don't know a thing about) and now I'm confused. (Using VB.NET 2k3) Any help ...
Score Remove items from listbox
Bill Nguyen - 7 Apr 2005 2:18 PM - 4 messages
I use the following example (from another post) and it seemed to work fine. However, when I add the syntax to remove the selected item from the senderbox, I got error. senderBox.Items.RemoveAt(senderbox.selectedIndex) I was told that I need to copy selecteditems to an array and run the For ...
Score Compiler errors due to temp file inconsistencies ??
Samuel R. Neff - 7 Apr 2005 2:09 PM - 3 messages
Within the past few weeks we've been getting a lot of compiler errors in two classes when no errors actually exist.  The error always reports as Name '_stepResizeRelocator' is not declared. Where _stepResizeRelocator is an instance (class level) variable. ...
Score WEB pages - source code
Peter - 7 Apr 2005 2:07 PM - 2 messages
Hi. Know anybody some good webpages where can I find some goog Source codes. I know [link] [link] and [link] Some another? Thanks. ...
Score Date validation / verification
DSuss - 7 Apr 2005 1:47 PM - 2 messages
I am trying to create an input box in vb.net that will verify if an expiration date on a credit card is valid or not.  Can anyone help me convert a string of MM/YY to a month and year format and verify against NOW( )?  Or ...
Score expand a node of a treeview programmatically
Sam - 7 Apr 2005 1:31 PM - 4 messages
Hi, I'd like to select a node in my code and expand that node. How can I do the selection ? How can I expand it once I've selected the node ? Thx ...
Score How to get assembly file info?
Brett - 7 Apr 2005 1:16 PM - 2 messages
Using Reflector, URL:[link], I see in System.Reflection there is a class called AssemblyTitleAttribute.  It has a read only property named Title.  I do the following to get my ...
Score cast sortedlist value as hashtable
fizzy - 7 Apr 2005 12:36 PM - 3 messages
i have a sortedlist. its values are hashtables. i need to access one of these hashtables: using option strict without a cast, i got a late binding error : mysortedlist("key") when i try to cast it: directcast(mysortedlist("key"), "hashtable") or ...
Score Prevent User Entering New Values in ComboBox
Wayne Wengert - 7 Apr 2005 12:36 PM - 3 messages
I want to prevent the user from keying in a new value as a combo box value. I want the user restricted to choosing selections from the "Collection" I've established. I can't find the property to accomplish this? ...
Score Object reference not set to an instance of an object.
Hennie - 7 Apr 2005 11:39 AM - 3 messages
I Get the following error all of a sudden: I do not know what is wrong or where to start looking. I added the Debug="true" directive at the top of the page, but it does not help at all. ...
Score getting row index of dataset
Sam - 7 Apr 2005 11:08 AM - 9 messages
Hi, Here is my code : For Each row As DataRow In ds.Tables(0).Rows next How can I get the index of the row being processed ? Thx ...
Score Howto: use mutliple languages C++ in VB.net
SimonSX - 7 Apr 2005 10:54 AM - 12 messages
I need to program some of a VB .net application in C++. How do I incorparate it into VB ...
Score Carriage return in label
Nathan - 7 Apr 2005 10:35 AM - 5 messages
Is there a way to put a carriage return between tex in a label?  Neither ControlChars.CR and vbCR seem to work. Thanks, Nathan ...
Score Is synclock needed in DLL?
Brett - 7 Apr 2005 10:28 AM - 10 messages
Say I have a DLL with a method that does a file write.  I call this DLL from an application and pass the file path and name to the FileWrite() method inside the DLL.  The application is multi threaded so that two or more ...
Score vb.net crosshair cursor...
Pj - 7 Apr 2005 10:13 AM - 2 messages
hi, i have the following code for drawing a crosshair cursor & it works:         'Custom cursor         'Declare bitmap         Dim bm As New Bitmap(64, 64) ...
Score How to remove if blank in Detail in Crystal Report
Ray - 7 Apr 2005 10:02 AM - 3 messages
Dear all,     I would like to ask if the crystal Report can remove if blank in Detail just like Report in Foxpro? Thanks a lot, Ray ...
Score translation from c#
ME - 7 Apr 2005 9:24 AM - 9 messages
Hello, I need some help translating this code to vb.net .......... private dotnetWinpCap.ReceivePacket rcvPack=null; .......... if (rcvPack==null) {     rcvPack=new dotnetWinpCap.ReceivePacket(this.ReceivePacket);     wpcap.OnReceivePacket+=rcvPack; } Thanks for the help. ...
Score 2 easy questions
patang - 7 Apr 2005 7:57 AM - 12 messages
Question 1 I have two forms, let say Form1 and Form2. There is datetimepicker control on Form2. In the Load Event of Form2 I have set the default value of datetimepicker control to NOW.  So as expected when I open the form the ...
Score How to convert hex to string?
Mika M - 7 Apr 2005 7:56 AM - 8 messages
Hi! I've made little code to convert string into hex string... Public ReadOnly Property ToHexString(ByVal text As String) As String    Get      Dim arrBytes As Integer() = CharsToBytes(text)      Dim sb As StringBuilder = New StringBuilder ...
Score Difference between Trim function and Trim member
Sascha Herpers - 7 Apr 2005 6:51 AM - 9 messages
Hi, what is the difference between the trim function and the trim String-member? As far as I see it, both return the trimmed string and leave the original string unaltered. Is any of the two faster? Is there a general rule/opinion to prefere ...
Score Help Please
Tuan - 7 Apr 2005 6:29 AM - 4 messages
Hello all, I am a new to VB.  I already write the small program but it only work when I log in as administrator if I log in as user the program will not load.  I see some program when I install it asks " Any One who uses this computer or ...
Next » 2 3 4 5 6 7 8 9 10