|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual Basic .NETmicrosoft.public.dotnet.languages.vb
Jim Parsells -
23 May 2009 8:49 PM - 4 messages
Using VS2008 targeted at Framework 2.0 on XP SP3 (32 bit) Given the following Enums: <Flags()> _ Public Enum EMethod As UInteger Buffered = 0 ...
Co -
23 May 2009 4:43 PM - 21 messages
Hi All, I use following code to update a textbox when a date has been chosen from my MonthCalendar. Since 6 textboxes use the same MonthCalendar I need to tell him which textbox was used. Therefore I have the variable: sWhichDateBox. ...
Co -
23 May 2009 7:19 AM - 13 messages
Hi All, Is it possible to show my Treeview in a windowsdialog or folder window? Marco ...
Young -
23 May 2009 6:31 AM - 21 messages
I've got a form with the following controls: txt1, txt2, txt3 and btn1, btn2 and btn3. When the user double clicked on the text box (txt1 to txt3), I will to click the corresponding buttons (btn1, btn2 or btn3). ...
Mike -
23 May 2009 5:05 AM - 4 messages
Hi, I generally like to be very tight with my type casting and matching, so I like the use Option Strict On. However, I am coming across some needs where I would to turn it off. As far as I can see, the compiler doesn't support turning it off/on ...
Terry -
22 May 2009 8:14 PM - 9 messages
I can't believe I can't find the ansewer to this question anywhere, but so far I have had no luck searching the forums or the help. I am using VS2008 Professional and can not figure out how to auto-increment the build number. ...
Scooby Dog -
22 May 2009 7:50 PM - 5 messages
Could someone help: I am working on a small vb.net app that will read a text file line by line ( it's actuall a text file that has been formatted via a Cobol app ) and then build a stringbuilder object via .append. My problem is when I do ...
crimdog02 -
22 May 2009 7:27 PM - 4 messages
I am experiencing the exact same problem. ...
Co -
22 May 2009 2:15 PM - 3 messages
Hi All, I have a form with a Listview and at the bottom right two buttons. The Listview is anchored so that when I resize the form it grows or shrinks. However for the buttons that doesn't work. When I resize the form the ...
AGP -
22 May 2009 12:43 PM - 5 messages
VB2005 Having trouble populating a structure that has a List(Of) component. The concept is a trip consists of several roads and each road consists of several segments. here is my declaration and a typical assignment and the place where i get an exception: ...
Andrius B. -
22 May 2009 12:25 PM - 11 messages
Hi all. I would like to find out how to solve the problem using DLL functions (written in Delphi) in VB.NET The DLL contains a function GetStatus (username: PChar; password: PChar; var status : PChar):integer; it takes to input parameters (username and password) and returns 1 if ...
Co -
22 May 2009 10:08 AM - 6 messages
Hi All, I tried a new code to read the first page of a word document and save the content to a richttextbox. The code I created just reads the first character of the first page instead of the first page: ...
Nathan Sokalski -
22 May 2009 2:43 AM - 9 messages
I have a class written in Visual Basic that inherits from System.Web.UI.WebControls.Style. The file looks just like any other VB class I wrote, it is simple a text file with a name of the format *.vb. However, ...
Harry -
22 May 2009 12:44 AM - 11 messages
Hi All I have a .csv file that contains newline chars embedded between quotes in a line of text eg BSPADV1,John.public,9413,"Sharrock Ashley TEST STREET 1 TEST NSW 2200",Address Insufficient,,,Mbase Print Report,R7TDKPFMDBCLKE07CGJMFKKW6VVB/21,Sharrock Ashley ...
Co -
21 May 2009 9:59 PM - 9 messages
Hi All, I use a code that creates a FileStream to open and read the content of a word document. I want to save the text as plain text to a database. Now I have a code that reads UTF-8 encoding but that doesn't always ...
Dale Atkin -
21 May 2009 6:40 PM - 18 messages
I've spent the last couple of days digging through MSDN help, and googling various pages, trying to understand exactly how VB.NET deals with XML. I've made some progress, but I feel like I'm missing something fundamental. Can ...
cj2 -
21 May 2009 3:07 PM - 8 messages
if I'm instigating a sqlreader like the line below and it throws and exception, how do I know if the reader was instigated or not? MySqlReader = New SqlClient.SqlCommand("select * from recentcust where account = '" & mact & "'", MySqlConnection).ExecuteReader ...
Mechanic -
21 May 2009 1:36 PM - 2 messages
[link] I am trying to figure out why the postback event does not fire. Anyone know? Imports Microsoft.VisualBasic Imports System.Web.UI ''' <summary> ''' MikeImage is a Javascript enabled Custom Control ...
Ty -
21 May 2009 12:01 PM - 2 messages
If I send the text from a RichTextBox using socket connections like a chat program to a RichTextBox on the other end if the text properties sent with it such as color, size alignment? Thanks, Ty. ...
Co -
21 May 2009 11:33 AM - 3 messages
Hi All, I have aTreeview and a Listview on a form. From the Listview I can drag and drop items onto another node of the Treeview. When I drop the item it is removed from the Listview. But when I change my mind and don't drop the item is removed from the ...
Stewart Berman -
21 May 2009 7:31 AM - 4 messages
I am not sure if this is a VB.NET problem or a .NET problem. I have a desktop that I use for development and testing. I developed a VB.NET 2005 application. Part of the application includes selecting multiple files. When I install the application on the ...
Andrew Raastad -
20 May 2009 6:56 PM - 4 messages
Got a strange one here.... I am trying to load an XML document into memory in order to do stuff. Not a big deal, done it before, and it has always been pretty straight forward.... except this time it is weirding out on me. ...
Co -
20 May 2009 6:46 PM - 11 messages
Hi All, I created a Structure Public Structure FolderID Private FolderID As Integer Private FolderName As String Public Sub New(ByVal myFolderID As Integer, ByVal myFolderName ...
jdrott1 -
20 May 2009 5:54 PM - 2 messages
hi all, i'm trying to click a link on my main page and perform another link click on the redirected page. the second page loads a datagrid based on a link click. how would i redirect to page 2 and select the ...
joseph -
20 May 2009 2:07 PM - 2 messages
Hi, I am learning the LINQ now. I tried to connect a database through network using the VS.NET's Server Explorer (but failed), so I can drag and drop the table to the LINQ to SQL designer. Can someone tell me how to do it? Or, ...
friend -
20 May 2009 8:14 AM - 5 messages
Hello all, When I import the data from excel to datagridview in my project first row is missing when displayed in the datagridivew Excel data: Field content 1234 10386524178 3434 31497645790 3434 ...
Peter B. Steiger -
19 May 2009 11:23 PM - 25 messages
I wrote a quick-and-dirty accounting routine that added up charges and payments to show a running balance on someone's ledger. Our QA team reported that it is producing the wrong balances, and sure enough it was. ...
Edward -
19 May 2009 10:04 PM - 3 messages
Hi everybody, I want to write a program to keep a 400 page book( manual) in a database , I need to have the following functionality 1) search for a word, show where that word is ( in which chapter, subchapter , possibily even hyperlink type ...
Dale Atkin -
19 May 2009 9:54 PM - 5 messages
I had a bit of a minor 'crash' within the IDE this morning. Somehow it got to thinking that something on my form was referencing itself as its own parent. No idea how this happend. Anyways, the only option given was to 'Ignore and Continue', with the ...
Andrew Raastad -
19 May 2009 8:41 PM - 5 messages
Running into an error I can't figure out.... Have an application that is to be deployed via ClickOnce and set to "application is available online only". Before I published it, I tested it out, debugged, the whole 9 yards, and all ...
Eric -
19 May 2009 7:11 PM - 2 messages
Is there a difference between Visual C Express 2008 and Visual Basic Express 2008 other than syntax? ...
roidy -
19 May 2009 9:29 AM - 14 messages
I`m importing a function from a dll using the following code:- Declare Function MP4Read Lib "e:\libmp4v2.dll" (ByVal filename As String, ByVal verbosity As UInteger) As UIntPtr filehandle = MP4Read("test.mp4", 0) This works perfectly in WinXP but when I move my project over to Windows 7 ...
Number Eleven - GPEMC! -
19 May 2009 2:58 AM - 2 messages
Which Microsoft control is the best for building a WYSIWYG (x)HTML editor? The options I've seen to date include 1. Using the Rich Text Box and converting Rich Text to (x)HTML & back. 2. Using the WebBrowser Object with the ActiveX document design mode on. ...
moondaddy -
18 May 2009 11:56 PM - 4 messages
I have a vb.net 2.0 app that was being developed on a WinXP 32 bit machine. I now have a new 64 bit machine, did a clean install of vista 64 bit, installed sql server 2008 developer edition full install, VS 2008 TS for ...
Anthony Lopez -
18 May 2009 11:23 PM - 17 messages
I have an application that is working in WindowsXP and Windows2000 server. I recently moved it onto a new Windows2003 Server Service Pack 2 machine. It is now getting an error message which reads "The process cannot access the file <filename> because it is being used by another process" ...
Co -
18 May 2009 9:54 PM - 6 messages
Hi All, I use 2 listboxes and I want to move items from 1 to 2. The Items are filled with the Class MyList. The problem is that the remove doesn't work so the items are added to Listbox2 but also stay in 1. ...
Eric -
18 May 2009 5:37 PM - 4 messages
veteran programmer here, new to VB.Net I installed VB.Net 2008 Express and SQL Server 2008 Express. Then I went into the SQL Server Management and tried to start setting up with a new set of file definitions. I clicked Add Database and it said insufficient ...
Eric -
18 May 2009 3:25 PM - 4 messages
..Net 3.5 added ability for a client machine to run .Net programs on a server, but if we run a VB.Net program on a server and use the printer object to create a printout, it adds a printout to the queue with the name ...
Ivan -
18 May 2009 12:29 PM - 3 messages
Hello, how can I get the username and password in a method? When I call a method like Login or ValidateUser, I have to read the current username and password for checking with UsersDatabase. I can't check in the Validate-Method of UserNamePasswordValidator because I ...
grimrob -
18 May 2009 12:26 PM - 3 messages
I have found since moving to VS 2008 that set next statement to move back a few lines in the same function. It just says that you can't do it even when you are in the same function! This worked fine in VS 2005. ...
Kevin -
18 May 2009 7:44 AM - 4 messages
Hi Guys; I am a newbie to Visual basic 2008 but ok with access. I have a form that I have a group box of radio buttons in. They are "workstarted" "Work contractors" "Awaitingapproval" and "Workcompleted" What I want to do is when one of the buttons is selected it writes something ...
Miha Abrahamsberg -
18 May 2009 5:12 AM - 2 messages
Hello! Does anyone know how to "unpack" data in VB (VBA) that PHP stores using it's "serialize" function? Syntax for serialize: [link] Note: I need this to use some data stored in a MySQL database that was ...
Jim Madsen -
18 May 2009 12:48 AM - 12 messages
How do I copy subfolders from one directory to another. I tried "moveto", but that only moves the subfolders. I only see "copyto" for files. Sorry about the novice question. I have VB dotNet 2003. ...
Co -
17 May 2009 7:49 PM - 11 messages
Hi All, I have a Listview that shows some records from a database. When I click on one of the files in the Listview the details are shown in a subwindow on my form. Now when I add a new record by DragDrop on the Listview the view gets ...
Mike -
17 May 2009 3:40 PM - 14 messages
Folks, I think this is a simple yes or no answer. I see .NET creates XXXXX.Designer.VB partial classes for main code class and component classes. My question is can I edit them? In these classes, it has this note for the last private method ...
Jim Carlock -
17 May 2009 2:53 PM - 5 messages
Anyone here that can recommend a specific editor for the VB.Net XML files? ...
Co -
17 May 2009 10:46 AM - 16 messages
Hi All, I'm trying to create a function that will create a "reference number" which is one higher then the latest one added. The reference number consist of "2009000100" which is the year (2009) followed by a 6 figur digit "000100" ...
|
|||||||||||||||||||||||